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