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