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