2008-04-10 Chris Lord * libmokoui/moko-finger-scroll.c (moko_finger_scroll_button_press_cb), (moko_finger_scroll_motion_notify_cb), (moko_finger_scroll_button_release_cb), (moko_finger_scroll_init): Do check event type, but don't distinguish between single click and double-click 2008-04-07 Chris Lord * libmokoui/moko-finger-scroll.c (moko_finger_scroll_button_press_cb), (moko_finger_scroll_motion_notify_cb), (moko_finger_scroll_button_release_cb): Don't bother checking the last event type when detecting infinite loops, it just causes problems with double-clicking 2008-01-29 Chris Lord * bindings/python/Makefile.am: * bindings/python/moko.override: * bindings/python/mokomodule.c: Rename 'moko' to 'mokoui' in python bindings 2008-01-22 Chris Lord Patch by: Frank Li * libmokoui/moko-finger-scroll.c: (moko_get_time_delta), (moko_finger_scroll_button_press_cb), (moko_finger_scroll_refresh), (moko_finger_scroll_timeout), (moko_finger_scroll_motion_notify_cb), (moko_finger_scroll_button_release_cb), (parent_set_cb), (moko_finger_scroll_get_property), (moko_finger_scroll_set_property), (moko_finger_scroll_class_init), (moko_finger_scroll_mode_get_type), (moko_finger_scroll_indicator_mode_get_type): * libmokoui/moko-finger-scroll.h: * libmokoui/moko-type.h: Add indicator display modes and new 'auto' scrolling mode 2008-01-22 Chris Lord * configure.ac: python bindings disabled by default 2008-01-22 Chris Lord * libmokoui/moko-finger-scroll.c: (parent_set_cb), (moko_finger_scroll_add), (moko_finger_scroll_dispose), (moko_finger_scroll_init), (moko_finger_scroll_mode_get_type): Fix removal of widgets from a MokoFingerScroll causing crashes/weird behaviour 2008-01-22 Chris Lord Patch by: Frank Li * Makefile.am: * bindings/python/Makefile.am: * bindings/python/moko.override: * bindings/python/mokomodule.c: (initmoko): * configure.ac: * libmokoui/Makefile.am: * libmokoui/moko-finger-scroll.c: (moko_finger_scroll_mode_get_type): Add python bindings for MokoFingerScroll 2008-01-04 Michael Lauer * bindings/vala/libmokoui2.vapi: * bindings/vala/libmokoui2.deps: * bindings/vala/Makefile.am: * configure.ac: * Makefile.am: Add Vala Bindings 2007-12-19 Chris Lord * libmokoui/moko-finger-scroll.c: (moko_finger_scroll_refresh), (moko_finger_scroll_dispose): Change scrollbar calculation code, as shown in bug #1073 (thanks to Renato Filho), make sure to remove *all* source functions on dispose 2007-10-19 Chris Lord * libmokoui/moko-finger-scroll.c: (moko_finger_scroll_motion_notify_cb): Don't call gtk_widget_get_pointer too early 2007-10-18 Thomas Wood * libmokoui/moko-hint-entry.h: Correct a macro typo * libmokoui/moko-stock.c: * libmokoui/moko-stock.h: Add MOKO_STOCK_CALL_IGNORE 2007-10-18 Chris Lord * libmokoui/moko-finger-scroll.c: (moko_finger_scroll_motion_notify_cb): Call gtk_widget_get_pointer in the correct place to avoid missing motion events, as spotted by Frank Li 2007-10-15 Chris Lord * libmokoui/moko-finger-scroll.c: (moko_finger_scroll_button_press_cb), (moko_finger_scroll_motion_notify_cb), (moko_finger_scroll_button_release_cb): Don't alter event struct, fixes weird event flooding bug 2007-10-12 Chris Lord * libmokoui/moko-finger-scroll.c: (moko_finger_scroll_button_press_cb): Add fix for when widgets grab X after a click inside MokoFingerScroll 2007-10-08 Chris Lord * libmokoui/moko-finger-scroll.c: (get_ordered_children): Fix typo g_list_prepend instead of g_list_append 2007-10-08 Chris Lord * libmokoui/moko-finger-scroll.c: (get_ordered_children), (moko_finger_scroll_get_topmost), (moko_finger_scroll_button_press_cb), (moko_finger_scroll_motion_notify_cb), (moko_finger_scroll_button_release_cb): Import window-ordering fix from libhildondesktop, fix odd event-eating bug where only 2nd click after using MokoFingerScroll outside of a MokoFingerScroll would work 2007-10-04 Chris Lord * libmokoui/moko-finger-scroll.c: (moko_finger_scroll_timeout), (moko_finger_scroll_motion_notify_cb), (moko_finger_scroll_button_release_cb), (moko_finger_scroll_dispose): Really don't allow clicks after scrolling has begun, fix crash when destroying widget while scrolling timeout is active 2007-10-01 Chris Lord * libmokoui/moko-finger-scroll.c: (moko_finger_scroll_get_topmost), (moko_finger_scroll_button_press_cb), (moko_finger_scroll_motion_notify_cb), (moko_finger_scroll_button_release_cb): Fix sometimes missing button-release events, fix when the clicked child window is destroyed while scrolling, don't send click inside the child when the widget has scrolled 2007-10-01 Chris Lord * libmokoui/moko-finger-scroll.c: (moko_finger_scroll_button_press_cb), (moko_finger_scroll_button_release_cb): Remove active debug statements 2007-10-01 Chris Lord * libmokoui/moko-finger-scroll.c: (moko_finger_scroll_get_topmost), (synth_crossing), (moko_finger_scroll_button_press_cb), (moko_finger_scroll_motion_notify_cb), (moko_finger_scroll_button_release_cb), (moko_finger_scroll_add), (moko_finger_scroll_add_with_viewport): Change the way events are synthesised to enable dragging (and thus text selection) in a scroll widget 2007-09-27 Chris Lord * libmokoui/moko-hint-entry.c: (moko_hint_entry_set_text): Make sure to reset the hinting status before setting text 2007-09-27 Thomas Wood * libmokoui/moko-hint-entry.c: * libmokoui/moko-hint-entry.h: Replace moko_hint_entry_clear() with moko_hint_entry_set_text() 2007-09-26 Thomas Wood * libmokoui/moko-stock.c: (_moko_stock_add_icon): Don't create empty GtkIconSources 2007-09-26 Thomas Wood * libmokoui/moko-stock.c: (_moko_stock_add_icon): Attempt to fix a segfault in moko_stock_register() 2007-09-25 Thomas Wood * doc/reference/tmpl/moko-stock.sgml: Add stock item documentation * libmokoui/moko-finger-scroll.c: * libmokoui/moko-hint-entry.c: * libmokoui/moko-search-bar.c: * libmokoui/moko-stock.c: Add section documentation 2007-09-25 Thomas Wood * libmokoui/moko-finger-scroll.h: Remove redunent comment * libmokoui/moko-hint-entry.c: (moko_hint_entry_class_init): Add missing documentation 2007-09-25 Chris Lord * libmokoui/moko-search-bar.c: (moko_search_bar_class_init): Document signals 2007-09-25 Thomas Wood * libmokoui/moko-finger-scroll.h: * libmokoui/moko-hint-entry.h: * libmokoui/moko-search-bar.h: Document enums and structs 2007-09-25 Thomas Wood * libmokoui/moko-finger-scroll.c: * libmokoui/moko-search-bar.c: Fix some typos in the documentation 2007-09-22 Holger Hans Peter Freyther Change the header file to be parsable by h2def.py, which will reduce the manual work needed to create bindings. * libmokoui/moko-hint-entry.h: 2007-09-21 Holger 'Siddhartha' Freyther As Thomas pointed out, don't use the deprecated gtk_object_sink but use the g_object_ref_sink method instead. * libmokoui/moko-finger-scroll.c: (moko_finger_scroll_init): 2007-09-21 Thomas Wood * libmokoui/moko-stock.c: (_moko_stock_add_icon): Start documentation for moko-stock 2007-09-21 Thomas Wood * libmokoui/moko-hint-entry.c: (moko_hint_entry_new), (moko_hint_entry_clear): Correct and complete documentation for MokoHintEntry 2007-09-21 Thomas Wood * libmokoui/moko-finger-scroll.c: (moko_finger_scroll_init), (moko_finger_scroll_new), (moko_finger_scroll_new_full): Complete the documentation for MokoFingerScroll 2007-09-21 Chris Lord * libmokoui/moko-finger-scroll.c: (moko_finger_scroll_class_init), (moko_finger_scroll_init), (moko_finger_scroll_new_full): Don't ignore 'mode' in moko_finger_scroll_new_full, fix documentation for "velocity_max" property 2007-09-21 Thomas Wood * libmokoui/moko-stock.c: (_moko_stock_add_icon): Correctly load all the available sizes for additional stock icons 2007-09-20 Thomas Wood * libmokoui/moko-search-bar.c: (moko_search_bar_init), (moko_search_bar_new), (moko_search_bar_new_with_combo), (moko_search_bar_get_combo_box), (moko_search_bar_get_entry), (moko_search_bar_search_visible): Add documentation for MokoSearchBar 2007-09-20 Thomas Wood * doc/reference/libmokoui2-docs.sgml: Add title and section name 2007-09-19 Thomas Wood * doc/reference/Makefile.am: Fix incorrect use of '+=' 2007-09-19 Thomas Wood * autogen.sh: Run gtkdocize first 2007-09-19 Thomas Wood * libmokoui/moko-hint-entry.c: * libmokoui/moko-hint-entry.h: Relicense under LGPL 2007-09-19 Thomas Wood * Makefile.am: * autogen.sh: * configure.ac: * doc/reference/Makefile.am: * doc/reference/version.xml.in Add gtk-doc support * libmokoui/moko-finger-scroll.c: (moko_finger_scroll_init), (moko_finger_scroll_new_full): Add documentation for MokoFingerScroll 2007-09-19 Chris Lord * libmokoui/moko-hint-entry.c: (update): Don't clear entry when user-entered text matches hint text 2007-09-19 Chris Lord * libmokoui/moko-finger-scroll.c: (moko_finger_scroll_refresh): Take the border-width property of the container into account when calculating if scroll-indicators should be visible 2007-09-17 Thomas Wood * configure.ac: * libmokoui/Makefile.am: * libmokoui/moko-hint-entry.c: * libmokoui/moko-hint-entry.h: Add MokoHintEntry based on KotoHintEntry 2007-08-31 Chris Lord,,, * libmokoui/moko-finger-scroll.c: (moko_finger_scroll_add_with_viewport): * libmokoui/moko-finger-scroll.h: Add moko_finger_scroll_add_with_viewport * libmokoui/moko-search-bar.c: (combo_changed_cb), (moko_search_bar_get_property), (moko_search_bar_set_property), (moko_search_bar_class_init), (moko_search_bar_init), (moko_search_bar_new), (moko_search_bar_new_with_combo), (moko_search_bar_get_combo_box), (moko_search_bar_get_entry), (moko_search_bar_search_visible), (moko_search_bar_toggle): * libmokoui/moko-search-bar.h: Don't abstract things unnecessarily 2007-08-30 Chris Lord,,, * libmokoui/moko-search-bar.c: (moko_search_bar_count_categories), (moko_search_bar_clear_categories): * libmokoui/moko-search-bar.h: Add new API to count and clear categories 2007-08-30 Holger Hans Peter Freyther Change the header file to be parsable by h2def.py, which will reduce the manual work needed to create bindings. * libmokoui/moko-search-bar.h: 2007-08-29 Chris Lord,,, * libmokoui/moko-finger-scroll.c: (moko_finger_scroll_refresh), (moko_finger_scroll_expose_event), (moko_finger_scroll_style_set), (moko_finger_scroll_class_init), (moko_finger_scroll_init): Add a style property 'indicator-width' to set the width of the scroll indicators. 2007-08-28 Chris Lord,,, * configure.ac: * libmokoui/Makefile.am: * libmokoui/moko-search-bar.[ch]: Add new widget MokoSearchBar 2007-08-22 Holger Freyther Rubberstamped by Mickey. Change the hethat way.ader to help h2def.py find GObjects. Please keep this that way. * libmokoui/moko-finger-scroll.h: 2007-08-15 Thomas Wood * libmokoui/moko-stock.c: (_moko_stock_add_icon): Add a hack to make sure we at least have a version of the icons available at each possible GtkIconSize 2007-08-03 Holger Hans Peter Freyther Change GtkAdjustment handling to be the Gtk+ way. There is gtk_widget_set_scroll_adjustments which widgets that support scrolling indirectly implement (GtkTreeView, GtkViewport, GtkLayout). This allows to embed WebKitGtkPage which only implements the Gtk+ way of scrolling but does not export the GtkAdjustment via properties. This change was tested with the feedreader and the today app. * libmokoui/moko-finger-scroll.c: (moko_finger_scroll_scroll): Simplify (moko_finger_scroll_expose_event): Simplify (moko_finger_scroll_destroy): Unref our GtkAdjustment (moko_finger_scroll_remove_cb): Simplify (moko_finger_scroll_add): Use gtk_widget_set_scroll_adjustments (moko_finger_scroll_class_init): Register destroy of GtkObject (moko_finger_scroll_init): Create our GtkAjdustment, use g_object_ref_sink at one point. 2007-07-29 Holger Freyther Refer to version two of the library * configure.ac: * libmokoui2.pc.in: 2007-07-28 Michael Lauer * configure.ac: * libmokoui.pc.in: * libmokoui2.pc.in: * libmokoui/Makefile.am: Bump library name and version. 2007-07-27 Chris Lord * libmokoui/moko-finger-scroll.c: (moko_finger_scroll_button_press_cb), (moko_finger_scroll_motion_notify_cb), (moko_finger_scroll_get_topmost), (moko_finger_scroll_button_release_cb), (moko_finger_scroll_add), (moko_finger_scroll_get_property), (moko_finger_scroll_set_property), (moko_finger_scroll_class_init), (moko_finger_scroll_init): Synthesise more events so that buttons and other like widgets work. Also fix a possible infinite loop. 2007-07-13 Chris Lord * libmokoui/moko-finger-scroll.c: (moko_finger_scroll_button_press_cb), (moko_finger_scroll_refresh), (moko_finger_scroll_scroll), (moko_finger_scroll_motion_notify_cb), (moko_finger_scroll_get_topmost), (moko_finger_scroll_button_release_cb), (moko_finger_scroll_expose_event), (moko_finger_scroll_size_request), (moko_finger_scroll_class_init), (moko_finger_scroll_init): Modularise things slightly, make sure to recalculate/redraw the scroll indicators when the child adjustments change, disconnect signals properly on remove 2007-07-13 Chris Lord * libmokoui/moko-finger-scroll.c: (moko_finger_scroll_size_allocate_cb): Check that the widget window exists before invalidating it 2007-07-13 Chris Lord * libmokoui/moko-finger-scroll.c: (moko_finger_scroll_size_allocate_cb), (moko_finger_scroll_size_request_cb): Recalculate size correctly when child resizes, and redraw 2007-07-13 Chris Lord * libmokoui/moko-finger-scroll.c: (moko_finger_scroll_size_allocate_cb), (moko_finger_scroll_expose_event), (moko_finger_scroll_add), (moko_finger_scroll_remove): Recalculate scroll-bar size/necessity when child resizes 2007-07-12 Chris Lord * libmokoui/moko-finger-scroll.c: (moko_finger_scroll_scroll), (moko_finger_scroll_button_release_cb), (moko_finger_scroll_size_allocate_cb), (moko_finger_scroll_expose_event), (moko_finger_scroll_class_init), (moko_finger_scroll_init): Don't do so much unnecessary drawing 2007-07-12 Chris Lord * libmokoui/moko-finger-scroll.c: (moko_finger_scroll_motion_notify_cb), (moko_finger_scroll_init): Stop motion events from queueing 2007-07-12 Chris Lord * libmokoui/moko-finger-scroll.c: (moko_finger_scroll_button_press_cb), (moko_finger_scroll_init), (moko_finger_scroll_new), (moko_finger_scroll_new_full): * libmokoui/moko-finger-scroll.h: Add licence header, don't send click event when stopping a fast scroll 2007-07-12 Chris Lord * libmokoui/moko-finger-scroll.c: * libmokoui/moko-finger-scroll.h: * libmokoui/Makefile.am: Add MokoFingerScroll, bump version 2007-07-09 Neil J. Patel * COPYING: * Makefile.am: * autogen.sh: * configure.ac: * libmokoui.pc.in: * libmokoui/Makefile.am: * libmokoui/moko-stock.c: * libmokoui/moko-stock.h: * po/Makefile.in.in: Initial import from the spilt of openmoko-libs