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