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