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