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