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