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