2007-08-08 Neil J. Patel * src/moko-dialer-panel.c: (moko_dialer_panel_init), (moko_dialer_panel_pressed): Implement tap-and-hold events for the keys, so you can enter w, + and p. * src/moko-keypad.c: (on_delete_event), (moko_keypad_init): Implement tap-and-hold for the delete button, so the holf event will cause the texview to 'empty'. * src/moko-notify.c: Some spacing fixes. 2007-08-07 Neil J. Patel * src/moko-dialer.c: (on_keypad_dial_clicked): Make sure new entry's are written to the journal. * src/moko-notify.c: (moko_notify_check_brightness), (moko_notify_start): Check the LCD brightness, if it is under 5000, set it to 5000. 2007-08-07 Neil J. Patel * src/dialer-main.c: (main): * src/moko-dialer.c: (on_call_progress_changed), (moko_dialer_init): Make sure the dialer window hides on delete, instead of calling gtk_main_quit (). * src/moko-talking.c: (moko_talking_init): Fix the loading of the incmong and outgoing call images, so there is not a gap between them during animation. 2007-08-06 Neil J. Patel * src/moko-notify.c: (on_bus_eos), (moko_notify_start_ringtone): More loop deugging. 2007-08-06 Neil J. Patel * src/moko-notify.c: (on_bus_message): Connect to the right signals! 2007-08-06 Neil J. Patel * src/moko-notify.c: (on_bus_message), (moko_notify_start_ringtone): Some more looping fixes. 2007-08-06 Neil J. Patel * src/moko-notify.c: (on_bin_eos), (moko_notify_start_ringtone): Added intial support for looping the ringtone. 2007-08-06 Neil J. Patel * src/moko-notify.c: (moko_notify_start_ringtone): Try and use the simple commandline gst parser. 2007-08-06 Neil J. Patel * data/Makefile.am: Added a default ringtone (until sound themes are finished). * src/moko-notify.c: (on_filesrc_eos), (moko_notify_start_ringtone), (moko_notify_stop_ringtone), (moko_notify_start), (moko_notify_stop): Added some basic support for playing the default ringtone when there is an incoming call. 2007-08-06 Neil J. Patel * src/moko-dialer.c: (on_call_progress_changed): * src/moko-notify.c: (moko_notify_start), (moko_notify_stop), (moko_notify_init): Added state support for notify object. 2007-08-06 Neil J. Patel * src/moko-contacts.c: Fix typo. 2007-08-06 Neil J. Patel * src/moko-contacts.c: (moko_contacts_lookup): Check entry is valid before performing operations on it. 2007-08-06 Neil J. Patel * configure.ac: * src/Makefile.am: * src/dialer-main.c: (main): * src/moko-contacts.c: (moko_contacts_lookup): * src/moko-dialer.c: (moko_dialer_rejected), (on_talking_accept_call), (on_incoming_call), (on_incoming_clip), (register_network_cb), (moko_dialer_init): * src/moko-notify.c: (moko_notify_start_vibrate), (moko_notify_stop_vibrate), (moko_notify_start), (moko_notify_stop), (moko_notify_dispose), (moko_notify_finalize), (moko_notify_class_init), (moko_notify_init), (moko_notify_new): * src/moko-notify.h: Added a MokoNotify object, which will deal with user notification of incoming calls. Implemented a simple vibration notifcation for incoming calls. 2007-08-03 Neil J. Patel * src/moko-contacts.c: (moko_contacts_lookup): Check entry is valid before performing operations on it. * src/moko-dialer.c: (on_incoming_clip), (moko_dialer_dispose): Make sure to write to the journal on dispose. 2007-08-03 Neil J. Patel * src/moko-dialer.c: (on_keypad_dial_clicked), (on_talking_accept_call), (on_talking_reject_call), (on_incoming_call), (on_incoming_clip), (on_call_progress_changed): Create MokoJournalEntry's for all events. 2007-08-03 Neil J. Patel * src/moko-contacts.c: (moko_contacts_finalize): Free lists/structs properly. 2007-08-03 Neil J. Patel * src/moko-contacts.c: (moko_contacts_get_photo), (moko_contacts_lookup), (moko_contacts_add_contact), (moko_contacts_init): When searching for a contact, it it doesn't have a photo, look for it. * src/moko-dialer.c: (on_incoming_call), (on_incoming_clip), (register_network_cb): Set the incoming clip on the 'talking' widget. * src/moko-talking.c: (moko_talking_set_clip), (moko_talking_outgoing_call), (moko_talking_accepted_call): * src/moko-talking.h: Add a method to update the UI with an incomig clip. 2007-08-02 Neil J. Patel * src/moko-dialer.c: (on_incoming_call), (on_pin_requested), (on_call_progress_changed): Correct the debugging statements, add more to the incoming code path. 2007-08-02 Neil J. Patel * src/moko-dialer.c: (on_incoming_call): Double check for incoming status as new tabs keep appearing. 2007-08-02 Neil J. Patel * data/openmoko-dialer.desktop: Execute openmoko-dialer -s, so the dialer always shows. 2007-08-02 Thomas Wood * src/Makefile.am: Stop being pedantic * src/moko-dialer-declares.h: Removed * src/moko-dialer-textview.c: (moko_dialer_textview_class_init), (moko_dialer_textview_init), (moko_dialer_textview_set_color), (moko_dialer_textview_insert): * src/moko-dialer-textview.h: - Add style properties for small, medium and large font sizes - Remove hardcoding of font sizes and colours 2007-08-02 Neil J. Patel * src/moko-dialer.c: (on_incoming_call): Check if we have already set the incoming call status, otherwise each ring causes MokoGsmdConnection to emit a incoming call, and we keep creating talking widgets. 2007-08-01 Neil J. Patel * src/moko-dialer.c: (on_pin_requested), (on_call_progress_changed), (register_network_cb): More debugging. 2007-08-01 Neil J. Patel * src/moko-dialer.c: (moko_dialer_init): Init some variables properly. 2007-08-01 Neil J. Patel * src/moko-dialer.c: (register_network_cb): Added some more debug statements. 2007-07-31 Neil J. Patel * src/moko-dialer.c: (on_call_progress_changed): Add a bunch of debug statements to find out what gsmd is doing. 2007-07-31 Neil J. Patel * src/moko-dialer.c: (on_keypad_dial_clicked): Some fixes to dialing function. 2007-07-31 Neil J. Patel * src/dialer-main.c: (main): * src/moko-digit-button.c: (moko_digit_button_new_with_labels): Do not force gsmd restart (for debugging purposes). 2007-07-30 Thomas Wood * src/dialer-main.c: * src/moko-dialer.c: * src/moko-history.c: * src/moko-history.h: * src/moko-keypad.c: * src/moko-talking.c: Fix includes not to use directory names 2007-07-30 Thomas Wood * configure.ac: Update for OM 2007.2 library names 2007-07-27 Neil J. Patel * src/moko-history.c: (on_delete_clicked), (history_add_entry), (on_entry_added_cb), (moko_history_load_entries): Update to use the new mokojournal api. 2007-07-23 Neil J. Patel * src/dialer-main.c: (main): Instead of calling /etc/init.d/gpsd restart, do stop and then start, as gpsd startup script calls killall gpsd (Duh!). * src/moko-dialer.c: (moko_dialer_hung_up), (on_keypad_dial_clicked), (on_talking_accept_call), (on_talking_reject_call), (on_talking_cancel_call), (on_pin_requested): * src/moko-talking.c: (moko_talking_init): Hide the delete/dial buttons when in a call. 2007-07-13 Neil J. Patel * src/dialer-defines.h: Some global dialer variables. 2007-07-12 Neil J. Patel * src/moko-dialer.c: (moko_dialer_show_missed_calls), (on_keypad_dial_clicked), (on_talking_accept_call), (on_incoming_call): If there is a match from mokocontacts, pass that match into the outgoing call. * src/moko-talking.c: (incoming_timeout), (moko_talking_incoming_call), (outgoing_timeout), (moko_talking_outgoing_call), (talking_timeout), (moko_talking_accepted_call), (on_reject_clicked), (on_cancel_clicked), (moko_talking_init): * src/moko-talking.h: Add a MokoContactEntry variable into each function, allowing for contact data to be displayed. Load the animation icons and display (animate) them for each status. 2007-07-12 Neil J. Patel * src/dialer-main.c: (main): Don't crash when dbus isn't present. Just return after printing the error. * src/moko-history.c: (moko_history_init): Use the blingy new moko-finger-scroll 2007-07-12 Neil J. Patel * src/Makefile.am: * src/moko-contacts.c: (moko_contacts_lookup), (moko_contacts_fuzzy_lookup), (normalize), (moko_contacts_add_contact), (on_ebook_contacts_added), (on_ebook_contacts_changed), (on_ebook_contacts_removed), (moko_contacts_init): * src/moko-contacts.h: Added simple contacts hashtable for looking up contacts. * src/moko-dialer.c: (moko_dialer_show_missed_calls), (on_keypad_dial_clicked), (moko_dialer_init): Added a test case for looking up contacts. 2007-07-10 Neil J. Patel * src/moko-contacts.c: (moko_contacts_add_contact), (on_ebook_contact_added), (moko_contacts_init), (moko_contacts_get_default): * src/moko-contacts.h: Create the EBook and populate the contacts and entries list. Connect to the 'contacts-added' signal and add new contacts to the list. 2007-07-09 Neil J. Patel * configure.ac: * src/Makefile.am: * src/moko-contacts.c: (moko_contacts_dispose), (moko_contacts_finalize), (moko_contacts_class_init), (moko_contacts_init), (moko_contacts_get_default): * src/moko-contacts.h: Added stubs for a contacts backend (for number matching and autocomplete) 2007-07-09 Neil J. Patel * configure.ac: Update to use the new split-out openmoko-libs 2007-07-09 Neil J. Patel * configure.ac: Added an option to sepcify the location of the dbus tools, using --with-dbusbindir=DIR. 2007-07-06 Neil J. Patel * src/dialer-main.c: (main): * src/moko-dialer.c: (moko_dialer_show_dialer), (moko_dialer_show_missed_calls), (moko_dialer_init): Don't show dialer unless -s is used. The dbus functions ShowDialer/ShowMissedCalls/DialerDial work now. 2007-07-06 Neil J. Patel * src/dialer-main.c: (main): Issue a "/etc/init.d/gsmd restart" before starting the dialer, to make sure we have a running gsmd. Yes its hacky, but its the only way gsmd will learn. 2007-07-06 Neil J. Patel * src/moko-dialer.c: (moko_dialer_outgoing_call), (moko_dialer_hung_up), (moko_dialer_rejected), (on_keypad_dial_clicked), (on_talking_accept_call), (on_talking_reject_call), (on_talking_cancel_call), (on_history_dial_number), (on_incoming_call), (on_incoming_clip), (on_call_progress_changed), (register_network_cb), (moko_dialer_init): * src/moko-dialer.h: Hooked up most of the Gsmd functions, apart from the PIN stuff. Changed the registering timeout to keep going until the dialer has registered, otherwise it will keep asked gsm to connect. * src/moko-keypad.c: (moko_keypad_set_talking), (moko_keypad_init): * src/moko-keypad.h: Added a state for when your in a call, which hides the 'delete' and 'dial' keys. * src/moko-talking.c: (on_speaker_toggled): Don't unnecessaryly emit a signal, for now. 2007-07-06 Neil J. Patel * src/moko-dialer.c: (on_keypad_dial_clicked), (on_talking_accept_call), (on_talking_reject_call), (on_talking_cancel_call), (on_talking_speaker_toggle), (on_keypad_digit_pressed), (moko_dialer_init): Connected to the remaining signals from the main objects. * src/moko-keypad.c: (moko_keypad_class_init): * src/moko-keypad.h: Added a "digit_pressed" signal, which will be used for dtmf. 2007-07-06 Neil J. Patel * src/moko-history.c: (history_add_entry), (moko_history_init): Fixed bug where history entries were not showing. 2007-07-05 Neil J. Patel * src/moko-dialer.c: (moko_dialer_init): Added the talkign apge on _init () for testing. * src/moko-talking.c: (moko_talking_incoming_call), (moko_talking_outgoing_call), (moko_talking_accepted_call), (moko_talking_init): * src/moko-talking.h: Added the functions for changing the ui for the current status. 2007-07-05 Neil J. Patel * src/moko-dialer.c: (moko_dialer_init): Updated for new moko_talking_new signature. * src/moko-talking.c: (on_answer_clicked), (on_reject_clicked), (on_cancel_clicked), (on_speaker_toggled), (moko_talking_class_init), (moko_talking_init), (moko_talking_new): * src/moko-talking.h: Added the skeleton for the integrated talking/incoming/outgoing widgets. Added the signals and callbacks for the MokoDialer application to connect to. 2007-07-05 Neil J. Patel * src/moko-history.c: (on_delete_clicked): Implemented the 'delete' action. 2007-07-04 Neil J. Patel * src/moko-dialer.c: (on_history_dial_number), (moko_dialer_init): Connect to new "dial_number" signal in MokoHistory * src/moko-history.c: (on_dial_clicked), (moko_history_class_init): * src/moko-history.h: Add a "dial_number" signal to alert the MokoDialer object that the user wants to dial a number. 2007-07-04 Neil J. Patel * src/moko-history.c: (on_dial_clicked), (on_sms_clicked), (on_delete_clicked), (history_add_entry), (on_entry_added_cb), (moko_history_filter_visible_func), (on_filter_changed), (sort_by_date), (moko_history_load_entries), (moko_history_init): Added in nearly all of the remaining functionality of the history view, only dial/sms/delete buttons are not working. Swapped custom header for a combobox, added the toolbar at the top. 2007-07-04 Neil J. Patel * src/moko-history.c: (moko_history_init): Fixed icons in the toolbar. Added the rest of the filter options, with correct icons. * src/moko-history.h: Replaced OUTGOING/INCOMING with DIALED/RECEIVED to match with the text of the combobox. 2007-07-04 Neil J. Patel * src/Makefile.am: * src/moko-dialer.c: (moko_dialer_hang_up), (on_keypad_dial_clicked), (moko_dialer_init): * src/moko-history.c: (moko_history_load_entries), (moko_history_dispose), (moko_history_finalize), (moko_history_set_property), (moko_history_get_property), (moko_history_class_init), (moko_history_init), (moko_history_new): * src/moko-history.h: Started to convert history from old dialer. Added a toolbar, converted custom menu to GtkComboBox. * src/moko-talking.c: (moko_talking_dispose), (moko_talking_finalize), (moko_talking_class_init), (moko_talking_init), (moko_talking_new): * src/moko-talking.h: A stub for a talking tab. 2007-07-03 Neil J. Patel * src/Makefile.am: * src/moko-dialer-declares.h: * src/moko-dialer-panel.c: (moko_dialer_panel_class_init), (moko_dialer_panel_init), (moko_dialer_panel_pressed), (moko_dialer_panel_new): * src/moko-dialer-panel.h: * src/moko-dialer-textview.c: (moko_dialer_textview_class_init), (moko_dialer_textview_init), (moko_dialer_textview_new), (moko_dialer_textview_set_color), (moko_dialer_textview_insert), (moko_dialer_textview_get_input), (moko_dialer_textview_empty), (moko_dialer_textview_delete), (moko_dialer_textview_fill_it), (moko_dialer_textview_confirm_it): * src/moko-dialer-textview.h: * src/moko-digit-button.c: (moko_digit_button_new), (moko_digit_button_new_with_labels), (moko_digit_button_set_numbers), (moko_digit_button_class_init), (moko_digit_button_init), (moko_digit_button_get_left), (moko_digit_button_get_right): * src/moko-digit-button.h: * src/moko-keypad.c: (on_dial_clicked), (on_delete_clicked), (on_panel_user_input), (on_panel_user_hold), (moko_keypad_dispose), (moko_keypad_class_init), (moko_keypad_init), (moko_keypad_new): * src/moko-keypad.h: Added the MokoDigitButton, MokoDialerPanel and MokoDialerTextview classes from the orignal dialer, and added them into the new MokoKeypad object. 2007-07-03 Neil J. Patel * src/Makefile.am: * src/moko-dialer.c: (moko_dialer_dispose), (moko_dialer_init): Init the connection with gsmd through MokoGsmdConnection. Init MokoJournal. Create the initial window (and present straight away for now). Create the notebook, and pack in the keypad. * src/moko-keypad.c: (moko_keypad_dispose), (moko_keypad_finalize), (moko_keypad_class_init), (moko_keypad_init), (moko_keypad_new): * src/moko-keypad.h: Added the beginiings of a keypad. 2007-07-03 Neil J. Patel * AUTHORS: * INSTALL: * Makefile.am: * README: * autogen.sh: * configure.ac: * data/Makefile.am: * data/openmoko-dialer.desktop: * data/org.openmoko.Dialer.service.in: * src/Makefile.am: * src/dialer-main.c: (_show_dialer), (_show_missed), (main): * src/moko-dialer-dbus.xml: * src/moko-dialer-glue.h: * src/moko-dialer.c: (moko_dialer_show_dialer), (moko_dialer_show_missed_calls), (moko_dialer_get_status), (moko_dialer_dial), (moko_dialer_hang_up), (moko_dialer_outgoing_call), (moko_dialer_talking), (moko_dialer_hung_up), (moko_dialer_rejected), (on_network_registered), (on_incoming_call), (on_pin_requested), (on_call_progress_changed), (register_network_cb), (moko_dialer_dispose), (moko_dialer_finalize), (moko_dialer_class_init), (moko_dialer_init), (moko_dialer_get_default): * src/moko-dialer.h: Intial Import