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