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