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