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