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