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