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