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