* examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK conditional in the Makef...
[hildon] / ChangeLog
1 2008-11-13  Alejandro G. Castro  <alex@igalia.com>
2
3         * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
4         conditional in the Makefile.am
5
6 2008-11-12  Claudio Saavedra  <csaavedra@igalia.com>
7
8         * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
9         Remove unused methods.
10
11 2008-11-12  Alberto Garcia  <agarcia@igalia.com>
12
13         * src/hildon-button.c (hildon_button_init):
14         Make button images center-aligned by default
15
16 2008-11-12  Alejandro G. Castro  <alex@igalia.com>
17
18         * src/hildon-gtk.c:
19         * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
20         activated, we have to think about how to deal with both defines
21         MAEMO_GTK and MAEMO_CHANGES.
22
23 2008-11-12  Alberto Garcia  <agarcia@igalia.com>
24
25         * examples/hildon-app-menu-example.c (create_menu): Make all
26         buttons finger size.
27
28 2008-11-11  Alejandro G. Castro  <alex@igalia.com>
29
30         Fixed the compilation without maemo gtk adding ifdefs with
31         MAEMO_GTK define to the code, we have to check this version more
32         carefully.
33
34         * examples/Makefile.am: Added control to avoid some examples that
35         just make sense with maemo gtk.
36
37         * src/hildon-gtk.c:
38         * src/hildon-gtk.h: Remove some functions that use the maemo gtk
39         hildon modes with the define.
40
41         * examples/hildon-edit-toolbar-example.c,
42         (create_icon_view): Create the icon view without hildon-gtk
43         helpers if we are not using maemo gtk.
44
45         * src/hildon-touch-selector.c,
46         (_create_new_column): Create the treeview without hildon-gtk
47         helpers if we are not using maemo gtk.
48
49 2008-11-11  Alejandro G. Castro  <alex@igalia.com>
50
51         * src/hildon-pnnable-area.c,
52         (hildon_pannable_area_dispose),
53         (hildon_pannable_area_button_press_cb),
54         (hildon_pannable_area_child_mapped),
55         (hildon_pannable_area_add),
56         (hildon_pannable_area_remove): Added code to control the position
57         of the event_window when adding and removing children from the
58         pannable. We have to raise the event window when the child is
59         mapped.
60
61         Fixes: NB#89811 (Not able to select first image thumbnail in multi
62         selection mode using custom widget inside pannable)
63
64 2008-11-11  Claudio Saavedra  <csaavedra@igalia.com>
65
66         * configure.ac: post release version bump
67         * debian/changelog: version bump
68
69 2008-11-11  Claudio Saavedra  <csaavedra@igalia.com>
70
71         [Release 2.1.22]
72
73         * NEWS: updates
74         * configure.ac: bump version
75         * debian/changelog: updates
76
77 2008-11-10  Alejandro Pinheiro  <apinheiro@igalia.com>
78
79         * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
80         search mode, in order to avoid lose the focus on the treeview when
81         a hw key (like enter) is pressed.
82
83         Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
84         in HildonDateSelector dialog)
85
86 2008-11-06  Alejandro Pinheiro  <apinheiro@igalia.com>
87
88         * debian/rules: Added --enable-maintainer-mode
89         * Makefile.am: Added ACLOCAL_AMFLAGS
90
91         This allows to properly regenerate the Makefiles if you modify the
92         configure.ac or any Makefile.am.
93
94 2008-11-06  Claudio Saavedra  <csaavedra@igalia.com>
95
96         * examples/hildon-app-menu-example.c: (main): Do not set RC style
97         properties, not needed at all.
98
99 2008-11-06  Claudio Saavedra  <csaavedra@igalia.com>
100
101         * src/hildon-note-private.h: Add strings for the icon and stock_icon
102         properties.
103         * src/hildon-note.c: (hildon_note_set_property),
104         (hildon_note_get_property), (hildon_note_class_init),
105         (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
106         (hildon_note_new_confirmation_add_buttons): Remove icons.
107         (hildon_note_new_confirmation_with_icon_name): Deprecate.
108         (hildon_note_new_information_with_icon_name): Deprecate.
109         (hildon_note_new_confirmation): Act directly, without calling
110         the deprecated constructor.
111         (hildon_note_new_information): Act directly, without calling
112         the deprecated constructor.
113         * src/hildon-note.h: Mark deprecate methods as such.
114         * tests/check-hildon-note.c: (create_hildon_note_suite): Do
115         not run tests on the deprecated methods if built with deprecation
116         disabled.
117
118         Fixes: NB#91688 (Never show icons in information notes/confirmation
119         notes)
120
121 2008-11-06  Claudio Saavedra  <csaavedra@igalia.com>
122
123         * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
124         (hildon_app_menu_key_press): Remove leftover usage of the
125         private structure in HildonAppMenu struct.
126         * src/hildon-app-menu.h: Remove leftover private structure
127         from the HildonAppMenu struct.
128
129         Fixes a crasher when using the HildonAppMenu.
130
131 2008-11-05  Claudio Saavedra  <csaavedra@igalia.com>
132
133         * src/hildon-picker-dialog.c: Use appropriate logical id
134         for the default "Done" text.
135
136 2008-11-05  Claudio Saavedra  <csaavedra@igalia.com>
137
138         * configure.ac: post release version bump
139         * debian/changelog: version bump
140
141 2008-11-05  Alejandro Pinheiro  <apinheiro@igalia.com>
142
143         Modified the way to scroll to the current selection just when the touch
144         selector is shown on the screen, avoiding a g_idle. Added too a property
145         to configure this behaviour. See hildon_pannable_area_jump_to_child
146         documentation for more information.
147
148         * src/hildon-touch-selector.c
149         Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
150         Added 'initial-scroll' property
151         (hildon_touch_selector_set_property): Added
152         (hildon_touch_selector_map): Removed as not required anymore
153         (_hildon_touch_selector_on_selected_items): Modified in order to manage
154         only a concrete column, instead of iterate along all the columns
155
156 2008-11-04  Claudio Saavedra  <csaavedra@igalia.com>
157
158         [Release 2.1.20]
159
160         * NEWS: updates
161         * configure.ac: bump version
162         * debian/changelog: updates
163
164 2008-11-04  Claudio Saavedra  <csaavedra@igalia.com>
165
166         * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
167         compilation time warnings.
168
169 2008-11-04  Claudio Saavedra  <csaavedra@igalia.com>
170
171         * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
172         the default value for HildonPannableArea::mov-mode to
173         HILDON_PANNABLE_AREA_MODE_VERT.
174
175         Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
176
177 2008-11-04  Claudio Saavedra  <csaavedra@igalia.com>
178
179         Reverting following commit:
180
181         2008-10-13  Alberto Garcia  <agarcia@igalia.com>
182
183           * src/hildon-app-menu-private.h
184           * src/hildon-app-menu.[ch]
185           * src/hildon-button.[ch]
186           * src/hildon-check-button.[ch]
187           * src/hildon-entry.[ch]
188           * src/hildon-pannable-area.[ch]
189           * src/hildon-text-view.[ch]:
190           Added private field to the object's structure.
191
192         because it causes an ABI breakage. We will need to introduce these
193         changes later at some point. See NB#91636 for an extensive
194         explanation and status.
195
196 2008-11-04  Claudio Saavedra  <csaavedra@igalia.com>
197
198         Patch contributed by Daniel Borgmann (danielb@openismus.com)
199
200         * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
201         remove special cases that are no longer necessary.
202
203         Fixes: NB#91016 (Change toolbar sizes, simplification)
204
205 2008-11-03  Claudio Saavedra  <csaavedra@igalia.com>
206
207         * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
208         is shown in the cancel note.
209
210 2008-11-03  Claudio Saavedra  <csaavedra@igalia.com>
211
212         * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
213         * src/hildon-seekbar.c: (hildon_seekbar_class_init),
214         (hildon_seekbar_init): Remove steppers, remove expose event.
215         * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
216
217         Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
218
219 2008-10-31  Claudio Saavedra  <csaavedra@igalia.com>
220
221         * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
222         label font to "SmallSystemFont" for vertically arranged buttons.
223
224         Fixes: NB#90662 (HildonButton "value" and "detail" text is
225         unformatted)
226
227 2008-10-31  Alberto Garcia  <agarcia@igalia.com>
228
229         * src/hildon-check-button.c
230         (hildon_check_button_set_active, hildon_check_button_clicked):
231         Don't access private parts directly, use getters instead.
232
233 2008-10-31  Alberto Garcia  <agarcia@igalia.com>
234
235         * src/hildon-check-button.c (hildon_check_button_new):
236         Align the contents of the check button to the left.
237
238 2008-10-30  Alejandro G. Castro  <alex@igalia.com>
239
240         * src/hildon-pannable-area.c,
241         (hildon_pannable_area_scroll_to),
242         (hildon_pannable_area_jump_to),
243         (hildon_pannable_area_scroll_to_child),
244         (hildon_pannable_area_jump_to_child): Replace the mapped
245         precondition of these functions with the realized, it is the
246         correct state of the widget in this case. Changed the
247         documentation according to this modification.
248
249 2008-10-30  Alejandro G. Castro  <alex@igalia.com>
250
251         Added a new EXTRA_CFLAGS option to add the deprecated define to
252         the compilation command. This way we can avoid using the define in
253         the documentation compilation.
254
255         * configure.ac: Defined EXTRA_CFLAGS.
256
257         * examples/Makefile.am:
258         * src/Makefile.am:
259         * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
260
261 2008-10-30  Alejandro Pinheiro  <apinheiro@igalia.com>
262
263         * src/hildon-picker-dialog.c:
264         Defined a utility macro with the desired touch selector height
265         Removed currently unused separator, and title_label variables from
266         private structure.
267         (hildon_picker_dialog_init): Removed code related to the creation
268         of unused private variables title_label and separator.
269         (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
270         to ensure correct visualization of the touch selector inside the dialog.
271         * src/hildon-touch-selector.c
272         (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
273         ensure a concrete height of the widget.
274
275 2008-10-30  Claudio Saavedra  <csaavedra@igalia.com>
276
277         * src/Makefile.am:
278         * tests/Makefile.am:
279
280         Remove spurious whitespaces.
281
282 2008-10-30  Claudio Saavedra  <csaavedra@igalia.com>
283
284         * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
285         compilation warning after the cancel button removal.
286
287 2008-10-30  Alejandro G. Castro  <alex@igalia.com>
288
289         Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
290
291         * configure.ac: Added an AM_CONDITIONAL in order to use in the
292         Makefile.am, that way we can choose not to compile some examples
293         and tests of the deprecated widgets.
294
295         * examples/Makefile.am: Divided the sources in deprecated and
296         non-deprecated.
297
298         * src/Makefile.am: Added undef statement of the deprecated
299         symbol to the enums file generation process.
300
301         * src/hildon-color-chooser-dialog.c
302         * src/hildon-color-chooser-dialog.h
303         * src/hildon-color-button.c
304         * src/hildon-color-button.h
305         * src/hildon-color-chooser.c
306         * src/hildon-color-chooser.h
307         * src/hildon-controlbar.c
308         * src/hildon-controlbar.h
309         * src/hildon-date-editor.c
310         * src/hildon-date-editor.h
311         * src/hildon-hvolumebar.c
312         * src/hildon-hvolumebar.h
313         * src/hildon-private.c
314         * src/hildon-private.h
315         * src/hildon-range-editor.c
316         * src/hildon-range-editor.h
317         * src/hildon-seekbar.c
318         * src/hildon-seekbar.h
319         * src/hildon-time-editor.c
320         * src/hildon-time-editor.h
321         * src/hildon-time-picker.c
322         * src/hildon-time-picker.h
323         * src/hildon-volumebar.c
324         * src/hildon-volumebar.h
325         * src/hildon-vvolumebar.c
326         * src/hildon-vvolumebar.h
327         * src/hildon-bread-crumb-trail.h
328         * src/hildon-bread-crumb-trail.c
329         * src/hildon-calendar-popup.c
330         * src/hildon-calendar-popup.h
331         * src/hildon-weekday-picker.c:
332         * src/hildon-weekday-picker.h:
333         * src/hildon-bread-crumb-widget.c:
334         * src/hildon-bread-crumb-widget.h:
335         * src/hildon-bread-crumb.c:
336         * src/hildon-bread-crumb.h:
337         * src/hildon-calendar.c:
338         * src/hildon-calendar.h:
339         * src/hildon-caption.c:
340         * src/hildon-code-dialog.c:
341         * src/hildon-code-dialog.h:
342         * src/hildon-font-selection-dialog.c:
343         * src/hildon-font-selection-dialog.h:
344         * src/hildon-get-password-dialog.c:
345         * src/hildon-get-password-dialog.h:
346         * src/hildon-login-dialog.c:
347         * src/hildon-login-dialog.h:
348         * src/hildon-number-editor.c:
349         * src/hildon-number-editor.h:
350         * src/hildon-set-password-dialog.c:
351         * src/hildon-set-password-dialog.h:
352         * src/hildon-sort-dialog.c:
353         * src/hildon-sort-dialog.h: This is the list of deprecated
354         widgets.
355
356         * src/hildon-touch-selector.c:
357         * src/hildon-window.c: Added undef statement to avoid compilation
358         warnings
359
360         * tests/Makefile.am: Divided the sources in deprecated and
361         non-deprecated.
362
363         * tests/check_test.c,
364         (configure_tests): Marked the deprecated code that was adding
365         suites with deprecated tests.
366
367         Fixes: NB#91135 (Deprecate legacy hildon widgets)
368
369 2008-10-30  Claudio Saavedra  <csaavedra@igalia.com>
370
371         * src/hildon-touch-selector.c: (_default_print_func): Do not
372         duplicate a string returned by gtk_tree_model_get(), it is already
373         allocated for us.
374
375         Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
376         function)
377
378 2008-10-28  Alejandro G. Castro  <alex@igalia.com>
379
380         * src/hildon-pannable-area.c
381         (hildon_pannable_area_add_with_viewport): Reviewed the complete
382         method, it had problems when adding a widget with viewport the
383         second time. Now checks if it already has a viewport and uses it.
384
385         Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
386         on child)
387
388 2008-10-28  Alejandro G. Castro  <alex@igalia.com>
389
390         * src/hildon-pannable-area.c,
391         (hildon_pannable_area_scroll_to),
392         (hildon_pannable_area_jump_to),
393         (hildon_pannable_area_scroll_to_child),
394         (hildon_pannable_area_jump_to_child): Added a precondition to the
395         scroll and jump to functions: the widget must be mapped before we
396         can safely call these functions. We have also added documentation
397         to the functions to explain how to use them in this situation.
398
399
400 2008-10-28  Alejandro G. Castro  <alex@igalia.com>
401
402         Reviewed the threading handling of the pannable widget, we have
403         used the gdk_threads_add_timeout function instead of the usual
404         glib handlers. This avoids some problems with the threads.
405
406         * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
407         (hildon_pannable_area_initial_effect),
408         (hildon_pannable_area_scroll_indicator_fade),
409         (hildon_pannable_area_button_press_cb),
410         (hildon_pannable_area_timeout),
411         (hildon_pannable_area_motion_notify_cb),
412         (hildon_pannable_area_button_release_cb),
413         (hildon_pannable_area_scroll_cb),
414         (hildon_pannable_area_scroll_to): Removed the
415         GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
416         gdk_threads_add_timeout.
417
418         Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
419
420 2008-10-27  Claudio Saavedra  <csaavedra@igalia.com>
421
422         [Release 2.1.18]
423
424         * NEWS: updates
425         * configure.ac: bump version
426         * debian/changelog: updates
427
428 2008-10-27  Claudio Saavedra  <csaavedra@igalia.com>
429
430         * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
431         * src/hildon-code-dialog.c: (hildon_code_dialog_init):
432         * src/hildon-color-chooser-dialog.c:
433         (hildon_color_chooser_dialog_init):
434         * src/hildon-font-selection-dialog.c:
435         (hildon_font_selection_dialog_init):
436         * src/hildon-login-dialog.c: (hildon_login_dialog_init):
437
438         Remove all cancel/close-like dialogs, as these are not going to be
439         displayed at all.
440
441 2008-10-27  Claudio Saavedra  <csaavedra@igalia.com>
442
443         * src/hildon-note.c: (hildon_note_rebuild),
444         (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
445         when needed.
446
447         Fixes: NB#90661 (Delete dialog is displayed without NO button)
448
449 2008-10-27  Claudio Saavedra  <csaavedra@igalia.com>
450
451         * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
452         sure all buttons are shown, even the Cancel/Close-like ones.
453
454         Fixes: NB#90861 (Custom Confirmation dialogs should be
455         protected from cancel button removal)
456
457 2008-10-23  Alejandro Pinheiro  <apinheiro@igalia.com>
458
459         * debian/control: Change libhildon1-examples dependency from libhildon1
460         to libhildon1-dev
461         * debian/libhildon1-examples.install
462         * debian/rules
463         * Makefile.am: Modified the final install directory for the examples on
464         package libhildon1-examples
465         * Makefile.static: Update clean target in order to remove all the binary
466         examples
467
468         Changes suggested by Claudio after review new libhildon1-examples package
469
470 2008-10-23  Claudio Saavedra  <csaavedra@igalia.com>
471
472         * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
473         * src/hildon-touch-selector.c: Ditto.
474
475 2008-10-23  Alejandro Pinheiro  <apinheiro@igalia.com>
476
477         * debian/control: Added new package libhildon1-examples, in order to pack
478         the current hildon examples as documentation
479         * debian/rules: Not to compress .c files, modify some includes on the
480         examples (as normally are compiled locally, but when installed it will
481         require to include the installed libhildon1 library), and rename
482         Makefile.static
483         * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
484         install all the example files on the new example package
485         * examples/Makefile.static: Added static makefile that can be used to
486         compile the examples, once installed the new example package
487         * examples: Most of the examples were modified in order to grant that
488         all use only '#include "hildon.h"', in order to be easy to prepare
489         it on the example package
490
491 2008-10-23  Alberto Garcia  <agarcia@igalia.com>
492
493         * debian/control
494         * debian/libhildon1-dev.install
495         * debian/libhildon1-doc.install:
496         Move all gtk-doc files to a separate libhildon1-doc package.
497
498 2008-10-23  Daniel Borgmann  <danielb@openismus.com>
499
500         reviewed by:  Claudio Saavedra  <csaavedra@igalia.com>
501
502         * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
503
504 2008-10-22  Alejandro Pinheiro  <apinheiro@igalia.com>
505
506         * debian/rules: Fixed a error in order to avoid unnecessary calls
507         to autogen.sh on package building
508
509 2008-10-22  Alberto Garcia  <agarcia@igalia.com>
510
511         * examples/hildon-app-menu-example.c: Add keyboard accelerator.
512
513 2008-10-21  Claudio Saavedra  <csaavedra@igalia.com>
514
515         * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
516         header include.
517
518 2008-10-21  Alberto Garcia  <agarcia@igalia.com>
519
520         * src/hildon-picker-button.c
521         (hildon_picker_button_finalize):
522         Free priv->done_button_text
523
524         * src/hildon-time-button.c
525         (hildon_time_button_set_time)
526         * src/hildon-picker-button.c
527         (hildon_picker_button_clicked)
528         (hildon_picker_button_selector_selection_changed)
529         (hildon_picker_button_set_selector)
530         * src/hildon-date-button.c
531         (hildon_date_button_set_date):
532         Free strings returned by hildon_touch_selector_get_current_text()
533
534         * src/hildon-button.c (hildon_button_construct_child):
535         Fix leaks in priv->image and priv->label_box
536
537         Fixes: NB#90535 (Memory leak in picker button)
538
539 2008-10-21  Claudio Saavedra  <csaavedra@igalia.com>
540
541         * src/hildon-button.c: (hildon_button_get_property): Do not access
542         private elements directly, use getters instead.
543
544 2008-10-20  Alberto Garcia  <agarcia@igalia.com>
545
546         * src/hildon-app-menu-private.h
547         * src/hildon-app-menu.c
548         (hildon_app_menu_init, hildon_app_menu_set_parent_window):
549         Store the menu's parent window.
550
551         * src/hildon-stackable-window.c
552         (hildon_stackable_window_toggle_menu)
553         (hildon_stackable_window_finalize):
554         Set the menu's parent window when the menu is shown, unset it when
555         it is destroyed.
556
557         * src/hildon-app-menu.c
558         (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
559         (hildon_app_menu_class_init):
560         Send unhandled keyboard accelerators to the parent window.
561
562 2008-10-20  Alberto Garcia  <agarcia@igalia.com>
563
564         * src/hildon-stackable-window.c
565         (hildon_stackable_window_finalize): Unref the menu, don't destroy it
566
567 2008-10-20  Claudio Saavedra  <csaavedra@igalia.com>
568
569         * configure.ac: post release version bump
570
571 2008-10-20  Claudio Saavedra  <csaavedra@igalia.com>
572
573         * NEWS: Updates
574         * configure.ac: Bump version
575         * debian/changelog: Updates
576         * debian/rules: Set PKG_CONFIG_PATH to make docs build with
577         gtk-doc 1.10.
578
579 2008-10-20  Alberto Garcia  <agarcia@igalia.com>
580
581         Patch contributed by Daniel Borgmann (danielb@openismus.com)
582
583         * src/hildon-gtk.h
584         * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
585         GtkMenu with Hildon style.
586
587 2008-10-20  Claudio Saavedra  <csaavedra@igalia.com>
588
589         * src/hildon-picker-button.c:
590         (hildon_picker_button_set_done_button_text): Set the dialog's
591         done button text here as well.
592
593         Fixes: NB#90232 (Picker button does not set the label on done button
594         for the second time)
595
596 2008-10-20  Claudio Saavedra  <csaavedra@igalia.com>
597
598         * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
599         warning message.
600
601 2008-10-16  Alberto Garcia  <agarcia@igalia.com>
602
603         * src/hildon-app-menu.c (hildon_app_menu_insert)
604         (hildon_app_menu_add_filter, can_activate_accel): Allow items in
605         the HildonAppMenu to be activatable using keyboard accelerators
606         when the menu is not being shown.
607
608         Fixes: NB#89935 (Shortcuts for menu buttons are not working)
609
610 2008-10-16  Alberto Garcia  <agarcia@igalia.com>
611
612         * src/hildon-stackable-window.c
613         (hildon_stackable_window_show):
614         Don't hide old windows automatically when new windows are shown:
615         this is now a task for the window manager.
616         (hildon_stackable_window_class_init)
617         (hildon_stackable_window_hide):
618         Remove windows from the stack everytime they're hidden.
619         (hildon_stackable_window_realize):
620         Don't change the _NET_WM_WINDOW_TYPE property. Use
621         _HILDON_STACKABLE_WINDOW instead for the window manager to manage
622         it as a stackable window.
623
624         * src/hildon-program.c
625         (hildon_program_pop_window_stack):
626         Just hide the window to remove it from the stack.
627         (hildon_program_go_to_root_window):
628         Don't call gtk_widget_show(), this is now a task for the window
629         manager.
630
631         Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
632
633 2008-10-15  Alberto Garcia  <agarcia@igalia.com>
634
635         * src/hildon-button.c
636         (hildon_button_construct_child):
637         Don't pack anything in the button until text or image are
638         set. This allows adding a custom child after creating the button
639         with hildon_button_new().
640         (hildon_button_finalize, hildon_button_class_init)
641         (hildon_button_init, hildon_button_set_arrangement): Destroy the
642         alignment and the label box even when they're not packed in the
643         button.
644
645 2008-10-14  Alejandro Pinheiro   <apinheiro@igalia.com>
646
647         * src/hildon-touch-selector.h:
648         Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
649         currently the type definition was using GTK_TYPE_VBOX
650         * src/hildon-touch-selector.c:
651         Added some implementation notes in order to clarify that any other widget
652         added without the column related API will not be included on the
653         selection logic, and how the widget is freed, as some people ask about
654         it.
655         (hildon_touch_selector_remove): Reimplemented in order to free properly
656         the column related data when you remove the private hbox.
657         * doc/hildon.types: Added the type hildon_touch_selector_column, in order
658         to get a proper HildonTouchSelectorColumn documentation
659
660 2008-10-13  Claudio Saavedra  <csaavedra@igalia.com>
661
662         * src/hildon-touch-selector-entry.c:
663         (hildon_touch_selector_entry_print_func): Return NULL if there is no
664         text in the GtkEntry and there is no item selected. Fixes a
665         potential crasher.
666
667 2008-10-13  Alberto Garcia  <agarcia@igalia.com>
668
669         * src/hildon-app-menu-private.h
670         * src/hildon-app-menu.[ch]
671         * src/hildon-button.[ch]
672         * src/hildon-check-button.[ch]
673         * src/hildon-entry.[ch]
674         * src/hildon-pannable-area.[ch]
675         * src/hildon-text-view.[ch]:
676         Added private field to the object's structure.
677
678 2008-10-13  Claudio Saavedra  <csaavedra@igalia.com>
679
680         * configure.ac: post-release version bump
681
682 2008-10-10  Claudio Saavedra  <csaavedra@igalia.com>
683
684         [Release 2.1.14]
685
686         * configure.ac: pre-release version bump
687         * NEWS: updates.
688         * debian/changelog: updates.
689
690 2008-10-10  Claudio Saavedra  <csaavedra@igalia.com>
691
692         * src/hildon-picker-button.c: (hildon_picker_button_finalize):
693         Disconnect the handler for HildonTouchSelector::changed.
694
695         (hildon_picker_button_selector_selection_changed): Update the button
696         value if the selection change was not triggered by the
697         HildonPickerDialog.
698
699         (hildon_picker_button_set_selector): connect to
700         HildonTouchSelector::changed.
701
702         Fixes: NB#89650 (Picker button is not updated, when selection in
703         selector has changed)
704
705 2008-10-09  Alejandro Pinheiro   <apinheiro@igalia.com>
706
707         * src/hildon-picker-dialog.c
708         (hildon_picker_dialog_realize): Removed as not required
709         (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
710         * src/hildon-picker-button.c
711         (_current_selector_empty): New function, checks if the selector is empty
712         (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
713         if the current selector is empty, in order to avoid to show the dialog
714         close the dialog in this case (and shows a g_warning).
715
716         Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
717
718 2008-10-09  Alejandro G. Castro  <alex@igalia.com>
719
720         * src/hildon-pannable-area.c,
721         (hildon_pannable_area_scroll): Added clause to stop movement when
722         the child of pannable is smaller than one page.
723         (hildon_pannable_area_scroll_to): Added conditions to avoid
724         starting the scrolling movement if the child is smaller than one
725         page, the complete child is in the screen, we do not have to move.
726
727         Fixes: NB#89632 (Picker button selection doesn't change on first click)
728
729 2008-10-09  Alberto Garcia  <agarcia@igalia.com>
730
731         * src/hildon-app-menu.c: Removed the 'columns' property, as now
732         this is managed automatically by the widget when the size of the
733         screen changes.
734
735 2008-10-09  Alberto Garcia  <agarcia@igalia.com>
736
737         * src/hildon-picker-button.c
738         (hildon_picker_button_set_done_button_text): Make a copy of the
739         text, and free the previous value.
740
741 2008-10-09  Claudio Saavedra  <csaavedra@igalia.com>
742
743         * src/hildon-touch-selector-entry.c:
744         (hildon_touch_selector_entry_print_func): Return the selected row's
745         text if the entry is empty.
746
747         Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
748         entry is empty)
749
750 2008-10-09  Claudio Saavedra  <csaavedra@igalia.com>
751
752         * src/hildon-touch-selector-entry.c: Minor docs fixes.
753
754 2008-10-09  Alberto Garcia  <agarcia@igalia.com>
755
756         * doc/hildon.types
757         * src/hildon-check-button.h
758         * src/hildon-check-button.c
759         * examples/hildon-check-button-example.c:
760         HildonCheckButton is now a new widget. 'toggled' signal added.
761
762 2008-10-08  Alberto Garcia  <agarcia@igalia.com>
763
764         * src/hildon-program-private.h
765         * src/hildon-program.c (hildon_program_init)
766         (hildon_program_finalize): Removed unused variables group_leader
767         and name from HildonProgramPrivate.
768
769 2008-10-08  Alberto Garcia  <agarcia@igalia.com>
770
771         * src/hildon-check-button.c (hildon_check_button_set_active)
772         (hildon_check_button_get_active, hildon_check_button_new): Use
773         g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
774
775 2008-10-08  Alejandro Pinheiro   <apinheiro@igalia.com>
776
777         * src/hildon-touch-selector.h
778         (hildon_touch_selector_set_column_attributes): added deprecation
779         guard HILDON_DISABLE_DEPRECATED
780         * src/hildon-time-selector.c
781         (hildon_time_selector_set_time)
782         (hildon_time_selector_get_time): Fixed a typo on documentation
783         * src/hildon-touch-selector.c: update HildonTouchSelector and
784         HildonTouchSelectorColumn documentation
785         * src/hildon-touch-selector-entry.c: update "text-column" property
786         documentation
787         * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
788         to be added to the general documentation.
789
790 2008-10-08  Alejandro G. Castro  <alex@igalia.com>
791
792         * examples/hildon-pannable-area-example-4.c,
793         (main),
794         * examples/hildon-pannable-area-example.c,
795         (main): Modified the code in order to use the container add, with
796         viewport treeviews could have problems if they are really big.
797
798 2008-10-06  Alejandro G. Castro  <alex@igalia.com>
799
800         * src/hildon-weekday-picker.c,
801         * src/hildon-weekday-picker.h: Removed the deprecated symbols after
802         the agreement regarding deprecation in the library.
803
804 2008-10-06  Claudio Saavedra  <csaavedra@igalia.com>
805
806         * examples/hildon-picker-button-multicolumn-example.c:
807         (main): Use custom "done" button text.
808
809         * src/hildon-picker-button.c: (hildon_picker_button_get_property),
810         (hildon_picker_button_set_property),
811         (hildon_picker_button_clicked), (hildon_picker_button_class_init),
812         (hildon_picker_button_init),
813         (+hildon_picker_button_get_done_button_text),
814         (+hildon_picker_button_set_done_button_text): New methods to customize
815         the "done" button label in the launched HildonPickerDialog. Also,
816         make it a property.
817
818         * src/hildon-picker-button.h: add the public API.
819
820 2008-10-06  Claudio Saavedra  <csaavedra@igalia.com>
821
822         * src/hildon-date-selector.h:
823         * src/hildon-picker-dialog.h:
824         * src/hildon-time-selector.h:
825         * src/hildon-touch-selector-column.h:
826         * src/hildon-touch-selector.h:
827
828         Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
829         declarations. Fixes gtk-doc warnings.
830
831 2008-10-06  Alberto Garcia  <agarcia@igalia.com>
832
833         * src/hildon-picker-dialog.h
834         * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
835         Make HildonPickerDialog derive from HildonDialog, not GtkDialog
836
837         Fixes: NB#89329 (selectors in picker dialog are not visible when a
838         long text is set as label for done button)
839
840 2008-10-06  Alberto Garcia  <agarcia@igalia.com>
841
842         * src/hildon-dialog.c (hildon_dialog_add_button):
843         Set fixed width to all buttons in the HildonDialog.
844
845 2008-10-06  Alberto Garcia  <agarcia@igalia.com>
846
847         Patch contributed by Daniel Borgmann (danielb@openismus.com)
848
849         * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
850         Set widget name using class name plus "-finger" or "-thumb".
851
852 2008-10-03  Alberto Garcia  <agarcia@igalia.com>
853
854         * src/hildon-check-button.c (hildon_check_button_set_active): Emit
855         'clicked' when the state of the button is manually changed.
856
857 2008-10-02  Alberto Garcia  <agarcia@igalia.com>
858
859         * src/hildon-app-menu.c (hildon_app_menu_realize)
860         (hildon_app_menu_unrealize, hildon_app_menu_init)
861         (hildon_app_menu_class_init, item_visibility_changed):
862         Change the menu layout when the size of the screen changes.
863         (hildon_app_menu_set_columns, hildon_app_menu_set_property):
864         Show warning only when changing the number of colums using the
865         property.
866
867 2008-10-02  Claudio Saavedra  <csaavedra@igalia.com>
868
869         * debian/compat: Set to 5
870         * debian/control: Update dependencies.
871         * debian/libhildon1-dbg.install: Remove.
872         * debian/libhildon1-dev.install: Update according to cdbs paths.
873         * debian/libhildon1.install: Update according to cdbs paths.
874         * debian/rules: Switch to cdbs.
875
876 2008-10-01  Alberto Garcia  <agarcia@igalia.com>
877
878         * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
879         'item' variable renamed to 'filter'
880
881 2008-10-01  Alberto Garcia  <agarcia@igalia.com>
882
883         * src/hildon-app-menu.c (hildon_app_menu_insert)
884         (hildon_app_menu_add_filter, remove_item_from_list)
885         (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
886         Don't leak hidden items when the menu is destroyed.
887
888 2008-10-01  Alberto Garcia  <agarcia@igalia.com>
889
890         * src/hildon-app-menu.c (hildon_app_menu_insert)
891         (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
892         (hildon_app_menu_set_columns, item_visibility_changed)
893         (filter_visibility_changed, hildon_app_menu_repack_filters)
894         (hildon_app_menu_repack_items):
895         Repack items and filters separately.
896
897         Don't repack all items, change only the ones that are needed to
898         update the layout.
899
900 2008-10-01  Alejandro Pinheiro <apinheiro@igalia.com>
901
902         * src/Makefile.am: added hildon-touch-selector-column.h
903
904 2008-10-01  Alejandro Pinheiro <apinheiro@igalia.com>
905
906         * src/hildon-touch-selector.c: added the property "text-column" to the
907         class HildonTouchSelectorColumn, and related get/set functions
908         (_default_printf_func): updated to use "text-column" property
909         * src/hildon-touch-selector-entry.c: mark as deprecated the property
910         "text-column" in his documentation, as this is now included on
911         HildonTouchSelectorColumn. The get/set_property can still be used,
912         working as a wrapper to the concrete column "text-column" property
913         (_text_column_modified): callback added in order to handle the signal
914         "notify::text-column" of the concrete HildonTouchSelectorColumn
915         (hildon_touch_selector_entry_get_text_column)
916         (hildon_touch_selector_entry_set_text_column): Added documentation, and
917         modified in order to use the HildonTouchSelectorColumn "text-column"
918         property
919         * src/hildon-time-selector.c:
920         * src/hildon-date-selector.c:
921         * examples/hildon-touch-selector-example.c
922         * examples/hildon-touch-selector-multi-cells-example.c
923         * examples/hildon-picker-button-multicolumn-example.c
924         Set the right value to "text-column" property on the creation of a new
925         column using hildon_touch_selector_append_column()
926
927         Fixes: NB#88644 (Hardcoded first column of the model as text column)
928
929 2008-09-30  Alberto Garcia  <agarcia@igalia.com>
930
931         * src/hildon-app-menu.c
932         (hildon_app_menu_construct_child, hildon_app_menu_init): When
933         updating the layout of the menu, don't create all widgets again,
934         just repack the items in their new places.
935
936 2008-09-30  Alejandro Pinheiro <apinheiro@igalia.com>
937
938         * src/hildon-time-selector.c
939         (hildon_time_selector_get_time)
940         (hildon_time_selector_set_time)
941         Added documentation of these public methods
942
943         * src/hildon-date-button.h
944         * src/hildon-touch-selector-column.h
945         * src/hildon-time-button.h
946         * src/hildon-picker-dialog.h
947         * src/hildon-time-selector.h
948         * src/hildon-picker-button.h
949         * src/hildon-touch-selector.h
950         * src/hildon-time-picker.h
951         * src/hildon-date-selector.h
952         * src/hildon-touch-selector-entry.h
953         Modified in order to use hildon-widgets code style
954
955 2008-09-30  Alejandro G. Castro  <alex@igalia.com>
956
957         Added deprecated support to the compilation process using
958         HILDON_DISABLE_DEPRECATED
959
960         * configure.ac: Added the --disable-deprecated to the configure
961         script
962
963         * src/hildon-weekday-picker.c:
964         * src/hildon-weekday-picker.h: Deprecated widget, example of how
965         to use the deprecated support. We will update the other deprecated
966         widgets status in a new patch.
967
968 2008-09-30  Alejandro G. Castro  <alex@igalia.com>
969
970         * configure.ac: Fixed typo with fatal warnings support, the
971         variable name was not correct
972
973 2008-09-29  Alberto Garcia  <agarcia@igalia.com>
974
975         * src/hildon-app-menu.c
976         * src/hildon-program.c: Update documentation.
977
978 2008-09-29  Claudio Saavedra  <csaavedra@igalia.com>
979
980         * configure.ac: Post-release version bump.
981
982 2008-09-29  Claudio Saavedra  <csaavedra@igalia.com>
983
984         [Release 2.1.12]
985
986         * NEWS: Update.
987         * configure.ac: Pre-release version bump.
988         * debian/changelog: Updates.
989
990 2008-09-29  Claudio Saavedra  <csaavedra@igalia.com>
991
992         * NEWS: Update news for previous releases.
993
994 2008-09-26  Claudio Saavedra  <csaavedra@igalia.com>
995
996         * examples/hildon-touch-selector-multi-cells-example.c:
997         (create_selector): Update the example to use
998         hildon_touch_selector_append_column() with a NULL renderer and set
999         the renderers later.
1000         * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
1001         passed a NULL renderer. This is documented behavior now.
1002
1003         Allow passing a NULL renderer to hildon_touch_selector_append_column().
1004         This must be used if the developer wants full control on the layout of
1005         the renderers to be added to the column.
1006
1007         Fixes: NB#88680 (Limiting API in HildonTouchSelector)
1008
1009 2008-09-26  Claudio Saavedra  <csaavedra@igalia.com>
1010
1011         * src/hildon-touch-selector.c: Documentation fixes.
1012
1013 2008-09-26  Claudio Saavedra  <csaavedra@igalia.com>
1014
1015         * src/hildon-wizard-dialog-private.h: Remove image and box.
1016         * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
1017         (hildon_wizard_dialog_set_property), (response): Completely remove
1018         image/icon support, and the containers required for the layout.
1019
1020         Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
1021
1022 2008-09-25  Alberto Garcia  <agarcia@igalia.com>
1023
1024         * src/hildon-app-menu.c: Updated documentation.
1025
1026         * src/hildon-stackable-window.c
1027         (hildon_stackable_window_set_main_menu): Unref the old menu after
1028         ref'ing the new one.
1029
1030 2008-09-25  Alberto Garcia  <agarcia@igalia.com>
1031
1032         * src/hildon-stackable-window.c
1033         (hildon_stackable_window_set_main_menu): Unref the previous menu
1034         instead of destroying it.
1035
1036         * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
1037         floating reference and set has_user_ref_count to FALSE to make
1038         HildonAppMenu act like a normal ref-counted widget and not a
1039         toplevel widget.
1040
1041         Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
1042         changed)
1043
1044 2008-09-25  Alejandro Pinheiro  <apinheiro@igalia.com>
1045
1046         * src/hildon-touch-selector-column.h: new file
1047         * src/hildon-touch-selector.h
1048         * src/hildon-touch-selector.c
1049         Implemented GtkCellLayout interface, in order to allow to configure
1050         the cell layout on each individual selector column
1051         (hildon_touch_selector_set_column_attributes): marked as deprecated
1052         * examples/hildon-touch-selector-multi-cells-example.c
1053         Example of how to use the GtkCellLayout interface on the selector
1054
1055         Fixes: NB#88680 (Limiting API in HildonTouchSelector)
1056
1057 2008-09-24  Alberto Garcia  <agarcia@igalia.com>
1058
1059         * src/hildon-app-menu.h
1060         * src/hildon-app-menu.c
1061         (hildon_app_menu_insert, hildon_app_menu_reorder_child)
1062         (hildon_app_menu_append, hildon_app_menu_prepend):
1063         New methods to prepend, insert and move items in the menu.
1064
1065 2008-09-24  Claudio Saavedra  <csaavedra@igalia.com>
1066
1067         * src/hildon-wizard-dialog.c:
1068
1069         (hildon_wizard_dialog_init): Update logical IDs and remove cancel
1070         button.
1071         (create_title): Update logical IDs and related code.
1072         (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
1073
1074         * src/hildon-wizard-dialog.h: Note that
1075         HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
1076         point, as it is not used anymore.
1077
1078         Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
1079
1080 2008-09-24  Claudio Saavedra  <csaavedra@igalia.com>
1081
1082         * src/hildon-note.c:
1083         (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
1084         shown.  Do not display an icon in confirmation notes nor information
1085         notes.
1086         (hildon_note_set_button_text): Update logical ID for cancel button.
1087
1088         Fixes: NB#88850 (Update HildonNote button strings + signals)
1089
1090 2008-09-24  Alberto Garcia  <agarcia@igalia.com>
1091
1092         * src/hildon-stackable-window.c
1093         (hildon_stackable_window_set_main_menu): Fix compilation warning.
1094
1095 2008-09-24  Alberto Garcia  <agarcia@igalia.com>
1096
1097         * src/hildon-app-menu-private.h
1098         * src/hildon-app-menu.c (hildon_app_menu_set_columns)
1099         (hildon_app_menu_set_property, hildon_app_menu_construct_child)
1100         (hildon_app_menu_init, hildon_app_menu_class_init): Added
1101         temporary property 'columns' to change the number of columns.
1102
1103 2008-09-24  Claudio Saavedra  <csaavedra@igalia.com>
1104
1105         Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
1106
1107         * examples/hildon-note-example.c: (on_information_clicked),
1108         (on_confirmation_clicked), (on_progress_clicked), (main): Add
1109         debugging information.
1110         * src/hildon-note-private.h: Remove close_if_pressed_outside,
1111         not needed anymore.
1112         * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
1113         (hildon_note_rebuild): Remove special handling of tapping outside/inside
1114         in order to close: this will be handled by the WM from now on.
1115
1116         Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
1117
1118 2008-09-24  Alberto Garcia  <agarcia@igalia.com>
1119
1120         * src/hildon-app-menu-private.h
1121         * src/hildon-app-menu.c
1122         (hildon_app_menu_append, hildon_app_menu_add_filter)
1123         (button_visibility_changed, hildon_app_menu_apply_style)
1124         (hildon_app_menu_style_set, hildon_app_menu_construct_child)
1125         (hildon_app_menu_init, hildon_app_menu_finalize): Update the
1126         layout everytime a button (item or filter) is shown or hidden.
1127
1128         * src/hildon-stackable-window.c
1129         (hildon_stackable_window_set_main_menu): Destroy the old menu when
1130         setting a new one.
1131
1132 2008-09-22  Alejandro Pinheiro <apinheiro@igalia.com>
1133
1134         * src/hildon-touch-selector.c:
1135         (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
1136         that the treeview inside the touch selector is in fremantle hildon mode
1137         * examples/hildon-date-button-example.c
1138         * examples/hildon-picker-button-multicolumn-example.c
1139         * examples/hildon-touch-selector-entry-example.c
1140         * examples/hildon-touch-selector-example.c
1141         * examples/hildon-time-button-example.c
1142         * examples/hildon-picker-button-example.c:
1143         (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
1144
1145 2008-09-22  Claudio Saavedra  <csaavedra@igalia.com>
1146
1147         * examples/hildon-text-view-example.c: (main): Remove the
1148         gtkrc bits, now handled by the theme.
1149
1150 2008-09-22  Alberto Garcia  <agarcia@igalia.com>
1151
1152         * src/hildon-picker-button.c (hildon_picker_button_set_active):
1153         Fix memory leak
1154
1155 2008-09-19  Claudio Saavedra  <csaavedra@igalia.com>
1156
1157         * po/Makefile.am: Install properly the mo files.
1158         * po/en_GB.po: Update translation, to ease testing purposes.
1159
1160 2008-09-19  Claudio Saavedra  <csaavedra@igalia.com>
1161
1162         * examples/hildon-picker-button-example.c: (main): Select an item
1163         in the selector before setting it to the button.
1164
1165 2008-09-19  Claudio Saavedra  <csaavedra@igalia.com>
1166
1167         * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
1168         Update button's value if the selector has an item active.
1169
1170         Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
1171         'value' with the selector)
1172
1173 2008-09-19  Claudio Saavedra  <csaavedra@igalia.com>
1174
1175         * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
1176         the HildonTouchSelector and destroy the underlying HildonPickerDialog.
1177         (hildon_picker_button_class_init): Plug the finalize method.
1178         (hildon_picker_button_set_selector): If there's a previously set
1179         selector, unref'it before setting a new one.
1180
1181         Fixes: NB#88720 (HildonPickerButton leaks a reference to the
1182         HildonTouchSelector)
1183
1184 2008-09-16  Claudio Saavedra  <csaavedra@igalia.com>
1185
1186         * src/hildon-touch-selector-entry.c:
1187         (hildon_touch_selector_entry_changed): Check if there is no text
1188         selected before setting the entry text.
1189         Fixes: NB#88576
1190
1191 2008-09-15  Alberto Garcia  <agarcia@igalia.com>
1192
1193         * src/hildon-touch-selector.h
1194         * src/hildon-touch-selector.c
1195         (hildon_touch_selector_get_active)
1196         (hildon_touch_selector_set_active): New methods to set/get the
1197         index of the selected item.
1198
1199         * src/hildon-picker-button.h
1200         * src/hildon-picker-button.c
1201         (hildon_picker_button_get_active)
1202         (hildon_picker_button_set_active): New methods to set/get the
1203         index of the selected item.
1204
1205 2008-09-15  Claudio Saavedra  <csaavedra@igalia.com>
1206
1207         * configure.ac: post-release version bump.
1208
1209 2008-09-15  Claudio Saavedra  <csaavedra@igalia.com>
1210
1211         Release 2.1.10-1.
1212
1213         * configure.ac: Pre-release version bump.
1214         * debian/changelog: Updates.
1215         * debian/control: Add myself as maintainer and depend on l10n
1216         packages.
1217
1218 2008-09-15  Alberto Garcia  <agarcia@igalia.com>
1219
1220         * src/hildon-window.c
1221         (hildon_window_set_main_menu)
1222         * src/hildon-stackable-window.c
1223         (hildon_stackable_window_set_main_menu):
1224         Updated documentation.
1225
1226 2008-09-15  Alberto Garcia  <agarcia@igalia.com>
1227
1228         * src/hildon-date-selector.c (hildon_date_selector_finalize):
1229         Don't free selector->priv manually.
1230         Fixes: NB#88414
1231
1232 2008-09-12  Alejandro G. Castro  <alex@igalia.com>
1233
1234         * src/hildon-gtk.c,
1235         (hildon_gtk_window_set_progress_indicator):
1236         * src/hildon-gtk.h: Added the new API
1237         hildon_gtk_window_set_progress_indicator, it changes the state of
1238         the window progress hint.
1239
1240 2008-09-12  Alberto Garcia  <agarcia@igalia.com>
1241
1242         * src/hildon-button.c
1243         * src/hildon-stackable-window.c: Minor documentation updates.
1244
1245 2008-09-12  Alberto Garcia  <agarcia@igalia.com>
1246
1247         * src/hildon-stackable-window.c: Updated documentation.
1248
1249 2008-09-12  Claudio Saavedra  <csaavedra@igalia.com>
1250
1251         * src/hildon-defines.h: Update margins definitions
1252         to the Fremantle sizes.
1253         Fixes: NB#88364
1254
1255 2008-09-12  Alejandro G. Castro  <alex@igalia.com>
1256
1257         * src/hildon-touch-selector.c,
1258         (_hildon_touch_selector_set_model): Cleaning the code after
1259         review, removed g_print and #if 0 from the code.
1260
1261 2008-09-11  Alberto Garcia  <agarcia@igalia.com>
1262
1263         * src/hildon-edit-toolbar.c: Update documentation.
1264
1265 2008-09-11  Alberto Garcia  <agarcia@igalia.com>
1266
1267         * src/hildon-check-button.h
1268         * src/hildon-check-button.c
1269         (hildon_check_button_set_label, hildon_check_button_get_label)
1270         * examples/hildon-check-button-example.c
1271         (button_clicked_cb):
1272         Removed deprecated methods.
1273
1274 2008-09-11  Alberto Garcia  <agarcia@igalia.com>
1275
1276         * src/hildon-text-view.c:
1277         Add sample code to the documentation.
1278
1279         * src/hildon-entry.h
1280         * src/hildon-text-view.h:
1281         Minor cosmetic changes.
1282
1283         * src/hildon-entry.c:
1284         Add sample code to the documentation.
1285         (hildon_entry_init, hildon_entry_refresh_contents):
1286         Don't allow NULL values in the placeholder.
1287
1288 2008-09-10  Alberto Garcia  <agarcia@igalia.com>
1289
1290         * doc/hildon-docs.sgml
1291         * doc/hildon.types
1292         * examples/Makefile.am
1293         * examples/hildon-text-view-example.c
1294         * src/Makefile.am
1295         * src/hildon-text-view.c
1296         * src/hildon-text-view.h
1297         * src/hildon.h:
1298         New HildonTextView widget, with example.
1299
1300 2008-09-10  Claudio Saavedra  <csaavedra@igalia.com>
1301
1302         * po/POTFILES.in: Add missing files with translatable strings.
1303         Partially fixes NB#88287.
1304
1305 2008-09-10  Claudio Saavedra  <csaavedra@igalia.com>
1306
1307         * examples/hildon-pannable-area-example-2.c: (main): No need to
1308         set the cellrenderer height inside hildon touch lists, the theme does
1309         that for us.
1310
1311 2008-09-10  Claudio Saavedra  <csaavedra@igalia.com>
1312
1313         * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
1314         they are integrated in the theme.
1315
1316 2008-09-09  Alberto Garcia  <agarcia@igalia.com>
1317
1318         * examples/hildon-entry-example.c: Update the example adding
1319         widgets to modify the text and the placeholder of the HildonEntry.
1320
1321         * src/hildon-entry.c: Show the placeholder everytime the widget
1322         is empty and loses the focus.
1323
1324 2008-09-09  Alejandro G. Castro  <alex@igalia.com>
1325
1326         Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
1327
1328         * src/hildon-pannable-area.c,
1329         (hildon_pannable_area_size_request): Fixed bug in height
1330         requisition, avoid increasing size and add border twice.
1331
1332 2008-09-09  Claudio Saavedra  <csaavedra@igalia.com>
1333
1334         * configure.ac: postrelease version bump.
1335
1336 2008-09-09  Claudio Saavedra  <csaavedra@igalia.com>
1337
1338         Release 2.1.8-1.
1339
1340         * configure.ac: Prerelease version bump.
1341         * debian/changelog: update.
1342         * debian/rules: make -dbg package contain useful debugging symbols.
1343
1344 2008-09-08  Alberto Garcia  <agarcia@igalia.com>
1345
1346         * src/hildon-dialog.h
1347         * src/hildon-dialog.c
1348         (hildon_dialog_add_button, hildon_dialog_add_buttons):
1349         New methods to add buttons with finger size.
1350         (hildon_dialog_new_with_buttons):
1351         Create buttons with finger size.
1352
1353         * examples/hildon-dialog-example.c (main): Use HildonDialog
1354         methods to add buttons.
1355
1356 2008-09-08  Alberto Garcia  <agarcia@igalia.com>
1357
1358         * src/hildon-entry.c: Updated HildonButton documentation.
1359
1360 2008-09-08  Alberto Garcia  <agarcia@igalia.com>
1361
1362         * src/hildon-button.c (hildon_button_set_arrangement): Pack the
1363         button value label with (FALSE, FALSE) to prevent NB#88126 from
1364         being triggered.
1365
1366 2008-09-08  Alejandro G. Castro  <alex@igalia.com>
1367
1368         * examples/hildon-pannable-area-example.c,
1369         (main): Removed examples panning a vbox inside a pannable
1370         area. Check bug NB#87965
1371
1372 2008-09-08  Alejandro G. Castro  <alex@igalia.com>
1373
1374         Patch contributed by Kris Rietveld (kris@imendio.com)
1375
1376         * src/hildon-pannable-area.c,
1377         (hildon_pannable_area_get_topmost): replaced the get_geometry with
1378         get_size and get_position, this saves an X server roundtrip.
1379
1380 2008-09-05  Alberto Garcia  <agarcia@igalia.com>
1381
1382         * doc/hildon-docs.sgml
1383         * doc/hildon.types
1384         * examples/Makefile.am
1385         * examples/hildon-entry-example.c
1386         * src/Makefile.am
1387         * src/hildon-entry.c
1388         * src/hildon-entry.h
1389         * src/hildon.h:
1390         New HildonEntry widget, with example.
1391
1392 2008-09-05  Alberto Garcia  <agarcia@igalia.com>
1393
1394         * src/hildon-button.c (hildon_button_construct_child): Pack the
1395         image with expand == fill == FALSE. This is a workaround for a bug
1396         in GtkBox.
1397
1398 2008-09-05  Claudio Saavedra  <csaavedra@igalia.com>
1399
1400         * examples/hildon-pannable-area-example-2.c: (main): Use the stock
1401         labels for the text column, to make it more look more dynamic.
1402
1403 2008-09-04  Alejandro Pinheiro  <apinheiro@igalia.com>
1404
1405         * src/hildon-time-selector.c
1406         Define gettext auxiliar macro N_
1407         (_create_minutes_model)
1408         (_create_hours_model)
1409         (_create_ampm_model): use of strftime in order to fill the model
1410         * src/hildon-date-selector.c
1411         (hildon_date_selector_finalize):
1412         (_locales_init): remove the logic related to get the name of the months
1413         using nl_langinfo, as it is not required anymore
1414         (_create_day_model)
1415         (_create_year_model)
1416         (_create_month_model)
1417         (_update_day_model): use of strftime in order to fill the model properly
1418
1419
1420 2008-09-04  Alberto Garcia  <agarcia@igalia.com>
1421
1422         * src/hildon-button.h
1423         * src/hildon-button.c (hildon_button_get_image): New method to
1424         retrieve the image.
1425
1426 2008-09-04  Claudio Saavedra  <csaavedra@igalia.com>
1427
1428         * src/hildon-touch-selector.c:
1429         (hildon_touch_selector_remove_column): Remove from the correct parent
1430         and also remove the list element and free it.
1431         Fixes: NB#88049
1432
1433 2008-09-04  Alejandro Pinheiro  <apinheiro@igalia.com>
1434
1435         * src/hildon-time-selector.c
1436         (_create_hours_model): change the range on 12h ampm format in order to use
1437         a 12-11 range instead of previous 01-12 range
1438         (hildon_time_selector_set_time): change the way to select the current time
1439         on 12h ampm format, due the change on the range
1440         (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
1441         Fixes: NB#88036
1442
1443 2008-09-03  Alejandro Pinheiro  <apinheiro@igalia.com>
1444
1445         * src/hildon-touch-selector.c
1446         (hildon_date_touch_selector_get_selected): fix the selection mode check,
1447         in order to allow use this function on multiple row selection mode if
1448         the column is different that the first one
1449         Fixes: NB#88047
1450
1451 2008-09-03  Claudio Saavedra  <csaavedra@igalia.com>
1452
1453         * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
1454         to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
1455
1456 2008-09-02  Alejandro Pinheiro  <apinheiro@igalia.com>
1457
1458         * src/hildon-date-selector.h: clean some comments, now on the .c
1459         * src/hildon-date-selector.c
1460         (hildon_date_selector_select_month): first implementation
1461         (hildon_date_selector_select_day): added documentation, reimplemented
1462         using hildon_date_selector_select_current_date to avoid repeat code
1463         Fixes: NB#88027
1464
1465 2008-09-02  Alejandro G. Castro  <alex@igalia.com>
1466
1467         Reviewed interaction logic based on device experiences, refactored
1468         code.
1469
1470         * src/hildon-pannable-area.c,
1471         (hildon_pannable_area_class_init): Updated default vmax speed.
1472         (hildon_pannable_area_calculate_velocity): Added this function, it
1473         avoids duplicate valocity calculation. Adjusted calculation to
1474         avoid problems with zero dist events.
1475
1476         (hildon_pannable_area_motion_notify_cb): Now we use the
1477         calculate_velocity function.
1478
1479 2008-09-02  Alejandro Pinheiro  <apinheiro@igalia.com>
1480
1481         * src/hildon-date-selector.c
1482         (hildon_date_selector_select_current_date): fix the day range check
1483         as it failed using the last day of the current month
1484         Fixes NB#88023
1485
1486 2008-09-02  Alejandro Pinheiro  <apinheiro@igalia.com>
1487
1488         * src/hildon-touch-selector.c
1489         (hildon_touch_selector_get_num_columns): added a parameter validation
1490         Fixes: NB#88022
1491
1492 2008-08-29  Alberto Garcia  <agarcia@igalia.com>
1493
1494         * examples/Makefile.am
1495         * examples/hildon-edit-toolbar-example.c: Example of the
1496         HildonEditToolbar widget.
1497
1498 2008-08-29  Claudio Saavedra  <csaavedra@igalia.com>
1499
1500         * configure.ac: postrelease version bump.
1501
1502 2008-08-29  Claudio Saavedra  <csaavedra@igalia.com>
1503
1504         Release 2.1.6-1.
1505
1506         * configure.ac: prerelease version bump.
1507         * debian/changelog: update.
1508
1509 2008-08-29  Claudio Saavedra  <csaavedra@igalia.com>
1510
1511         * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
1512         renderer to display stock icons in the touch list. Also, set the sizes
1513         to the recommended in the style guide.
1514
1515 2008-08-28  Alejandro Pinheiro  <apinheiro@igalia.com>
1516         * src/hildon-touch-selector.h
1517         (hildon_touch_selector_set_active_iter): renamed, now is
1518         hildon_touch_selector_select_iter
1519         (hildon_touch_selector_get_active_iter): renamed, now is
1520         hildon_touch_selector_get_selected
1521         (hildon_touch_selector_unselect_iter): added
1522         * src/hildon-touch-selector.c
1523         Update after API modification (methods renamed)
1524         (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
1525         order to avoid problems selecting multiple elements on the column
1526         (hildon_touch_selector_unselect_iter): added the implementation
1527         * src/hildon-time-selector.c
1528         * src/hildon-date-selector.c
1529         * src/hildon-touch-selector-entry.c
1530         Update methods calls after hildon-touch-selector.h API modification (methods
1531         renamed)
1532
1533 2008-08-29  Alberto Garcia  <agarcia@igalia.com>
1534
1535         * src/hildon-stackable-window.c
1536         (hildon_stackable_window_finalize): Call the parent class's finalize.
1537
1538 2008-08-29  Claudio Saavedra  <csaavedra@igalia.com>
1539
1540         * examples/hildon-touch-selector-example.c: (create_selector): Use
1541         gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
1542         cell height.
1543
1544 2008-08-29  Claudio Saavedra  <csaavedra@igalia.com>
1545
1546         * examples/hildon-touch-selector-example.c: (create_selector): Do not
1547         set a cell background color, to respect theming.
1548
1549 2008-08-28  Alberto Garcia  <agarcia@igalia.com>
1550
1551         * doc/hildon-docs.sgml
1552         * doc/hildon.types
1553         * src/Makefile.am
1554         * src/hildon-edit-toolbar.c
1555         * src/hildon-edit-toolbar.h
1556         * src/hildon.h: New HildonEditToolbar widget.
1557
1558 2008-08-28  Claudio Saavedra  <csaavedra@igalia.com>
1559
1560         * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
1561         extra GtkVBox.
1562
1563 2008-08-28  Alejandro Pinheiro  <apinheiro@igalia.com>
1564         * src/hildon-touch-selector.c
1565         (_create_new_column): use g_object_set instead of two g_object_set_property
1566
1567 2008-08-28  Alejandro Pinheiro  <apinheiro@igalia.com>
1568         * src/hildon-touch-selector.c
1569         (_create_new_column): use of hildon_gtk_tree_view_new to create
1570         the treeview, instead of use directly g_object_new
1571         (_create_new_column): update the property name "vindicator-mode" for the
1572         new one "vscrollbar-policy"
1573         * examples/hildon-date-button-example.c
1574         * examples/hildon-picker-button-multicolumn-example.c
1575         * examples/hildon-touch-selector-entry-example.c
1576         * examples/hildon-touch-selector-example.c
1577         * examples/hildon-time-button-example.c
1578         * examples/hildon-picker-button-example.c
1579         Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
1580         to all the treeviews inside a pannable area.
1581
1582 2008-08-27  Alberto Garcia  <agarcia@igalia.com>
1583
1584         * src/hildon-button.h
1585         * src/hildon-button.c (hildon_button_init)
1586         (hildon_button_set_arrangement, hildon_button_set_alignment)
1587         (hildon_button_set_title_alignment)
1588         (hildon_button_set_value_alignment)
1589         (hildon_button_set_image_alignment)
1590         (hildon_button_construct_child): New methods to set the alignment
1591         of the individual components of the button (title, value,
1592         image). Also, new method to alter the xscale and yscale properties
1593         of the GtkAlignment inside the button, so more complex layouts can
1594         be created.
1595
1596 2008-08-27  Alberto Garcia  <agarcia@igalia.com>
1597
1598         * src/hildon-button.c (hildon_button_style_set)
1599         (hildon_button_class_init, hildon_button_set_arrangement)
1600         (hildon_button_construct_child): Apply style properties
1601         correctly. Use the 'image-spacing' style property too.
1602
1603 2008-08-26  Alberto Garcia  <agarcia@igalia.com>
1604
1605         * src/hildon-app-menu.c (hildon_app_menu_style_set)
1606         (hildon_app_menu_init, hildon_app_menu_class_init): Set style
1607         correctly.
1608
1609 2008-08-26  Alejandro G. Castro  <alex@igalia.com>
1610
1611         * src/hildon-pannable-area.c,
1612         (hildon_pannable_area_size_request): Fixed problem with
1613         pannable-area size_request.
1614
1615 2008-08-26  Alejandro G. Castro  <alex@igalia.com>
1616
1617         Added management for the grab-focus to a child widget, like a
1618         range, we need to fade out the scrollbar when releasing.
1619
1620         * src/hildon-pannable-area.c,
1621         (hildon_pannable_area_init): Connected the grab-focus signal to
1622         the callback.
1623         (hildon_pannable_area_grab_notify): Added this function in order
1624         to manage the situation when the grab-focus ends. We have to
1625         fade-out the scrollbar.
1626
1627 2008-08-25  Alberto Garcia  <agarcia@igalia.com>
1628
1629         * src/hildon-app-menu.c: Minor documentation update.
1630
1631 2008-08-25  Alberto Garcia  <agarcia@igalia.com>
1632
1633         * src/hildon-app-menu.c
1634         * examples/hildon-app-menu-example.c (create_menu): Update
1635         examples and documentation to explain how to connect callbacks.
1636
1637 2008-08-25  Alejandro Pinheiro <apinheiro@igalia.com>
1638
1639         * examples/hildon-button-example.c
1640         (vertical_buttons_window) (horizontal_buttons_window) (main): use of
1641         hildon_stackable_window_new instead of gtk_window_new
1642
1643 2008-08-22  Alejandro G. Castro  <alex@igalia.com>
1644
1645         * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
1646         (hildon_pannable_area_init), (hildon_pannable_area_get_property),
1647         (hildon_pannable_area_set_property),
1648         (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
1649         (hildon_pannable_area_unrealize),
1650         (hildon_pannable_area_size_request),
1651         (hildon_pannable_area_size_allocate),
1652         (hildon_pannable_area_style_set), (hildon_pannable_area_map),
1653         (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
1654         (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
1655         (hildon_pannable_area_initial_effect),
1656         (hildon_pannable_area_redraw),
1657         (hildon_pannable_area_scroll_indicator_fade),
1658         (hildon_pannable_area_expose_event),
1659         (hildon_pannable_area_get_topmost), (synth_crossing),
1660         (hildon_pannable_area_button_press_cb),
1661         (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
1662         (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
1663         (hildon_pannable_area_motion_notify_cb),
1664         (hildon_pannable_area_button_release_cb),
1665         (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
1666         (hildon_pannable_area_remove),
1667         (hildon_pannable_calculate_vel_factor): Widget refactorization,
1668         chage the code layout to a more GtkWidget like. Review the use of
1669         variables.
1670
1671 2008-08-21  Alejandro G. Castro  <alex@igalia.com>
1672
1673         * examples/hildon-pannable-area-example-4.c,
1674         (main): Modified the name of the hindicator_mode to
1675         hscrollbar_visible
1676
1677         * src/hildon-pannable-area.c,
1678         (hildon_pannable_area_class_init),
1679         (hildon_pannable_area_motion_notify_cb),
1680         (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
1681         we have reduced the amount of signals and managed reviewed its
1682         rationale. Changed the default decelerate value.
1683
1684         (hildon_pannable_area_add),
1685         (hildon_pannable_area_redraw): Refactored functions.
1686
1687         (hildon_pannable_area_init),
1688         (hildon_pannable_area_get_property),
1689         (hildon_pannable_area_set_property):
1690         (hildon_pannable_draw_vscroll),
1691         (hildon_pannable_draw_hscroll),
1692         (hildon_pannable_area_initial_effect),
1693         (hildon_pannable_area_expose_event),
1694         (hildon_pannable_area_scroll),
1695         (hildon_pannable_area_button_press_cb),
1696         (hildon_pannable_area_realize): Replaced the names hindicator_mode
1697         and vindicator_mode with hscrollbar_policy and
1698         vscrollbar_policy. Replaced hscroll and vscroll with
1699         hscroll_visible and vscroll_visible.
1700
1701         (hildon_pannable_area_refresh): Refactor the function, remove
1702         variables and check the calls to this function, added resize
1703         conditions in case the children change their layout.
1704
1705         (hildon_pannable_area_size_request): Added more detailed
1706         size_request calculation.
1707
1708
1709 2008-08-21  Alejandro Pinheiro <apinheiro@igalia.com>
1710
1711         * src/hildon-color-chooser.c
1712         (init_borders): use the correct gtk_border_free instead of g_free, to
1713         avoid a crash when this widget is used (ie: the three color selection
1714         examples)
1715
1716 2008-08-20  Alejandro G. Castro  <alex@igalia.com>
1717
1718         * src/hildon-check-button.c,
1719         (hildon_check_button_set_active): Fixed problem when setting the
1720         active value, the widget was not redrawn.
1721
1722 2008-08-20  Alejandro G. Castro  <alex@igalia.com>
1723
1724         * src/hildon-pannable-area.c,
1725         (hildon_pannable_area_refresh),
1726         (hildon_pannable_area_scroll),
1727         (hildon_pannable_area_motion_notify_cb): Small code style change.
1728
1729         (hildon_pannable_area_class_init): Default initial_hint set to
1730         FALSE, it is not in the specs.
1731
1732         (hildon_pannable_area_initial_effect),
1733         (hildon_pannable_area_expose_event),
1734         (hildon_pannable_area_map),
1735         (hildon_pannable_area_init): Moved the launching point of the
1736         initial effect, it was in map but the sizes where not correct in
1737         that method so we do not know if we have the reproduce it. Now it
1738         is placed in the expose_event method and uses a variable to
1739         reproduce it just once.
1740
1741 2008-08-19  Alejandro G. Castro  <alex@igalia.com>
1742
1743         * src/hildon-pannable-area.c,
1744         (hildon_pannable_draw_vscroll),
1745         (hildon_pannable_draw_hscroll): Fix error calculating the maximum
1746         position allowed for the scrollbars.
1747
1748         (hildon_pannable_area_size_allocate): Small style change.
1749
1750 2008-08-19  Alejandro G. Castro  <alex@igalia.com>
1751
1752         * src/hildon-pannable-area.c,
1753         (hildon_pannable_area_scroll_indicator_fade),
1754         (hildon_pannable_area_button_press_cb),
1755         (hildon_pannable_area_button_release_cb),
1756         (hildon_pannable_area_scroll_cb),
1757         (hildon_pannable_area_expose_event),
1758         (hildon_pannable_area_init): Added the define parameter
1759         SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
1760         and refactor the fade variable.
1761
1762 2008-08-19  Alejandro G. Castro  <alex@igalia.com>
1763
1764         * src/hildon-pannable-area.c,
1765         (hildon_pannable_area_redraw),
1766         (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
1767         lines, we were reimplemeting the redraw code.
1768
1769 2008-08-18  Alejandro G. Castro  <alex@igalia.com>
1770
1771         * src/hildon-pannable-area.c,
1772         (hildon_pannable_area_scroll_cb),
1773         (hildon_pannable_area_realize),
1774         (hildon_pannable_area_class_init): Added scroll_event management
1775         for pannable area, now we can scroll the usual desktop method.
1776
1777         (hildon_pannable_area_jump_to): Fixed the logic of the method, the
1778         initialization of the parameters should depend on idle_id.
1779
1780         (hildon_pannable_area_init),
1781         (hildon_pannable_area_map): Small code style modifications
1782
1783 2008-08-18  Alejandro G. Castro  <alex@igalia.com>
1784
1785         * src/hildon-pannable-area.c
1786         (hildon_pannable_area_button_press_cb),
1787         (hildon_pannable_area_motion_notify_cb),
1788         (hildon_pannable_area_button_release_cb),
1789         (hildon_pannable_area_size_allocate),
1790         (hildon_pannable_area_scroll_to): Improved the timeouts
1791         management, we avoid creating them each time.
1792
1793 2008-08-14  Alejandro G. Castro  <alex@igalia.com>
1794
1795         * src/hildon-pannable-area.c:
1796         (hildon_pannable_area_refresh),
1797         (hildon_pannable_area_motion_notify_cb),
1798         (hildon_pannable_area_class_init):
1799         * src/hildon-pannable-area.h:
1800         * src/hildon-touch-selector.c
1801         (_create_new_column):
1802         * examples/hildon-pannable-area-example-4.c:
1803         (horizontal_movement),
1804         (vertical_movement),
1805         (main):
1806         Replaced the names of enums in the HildonPannableArea:
1807            -  HILDON_PANNABLE_AREA_MOV_MODE_* ->
1808               HILDON_MOVEMENT_MODE_*
1809            -  HILDON_PANNABLE_AREA_MOV_* ->
1810               HILDON_MOVEMENT_*
1811            - Removed HildonPannableAreaIndicatorMode, now we
1812              use GtkPolicyType
1813
1814 2008-08-14  Alberto Garcia  <agarcia@igalia.com>
1815
1816         * examples/hildon-pannable-area-touch-grid-example.c
1817         * examples/hildon-pannable-area-touch-list-example.c: Fix
1818         compilation warnings.
1819
1820 2008-08-14  Alberto Garcia  <agarcia@igalia.com>
1821
1822         * src/hildon-gtk.c (hildon_gtk_button_new)
1823         (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
1824         (hildon_gtk_radio_button_new_from_widget): Make buttons show their
1825         images overriding the value of the "gtk-button-images" setting.
1826
1827 2008-08-14  Alberto Garcia  <agarcia@igalia.com>
1828
1829         * src/hildon-check-button.c (hildon_check_button_new):
1830         Instead of using a custom container, display the label and the
1831         checkbox using the standard GtkButton API.
1832
1833         * examples/hildon-check-button-example.c (main): Don't use
1834         hildon_check_button_set_label() anymore
1835
1836         * src/hildon-check-button.h
1837         * src/hildon-check-button.c
1838         (hildon_check_button_set_label, hildon_check_button_get_label):
1839         Set as deprecated, now we're using gtk_button_{get,set}_label()
1840
1841 2008-08-14  Alejandro G. Castro  <alex@igalia.com>
1842
1843         * src/hildon-pannable-area.c,
1844         (hildon_pannable_area_get_topmost): Fixed bug with click in the
1845         GtkTreeview first line we detected it after the inclusion of the
1846         GtkWindowImpl in gtk+. We now check if the window is visible, not
1847         just if the pointer is over the window.
1848         (hildon_pannable_axis_scroll),
1849         (hildon_pannable_area_expose_event): Small style changes.
1850
1851 2008-08-13  Alberto Garcia  <agarcia@igalia.com>
1852
1853         * src/hildon-button.c: Update documentation.
1854
1855 2008-08-13  Alberto Garcia  <agarcia@igalia.com>
1856
1857         * examples/hildon-button-example.c: Add a switch to show images in
1858         the buttons.
1859
1860 2008-08-12  Claudio Saavedra  <csaavedra@igalia.com>
1861
1862         * doc/hildon-docs.sgml: Some docs reorganization.
1863
1864 2008-08-12  Alberto Garcia  <agarcia@igalia.com>
1865
1866         * examples/hildon-pannable-area-touch-list-example.c
1867         (create_tree_view)
1868         * examples/hildon-pannable-area-touch-grid-example.c
1869         (create_icon_view): Use gtk_{tree,icon}_view_new() and
1870         hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
1871         Fix memory leak when setting the tree model.
1872
1873 2008-08-12  Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
1874
1875         Released 2.1.4
1876
1877 2008-08-12  Claudio Saavedra  <csaavedra@igalia.com>
1878
1879         * doc/hildon.types: Remove duplicated hildon_window_get_type
1880         * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
1881         documentation comment.
1882
1883 2008-08-12  Alberto Garcia  <agarcia@igalia.com>
1884
1885         * doc/Makefile.am: Complete list of private headers.
1886
1887 2008-08-12  Alberto Garcia  <agarcia@igalia.com>
1888
1889         * doc/hildon-docs.sgml
1890         * src/hildon-app-menu.c
1891         * src/hildon-bread-crumb.c
1892         * src/hildon-button.c
1893         * src/hildon-gtk.c
1894         * src/hildon-program.c
1895         * src/hildon-stackable-window.c
1896         * src/hildon-window.c: Lots of documentation updates.
1897
1898 2008-08-12  Alberto Garcia  <agarcia@igalia.com>
1899
1900         * debian/control: Depend on Gtk 2:2.12.9-0osso3
1901
1902         * configure.ac: Require Gtk+ 2.12.9 at least
1903
1904 2008-08-12  Alejandro G. Castro  <alex@igalia.com>
1905
1906         * src/hildon-pannable-area.c
1907         (hildon_pannable_area_scroll_indicator_fade),
1908         (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
1909         to protect the return of this timeout callbacks, avoiding deadlocks.
1910
1911 2008-08-12  Christian Dywan  <christian@imendio.com>
1912
1913         * src/hildon-*.c
1914         * src/hildon-*.h: Ensure a consistent include order,
1915         include <gtk/gtk.h> instead of particular files and
1916         only include the topmost header in the gtk stack. See NB #39857
1917
1918 2008-08-12  Christian Dywan  <christian@imendio.com>
1919
1920         * src/hildon-picker-dialog.c
1921         * src/hildon-touch-selector.c: Fix warnings about unused and
1922         uninitialized variables.
1923
1924 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
1925
1926         * examples/Makefile.am
1927         * examples/hildon-check-button-example.c: Example of the hildon
1928         check button.
1929
1930 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
1931
1932         * src/hildon-window.h
1933         * src/hildon-window.c (hildon_window_class_init)
1934         (hildon_window_unset_program): Don't make
1935         hildon_window_unset_program a virtual function anymore.
1936
1937         * src/hildon-stackable-window.c: Update documentation
1938
1939 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
1940
1941         * doc/Makefile.am
1942         * doc/hildon-docs.sgml
1943         * doc/visual_index.xml
1944         * src/hildon-defines.c
1945         * src/hildon-gtk.c
1946         * src/hildon-helper.c
1947         * src/hildon-range-editor.c: Lots of documentation fixes.
1948
1949 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
1950
1951         * examples/hildon-picker-button-multicolumn-example.c
1952         (create_touch_selector): Fix compilation warning.
1953
1954 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
1955
1956         * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
1957         (hildon_pannable_area_button_release_cb)
1958         (hildon_pannable_get_child_widget_at): Fix compilation warnings.
1959
1960 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
1961
1962         * src/hildon-button.c (hildon_button_add_image_size_group): Fix
1963         assertion.
1964
1965 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
1966
1967         * src/hildon-bread-crumb-trail.h
1968         * src/hildon-date-editor.c
1969         * src/hildon-date-selector.c
1970         * src/hildon-pannable-area.c
1971         * src/hildon-picker-dialog.c
1972         * src/hildon-time-selector.c
1973         * src/hildon-touch-selector-entry.c
1974         * src/hildon-touch-selector.c
1975         * src/hildon-touch-selector.h: Misc documentation fixes
1976
1977 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
1978
1979         * examples/hildon-date-editor-example.c (main): Updated date
1980         editor example.
1981
1982         * examples/hildon-note-example.c (on_confirmation_clicked):
1983         Updated confirmation note example.
1984
1985         * src/hildon-date-editor.c
1986         * src/hildon-note.c: Updated sample programs in documentation.
1987         Fixes: NB#87437
1988
1989 2008-08-08  Claudio Saavedra  <csaavedra@igalia.com>
1990
1991         * src/hildon-date-button.h:
1992         * src/hildon-picker-button.h:
1993         * src/hildon-time-button.c:
1994         * src/hildon-time-button.h:
1995
1996         Some declarations changes to allow gtk-doc to document the widgets
1997         properly.
1998
1999 2008-08-08  Claudio Saavedra  <csaavedra@igalia.com>
2000
2001         * src/hildon-date-button.c: Document the widget.
2002         * src/hildon-time-button.c: Document the widget.
2003
2004 2008-08-08  Claudio Saavedra  <csaavedra@igalia.com>
2005
2006         * src/hildon-picker-button.c: Document the widget.
2007         * src/hildon-touch-selector-entry.c: Document the widget.
2008
2009 2008-08-08  Alberto Garcia  <agarcia@igalia.com>
2010
2011         * doc/hildon-docs.sgml
2012         * src/Makefile.am
2013         * src/hildon.h
2014         * src/hildon-check-button.h
2015         * src/hildon-check-button.c: New functions to create the Hildon
2016         Touch Checkbox.
2017
2018         * src/hildon-gtk.h
2019         * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
2020
2021 2008-08-08  Alberto Garcia  <agarcia@igalia.com>
2022
2023         * src/hildon-button.h
2024         * src/hildon-button.c
2025         (hildon_button_add_title_size_group)
2026         (hildon_button_add_value_size_group)
2027         (hildon_button_add_image_size_group)
2028         (hildon_button_add_size_groups): New functions to set size groups
2029         for the button labels and image.
2030         (hildon_button_new_full): Removed
2031
2032 2008-08-08  Alejandro Pinheiro <apinheiro@igalia.com>
2033
2034         * src/hildon-time-selector.c
2035         (_check_ampm_format): use of g_warning instead of g_error with a gconf error
2036         in order to avoid a crash if gconf is not available
2037
2038 2008-08-08  Alberto Garcia  <agarcia@igalia.com>
2039
2040         * src/hildon-button.c (hildon_button_set_arrangement)
2041         (hildon_button_construct_child): Don't construct the button child
2042         before setting the arrangement.
2043
2044 2008-08-08  Alberto Garcia  <agarcia@igalia.com>
2045
2046         * src/hildon-program-private.h
2047         * src/hildon-program.c
2048         * src/hildon-program.h
2049         (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
2050         (hildon_program_peek_window_stack)
2051         (hildon_program_pop_window_stack)
2052         (hildon_program_go_to_root_window): HildonProgram now has a
2053         separate list for stackable windows. Functions are provided to
2054         manage that list with a stack-like API.
2055
2056         * src/hildon-stackable-window.c: Stackable window management is
2057         now much simpler with the new HildonProgram API. Windows no
2058         longer need to be manually added to the program, they're
2059         automatically pushed to the top of the stack when shown.
2060
2061         * examples/hildon-stackable-window-example.c: Updated example to
2062         reflect the API changes.
2063
2064 2008-08-07  Claudio Saavedra  <csaavedra@igalia.com>
2065
2066         * src/hildon-touch-selector.c: Comment out unimplemented
2067         hildon_touch_selector_insert_column() to avoid a compile warning.
2068
2069 2008-08-07  Claudio Saavedra  <csaavedra@igalia.com>
2070
2071         * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
2072         (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
2073         (hildon_touch_selector_set_column_selection_mode),
2074         (_hildon_touch_selector_set_model),
2075         (hildon_touch_selector_set_model):
2076
2077         Complete review of HildonTouchSelector documentation.
2078
2079 2008-08-08  Alberto Garcia  <agarcia@igalia.com>
2080
2081         * doc/hildon-docs.sgml
2082         * src/Makefile.am
2083         * src/hildon.h
2084         * src/hildon-gtk.h
2085         * src/hildon-gtk.c: Convenience functions for standard Gtk
2086         widgets, used to easily perform frequent operations.
2087
2088         * src/hildon-button-helpers.h
2089         * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
2090
2091         * src/hildon-helper.h
2092         * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
2093         hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
2094
2095         * src/hildon-button.h
2096         * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
2097
2098 2008-08-07  Alberto Garcia  <agarcia@igalia.com>
2099
2100         * src/hildon-button.c (hildon_button_init)
2101         (hildon_button_set_arrangement, hildon_button_construct_child):
2102         Pack the image and the labels inside the same GtkAlignment so
2103         gtk_button_set_alignment() can be used
2104
2105 2008-08-07  Alberto Garcia  <agarcia@igalia.com>
2106
2107         * src/hildon-button.h
2108         * src/hildon-button.c
2109         (hildon_button_init, hildon_button_set_image)
2110         (hildon_button_set_image_position)
2111         (hildon_button_construct_child): New functions to add an image to
2112         the HildonButton.
2113
2114 2008-08-07  Alberto Garcia  <agarcia@igalia.com>
2115
2116         * src/hildon-date-button.c
2117         * src/hildon-picker-button.c
2118         * src/hildon-time-button.c
2119         * src/hildon-button.c:
2120         (hildon_button_class_init): "size-flags" renamed to "size"
2121         (hildon_button_set_title): Hide the title label if set to NULL.
2122
2123 2008-08-07  Alberto Garcia  <agarcia@igalia.com>
2124
2125         HildonButtonFlags split into HildonButtonArrangement (to set the
2126         button layout) and HildonSizeType (which can be used for any
2127         widget).
2128
2129         * src/hildon-button.h
2130         * src/hildon-button.c
2131         (hildon_button_class_init)
2132         (hildon_button_set_arrangement)
2133         (hildon_button_set_property): New "size-flags"
2134         property. "arrangement-flags" renamed to "arrangement".
2135         (hildon_button_new, hildon_button_new_with_text)
2136         (hildon_button_new_full): Constructors updated to reflect type changes.
2137
2138         * src/hildon-helper.h
2139         * src/hildon-helper.c (hildon_helper_set_theme_size): New function
2140         to set the size of a widget.
2141
2142         * src/Makefile.am
2143         * src/hildon.h
2144         * src/hildon-button-helpers.c
2145         * src/hildon-button-helpers.h: New hildon-button-helpers module.
2146
2147         * src/hildon-date-button.c
2148         * src/hildon-date-button.h
2149         * src/hildon-picker-button.c
2150         * src/hildon-picker-button.h
2151         * src/hildon-time-button.c
2152         * src/hildon-time-button.h: Updated widgets to reflect
2153         HildonButton API changes.
2154
2155         * examples/hildon-button-example.c
2156         * examples/hildon-date-button-example.c
2157         * examples/hildon-picker-button-example.c
2158         * examples/hildon-picker-button-multicolumn-example.c
2159         * examples/hildon-time-button-example.c
2160         * examples/hildon-touch-selector-entry-example.c
2161         * examples/hildon-touch-selector-example.c: Updated examples to
2162         reflect HildonButton API changes.
2163
2164 2008-08-06  Claudio Saavedra  <csaavedra@igalia.com>
2165
2166         * doc/hildon-docs.sgml:
2167         * doc/hildon.types:
2168         * examples/Makefile.am:
2169         * examples/hildon-touch-selector-entry-example.c:
2170         * src/Makefile.am:
2171         * src/hildon-touch-selector-entry.c:
2172         * src/hildon-touch-selector-entry.h:
2173         * src/hildon.h:
2174
2175         Moved HildonTouchSelectorEntry from sandbox. Added its
2176         documentation and examples.
2177
2178 2008-08-06  Claudio Saavedra  <csaavedra@igalia.com>
2179
2180         * src/hildon-touch-selector.h:
2181         * examples/hildon-picker-button-multicolumn-example.c:
2182         (hildon_touch_selector_append_text_column): Add a gboolean
2183         parameter to determine if text must be centered in the column.
2184
2185         * src/hildon-date-selector.c: (hildon_date_selector_init):
2186         * src/hildon-time-selector.c: (hildon_time_selector_init):
2187         * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
2188         (create_touch_selector): Update widgets and example to reflect
2189         the API change.
2190
2191 2008-08-06  Claudio Saavedra  <csaavedra@igalia.com>
2192
2193         * src/hildon-touch-selector.c:
2194         (hildon_touch_selector_set_active_iter): Set also the cursor in
2195         the active row.
2196
2197 2008-08-06  Alberto Garcia  <agarcia@igalia.com>
2198
2199         * doc/hildon-docs.sgml
2200         * doc/hildon.types
2201         * src/Makefile.am
2202         * src/hildon-toggle-button.c
2203         * src/hildon-toggle-button.h
2204         * src/hildon.h: Removed HildonToggleButton widget, a derived
2205         class is not necessary for this.
2206
2207 2008-08-06  Alejandro G. Castro  <alex@igalia.com>
2208
2209         * src/hildon-pannable-area.c,
2210         (hildon_pannable_area_realize),
2211         (hildon_pannable_area_size_allocate): Code refactoring, add tests
2212         for negative sizes.
2213
2214 2008-08-05  Claudio Saavedra  <csaavedra@igalia.com>
2215
2216         * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
2217         "done" button the default widget for the dialog.
2218
2219 2008-08-04  Claudio Saavedra  <csaavedra@igalia.com>
2220
2221         * src/hildon-touch-selector.c:
2222         (hildon_touch_selector_class_init),
2223         (hildon_touch_selector_get_property),
2224         (_hildon_touch_selector_set_model),
2225         (_hildon_touch_selector_has_multiple_selection),
2226         (hildon_touch_selector_has_multiple_selection):
2227         Add a "has-multiple-selection" property with a virtual
2228         has_multiple_selection() method to allow derived classes to
2229         override the default value for it. See the method and property
2230         documentation for details.
2231
2232         * src/hildon-touch-selector.h: Add the new API.
2233
2234         * src/hildon-picker-dialog.c: (requires_done_button): Call
2235         hildon_touch_selector_has_multiple_selection() instead of
2236         determining the need for a button itself.
2237
2238 2008-08-04  Claudio Saavedra  <csaavedra@igalia.com>
2239
2240         * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
2241         (_hildon_touch_selector_set_model),
2242         (hildon_touch_selector_set_model): Move working code to
2243         _hildon_touch_selector_set_mode(). Call the class method instead.
2244
2245         * src/hildon-touch-selector.h: Add (*set_model) to
2246         HildonTouchSelectorClass.
2247
2248         Make hildon_touch_selector_set_model() a virtual method, so that
2249         derived classes can extend it and do fancy stuff with the model.
2250
2251 2008-08-04  Claudio Saavedra  <csaavedra@igalia.com>
2252
2253         * configure.ac: Set back the tarname in AC_INIT to hildon.
2254
2255 2008-08-04  Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
2256
2257         Release 2.1.3
2258
2259         * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
2260         instead of libesd (NB#86876). Volume handling is still an open issue.
2261
2262         * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
2263         cleanups.
2264
2265 2008-08-01  Claudio Saavedra  <csaavedra@igalia.com>
2266
2267         * src/hildon-touch-selector.c: (hildon_touch_selector_init),
2268         (hildon_touch_selector_append_column): Make the widget a GtkVBox
2269         derived class to ease placement of an entry widget in
2270         HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
2271         end, where the selector columns are packed now.
2272
2273 2008-08-01  Claudio Saavedra  <csaavedra@igalia.com>
2274
2275         * src/hildon-picker-button.c: Removed the simple _text() API.
2276         * src/hildon-picker-button.h: Likewise.
2277
2278         * src/hildon-touch-selector.h:
2279         * src/hildon-touch-selector.c:
2280         (hildon_touch_selector_new_text),
2281         (hildon_touch_selector_append_text),
2282         (hildon_touch_selector_prepend_text),
2283         (hildon_touch_selector_insert_text):
2284
2285         Moved the simple _text() API from HildonPickerButton to
2286         HildonTouchPicker, to provide better escalability and not to tie
2287         that API to HildonPickerButton.
2288
2289         * examples/hildon-picker-button-example.c: (main): Example updated.
2290
2291 2008-07-31  Alberto Garcia  <agarcia@igalia.com>
2292
2293         * src/hildon-button.c: Updated documentation.
2294
2295         * examples/hildon-button-example.c: Add the posibility to create
2296         the buttons using horizontal layout for title and value.
2297
2298 2008-07-31  Alberto Garcia  <agarcia@igalia.com>
2299
2300         * src/hildon-app-menu-private.h
2301         * src/hildon-app-menu.c (hildon_app_menu_add_filter)
2302         (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
2303         GtkSizeGroup for the filters, use the 'homogeneous' property of
2304         the box instead.
2305
2306 2008-07-31  Alberto Garcia  <agarcia@igalia.com>
2307
2308         * examples/hildon-button-example.c: Updated example.
2309
2310 2008-07-30  Claudio Saavedra  <csaavedra@igalia.com>
2311
2312         * doc/hildon-docs.sgml:
2313         * doc/hildon.types:
2314
2315         Update documentation.
2316
2317         * examples/Makefile.am: Update renamed examples.
2318
2319         * examples/hildon-picker-button-multicolumn-example.c:
2320         (create_touch_selector), (main): Update after the rename.
2321
2322         * examples/hildon-touch-picker-example.c: Removed.
2323         * examples/hildon-touch-selector-example.c: (value_changed),
2324         (create_selector), (get_visible_content), (main): Renamed from
2325         hildon-touch-picker-example.c
2326
2327         * src/Makefile.am: Updated renamed files.
2328
2329         * src/hildon-date-button.c: (hildon_date_button_init),
2330         (hildon_date_button_get_date), (hildon_date_button_set_date):
2331         * src/hildon-date-selector.c: (hildon_date_selector_init),
2332         (_custom_print_func), (_update_day_model),
2333         (_manage_selector_change_cb),
2334         (hildon_date_selector_select_current_date),
2335         (hildon_date_selector_get_date), (hildon_date_selector_select_day):
2336         * src/hildon-date-selector.h:
2337         * src/hildon-picker-button.c: (hildon_picker_button_get_property),
2338         (hildon_picker_button_set_property),
2339         (hildon_picker_button_clicked), (hildon_picker_button_class_init),
2340         (hildon_picker_button_init), (hildon_picker_button_new_text),
2341         (hildon_picker_button_append_text),
2342         (hildon_picker_button_prepend_text),
2343         (hildon_picker_button_insert_text),
2344         (hildon_picker_button_set_selector),
2345         (hildon_picker_button_get_selector):
2346         * src/hildon-picker-button.h:
2347         * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
2348         (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
2349         (_update_title_on_selector_changed_cb), (requires_done_button),
2350         (_hildon_picker_dialog_set_selector),
2351         (hildon_picker_dialog_set_selector),
2352         (hildon_picker_dialog_get_selector):
2353         * src/hildon-picker-dialog.h:
2354         * src/hildon-time-button.c: (hildon_time_button_init),
2355         (hildon_time_button_get_time), (hildon_time_button_set_time):
2356         * src/hildon-time-selector.c: (hildon_time_selector_init),
2357         (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
2358         (hildon_time_selector_set_time), (hildon_time_selector_get_time):
2359         * src/hildon-time-selector.h:
2360         * src/hildon.h:
2361
2362         Massive code updates after the rename.
2363
2364         * src/hildon-touch-picker.c: Removed.
2365         * src/hildon-touch-picker.h: Removed.
2366
2367         * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
2368         (hildon_touch_selector_init), (hildon_touch_selector_map),
2369         (hildon_touch_selector_remove), (_default_print_func),
2370         (_selection_changed_cb), (_create_new_column),
2371         (hildon_touch_selector_new), (hildon_touch_selector_append_column),
2372         (hildon_touch_selector_append_text_column),
2373         (hildon_touch_selector_remove_column),
2374         (hildon_touch_selector_set_column_attributes),
2375         (hildon_touch_selector_insert_column),
2376         (hildon_touch_selector_get_num_columns),
2377         (hildon_touch_selector_get_column_selection_mode),
2378         (hildon_touch_selector_set_column_selection_mode),
2379         (hildon_touch_selector_set_print_func),
2380         (hildon_touch_selector_get_print_func),
2381         (hildon_touch_selector_get_active_iter),
2382         (hildon_touch_selector_set_active_iter),
2383         (hildon_touch_selector_get_selected_rows),
2384         (hildon_touch_selector_get_model),
2385         (hildon_touch_selector_set_model),
2386         (hildon_touch_selector_get_current_text),
2387         (_hildon_touch_selector_center_on_selected_items):
2388         * src/hildon-touch-selector.h: Renamed from
2389         hildon-touch-picker.[ch]
2390
2391         Rename HildonTouchPicker to HildonTouchSelector. Updated all the
2392         references, code examples, and related documentation.
2393
2394 2008-07-30  Alberto Garcia  <agarcia@igalia.com>
2395
2396         * doc/hildon-docs.sgml
2397         * doc/hildon.types
2398         * src/Makefile.am
2399         * src/hildon-toggle-button.c
2400         * src/hildon-toggle-button.h
2401         * src/hildon.h: New HildonToggleButton widget.
2402
2403 2008-07-30  Alberto Garcia  <agarcia@igalia.com>
2404
2405         * src/hildon-button.c: Add API documentation.
2406         (hildon_button_set_size_groups): Check input parameters
2407
2408 2008-07-30  Alejandro G. Castro  <alex@igalia.com>
2409
2410         * src/hildon-pannable-area.c
2411         (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
2412         effect after reaching the movement thredshold. This way we start
2413         using the distance after passing the thredshold.
2414
2415 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
2416
2417         * src/hildon-button.c: (hildon_button_set_property): Use the
2418         appropriate g_value_get_flags() method.
2419
2420 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
2421
2422         * doc/hildon-docs.sgml:
2423         * doc/hildon.types:
2424
2425          Add the touch pickers, picker dialogs, and picker button widgets
2426         to the documentation.
2427
2428 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
2429
2430         * src/hildon-button.c: (hildon_button_set_property),
2431         (hildon_button_class_init): Make "arrangement-flags" a proper
2432         G_TYPE_FLAGS derived property.
2433
2434 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
2435
2436         * examples/Makefile.am: Add below examples.
2437         * examples/hildon-date-button-example.c:
2438         * examples/hildon-picker-button-example.c:
2439         * examples/hildon-picker-button-multicolumn-example.c:
2440         * examples/hildon-time-button-example.c:
2441         * examples/hildon-touch-picker-example.c:
2442
2443         Add examples for the recently added touch pickers,
2444         picker dialogs, and picker button widgets.
2445
2446 2008-07-29  Alberto Garcia  <agarcia@igalia.com>
2447
2448         * src/hildon-button.c: Add some API documentation
2449
2450 2008-07-29  Alberto Garcia  <agarcia@igalia.com>
2451
2452         * src/hildon-button.h
2453         * src/hildon-button.c
2454         (hildon_button_new)
2455         (hildon_button_new_with_text): New constructor to create a button
2456         with no text at all.
2457         (hildon_button_init, hildon_button_set_arrangement)
2458         (hildon_button_set_title, hildon_button_set_value)
2459         (hildon_button_set_text)
2460         (hildon_button_construct_child): Hide the value when it's not used
2461         so the rest of the text is properly aligned.
2462         Allow creating buttons with arbitrary widgets inside (not just
2463         title/value labels).
2464
2465         * examples/hildon-button-example.c (vertical_buttons_window)
2466         (horizontal_buttons_window): Update example to use new API.
2467
2468 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
2469
2470         * src/Makefile.am: Added HildonTimeButton.
2471         * src/hildon-time-button.c: Added missing LGPL header.
2472         * src/hildon-time-button.h: Added missing LGPL header.
2473         * src/hildon.h: Add hildon-time-button.h
2474
2475         Copied HildonTimeButton from sandbox to trunk. Future work on this
2476         widget must take place in trunk.
2477
2478 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
2479
2480         * src/Makefile.am: Added HildonDateButton.
2481         * src/hildon-date-button.c: Update includes.
2482         * src/hildon.h: Add hildon-date-button.h
2483
2484         Copied HildonDateButton from sandbox to trunk. Future work on this
2485         widget must take place in trunk.
2486
2487 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
2488
2489         * src/Makefile.am: Added HildonPickerButton.
2490         * src/hildon-picker-button.h: Update includes.
2491         * src/hildon.h: Add hildon-picker-button.h
2492
2493         Copied HildonPickerButton from sandbox to trunk. Future work on
2494         this widget must take place in trunk.
2495
2496 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
2497
2498         * src/Makefile.am: Added HildonPickerDialog.
2499         * src/hildon-picker-dialog.c: Update includes.
2500         * src/hildon.h: Add hildon-picker-dialog.h
2501
2502         Copied HildonPickerDialog from sandbox to trunk. Future work
2503         on this widget must take place in trunk.
2504
2505 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
2506
2507         * src/Makefile.am: Added HildonTimeSelector.
2508         * src/hildon.h: Add hildon-time-selector.h
2509
2510         Copied HildonTimeSelector widget from sandbox to trunk. Future
2511         work on this widget must happen in trunk.
2512
2513 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
2514
2515         * src/Makefile.am: Added HildonDateSelector.
2516         * src/hildon.h: Add hildon-date-selector.h
2517
2518         Copied HildonDateSelector widget from sandbox to trunk.  Future
2519         work on this widget must happen in trunk.
2520
2521 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
2522
2523         * src/Makefile.am: Added HildonTouchPicker.
2524         * src/hildon-touch-picker.c: Update includes.
2525         * src/hildon.h: Add hildon-touch-picker.h
2526
2527         Copied HildonTouchPicker widget from sandbox to trunk. Future work
2528         on this widget must happen in trunk.
2529
2530 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
2531
2532         * src/hildon-pannable-area.c:
2533         (hildon_pannable_area_motion_notify_cb): Fix a typo.
2534
2535 2008-07-29  Alberto Garcia  <agarcia@igalia.com>
2536
2537         * examples/hildon-app-menu-example.c (main): Let the window
2538         destroy the menu.
2539
2540 2008-07-29  Alejandro G. Castro  <alex@igalia.com>
2541
2542         * src/hildon-pannable-area.c
2543         (hildon_pannable_area_class_init): Set the min value of the
2544         overshoot properties to zero, which points out that not
2545         overshooting allowed.
2546
2547 2008-07-29  Alejandro G. Castro  <alex@igalia.com>
2548
2549         Modified the procedure to get the widget at a point inside the
2550         pannable area when using the movement type signals. Now the user
2551         has to call a function to get the child, that way we just
2552         calculate the child in case the user really want to use it and not
2553         all the time.
2554
2555         * src/hildon-marshalers.list: Modified the marshallers, now we do
2556         not have the widget as a parameter.
2557
2558         * src/hildon-pannable-area.c
2559         (hildon_pannable_area_motion_notify_cb),
2560         (hildon_pannable_area_class_init),
2561         (hildon_pannable_get_child_widget_at):  Removed the widget
2562         parameter from the signal callback. We have also refactored the
2563         emission of the signals.
2564
2565         * src/hildon-pannable-area.h: Added a new method to the API to
2566         calculate a widget at a point inside the pannable area,
2567         hildon_pannable_get_child_widget_at.
2568
2569         * examples/hildon-pannable-area-example-4.c
2570         (horizontal_movement): Modified the example to use the new API,
2571         added condition to control which widget is under the event. This
2572         way we can avoid scrolling laterally over other widgets.
2573
2574 2008-07-29  Alejandro G. Castro  <alex@igalia.com>
2575
2576         * src/hildon-pannable-area.c
2577         (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
2578         modes, we stop getting the pointer events due to returning the
2579         callback without properly calling the get pointer again. Fixed
2580         also an error using the hscroll and vscroll.
2581
2582 2008-07-28  Alberto Garcia  <agarcia@igalia.com>
2583
2584         * src/hildon-app-menu-private.h
2585         * src/hildon-app-menu.c (hildon_app_menu_button_press)
2586         (hildon_app_menu_button_release, hildon_app_menu_init)
2587         (hildon_app_menu_class_init): Don't hide the menu on button
2588         release if the user didn't press outside first.
2589
2590         * src/hildon-window.h
2591         * src/hildon-window.c (hildon_window_toggle_menu)
2592         (hildon_window_toggle_menu_real, hildon_window_class_init): Make
2593         hildon_window_toggle_menu a virtual function for the stackable
2594         window to override it.
2595
2596         * src/hildon-stackable-window.h
2597         * src/hildon-stackable-window-private.h
2598         * src/hildon-stackable-window.c
2599         (hildon_stackable_window_realize)
2600         (hildon_stackable_window_finalize)
2601         (hildon_stackable_window_class_init)
2602         (hildon_stackable_window_init)
2603         (hildon_stackable_window_set_main_menu): New function to set the
2604         app menu of a HildonStackableWindow.
2605
2606         * examples/hildon-app-menu-example.c: Remove the button to show
2607         the app menu, now it'll be shown when clicking on the title bar
2608         instead.
2609
2610 2008-07-22  Claudio Saavedra  <csaavedra@igalia.com>
2611
2612         * src/hildon-button.c: (hildon_button_set_arrangement): Do not
2613         set the widget name if the arrangement flags do not specify
2614         a particular size.
2615
2616 2008-07-22  Claudio Saavedra  <csaavedra@igalia.com>
2617
2618         * src/hildon-button.c: (hildon_button_set_property),
2619         (hildon_button_class_init), (hildon_button_new_full),
2620         (hildon_button_set_arrangement): Added "arrangement-flags"
2621         property.
2622
2623         Make the HildonButtonFlags a construction-only property, to allow
2624         subclasses to set them properly.
2625
2626 2008-07-21 Tim Janik  <timj@imendio.com>
2627
2628         * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
2629         insertion position after backspace, so additional digits are appended,
2630         fixes Bug #85874.
2631
2632 2008-07-17  Alejandro G. Castro  <alex@igalia.com>
2633
2634         * src/hildon-pannable-area.c,
2635         (hildon_pannable_area_get_topmost): Cleaned the code, removed the
2636         TODO list, it was complete and removed the g_debug and g_print
2637         lines.
2638
2639 2008-07-17  Alejandro G. Castro  <alex@igalia.com>
2640
2641         Added the movement modes to the hildon-pannable-area, with this
2642         modes the developers can control in which directions the widget
2643         can scroll. They can also connect to signals in order to do
2644         something when that happens, allowing applications scroll. There
2645         is an example uploaded showing how to use it.
2646
2647         * examples/Makefile.am:
2648         * examples/hildon-pannable-area-example-4.c: Added this example of
2649         an application using the modes.
2650
2651         * src/hildon-marshalers.list: Added a new marshaller for the new
2652         signals.
2653
2654         * src/hildon-pannable-area.h: Added new enumerations and flags in
2655         order to control the movement modes and the new signals to warn
2656         about the movements in the area.
2657
2658         * src/hildon-pannable-area.c:
2659         (hildon_pannable_axis_scroll),
2660         (hildon_pannable_area_scroll),
2661         (hildon_pannable_area_motion_notify_cb),
2662         (hildon_pannable_area_get_property),
2663         (hildon_pannable_area_set_property),
2664         (hildon_pannable_area_map),
2665         (hildon_pannable_area_class_init),
2666         (hildon_pannable_area_init),
2667         (hildon_pannable_area_jump_to): Added the modes to control the
2668         movement in the widget. We have added properties to control it,
2669         signals to warn about the movements and refactored some code.
2670
2671 2008-07-15  Alejandro G. Castro  <alex@igalia.com>
2672
2673         Changes required in order to allow vfast_factor set to zero to
2674         work properly.
2675
2676         * src/hildon-pannable-area.c:
2677         (hildon_pannable_area_button_press_cb): Changed the condition, it
2678         is required for not allowing click when vfast_factor is zero.
2679         (hildon_pannable_area_timeout): Initialized velocity variables
2680         when we stop moving, it was less than 1 but not zero and we need
2681         to check zero in some situations.
2682         (hildon_pannable_area_class_init): Changed the default value of
2683         the speed factor, now the button_press is just sent in case the
2684         speed is 2 per cent of the max speed.
2685         (hildon_pannable_area_init): Initialization with 0.
2686
2687 2008-07-04  Alejandro G. Castro  <alex@igalia.com>
2688
2689         * src/hildon-pannable-area.c,
2690         (hildon_pannable_area_get_topmost): replaced
2691         gdk_window_get_children with gdk_window_peek_children, this way we
2692         do not have to free the list because it is not a copy.
2693
2694         (hildon_pannable_axis_scroll),
2695         (hildon_pannable_area_scroll),
2696         (hildon_pannable_area_timeout),
2697         (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
2698         two parameters that were only used inside the
2699         hildon_pannable_area_scroll function.
2700
2701         * examples/hildon-pannable-area-example.c,
2702         (get_sawtooth_label): Fixed small memory leak.
2703
2704 2008-07-03  Alejandro G. Castro  <alex@igalia.com>
2705
2706         More checks for the case where the overshoot is bigger than the
2707         size of the widget.
2708
2709         * src/hildon-pannable-area.c:
2710         (hildon_pannable_draw_vscroll),
2711         (hildon_pannable_draw_hscroll): with this new calculation we avoid
2712         to draw the slider of the scrollbar under the other scrollbar.
2713         (hildon_pannable_area_expose_event): added new checks to control
2714         the drawing of the overshooting area rectangle, in case it is too
2715         big for the area of the widget.
2716         (hildon_pannable_area_size_allocate): add more checks to avoid
2717         setting a position to the child widget outside the area.
2718
2719 2008-07-03  Alejandro G. Castro  <alex@igalia.com>
2720
2721         * src/hildon-pannable-area.c
2722         (hildon_pannable_area_size_allocate): Added conditions to control
2723         when overshooting is bigger than the allocated space for the
2724         children, this avoids negative allocations.
2725
2726 2008-07-02  Alberto Garcia  <agarcia@igalia.com>
2727
2728         * doc/hildon-docs.sgml
2729         * doc/hildon.types
2730         * examples/Makefile.am
2731         * examples/hildon-button-example.c
2732         * src/Makefile.am
2733         * src/hildon-button.c
2734         * src/hildon-button.h
2735         * src/hildon.h: Initial version of the new HildonButton widget,
2736         with examples.
2737
2738 2008-07-02  Claudio Saavedra  <csaavedra@igalia.com>
2739
2740         * src/hildon-pannable-area.c:
2741         (hildon_pannable_area_button_press_cb),
2742         (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
2743         (hildon_pannable_area_motion_notify_cb),
2744         (hildon_pannable_area_button_release_cb),
2745         (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
2746         (hildon_pannable_area_jump_to_child):
2747
2748         Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
2749
2750 2008-07-01  Alberto Garcia  <agarcia@igalia.com>
2751
2752         * examples/Makefile.am
2753         * examples/hildon-pannable-area-touch-grid-example.c
2754         * examples/hildon-pannable-area-touch-list-example.c: Examples of
2755         the Hildon Touch List and Hildon Touch Grid using the
2756         HildonPannableArea widget.
2757
2758 2008-06-27  Alejandro G. Castro <alex@igalia.com>
2759
2760         * src/hildon-pannable-area.c,
2761         (hildon_pannable_area_button_press_cb),
2762         (hildon_pannable_area_refresh),
2763         (hildon_pannable_area_scroll),
2764         (hildon_pannable_area_motion_notify_cb),
2765         (hildon_pannable_area_button_release_cb),
2766         (hildon_pannable_area_expose_event),
2767         (hildon_pannable_area_add),
2768         (hildon_pannable_area_remove),
2769         (hildon_pannable_area_realize),
2770         (hildon_pannable_area_size_allocate),
2771         (hildon_pannable_area_class_init),
2772         (hildon_pannable_area_init),
2773         (hildon_pannable_area_scroll_to_child),
2774         (hildon_pannable_area_jump_to_child): Fixed the problem of
2775         removing the child from the GtkBin, we have rearranged the widget
2776         hierarchy, now there is no GtkAlignment which was not doing
2777         anything interesting but breaking some of the assumptions of
2778         GtkContainer. Now developers if they want to add a GtkAlignment
2779         they could, but it is not inside the area.
2780
2781         We had to review the whole allocation/expose process, now it is
2782         improved and we save at least three signals which would be saving
2783         some time when rendering the widget. The allocation of the
2784         scrollbars is now made in the allocate method as usual.
2785
2786         We have also added some conditions in order to control when there
2787         is no child of the pannable area. Maybe we will need more work
2788         here.
2789
2790 2008-06-27  Alejandro G. Castro <alex@igalia.com>
2791
2792         * src/hildon-pannable-area.c,
2793         (hildon_pannable_area_dispose): Released the fade-out timeout when
2794         disposing the widget.
2795
2796 2008-06-27  Alejandro G. Castro <alex@igalia.com>
2797
2798         * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
2799         zero, we are going to use that property in order to deactivate the
2800         overshooting
2801         (hildon_pannable_axis_scroll),
2802         (hildon_pannable_area_size_allocate): Added conditions to control
2803         when overshoot_max is zero. Moved the gtk_adjustment_set_value
2804         call, now it is called in all situations and we can remove calls
2805         in the allocate method.
2806         (hildon_pannable_area_map): Control the situation when
2807         overshoot_max is zero, we do not need the timeout.
2808         (hildon_pannable_area_class_init): Added documentation in order to
2809         point out that setting zero to overshoot_max means deactivate
2810         overshooting.
2811
2812         NOTE: removed trailing whitespaces from my previous comments of
2813         the Changelog.
2814
2815 2008-06-26  Claudio Saavedra  <csaavedra@igalia.com>
2816
2817         * src/hildon-pannable-area.c
2818         (hildon_pannable_area_get_property),
2819         (hildon_pannable_area_set_property),
2820         (hildon_pannable_area_map),
2821         (hildon_pannable_area_class_init),
2822         (hildon_pannable_area_init): Add a boolean "initial-hint" property
2823         to cause the widget give a hint about its panning abilities upon
2824         realization.
2825
2826 2008-06-26  Claudio Saavedra  <csaavedra@igalia.com>
2827
2828         * src/hildon-pannable-area.c: Several documentation improvements.
2829
2830 2008-06-26  Alberto Garcia  <agarcia@igalia.com>
2831
2832         * src/hildon-program.c
2833         * src/hildon-stackable-window.c: Update documentation.
2834
2835 2008-06-26  Alberto Garcia  <agarcia@igalia.com>
2836
2837         * src/hildon-stackable-window.c (get_previous_window_if_last):
2838         Renamed get_last_window()
2839         (hildon_stackable_window_map, hildon_stackable_window_unmap)
2840         (hildon_stackable_window_unset_program):
2841         Simplified code.
2842         (get_previous_window_if_last):
2843         Detect if the window hasn't been added to a HildonProgram.
2844
2845 2008-06-26  Alejandro G. Castro <alex@igalia.com>
2846
2847         contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
2848
2849         * src/hildon-pannable-area.c
2850         (hildon_pannable_area_button_press_cb),
2851         (hildon_pannable_axis_scroll),
2852         (hildon_pannable_area_scroll),
2853         (hildon_pannable_area_timeout),
2854         (hildon_pannable_calculate_vel_factor),
2855         (hildon_pannable_area_get_property),
2856         (hildon_pannable_area_set_property),
2857         (hildon_pannable_area_class_init),
2858         (hildon_pannable_area_init),
2859         (hildon_pannable_area_scroll_to),
2860         (hildon_pannable_area_jump_to),
2861         (hildon_pannable_area_scroll_to_child),
2862         (hildon_pannable_area_jump_to_child):
2863         * src/hildon-pannable-area.h: Added the new API functions:
2864         hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
2865         hildon_pannable_area_scroll_to_child,
2866         hildon_pannable_area_jump_to_child
2867
2868
2869         * examples/Makefile.am
2870         * examples/hildon-pannable-area-example-2.c
2871         * examples/hildon-pannable-area-example-3.c: Added these two new
2872         examples in order to test and show how the new APIs work.
2873
2874 2008-06-25  Alberto Garcia  <agarcia@igalia.com>
2875
2876         * examples/hildon-stackable-window-example.c (new_window):
2877         * src/Makefile.am (noinst_HEADERS):
2878         * src/hildon-program.c (hildon_program_go_to_root_window):
2879         * src/hildon-program.h:
2880         * src/hildon-stackable-window-private.h:
2881         * src/hildon-stackable-window.c:
2882         * src/hildon-stackable-window.h:
2883         Create hildon-stackable-window-private.h
2884         Move hildon_stackable_window_go_to_root_window() to HildonProgram
2885
2886         * examples/hildon-app-menu-example.c (create_menu):
2887         * examples/hildon-hvolumebar-insensitive-example.c (main):
2888         * examples/hildon-hvolumebar-timer-example.c (on_idle):
2889         * examples/hildon-toolbar-seekbar-example.c (main):
2890         * src/hildon-app-menu.c (hildon_app_menu_add_filter):
2891         * src/hildon-banner.c (hildon_banner_set_property):
2892         * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
2893         Fix compilation warnings
2894
2895         * src/hildon-window.c:
2896         Fix typo in doc
2897
2898 2008-06-24  Alberto Garcia  <agarcia@igalia.com>
2899
2900         * src/hildon-stackable-window.c
2901         (hildon_stackable_window_unset_program):
2902         Calculate correctly whether to show the previous window if the
2903         last one is removed from the stack.
2904         (hildon_stackable_window_go_to_root_window):
2905         Send delete events starting from the topmost window.
2906         Stop if one of the windows is not destroyed.
2907         Update doc.
2908         (hildon_stackable_window_delete_event)
2909         (hildon_stackable_window_class_init):
2910         Ignore the delete event if the window is not the topmost one.
2911
2912 2008-06-24  Alejandro G. Castro <alex@igalia.com>
2913
2914         * src/hildon-pannable-area.c
2915         (hildon_pannable_area_expose_event): Fixed a problem when
2916         selecting the background color of the scrollbars.
2917
2918 2008-06-23  Alberto Garcia  <agarcia@igalia.com>
2919
2920         * examples/hildon-stackable-window-example.c
2921         * src/hildon-stackable-window.c
2922         * src/hildon-stackable-window.h
2923         hildon_stackable_window_go_home() renamed to
2924         hildon_stackable_window_go_to_root_window()
2925         Send delete events to windows rather than closing them with
2926         gtk_widget_destroy()
2927
2928 2008-06-19  Alberto Garcia  <agarcia@igalia.com>
2929
2930         * src/hildon-pannable-area.c
2931         (hildon_pannable_area_button_release_cb): Fix overshooting in
2932         accel mode.
2933
2934 2008-06-19  Claudio Saavedra  <csaavedra@igalia.com>
2935
2936         * src/hildon-pannable-area.c
2937         (hildon_pannable_area_init): Initially show the scroll indicators.
2938         (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
2939
2940         Add initial effect showing the widget is pannable.
2941
2942 2008-06-19  Alberto Garcia  <agarcia@igalia.com>
2943
2944         * src/hildon-pannable-area.c
2945         (hildon_pannable_area_class_init)
2946         (hildon_pannable_area_set_property)
2947         (hildon_pannable_area_get_property)
2948         (hildon_pannable_area_button_press_cb):
2949         New 'velocity_fast_factor' property to decide which velocity is
2950         considered fast.
2951
2952 2008-06-19  Claudio Saavedra  <csaavedra@igalia.com>
2953
2954         * src/hildon-pannable-area.c
2955         (hildon_pannable_draw_hscroll)
2956         (hildon_pannable_draw_vscroll):
2957         Use float variables to calculate the size of the scrollbars to
2958         avoid error propagation and resizing during scrolling.
2959
2960 2008-06-19  Alberto Garcia  <agarcia@igalia.com>
2961
2962         * src/hildon-pannable-area.c
2963         (hildon_pannable_draw_vscroll)
2964         (hildon_pannable_draw_hscroll):
2965         Define a minimum size for the scroll bars
2966
2967         * src/hildon-stackable-window.c
2968         (hildon_stackable_window_go_home): Fix compilation warning
2969         (get_last_window): Minor optimizations
2970         (hildon_stackable_window_class_init): Fix initialization of
2971         private structure.
2972
2973 2008-06-18  Alberto Garcia  <agarcia@igalia.com>
2974
2975         * src/hildon-stackable-window.c: Fixed typos in doc
2976
2977 2008-06-18  Claudio Saavedra  <csaavedra@igalia.com>
2978
2979         * src/hildon-pannable-area.c
2980         (hildon_pannable_area_scroll):
2981         Calculate here whether we need to scroll instead of using the booleans
2982         that tell us whether to /draw/ the scrolling bars.
2983
2984 2008-06-17  Claudio Saavedra  <csaavedra@igalia.com>
2985
2986         * src/hildon-app-menu.h
2987         Update API.
2988         * src/hildon-app-menu.c
2989         (hildon_app_menu_init, hildon_app_menu_class_init): Remove
2990         multiple filter groups related code and API. Now we support only
2991         one filter group.
2992         * examples/hildon-app-menu-example.c:
2993         (create_menu):
2994         Update to reflect API changes.
2995
2996 2008-06-16  Claudio Saavedra  <csaavedra@igalia.com>
2997
2998         * src/hildon-stackable-window.c
2999         (hildon_stackable_window_class_init):
3000         Add hildon_stackable_window_realize.
3001         (hildon_stackable_window_realize):
3002         Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
3003         the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
3004         to apply theming and behavior specific to HildonStackableWindow
3005         windows.
3006
3007 2008-06-12  Alberto Garcia  <agarcia@igalia.com>
3008
3009         * src/hildon-note.c (hildon_note_button_release):
3010         Close information notes also when tapping on them
3011
3012 2008-06-12  Alejandro G. Castro <alex@igalia.com>
3013
3014         Added BOUNCE_STEPS define to control the overshoot effect. Removed
3015         ELASTICITY, refactor and review, fix some issues with drawing
3016         scrollbars.
3017
3018         * src/hildon-pannable-area.c:
3019         (hildon_pannable_area_button_press_cb): removed the conditions to
3020         avoid clicks when overshooting. It is not required
3021
3022         (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
3023         define. Refatored and reviewed the code, now we do not need to
3024         manage velocity in motion_notify.
3025
3026         (hildon_pannable_area_motion_notify_cb): We have moved the code
3027         that controls the area_scroll to the axis_scroll function and get
3028         rid of duplicated code.
3029
3030         (hildon_pannable_area_scroll): Remove the ELASTICITY define.
3031
3032         (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
3033
3034         (hildon_pannable_draw_vscroll),
3035         (hildon_pannable_draw_hscroll): Fixed the problems with the
3036         scrollbar drawing, now we do not use two surfaces, it is easier
3037         and saves resources.
3038
3039         (hildon_pannable_area_get_property): Style modification.
3040
3041         (hildon_pannable_area_class_init): Changed some default values.
3042
3043 2008-06-12  Claudio Saavedra  <csaavedra@igalia.com>
3044
3045         * src/hildon-stackable-window.c: Fix some typos in the
3046         documentation.
3047
3048 2008-06-12  Alberto Garcia  <agarcia@igalia.com>
3049
3050         * src/hildon-dialog.c:
3051         Change indentation style
3052
3053         * src/hildon-note.c
3054         (hildon_note_button_release):
3055         Use root coordinates to check if the release event happened
3056         outside the widget.
3057
3058         * src/hildon-app-menu.c
3059         (hildon_app_menu_button_release):
3060         Remove unnecessary check
3061
3062         * examples/hildon-app-menu-example.c
3063         (button_clicked):
3064         Add cast to fix warning
3065
3066         * src/hildon-app-menu.c
3067         (hildon_app_menu_class_init):
3068         New inner-border style property.
3069         Set all default spacings to 16
3070         (hildon_app_menu_init):
3071         Use vertical-spacing to set the space between filter buttons and
3072         regular menu buttons.
3073         Set the default container border using the inner-border value.
3074
3075         * examples/hildon-app-menu-example.c
3076         (create_menu):
3077         Don't set the menu border explicitly, now we have the inner-border
3078         style property for that.
3079
3080 2008-06-11  Alberto Garcia  <agarcia@igalia.com>
3081
3082         * src/hildon-app-menu.c (hildon_app_menu_init):
3083         Make the window modal
3084
3085         * src/hildon-note.c (hildon_note_map)
3086         * src/hildon-app-menu.c (hildon_app_menu_map):
3087         Destroy the grab window if we're unable to grab the pointer
3088
3089         * src/hildon-app-menu-private.h
3090         * src/hildon-app-menu.c
3091         (hildon_app_menu_init, hildon_app_menu_finalize)
3092         (hildon_app_menu_map, hildon_app_menu_unmap)
3093         (hildon_app_menu_button_release)
3094         (grab_transfer_window_get):
3095         Bring back the grab window
3096         (hildon_app_menu_realize):
3097         Decorate the window, set WM hint for Matchbox
3098
3099         * src/hildon-note.c (hildon_note_realize):
3100         * src/hildon-banner.c (hildon_banner_realize):
3101         Add WM hints for Matchbox
3102
3103 2008-06-10  Alberto Garcia  <agarcia@igalia.com>
3104
3105         * src/hildon-app-menu-private.h
3106         * src/hildon-app-menu.c
3107         (hildon_app_menu_init, hildon_app_menu_finalize)
3108         (hildon_app_menu_map, hildon_app_menu_unmap)
3109         (hildon_app_menu_button_release):
3110         Remove the grab window, it's not needed anymore
3111
3112         * src/hildon-program.c
3113         Fixed typo in documentation
3114
3115         * src/hildon-app-menu.h
3116         * src/hildon-app-menu.c
3117         * examples/hildon-app-menu-example.c
3118         Remove hildon_app_menu_popup(), use gtk_widget_show() instead
3119
3120 2008-06-09  Alberto Garcia  <agarcia@igalia.com>
3121
3122         * src/hildon-note.c
3123         Added new transfer_window and close_if_pressed_outside private
3124         attributes.
3125         (hildon_note_rebuild):
3126         Don't add a cancel button to the information note. It will be
3127         closed when tapping outside
3128         Remove the comment about the OK button in the documentation
3129         (hildon_note_realize):
3130         Set the notification type hint
3131         (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
3132         Grab/ungrab pointer and keyboard if the note has to be closed when
3133         tapping outside
3134         (hildon_note_button_release):
3135         Close the note when tapping outside (if applicable)
3136
3137         * src/hildon-app-menu.c
3138         Grab/ungrab pointer and keyboard on map/unmap
3139         (hildon_app_menu_button_release, hildon_app_menu_class_init):
3140         Close the menu on button release, not button press
3141
3142         * src/hildon-banner.c
3143         (hildon_banner_set_property)
3144         (hildon_banner_check_position):
3145         Make the banner use the full width of the screen
3146         (hildon_banner_show_information)
3147         (hildon_banner_show_information_with_markup):
3148         Don't display an icon by default
3149
3150 2008-06-09  Alejandro G. Castro <alex@igalia.com>
3151
3152         Added fading scrollbars and adapted all the overshooting code to
3153         horizontal scrolling. We have also fixed bugs with overshooting
3154         and current fading implementation.
3155
3156         * src/hildon-pannable-area.c
3157         (hildon_pannable_area_scroll_indicator_fade): Time out function
3158         used to change the transparency of the scrollbars.
3159
3160         (hildon_pannable_area_button_press_cb): Added horizontal overshot
3161         control and fixed a problem with fading, we now remove the fade
3162         timeout before adding a new one.
3163
3164         (hildon_pannable_axis_scroll):
3165         (hildon_pannable_area_scroll):
3166         (hildon_pannable_area_timeout): Added this functions so we can use
3167         the scroll code both for vertical and horizontal.
3168
3169         (hildon_pannable_area_motion_notify_cb):
3170         (hildon_pannable_area_button_release_cb): Added the horizontal
3171         scrolling control, fixed a problem with the overshooting timeout.
3172
3173         (rgb_from_gdkcolor): Added this function, it is used in the cairo
3174         painting of the scrolls.
3175
3176         (hildon_pannable_draw_vscroll):
3177         (hildon_pannable_draw_hscroll):
3178         (hildon_pannable_area_expose_event):
3179         Draw both scrollbars and rectangles in the overshooting area.
3180
3181         (hildon_pannable_area_get_property):
3182         (hildon_pannable_area_set_property):
3183         Modified the overshoot property to overshoot_max
3184
3185         (hildon_pannable_area_map):
3186         Replaced the comments symbols.
3187
3188         (hildon_pannable_area_size_allocate):
3189         (hildon_pannable_area_class_init):
3190         (hildon_pannable_area_init): Added horizontal scroll, fading
3191         effect properties, fixed a problem when overshooting in the bottom
3192         of the widget.
3193
3194         * examples/hildon-pannable-area-example.c:
3195         (get_sawtooth_label): Now we use smaller sawtooths, the effect
3196         looks better in the example.
3197
3198 2008-06-03  Alberto Garcia  <agarcia@igalia.com>
3199
3200         * src/hildon-window.c
3201         * src/hildon-window.h
3202         (hildon_window_class_init)
3203         (hildon_window_unset_program)
3204         (hildon_window_unset_program_real):
3205         Make unset_program a virtual function
3206
3207         * src/hildon-stackable-window.c
3208         * src/hildon-stackable-window.h
3209         Added hildon_stackable_window_go_home()
3210
3211         * examples/Makefile.am
3212         * examples/hildon-stackable-window-example.c
3213         HildonStackableWindow example
3214
3215 2008-06-03 Alejandro G. Castro <alex@igalia.com>
3216
3217         * hildon-pannable-area.c: Added the overshoot property and removed
3218         the OVERSHOOT define. Fixed an indent style error.
3219         (hildon_pannable_area_motion_notify_cb):
3220         (hildon_pannable_area_get_property):
3221         (hildon_pannable_area_set_property): Add overshoot property.
3222
3223         (hildon_pannable_area_scroll): replaced OVERSHOOT define with
3224         overshoot property.
3225
3226         (hildon_pannable_area_class_init): Installed the new property.
3227
3228         * hildon-pannable-area-example.c: Added a sawtooth function, this
3229         way it is easier to check the movement in the pannable.
3230         (get_sawtooth_label): Added this function.
3231         (main): Now we get the labels from the new get_sawtooth_label
3232         function.
3233
3234 2008-05-26  Alberto Garcia  <agarcia@igalia.com>
3235
3236         * src/hildon-app-menu.h
3237         * src/hildon-app-menu.c
3238         Renamed API variables for consistency
3239
3240         (hildon_app_menu_popup): Use also the default window size to
3241         decide where to place the menu
3242
3243         (hildon_app_menu_init, hildon_app_menu_class_init): New
3244         external-border style property
3245
3246 2008-05-26  Michael Natterer  <mitch@imendio.com>
3247
3248         * src/hildon-time-editor.c (hildon_time_editor_class_init): The
3249         widget_class->tap_and_hold_setup signal slot doesn't exist any
3250         longer, stop overriding it.
3251
3252         (hildon_time_editor_init): g_signal_connect() to the
3253         tap-and-hold-setup signal instead.
3254
3255         (hildon_time_editor_entry_keypress): add cast to fix warning.
3256
3257 2008-05-23  Alberto Garcia  <agarcia@igalia.com>
3258
3259         * doc/hildon-docs.sgml
3260         * doc/hildon.types
3261         * examples/Makefile.am
3262         * examples/hildon-app-menu-example.c
3263         * src/Makefile.am
3264         * src/hildon-app-menu-private.h
3265         * src/hildon-app-menu.c
3266         * src/hildon-app-menu.h
3267         * src/hildon.h
3268         New HildonAppMenu widget
3269
3270 2008-05-21 Alejandro G. Castro <alex@igalia.com>
3271
3272         Rearranged the inheritance of the pannable area, now it inherits
3273         from GtkBin. This will allow us to control the event_window and
3274         the allocation process of the widget, required for some effects.
3275
3276         * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
3277         GtkBin structures.  * src/hildon-pannable-area.c: Added the
3278         event_window variable.
3279         (hildon_pannable_area_button_press_cb):
3280         (hildon_pannable_area_button_release_cb):
3281         (hildon_pannable_area_motion_notify_cb):
3282         Changed the signature of the method, now we override the event
3283         callback instead of connecting to the signal.
3284
3285         (hildon_pannable_area_realize):
3286         (hildon_pannable_area_unrealize):
3287         (hildon_pannable_area_map):
3288         (hildon_pannable_area_unmap):
3289         (hildon_pannable_area_size_allocate):
3290         Added functions to control the widget construction. We add a
3291         INPUT_ONLY window and we put it over the widgets inside the
3292         container, this event_window handles the events.
3293
3294         (hildon_pannable_area_class_init):
3295         Replaced the signal connections with overrides of the event
3296         callbacks.
3297
3298 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3299
3300         Bouncing effect added when touching the borders, you can change
3301         the elasticity of the border changing the ELASTICITY define.
3302
3303         * src/hildon-pannable-area.c: Added ELASTICITY define.
3304         (hildon_pannable_area_timeout): Added inverse velocity when
3305         touching the border of the child widget, that causes a bounce.
3306
3307 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3308
3309         Improved performance, we now do not go to the X server in order to
3310         get the list of window children. Apparently the effect is the
3311         same, we have to be careful and check if this breaks something in
3312         any corner case.
3313
3314         * src/hildon-pannable-area.c:
3315         (get_ordered_children): Removed this function.
3316         (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
3317         the children windows function with gdk_window_get_children.
3318
3319 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3320
3321         * src/hildon-pannable-area.c:
3322         (hildon_pannable_area_dispose): Fixed a crash when closing the
3323         window and kinetics is activated.
3324
3325 2008-05-19  Alberto Garcia  <agarcia@igalia.com>
3326
3327         * src/hildon-pannable-area.h
3328         * src/hildon-pannable-area.c
3329         Changed indentation style to meet the one used in Hildon
3330
3331 2008-05-19 Alejandro G. Castro <alex@igalia.com>
3332
3333         Reviewed the interaction of the AUTO mode, now we use the time
3334         attribute of the events and calculate the velocity in the motion,
3335         doing a gimp like calculation. The velocity is calculated in each
3336         motion event using the last velocity and the current one, the
3337         SMOOTH_FACTOR controls the percentage of the new velocity we use.
3338
3339         * src/hildon-pannable-area.c: Replaced the time based algorithm
3340         for the AUTO mode.
3341         (hildon_pannable_area_motion_notify_cb): now we do not launch the
3342         timeout for the AUTO mode when we are still moving the cursor. We
3343         added also the velocity calculation in this function.
3344         (hildon_pannable_area_button_release_cb): launch the timeout in
3345         case we are in AUTO mode. There are still some constants here that
3346         come from the old implementation that should be reviewed and
3347         handled properly.
3348
3349 2008-05-15  Alberto Garcia  <agarcia@igalia.com>
3350
3351         * doc/hildon-docs.sgml
3352         * doc/hildon.types
3353         * src/Makefile.am
3354         * src/hildon-stackable-window.c
3355         * src/hildon-stackable-window.h
3356         * src/hildon.h
3357         New HildonStackableWindow widget
3358
3359         * examples/hildon-dialog-example.c
3360         * examples/hildon-pannable-area-example.c
3361         Updated copyright
3362
3363 2008-05-14  Alberto Garcia  <agarcia@igalia.com>
3364
3365         * src/hildon-dialog.c
3366         (hildon_dialog_new_with_buttons): New constructor.
3367
3368         * examples/hildon-dialog-example.c
3369         (main): Update the example to use the new
3370         hildon_dialog_new_with_buttons().
3371
3372         * examples/hildon-pannable-area-example.c
3373         (main): Update example.
3374
3375 2008-05-13 Alberto Garcia <agarcia@igalia.com>
3376
3377         * doc/hildon-docs.sgml
3378         * doc/hildon.types
3379         Added HildonPannableArea to the documentation.
3380
3381 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
3382
3383         * doc/visual_index.xml
3384         Fix reference to HildonLoginDialog in documentation
3385
3386         * doc/hildon-docs.sgml
3387         * doc/hildon.types
3388         * examples/Makefile.am
3389         * examples/hildon-dialog-example.c
3390         * src/Makefile.am
3391         * src/hildon-dialog.c
3392         * src/hildon-dialog.h
3393         * src/hildon.h
3394         New HildonDialog widget.
3395
3396 2008-05-09 Alberto Garcia <agarcia@igalia.com>
3397
3398         * src/hildon-pannable-area.c
3399         Merge latest changes (r4318, r4342) from libmokoui trunk
3400
3401 2008-05-09 Alberto Garcia <agarcia@igalia.com>
3402
3403         * examples/Makefile.am
3404         * examples/hildon-pannable-area-example.c
3405         * src/Makefile.am
3406         * src/hildon-pannable-area.c
3407         * src/hildon-pannable-area.h
3408         * src/hildon.h
3409         New HildonPannableArea widget.
3410
3411 2008-04-15 18:05:19    <timj@imendio.com>
3412
3413         * src/hildon-banner.c: revert the recent change, that introduced
3414         gtk_window_present() calls. this reopens:
3415           Bug 78481 - [freetest] information banners are hidden under browser menu
3416         But resolves another variant of:
3417           Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3418
3419 2008-04-15 13:21:13    <timj@imendio.com>
3420
3421         * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
3422         recreated its layout, spotted by Kris. this fixes all remaining
3423         artefacts and stability issues with the banner code. in particular:
3424         Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3425
3426 2008-04-14 16:52:59    <timj@imendio.com>
3427
3428         * src/hildon-banner.c: guard force_to_wrap_truncated() against
3429         operating on unrealized widgets, fixes:
3430         Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3431
3432         * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
3433
3434 2008-04-09  Kristian Rietveld  <kris@imendio.com>
3435
3436         Fixes: NB#77775: Media Player, Save Now playing list, too long name
3437         makes banner disappear.
3438         Fixes: NB#79182: info banner flickering with certain message lengts.
3439
3440         * src/hildon-banner.c (hildon_banner_constructor),
3441         (hildon_banner_init), (hildon_banner_set_text),
3442         (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
3443         (hildon_banner_reset_wrap_state): new function: reset wrap flags to
3444         FALSE, reset size requests of label and banner,
3445         (force_to_wrap_truncated): when the text is too wide, always enforce
3446         the maximum possible width instead of recalculating it from the
3447         layout; enforce the maximum banner height of 3 lines,
3448         (hildon_banner_init): set WORD_CHAR wrapping, this will result in
3449         nicer wrapping and no truncated chars if space gets tight.
3450
3451         * src/hildon-banner-private.h: add has_been_wrapped and
3452         has_been_truncated fields.
3453
3454 2008-04-07  Sven Herzberg  <sven@imendio.com>
3455
3456         Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
3457         local values in hildon_date_editor_size_allocate
3458
3459         * src/hildon-date-editor.c: moved the real allocation code into the
3460         if() branch
3461
3462 2008-04-07  Sven Herzberg  <sven@imendio.com>
3463
3464         Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3465         local values in hildon_date_editor_size_allocate
3466
3467         * src/hildon-date-editor.c: merged the two if() branches together
3468
3469 2008-04-07  Sven Herzberg  <sven@imendio.com>
3470
3471         Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3472         local values in hildon_date_editor_size_allocate
3473
3474         * src/hildon-date-editor.c: changed the arguments of the if()
3475         conditions
3476
3477 2008-04-07  Sven Herzberg  <sven@imendio.com>
3478
3479         Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3480         local values in hildon_date_editor_size_allocate
3481
3482         * src/hildon-date-editor.c: split the calculation of the allocation
3483         from the real allocation
3484
3485 2008-03-27  Michael Natterer  <mitch@imendio.com>
3486
3487         Fixes: NB#81696: The passcode is not overwritten even after
3488         selecting
3489
3490         * src/hildon-code-dialog.c
3491         (hildon_code_dialog_button_clicked)
3492         (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
3493         because that doesn't overwrite selected text. Instead, emit the
3494         "commit" signal on the entry's im_context so the entry's normal
3495         insert logic is triggered. Set the cursor to the end of the entry
3496         after each insert operation so that we *only* insert in the middle
3497         of the text if something was selected.
3498
3499 2008-03-27  Michael Natterer  <mitch@imendio.com>
3500
3501         Enable fixing: NB#79916 and NB#79918: The help topic for Color
3502         selector cannot be opened
3503
3504         * src/hildon-color-button.c: add signal "setup-dialog" and emit it
3505         when the popup color selector is created. Please connect to this
3506         signal in order to set the dialog's help ID.
3507
3508 2008-03-25  Sven Herzberg  <sven@imendio.com>
3509
3510         Fixes: MB#1212: Hide info banners (infoprints) on click
3511
3512         * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
3513         extracted the close event simulation into an extra function
3514         (hildon_banner_button_press_event): simulate a close event and destroy
3515         the widget if the event wasn't handled
3516         (hildon_banner_class_init): added the button_press_event handler
3517         (hildon_banner_init): added button-press events to the widget
3518
3519 2008-03-25  Sven Herzberg  <sven@imendio.com>
3520
3521         Fixes: MB:#924: Hildon widgets doesn't support RTL mode
3522         Patch from: Mohammad Anwari  <mdamt@maemo.org>
3523
3524         * src/hildon-banner.c: let the HildonBanners pop up on the left side
3525         instead of the right in RTL mode
3526         * src/hildon-bread-crumb-trail.c: mirror the appearance of the
3527         breadcrumb button list in RTL mode
3528         * src/hildon-caption.c: mirror the appearance of the caption widget in
3529         RTL mode
3530         * src/hildon-date-editor.c: mirror appearance of the date editor in
3531         RTL mode
3532         * src/hildon-time-editor.c: mirror appearance of the time editor in
3533         RTL mode
3534         * src/hildon-window.c: fix the position of the popup in RTL mode
3535
3536 2008-03-25  Sven Herzberg  <sven@imendio.com>
3537
3538         Amendment to the fix of NB#22072. Fix compilation.
3539
3540         * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
3541
3542 2008-03-19  Sven Herzberg  <sven@imendio.com>
3543
3544         Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
3545         in Info Banner" bug
3546
3547         * src/hildon-banner.c: (hildon_banner_timeout): reset the current
3548         timeout id properly when the timeout will disappear this leaves no
3549         artifacts around in the destroy(); there will only be the timeout
3550         created by hildon_banner_ensure_timeout() and adding a new timeout
3551         will also work if the timeout gets removed because the timeout_handler
3552         returned FALSE
3553
3554 2008-03-19  Michael Natterer  <mitch@imendio.com>
3555
3556         Fixes: NB#79791: Cannot set focus to Master volume using stylus
3557
3558         * src/hildon-volumebar.c
3559         * src/hildon-vvolumebar.c
3560         * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
3561         the widget becomes focussable at all.
3562
3563         * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
3564         set the focus to wither the mute button or the volumebar.
3565
3566         Remove own "can-focus" property and instead listen to
3567         notify::can-focus in order to update the widget's state.
3568
3569         Implement GtkWidget::focus() and make sure we can also *leave* the
3570         widget, not only enter it, depending on volumebar orientation and
3571         requested focus direction.
3572
3573         Clean up set_mute() to cooperate nicely with all the above.
3574
3575 2008-03-04  Michael Natterer  <mitch@imendio.com>
3576
3577         Fixes: NB#78481: information banners are hidden under browser menu
3578
3579         * src/hildon-banner.c: call gtk_window_present() on the banners so
3580         they are risen if they are already visible.
3581
3582 2008-03-03  Sven Herzberg  <sven@imendio.com>
3583
3584         Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
3585
3586         * examples/hildon-window-menu-example.c: (main): extended the window
3587         menu example to serve as a testcase for automatically added
3588         accelerator groups, too
3589         * src/hildon-window.c: (hildon_window_add_accel_group),
3590         (hildon_window_set_menu): added patch by Tommi Komulainen
3591
3592 2008-03-03  Sven Herzberg  <sven@imendio.com>
3593
3594         Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
3595
3596         * src/hildon-window.c: (hildon_window_get_borders): don't imply any
3597         knowledge about the border allocators used within GTK+
3598
3599 2008-02-26  Sven Herzberg  <sven@imendio.com>
3600
3601         Fixes: MB#2981: Build with asserts broken
3602
3603         * src/hildon-date-editor.c,
3604         * src/hildon-number-editor.c,
3605         * src/hildon-time-editor.c,
3606         * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
3607         the proper GType instance check
3608
3609 2008-02-25  Sven Herzberg  <sven@imendio.com>
3610
3611         Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
3612
3613         * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
3614         * examples/hildon-window-menu-example.c: (main): explicitly show
3615         the menu item
3616         * src/hildon-window.c:
3617         (hildon_window_set_main_menu): moved most of the code from set_menu()
3618         to this place; skipped the call to gtk_widget_show_all(); also didn't
3619         introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
3620         (hildon_window_set_menu): removed most of the code, just keep the
3621         questionable gtk_widget_show_all()
3622         * src/hildon-window.h: added the new function and deprecate the old
3623         one
3624
3625 2008-01-10  Xan Lopez  <xan.lopez@nokia.com>
3626
3627         [2.0.1-1 release]
3628
3629         * NEWS:
3630         * configure.ac:
3631         * debian/changelog: Updating.
3632
3633 2008-01-10  Xan Lopez  <xan.lopez@nokia.com>
3634
3635         * configure.ac:
3636         * pkgconfig/Makefile.am:
3637         * pkgconfig/hildon.pc.in:
3638         * src/Makefile.am:
3639
3640         Do not use PACKAGE_VERSION_MAJOR as the API revision,
3641         use newly created API_MAJOR_VERSION.
3642
3643 2008-01-09  Xan Lopez  <xan.lopez@nokia.com>
3644
3645         [2.0.0-1 release]
3646
3647         * NEWS:
3648         * configure.ac:
3649         * debian/changelog: Updating.
3650
3651 2008-01-09  Xan Lopez  <xan.lopez@nokia.com>
3652
3653         * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
3654
3655         Add outer_border style property, we use it but don't define it (!).
3656
3657         Fixes NB#75310
3658
3659 2007-12-21  Xan Lopez  <xan.lopez@nokia.com>
3660
3661         * examples/hildon-bread-crumb-trail-example.c (main):
3662
3663         Add clear button.
3664
3665         * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
3666
3667         Fix logic for the bread crumb trail node removal.
3668
3669         Fixes: NB#78616
3670
3671 2007-12-14  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3672
3673         [1.99.1-1 release]
3674
3675         * NEWS:
3676         * configure.ac:
3677         * debian/changelog: Updating.
3678
3679 2007-11-08  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3680
3681         Patch by Alejandro to get/set passwords dialogs accesibility.
3682
3683         * hildon-1/src/hildon-get-password-dialog.c:
3684         * hildon-1/src/hildon-set-password-dialog.c:
3685         Set atk_set_name to the passwd entries in order to allow
3686         accessibility by name on this entries.
3687
3688 2007-10-11  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3689
3690         [1.99.0-2 release]
3691
3692         * debian/changelog:
3693         * debian/control: Updating gtk dep.
3694
3695 2007-10-10  Mohammad Anwari  <Mohammad.Anwari@nokia.com>
3696
3697         * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
3698         USE_MAEMO_GTK is enabled.
3699
3700 2007-10-10  Xan Lopez  <xan.lopez@nokia.com>
3701
3702         * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
3703         MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
3704
3705 2007-10-10  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3706
3707         [1.99.0-1 release]
3708
3709         * NEWS:
3710         * configure.ac:
3711         * debian/changelog: Updating.
3712
3713 2007-10-10  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3714
3715         * examples/Makefile.am:
3716         * examples/hildon-logical-color-example.c:
3717         * src/hildon-helper.c: Fixing the way logical colors/fonts are being
3718         applied + adding a test case. Fixes: NB#71660.
3719
3720 2007-10-08  Xan Lopez  <xan.lopez@nokia.com>
3721
3722         * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
3723         to be visible, fixes warning on map for windows without toolbars.
3724
3725 2007-10-02  Xan Lopez  <xan.lopez@nokia.com>
3726
3727         * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
3728         2.11.0, add a check for that besides the MAEMO_GTK check.
3729
3730 2007-09-28  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3731
3732         [1.0.17-1 release]
3733
3734         * NEWS:
3735         * configure.ac:
3736         * debian/changelog: Updating.
3737
3738 2007-09-26  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3739
3740         * src/hildon-window.c: Applying patches by Xan to fix the toolbar
3741         visibility. Fixes: NB#70842 and MB#615.
3742
3743 2007-09-25  Xan Lopez  <xan.lopez@nokia.com>
3744
3745         * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
3746         set the separator as no-show-all so it doesn't unintentionally appear when
3747         someone does a show_all.
3748
3749 2007-09-25  Xan Lopez  <xan.lopez@nokia.com>
3750
3751         * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
3752         (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
3753         toplevel item. Fixes: NB#62031
3754
3755 2007-09-24  Xan Lopez  <xan.lopez@nokia.com>
3756
3757         * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
3758         fix the name of the function in the docs.
3759
3760 2007-09-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3761
3762         [1.0.16-1 release]
3763
3764         * NEWS:
3765         * configure.ac:
3766         * debian/changelog: Updating.
3767
3768 2007-09-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3769
3770         * examples/hildon-banner-long-example.c: Adding a test-case for long
3771         hildon banner.
3772
3773         * src/hildon-find-toolbar.c: Fixing the get_last_index function.
3774
3775 2007-09-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3776
3777         * src/hildon-color-chooser-dialog.c:
3778         * src/hildon-color-chooser.c:
3779         * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
3780         memory leaks in font selector and color selector. Fixes: NB#70499 and
3781         NB#70474.
3782
3783 2007-09-20  Johan Bilien  <johan.bilien@nokia.com>
3784
3785         * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
3786
3787 2007-09-18  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3788
3789         * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
3790         little bit bigger. Fixes: #NB63694.
3791
3792 2007-09-17  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3793
3794         [1.0.15-1 release]
3795
3796         * NEWS:
3797         * configure.ac:
3798         * debian/changelog: Updating.
3799
3800 2007-09-14  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3801
3802         * doc/Makefile.am:
3803         * doc/hildon-docs.sgml:
3804         * doc/images/bread-crumb-trail.png:
3805         * doc/images/calendar-popup.png:
3806         * doc/images/caption.png:
3807         * doc/images/code-dialog.png:
3808         * doc/images/color-button.png:
3809         * doc/images/color-chooser-dialog.png:
3810         * doc/images/color-chooser.png:
3811         * doc/images/controlbar.png:
3812         * doc/images/date-editor.png:
3813         * doc/images/font-selection-dialog.png:
3814         * doc/images/get-password-dialog.png:
3815         * doc/images/hvolumebar.png:
3816         * doc/images/login-dialog.png:
3817         * doc/images/note.png:
3818         * doc/images/number-editor.png:
3819         * doc/images/range-editor.png:
3820         * doc/images/seekbar.png:
3821         * doc/images/set-password-dialog.png:
3822         * doc/images/sort-dialog.png:
3823         * doc/images/time-editor.png:
3824         * doc/images/time-picker.png:
3825         * doc/images/vvolumebar.png:
3826         * doc/images/weekday-picker.png: Adding the new generated widget shots.
3827         Adding the bread-crumb-trial and helpers to the documentation.
3828
3829 2007-09-14  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3830
3831         * examples/hildon-find-toolbar-example.c:
3832         * src/hildon-find-toolbar.c:
3833         * src/hildon-find-toolbar.h: FIxing the default history-append handler to
3834         actually continue firing the other handlers if connected. Adding a new
3835         function:
3836         hildon_find_toolbar_get_last_index that gets the index of the most
3837         recently added (last) item. Fixes: NB#52301.
3838
3839 2007-09-10  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3840
3841         * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
3842         behaviour. Fixes: NB#68610.
3843
3844 2007-09-10  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3845
3846         * src/hildon-banner.c: Actually reverting the previous change. It somehow
3847         looks a bit worse.
3848
3849 2007-09-06  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3850
3851         * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
3852         when realizing the banner. Should make the infonbanner effect a bit more
3853         bearable.
3854
3855 2007-09-05  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3856
3857         * src/hildon-volumebar.c:
3858         * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
3859         hildon_volumebar_set_range_insensitive_message and
3860         hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
3861
3862 2007-09-05  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3863
3864         * src/hildon-window.c: Fixing the border freeing on destroy.
3865
3866 2007-09-05  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3867
3868         * src/hildon-code-dialog-private.h:
3869         * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
3870         kw keyboard support in HildonCodeDialog.
3871
3872 2007-08-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3873
3874         [1.0.14-1 release]
3875
3876         * NEWS:
3877         * configure.ac:
3878         * debian/changelog: Updating.
3879
3880 2007-08-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3881
3882         * src/hildon-date-editor.c:
3883         * src/hildon-number-editor.c:
3884         * src/hildon-private.c:
3885         * src/hildon-private.h:
3886         * src/hildon-time-editor.c:
3887         * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
3888         handling in subclassed composite widgets. Fixes: NB#66628.
3889
3890 2007-08-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3891
3892         * src/hildon-window.c: Removing extra gtk_main_iteration () processing
3893         from destroy_ callback as it introduces problems in async dbus signal
3894         handlers. Fixes NB#66673.
3895
3896 2007-08-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3897
3898         * examples/hildon-hvolumebar-example.c:
3899         * src/hildon-volumebar.c: Improving the focus handling in the
3900         volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
3901         set_property accessor so that "mute" property can be actually set. I'm
3902         scared that nobody noticed it's totally broken.
3903
3904 2007-08-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3905
3906         * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
3907         Fixes NB#66548.
3908
3909 2007-08-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3910
3911         * src/hildon-calendar.c:
3912         * src/hildon-number-editor.c:
3913         * src/hildon-time-picker.c: Changing the timeout repeat so that it
3914         matches the spec of 6 chars per second. Fixes: NB#60489.
3915
3916 2007-08-22  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3917
3918         * src/hildon-helper.c: Really fixing NB#58352. Looks like
3919         gtk_style_lookup_color sometime returns FALSE even though color was
3920         found and values were filled properly. Weird. Removing the warning for the
3921         time being.
3922
3923 2007-08-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3924
3925         * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
3926         expand vertically. Adding some extra space to the find toolbar buttons to
3927         make them thumbable. Fixes NB#66060.
3928
3929 2007-08-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3930
3931         * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
3932         popup with "Ok" and "Cancel". Fixes NB#59299.
3933
3934 2007-08-20  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3935
3936         * src/hildon-calendar.c: Process all window updates before executing next
3937         timeout. Fixes: NB#54146.
3938
3939 2007-08-17  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3940
3941         [1.0.13-1 release]
3942
3943         * NEWS:
3944         * configure.ac:
3945         * debian/changelog: Updating.
3946
3947 2007-08-16  Xan Lopez  <xan.lopez@nokia.com>
3948
3949         * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
3950         the client event and ignore it, since we use the delete event to close
3951         after timeouts.
3952
3953 2007-08-16  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3954
3955         * src/hildon-helper.c: Remove the bogus warning about color not being
3956         found. Fixes NB#58352.
3957
3958 2007-08-16  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3959
3960         * examples/Makefile.am:
3961         * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
3962         HildonSeekbar widget inside a toolbar.
3963
3964 2007-08-16  Xan Lopez  <xan.lopez@nokia.com>
3965
3966         * src/hildon-banner.c (hildon_banner_init): mark the banners as
3967         temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
3968         delete event that will come from _GTK_DELETE_TEMPORARIES, as we
3969         don't want to be closed by non-temporary windows on map.
3970
3971         Also use G_DEFINE_TYPE instead of manually typed code.
3972
3973 2007-08-06  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3974
3975         [1.0.12-1 release]
3976
3977         * NEWS:
3978         * configure.ac:
3979         * debian/changelog:
3980         * debian/rules: Updating.
3981
3982 2007-08-01  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3983
3984         * examples/Makefile.am:
3985         * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
3986         bug NB#61128. Strangely it works.
3987
3988 2007-08-01  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3989
3990         * src/hildon-date-editor.c: When the date editor entry has been changed
3991         but the numbers of characters < max, turn off the skip validation flag.
3992         Prevents a situation when we enter first a valid year and later re-write
3993         it with an invalid one. Fixes NB#60154.
3994
3995 2007-07-26  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3996
3997         * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
3998         code dialog. Fixes NB#64355.
3999
4000 2007-07-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4001
4002         * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
4003         switching the page. Fixes NB#49374.
4004
4005         * examples/Makefile.am:
4006         * examples/hildon-wizard-dialog-example.c: Adding an example for
4007         HildonWizardDialog that shows how to handle manual sensitivity setting on
4008         the wizard dialog.
4009
4010 2007-07-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4011
4012         * configure.ac:
4013         * src/Makefile.am:
4014         * src/hildon-version.h.in:
4015         * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
4016
4017 2007-07-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4018
4019         * src/hildon-volumebar.c: Updating the docs.
4020
4021 2007-07-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4022
4023         [1.0.11-1 release]
4024
4025         * NEWS:
4026         * configure.ac:
4027         * debian/changelog: Updating.
4028
4029 2007-07-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4030
4031         * src/hildon-find-toolbar.c:
4032         * src/hildon-find-toolbar.h: Adding a few new functions to control the
4033         selected item: hildon_find_toolbar_set_active,
4034         hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
4035         hildon_find_toolbar_get_active_iter . They correspond to respective
4036         GtkComboBox functions.
4037
4038         * examples/Makefile.am:
4039         * examples/hildon-find-toolbar-example.c: Adding the example to test the
4040         new functionality.
4041
4042 2007-07-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4043
4044         * examples/Makefile.am:
4045         * examples/hildon-seekbar-example.c: Adding the seekbar example to check
4046         theming easily.
4047
4048         * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
4049         when font size > 32 and we pack a focusable widget inside. Actually using
4050         the default response would work too, but since we don't show default
4051         response state in any way (no theming) it would not be visible to the
4052         user. Fixes NB#63430.
4053
4054 2007-07-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4055
4056         * src/hildon-date-editor.c: Adding the missing variable setter in the
4057         set_property handler. Fixes NB#54182.
4058
4059 2007-07-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4060
4061         * src/hildon-window.h: Changing the long key press time from 1500ms to
4062         800ms as requested in NB#63700. I have a bad feeling about this, let's
4063         see... Fixes NB#63700.
4064
4065 2007-07-12  Tommi Komulainen  <tommi.komulainen@nokia.com>
4066
4067         * src/hildon-time-picker.c (hildon_time_picker_class_init,
4068         hildon_time_picker_map, hildon_time_picker_realize,
4069         hildon_time_picker_style_set): Split the contents of map to more
4070         appropriate functions; set window decorations on realize and update
4071         arrows' size requisitions on style-set. Avoids unnecessary resizing.
4072
4073 2007-07-02  Xan Lopez <xan.lopez@nokia.com>
4074
4075         [1.0.10-2 release]
4076
4077         * NEWS:
4078         * debian/changelog: Updating.
4079
4080 2007-07-02  Johan Bilien  <johan.bilien@nokia.com>
4081
4082         * src/Makefile.am: fixed installation of the header files
4083
4084 2007-06-29  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4085
4086         [1.0.10-1 release]
4087
4088         * NEWS:
4089         * configure.ac:
4090         * debian/changelog: Updating.
4091
4092 2007-06-27  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4093
4094         * configure.ac: Removing some remaining of --enable-xan.
4095
4096 2007-06-26  Xan Lopez  <xan.lopez@nokia.com>
4097
4098         * src/hildon-date-editor.c: (hildon_date_editor_keypress):
4099         * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
4100
4101         Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
4102         2.10.12-osso6 because the move-focus signal needs to be available in
4103         GtkWidget.
4104
4105 2007-06-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4106
4107         * examples/Makefile.am:
4108         * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
4109         that makes a HildonVolumebar insensitive before mapping it. Seems to work
4110         fine. Prolly NB#61128 is fixed now.
4111
4112 2007-06-19  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4113
4114         * src/hildon-volumebar.c:
4115         * src/hildon-volumebar.h: Adding the
4116         hildon_volumebar_set_range_insensitive_message and
4117         hildon_volumebar_set_range_insensitive_messagef functions to set
4118         insensitive message on the slider of the volumebar. Fixes NB#61129.
4119
4120         * examples/Makefile.am:
4121         * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
4122         test the new insensitive messsage functionality on HildonVolumebar.
4123
4124 2007-06-14  Xan Lopez  <xan.lopez@nokia.com>
4125
4126         * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
4127         work again.
4128
4129 2007-06-13  Xan Lopez  <xan.lopez@nokia.com>
4130
4131         * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
4132         http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
4133         button on after clearing the trail.
4134
4135 2007-06-13  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4136
4137         * src/hildon-code-dialog.c: Removing the separator from the dialog.
4138
4139 2007-06-12  Xan Lopez  <xan.lopez@nokia.com>
4140
4141         * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
4142         by splitting the installed headers in generated and non-generated groups. Use
4143         only the non-generated headers to create the hildon-enum-types.h file.
4144
4145         * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
4146
4147 2007-06-12  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4148
4149         * src/hildon-window.c: Hide the window before performing the destroy.
4150         Should make the app closing a little tiny bit more snappy.
4151
4152 2007-06-12  Xan Lopez  <xan.lopez@nokia.com>
4153
4154         * src/hildon-seekbar.c: add gtkrange.h header
4155         * src/hildon-caption.c: remove unused variable
4156
4157 2007-06-08  Tommi Komulainen  <tommi.komulainen@nokia.com>
4158
4159         * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
4160         Loic Minier.
4161
4162 2007-06-07  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4163
4164         [1.0.9-1 release]
4165
4166         * NEWS:
4167         * configure.ac:
4168         * debian/changelog: Updating.
4169
4170 2007-06-07  Tommi Komulainen  <tommi.komulainen@nokia.com>
4171
4172         * src/hildon-window.c (hildon_window_window_state_event,
4173         hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
4174         escape timeout on focus-out-event rather than notify::is-topmost; the
4175         latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
4176
4177 2007-06-07  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4178
4179         * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
4180         correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
4181
4182 2007-06-07  Xan Lopez  <xan.lopez@nokia.com>
4183
4184         * src/hildon-window: actually, you need to use the macro always, there's
4185         no private pointer in the instance structure. We should have cleaned this up
4186         when we had the chance...
4187
4188 2007-06-07  Xan Lopez  <xan.lopez@nokia.com>
4189
4190         * src/hildon-window.c: do not get the private date from HildonWindow before
4191         it passes the g_return_if_fail check. Once it's passed the test, there's no
4192         need to g_assert that it exists. Do not create a HildonWindowPrivate variable
4193         if you are only going to access the data once. Whitespace cleanups.
4194
4195 2007-06-04  Xan Lopez  <xan.lopez@nokia.com>
4196
4197         * src/hildon-bread-crumb-trail.c: set children visible before allocation.
4198         * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
4199
4200 2007-06-01  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4201
4202         [1.0.8-1 release]
4203
4204         * NEWS:
4205         * configure.ac:
4206         * debian/changelog: Updating.
4207
4208 2007-06-01  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4209
4210         * src/hildon-window.c: When destroying the window, remove (if exists) the
4211         escape timeout handler. Fixes #NB59276.
4212
4213 2007-06-01  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4214
4215         * src/hildon-banner.c: When realizing the widget, set the window
4216         transiency. Setting the transiency in the gobject constructor is not
4217         good, as the widget is not realized at that point. Fixes: #NB56624.
4218
4219 2007-05-30  Xan Lopez  <xan.lopez@nokia.com>
4220
4221         * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
4222         Add padding for future expansions.
4223
4224 2007-05-30  Xan Lopez  <xan.lopez@nokia.com>
4225
4226         * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
4227         Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
4228         will fake an activation on the previous to the last item of the trail, so
4229         the effect can be overrided by the developer as usual.
4230         Also change the callback for the back button to do the same thing, so its
4231         effect can be overrided too. Fixes: NB#58982
4232
4233 2007-05-30  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4234
4235         * src/hildon-caption.c: Implementing the proper focus grabbing in the
4236         HildonCaption. Fixes NB#52379.
4237
4238 2007-05-30  Xan Lopez  <xan.lopez@nokia.com>
4239
4240         * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
4241         the internal state of the trail after the user has had the chance of executing
4242         his handler for the signal. Specifically, it may happen that the activated button
4243         is removed and the user still lets the default handler run. This would segfault
4244         previously.
4245
4246 2007-05-28  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4247
4248         * src/hildon-font-selection-dialog.c: When the font is really big, add the
4249         scrollbar to the preview dialog. Fixes NB#54147.
4250
4251 2007-05-28  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4252
4253         * src/hildon-date-editor.c: Changing the default max year to 2037. The
4254         max/min year properties can be altered, so the client can modify it
4255         anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
4256
4257 2007-05-28  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4258
4259         * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
4260         hildonlike by default. Fixing a problem with disappearing arrows when
4261         scrolling through months and years. Fixes NB#54127.
4262
4263 2007-05-28  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4264
4265         * examples/hildon-date-editor-example.c: Adding error callback to the date
4266         editor example.
4267
4268 2007-05-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4269
4270         [1.0.7-1 release]
4271
4272         * NEWS:
4273         * debian/changelog:
4274         * configure.ac: Updating.
4275
4276 2007-05-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4277
4278         * configure.ac: Adding a special '--enable-xan' configure option that
4279         turns off the -Werror compilation setting. Usefull for development.
4280
4281         * src/hildon-calendar.c:
4282         * src/hildon-number-editor.c:
4283         * src/hildon-time-picker.c: Adding the 5* multiplier to
4284         gtk-timeout-update.
4285
4286 2007-05-24  Xan Lopez  <xan.lopez@nokia.com>
4287
4288         * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
4289         instead of g_object_ref + gtk_object_sink.
4290
4291 2007-05-22  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4292
4293         [1.0.6-1 release]
4294
4295         * NEWS:
4296         * configure.ac:
4297         * debian/changelog: Updating.
4298
4299 2007-05-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4300
4301         * src/hildon-color-chooser-dialog.c:
4302         * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
4303         straight from Tommi labs.
4304
4305 2007-05-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4306
4307         * examples/hildon-finger-example.c: Correcting the header file path.
4308
4309         * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
4310         the changed signal. Fixes a small memory leak.
4311
4312 2007-05-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4313
4314         * autogen.sh:
4315         * debian/rules:
4316         * src/hildon-banner.c: Importing several usefull fixes from the
4317         ubuntu-mobile branch.
4318
4319 2007-05-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4320
4321         * examples/Makefile.am:
4322         * examples/hildon-finger-example.c: Adding a finger-checking code
4323         example.
4324
4325         * src/hildon-font-selection-dialog.c: Do not allocate the color
4326         structure using the g_new. Fixes NB#54061.
4327
4328 2007-05-09  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4329
4330         * src/hildon-helper.c: Correcting tabs in file.
4331
4332 2007-05-08  Xan Lopez  <xan.lopez@nokia.com>
4333
4334         * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
4335         control the visibility of the children.
4336
4337         * examples/hildon-bread-crumb-trail-example.c: Plug leak.
4338
4339 2007-05-07  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4340
4341         [1.0.5-1 release]
4342
4343         * NEWS:
4344         * configure.ac:
4345         * debian/changelog: Updating.
4346
4347 2007-05-04  Xan Lopez  <xan.lopez@nokia.com>
4348
4349         * src/hildon-bread-crumb-trail.c:
4350         (hildon_bread_crumb_trail_size_allocate):
4351
4352         Make the back button always a square.
4353
4354 2007-05-04  Xan Lopez  <xan.lopez@nokia.com>
4355
4356         * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
4357         from the .c file as it's a private file.
4358
4359 2007-05-03  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4360
4361         * examples/hildon-vvolumebar-example.c: The VVolumebar example now
4362         uses slightly bigger height.
4363
4364         * src/hildon-font-selection-dialog.c: Adding some checks before
4365         freeing memory in the font selection dialog.
4366
4367 2007-05-02  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4368
4369         * src/hildon-font-selection-dialog.c: Adding a small check when
4370         freeing memory.
4371
4372         * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
4373         buttons sensitivity on page switching.
4374
4375 2007-04-27  Xan Lopez  <xan.lopez@nokia.com>
4376
4377         * src/hildon-bread-crumb-trail.c: make the add method handle all the
4378         internal details of adding a bread crumb to the trail.
4379
4380 2007-04-26  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4381
4382         [1.0.4-1 release]
4383
4384         * README:
4385         * configure.ac:
4386         * debian/changelog: Updating.
4387
4388         * src/hildon-bread-crumb-trail.h:
4389         * src/hildon-bread-crumb.h: Changing the API guard to
4390         HILDON_ENABLE_UNSTABLE_API.
4391
4392 2007-04-26  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4393
4394         [1.0.3-1 release]
4395
4396         * NEWS:
4397         * configure.ac:
4398         * debian/changelog:
4399         * debian/rules:
4400         * src/hildon-helper.h: Updating.
4401
4402 2007-04-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4403
4404         [1.0.2-1 release]
4405
4406         * NEWS:
4407         * configure.ac:
4408         * debian/changelog:
4409
4410 2007-04-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4411
4412         * README:
4413         * configure.ac:
4414         * src/hildon-helper.h: Small fix to make the package actually compile.
4415
4416 2007-04-25  Xan Lopez  <xan.lopez@nokia.com>
4417
4418         * src/hildon-bread-crumb-trail.h:
4419         * src/hildon-bread-crumb.h:
4420
4421         Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
4422         to define ENABLE_UNSTABLE_API in the code that includes these headers.
4423
4424 2007-04-25  Xan Lopez  <xan.lopez@nokia.com>
4425
4426         * examples/hildon-bread-crumb-trail-example.c:
4427         * src/Makefile.am:
4428         * src/hildon-bread-crumb-trail.c:
4429         * src/hildon-bread-crumb-trail.h:
4430         * src/hildon-bread-crumb.c:
4431         * src/hildon-bread-crumb.h:
4432         * src/hildon-marshalers.list:
4433         * src/hildon-bread-crumb-widget.c:
4434         * src/hildon-bread-crumb-widget.h:
4435
4436         Slight change in the widget design. The bread crumb trail API is
4437         unchanged, but HildonBreadCrumb is now an interface. A *private*
4438         implementation, hildon-bread-crumb-widget, is provided and used
4439         internally by the trail for the push_text/push_icon functions.
4440
4441         The generic push API is still available, so anyone can implement
4442         and use its own bread crumb widget.
4443
4444 2007-04-19  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4445
4446         * debian/rules: Fixing the shlibs.
4447
4448 2007-04-19  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4449
4450         * src/hildon-banner.c: Fixing a problem with timed banners having
4451         their parrent destroyed before they are.
4452
4453 2007-04-17  Xan Lopez  <xan.lopez@nokia.com>
4454
4455         * src/hildon-bread-crumb.c:
4456         * src/hildon-bread-crumb.h:
4457
4458         Make the get_natural_size function a vfunc.
4459
4460 2007-04-16  Xan Lopez  <xan.lopez@nokia.com>
4461
4462         * src/hildon-bread-crumb.c:
4463         * src/hildon-bread-crumb-trail.c:
4464
4465         Some cleanups.
4466
4467 2007-04-16  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4468
4469         [1.0.1-1 release]
4470
4471         * AUTHORS:
4472         * NEWS:
4473         * configure.ac:
4474         * debian/changelog: Updating for release.
4475
4476 2007-04-16  Xan Lopez  <xan.lopez@nokia.com>
4477
4478         * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
4479         don't leak the pango layout.
4480
4481 2007-04-16  Xan Lopez  <xan.lopez@nokia.com>
4482
4483         * src/hildon.h:
4484         * examples/hildon-bread-crumb-trail-example.c:
4485
4486         Fix example.
4487
4488 2007-04-16  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4489
4490         * debian/changelog: Removing the bug-fixed entries that were actually
4491         resolved as WONTFIX.
4492
4493         * src/hildon-date-editor.c: Removing a redundant check. Fixes
4494         NB#54182.
4495
4496 2007-04-13  Xan Lopez  <xan.lopez@nokia.com>
4497
4498         * src/hildon-bread-crumb-trail.c:
4499         * src/hildon-bread-crumb-trail.h:
4500         * src/hildon-bread-crumb.c:
4501         * src/hildon-bread-crumb.h:
4502
4503         Untabify.
4504
4505 2007-04-13  Xan Lopez  <xan.lopez@nokia.com>
4506
4507         * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
4508         until it's passed the type check.
4509
4510 2007-04-12  Xan Lopez  <xan.lopez@nokia.com>
4511
4512         * examples/hildon-bread-crumb-trail-example.c
4513
4514         Add license.
4515
4516 2007-04-12  Xan Lopez  <xan.lopez@nokia.com>
4517
4518         * examples/Makefile.am
4519         * examples/hildon-bread-crumb-trail-example.c
4520         * src/Makefile.am
4521         * src/hildon-bread-crumb-trail.c
4522         * src/hildon-bread-crumb-trail.h
4523         * src/hildon-bread-crumb.c
4524         * src/hildon-bread-crumb.h
4525
4526         New HildonBreadCrumbTrail widget.
4527
4528 2007-04-02  Lucas Rocha  <lucas.rocha@nokia.com>
4529
4530         * src/hildon-range-editor.c (hildon_range_editor_init),
4531         src/hildon-seekbar.c (hildon_seekbar_get_fraction,
4532         hildon_seekbar_set_fraction, hildon_seekbar_set_position),
4533         src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
4534         hildon_time_editor_class_init, hildon_time_editor_init),
4535         src/hildon-get-password-dialog.c (invalid_input,
4536         hildon_get_password_set_property, hildon_get_password_get_property,
4537         create_contents, hildon_get_password_dialog_set_max_characters),
4538         src/hildon-set-password-dialog.c (create_contents),
4539         src/hildon-date-editor.c (hildon_date_editor_init),
4540         src/hildon-login-dialog.c (hildon_login_dialog_init),
4541         src/hildon-number-editor.c (hildon_number_editor_init),
4542         src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
4543         hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
4544         the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
4545          configure option and adding the respective checks in the code.
4546         * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
4547         hildon_calendar_drag_data_received): fixed some build warnings.
4548
4549 2007-03-29  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4550
4551         * debian/changelog: A 1.0.0 release notes.
4552