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