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