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