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