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