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