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