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