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