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