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