Correct the color drag in HildonColorChooser
[hildon] / ChangeLog
1 2009-06-24  Claudio Saavedra  <csaavedra@igalia.com>
2
3         * hildon/hildon-color-chooser.c
4         (hildon_color_chooser_pointer_motion): Take the widget allocation
5         into account.
6
7         Fixes: NB#124385 (Unable to select exact point in color mixing box
8         in color palette dialog)
9
10 2009-06-23  Alejandro G. Castro  <alex@igalia.com>
11
12         * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init)
13         (hildon_pannable_area_dispose)
14         (hildon_pannable_area_button_press_cb)
15         (hildon_pannable_area_timeout, hildon_pannable_area_check_move)
16         (hildon_pannable_area_button_release_cb)
17         (hildon_pannable_area_scroll_cb, hildon_pannable_area_jump_to):
18         New 'panning-started' and 'panning-finished' signals.
19
20         Fixes: NB#121732 (New feature request: Signal to pannable area
21         that informs when panning is stopped.)
22
23 2009-06-23  Mox Soini  <ext-mox.soini@nokia.com>
24
25         * hildon/hildon-wizard-dialog.c: (create_title): Use separator
26         instead of hardcoded colon.
27
28         Fixes: NB#124090 (New calendar wizard title is not using
29         ecdg_ti_caption_separator)
30
31 2009-06-22  David King  <davidk@openismus.com>
32
33         * hildon/hildon-find-toolbar.c: Add Gtk-Doc markup for types,
34         constants and functions, as well as correct many typos throughout the
35         documentation text.
36
37         Fixes: MB#4700 (HildonFindToolbar documentation lacks Gtk-Doc markup,
38         and needs cleanup)
39
40 2009-06-22  Claudio Saavedra  <csaavedra@igalia.com>
41
42         * configure.ac: postrelease version bump.
43         * debian/changelog: post release version bump
44
45 2009-06-22  Claudio Saavedra  <csaavedra@igalia.com>
46
47         [Release 2.1.84]
48
49         * NEWS: Updates.
50         * configure.ac: Bump version.
51         * debian/changelog: Updates.
52
53 2009-06-18  Alberto Garcia  <agarcia@igalia.com>
54
55         * hildon/hildon-window-stack.c
56         (hildon_window_stack_pop_and_push_list):
57         Prevent windows from having the same stack index
58
59 2009-06-18  Alberto Garcia  <agarcia@igalia.com>
60
61         * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
62         Use the index of the previous window rather than the stack length
63         to calculate the new index.
64
65         Fixes: NB#122389
66
67 2009-06-18  Alejandro Pinheiro <apinheiro@igalia.com>
68
69         * hildon/hildon-date-selector.c
70         (hildon_date_selector_select_current_date)
71         (hildon_date_selector_get_date)
72         (hildon_date_selector_select_day):
73         Update the documentation: uses always the range (1-31), as it is obvious
74         that the final one will depend on the month and the year, but globally
75         the range is this, in a similar GtkCalendar approach
76         (hildon_date_selector_get_date):
77         Update the documentation: add NULL as a valid value for the day, month
78         and year locations
79
80         Fix some details, after talk with David King on bug MB#4698
81
82 2009-06-18  Alejandro Pinheiro <apinheiro@igalia.com>
83
84         * hildon/hildon-touch-selector-entry.c
85         * hildon/hildon-touch-selector.c
86         Update the documentation of the "text-column" property
87
88 2009-06-18  David King  <davidk@openismus.com>
89
90         * hildon/hildon-note.c: Add Gtk-Doc markup where appropriate. Correct
91         several typos and errors throughout the documentation.
92
93         Fixes: MB#4701 (HildonNote documentation lacks some Gtk-Doc markup and
94         has some mistakes)
95
96 2009-06-18  Alberto Garcia  <agarcia@igalia.com>
97
98         * hildon/hildon-note.c (hildon_note_realize):
99         Make HildonNote support portrait mode.
100
101         Fixes: NB#123448 (HildonNote is not portrait-friendly)
102
103 2009-06-17  Alberto Garcia  <agarcia@igalia.com>
104
105         * hildon/hildon-color-chooser.c (hildon_color_chooser_new):
106         Document this function
107
108 2009-06-17  David King  <davidk@openismus.com>
109
110         * hildon/hildon-date-selector.c
111         (hildon_date_selector_select_current_date)
112         (hildon_date_selector_get_date): Update documentation regarding days,
113         as the day of the month is dependent on both the month and the year.
114         (hildon_date_selector_get_date): Fix documentation of output arguments.
115
116         Fixes: MB#4698 (DateSelector documentation has bad output argument
117         description, and the day depends on both the month and the year)
118
119 2009-06-17  Claudio Saavedra  <csaavedra@igalia.com>
120
121         * hildon/hildon-caption.c: Other documentation fixes to
122         HildonCaption.
123
124 2009-06-17  David King  <davidk@openismus.com>
125
126         * hildon/hildon-caption.c: Minor documentation updates for
127         HildonCaption. Fixes MB#4697.
128
129 2009-06-17  Claudio Saavedra  <csaavedra@igalia.com>
130
131         * doc/hildon-docs.sgml: Add hildon-version section.
132         * doc/hildon-sections.txt:
133         * hildon/hildon-version.h.in: Document versioning macros and
134         add HILDON_VERSION.
135
136 2009-06-17  Claudio Saavedra  <csaavedra@igalia.com>
137
138         * doc/hildon-sections.txt: Remove HILDON_DISABLE_DEPRECATED
139         from HildonPickerDialog section.
140
141 2009-06-16  Alberto Garcia  <agarcia@igalia.com>
142
143         * hildon/hildon-banner.c (hildon_banner_bind_style)
144         (screen_size_changed, hildon_banner_init)
145         (hildon_banner_real_show_information)
146         (hildon_banner_show_information_with_markup)
147         (hildon_banner_show_animation, hildon_banner_show_progress):
148         Set a different widget name to banners in portrait mode, for them
149         to be themed correctly.
150
151 2009-06-16  Alberto Garcia  <agarcia@igalia.com>
152
153         * hildon/hildon-note.c (hildon_note_rename, screen_size_changed):
154         Set a different widget name to notes in portrait mode, for them to
155         be themed correctly.
156
157         Partially fixes: NB#118401 (HildonNote causes unnecessary
158         rescaling of images)
159
160 2009-06-16  Alberto Garcia  <agarcia@igalia.com>
161
162         * hildon/hildon-note.c (hildon_note_class_init)
163         (+hildon_note_size_request, screen_size_changed):
164         Always request the full width of the screen.
165
166         Fixes: NB#118375 (unnecessary rescaling of images)
167
168 2009-06-16  Alejandro G. Castro  <alex@igalia.com>
169
170         * hildon/hildon-pannable-area.c,
171         (hildon_pannable_area_init),
172         (hildon_pannable_area_realize): Replaced old code adding flags in
173         the object init, now we add it with the other flags in the realize
174         method.
175
176 2009-06-16  Claudio Saavedra  <csaavedra@igalia.com>
177
178         * hildon/hildon-note.c: (hildon_note_class_init): Several
179         documentation improvements to the HildonNote widget.
180
181 2009-06-16  Claudio Saavedra  <csaavedra@igalia.com>
182
183         * hildon/hildon-note.h: Document the HildonNoteType enumeration.
184
185         Fixes: MB#4556 (HildonNoteType is undocumented)
186
187 2009-06-15  Alberto Garcia  <agarcia@igalia.com>
188
189         * hildon/hildon-picker-button.c:
190         Explain how HildonPickerButton sets the title of its dialog
191
192         Fixes: MB#4528 (HildonPickerButton docs should mention how to set
193         the title of its dialog)
194
195 2009-06-15  Alberto Garcia  <agarcia@igalia.com>
196
197         * hildon/hildon-check-button.c:
198         Documentation updates
199
200         Fixes: MB#4598 (HildonCheckButton documentation doesn't say why it
201         exists)
202
203 2009-06-15  Alberto Garcia  <agarcia@igalia.com>
204
205         * hildon/Makefile.am
206         * hildon/hildon-edit-toolbar-private.h
207         * hildon/hildon-edit-toolbar.c
208         (+hildon_edit_toolbar_set_progress_indicator)
209         (hildon_edit_toolbar_init): Add progress indicator to the
210         toolbar.
211
212         * hildon/hildon-gtk.c
213         (hildon_gtk_window_set_progress_indicator):
214         If the window contains a HildonEditToolbar, enable the progress
215         indicator there too.
216
217         * hildon/hildon-private.h
218         * hildon/hildon-private.c
219         (+hildon_private_create_animation)
220         * hildon/hildon-banner.c
221         (-hildon_banner_create_animation):
222         Moved to hildon-private.c
223
224         Fixes: NB#102373 (Progress indicator also for the Edit mode
225         toolbar)
226
227 2009-06-15  Alberto Garcia  <agarcia@igalia.com>
228
229         * hildon/hildon-app-menu-private.h
230         * hildon/hildon-app-menu.c (hildon_app_menu_insert)
231         (hildon_app_menu_add_filter, +menu_item_button_event)
232         (hildon_app_menu_button_release, hildon_app_menu_init):
233         Make sure that buttons receive 'button-release-event' in spite of
234         the grab held by HildonAppMenu
235
236         Fixes: NB#108337 (Focus mismatch in items of AppMenu)
237
238 2009-06-15  Alberto Garcia  <agarcia@igalia.com>
239
240         * hildon/hildon-app-menu.c
241         (hildon_app_menu_apply_style, hildon_app_menu_class_init):
242         New style property to set the size of the group of filter buttons.
243
244         Fixes: NB#122033 (Filter buttons in view menus incorrectly sized)
245
246 2009-06-15  Claudio Saavedra  <csaavedra@igalia.com>
247
248         [Release 2.1.82]
249
250         * NEWS: Updates.
251         * configure.ac: Bump version.
252         * debian/changelog: Updates.
253
254 2009-06-13  Claudio Saavedra  <csaavedra@igalia.com>
255
256         * hildon/hildon-main.c: Minor documentation fixes.
257
258 2009-06-13  Claudio Saavedra  <csaavedra@igalia.com>
259
260         * doc/hildon-sections.txt:
261         * hildon/hildon-defines.h: Document the defines, organize them,
262         and mark deprecations as such.
263
264         Fixes: MB#4463 (Hildon size #defines are undocumented)
265
266 2009-06-13  Claudio Saavedra  <csaavedra@igalia.com>
267
268         * hildon/hildon-animation-actor.c:
269         * hildon/hildon-app-menu.c:
270         * hildon/hildon-button.c:
271         * hildon/hildon-date-editor.c:
272         * hildon/hildon-dialog.c:
273         * hildon/hildon-edit-toolbar.c:
274         * hildon/hildon-entry.c:
275         * hildon/hildon-program.c:
276         * hildon/hildon-remote-texture.c:
277         * hildon/hildon-stackable-window.c:
278         * hildon/hildon-text-view.c:
279         * hildon/hildon-touch-selector.c:
280         * hildon/hildon-window-stack.c:
281         * hildon/hildon-window.c:
282
283         Remove redundant "represents" wording from most of the documentation.
284
285         Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)
286
287 2009-06-12  Alberto Garcia  <agarcia@igalia.com>
288
289         * po/POTFILES.in
290         * doc/Makefile.am
291         * hildon/Makefile.am
292         * hildon/hildon-banner-private.h
293         * hildon/hildon-banner.c:
294         Move HildonBannerPrivate to hildon-banner.c and remove
295         hildon-banner-private.h
296         Use a bit field to store private booleans.
297
298 2009-06-12  Alberto Garcia  <agarcia@igalia.com>
299
300         * hildon/hildon-app-menu.c (hildon_app_menu_map):
301         Don't install a new idle function if there's already one
302         installed.
303
304         Fixes: NB#122254
305
306 2009-06-11  Alberto Garcia  <agarcia@igalia.com>
307
308         * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
309         (+legacy_menu_realized, +legacy_menu_unmapped)
310         (+set_legacy_menu_type):
311         Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
312         they can be identified by the window manager.
313
314         Fixes: NB#101437 (Invoking CSM on the left side of page area is
315         displayed in wrong location)
316
317         Fixes: MB#4563 (Popup menu won't locate at the left side of the
318         screen)
319
320 2009-06-11  Alberto Garcia  <agarcia@igalia.com>
321
322         Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
323
324         Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
325         use gtk-doc support)
326
327 2009-06-11  Alberto Garcia  <agarcia@igalia.com>
328
329         * hildon/hildon-code-dialog.c
330         * hildon/hildon-date-editor.c
331         * hildon/hildon-number-editor.c
332         * hildon/hildon-seekbar.c
333         * hildon/hildon-stackable-window.c
334         * hildon/hildon-window.c:
335         Misc documentation updates
336
337 2009-06-10  Claudio Saavedra  <csaavedra@igalia.com>
338
339         * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
340         a G_PARAM_CONSTRUCT property, to allow the default size to be set.
341
342         Fixes: NB#117931 (Theming issues in accounts dialogs)
343
344 2009-06-09  Alejandro G. Castro  <alex@igalia.com>
345
346         * hildon/hildon-pannable-area.c,
347         (hildon_pannable_area_button_release_cb): Changed the coordinates
348         of the original release in case we want to discard the release,
349         some widgets in Fremantle do not handle the leave-notify.
350
351 2009-06-09  Alejandro G. Castro  <alex@igalia.com>
352
353         * hildon/hildon-pannable-area.c,
354         (hildon_pannable_area_button_release_cb): Reviewed the logic of
355         the release using the last refactored functions and avoiding the
356         movement if an element was selected.
357
358 2009-06-09  Alejandro G. Castro  <alex@igalia.com>
359
360         * hildon/hildon-pannable-area.c,
361         (hildon_pannable_area_check_move),
362         (hildon_pannable_area_handle_move),
363         (hildon_pannable_area_motion_notify_cb): Refactored the
364         motion_notify method using a couple of new functions.
365
366 2009-06-09  Claudio Saavedra  <csaavedra@igalia.com>
367
368         * hildon/hildon-date-selector.c:
369         (hildon_date_selector_construct_ui):
370         * hildon/hildon-time-selector.c:
371         (hildon_time_selector_constructor):
372         * hildon/hildon-touch-selector-entry.c:
373         (hildon_touch_selector_entry_set_text_column),
374         (hildon_touch_selector_entry_get_text_column):
375         * hildon/hildon-touch-selector.c: (_default_print_func),
376         (hildon_touch_selector_new_text): Use
377         hildon_touch_selector_set/get_text_column() instead of
378         setting/getting the "text-column" property.
379
380 2009-06-09  Claudio Saavedra  <csaavedra@igalia.com>
381
382         * doc/hildon-sections.txt: Add the new public methods below.
383
384         * examples/hildon-picker-button-multicolumn-example.c:
385         (create_touch_selector):
386         * examples/hildon-touch-selector-example.c: (create_selector):
387         * examples/hildon-touch-selector-multi-cells-example.c:
388         (create_selector):
389         Use hildon_touch_selector_column_set_text_column()
390
391         * hildon/hildon-touch-selector-column.h:
392         * hildon/hildon-touch-selector.c:
393         (hildon_touch_selector_column_set_text_column),
394         (hildon_touch_selector_column_get_text_column):
395         Make hildon_touch_selector_column_set/get_column() public, use
396         them in the inline example, document them, and reference to them
397         in the docs.
398
399 2009-06-09  Claudio Saavedra  <csaavedra@igalia.com>
400
401         * hildon/hildon-time-selector.c: Fix the docs for
402         hildon_time_selector_new_step().
403
404 2009-06-09  Claudio Saavedra  <csaavedra@igalia.com>
405
406         * hildon/hildon-touch-selector.c: Improve the documentation for
407         hildon_touch_selector_append_column().
408
409         Fixes MB#4641 (Documentation:
410         hildon_touch_selector_append_column() ref-counting)
411
412 2009-06-08  Claudio Saavedra  <csaavedra@igalia.com>
413
414         * tests/check-hildon-controlbar.c: (test_set_range_invalid):
415         Comment out test 5, since the hildon_controlbar_set_range() range
416         check is broken and fixing it would have side effects. Also,
417         this finally fixes make distcheck.
418
419         Fixes: NB#101420 (Update unit tests and fix make distcheck)
420
421 2009-06-18  Claudio Saavedra  <csaavedra@igalia.com>
422
423         * tests/TEST-CASES.txt: Remove other bogus test.
424         * tests/check-hildon-controlbar.c: (test_set_value_invalid):
425         Remove bogus test that was setting/retrieving a valid value.
426
427 2009-06-08  Claudio Saavedra  <csaavedra@igalia.com>
428
429         * tests/TEST-CASES.txt: Remove bogus tests.
430         * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
431         Remove three bogus tests that were actually setting valid colors.
432
433 2009-06-08  Claudio Saavedra  <csaavedra@igalia.com>
434
435         * configure.ac: post release version bump
436         * debian/changelog: post release version bump
437
438 2009-06-08  Claudio Saavedra  <csaavedra@igalia.com>
439
440         [Release 2.1.80]
441
442         * NEWS: Updates.
443         * configure.ac: Bump version.
444         * debian/changelog: Updates.
445
446 2009-06-08  Christian Dywan  <christian@lanedo.com>
447
448         * debian/changelog:
449         * debian/control:
450         * hildon/hildon-helper.c (hildon_format_file_size_for_display):
451         Correct errors in hildon_format_file-size_for_display and use
452         translations from the hildon-fm package instead of osso-filemanager.
453
454 2009-06-08  Alejandro G. Castro  <alex@igalia.com>
455
456         * hildon/hildon-pannable-area.c,
457         (hildon_pannable_area_init): Initialized new values to handle the
458         adjustment position.
459         (hildon_pannable_area_adjust_value_changed): Check if the values
460         changed before even call the redraw function.
461         (hildon_pannable_area_size_allocate),
462         (hildon_pannable_axis_scroll),
463         (hildon_pannable_area_scroll),
464         (hildon_pannable_area_jump_to): Improved the diagonal movement
465         case.
466
467         Fixes: NB#113065 (Image viewer image scrolling updates in X, then
468         Y)
469
470 2009-06-08  Alberto Garcia  <agarcia@igalia.com>
471
472         * examples/hildon-banner-example.c:
473         Several style updates
474         (on_animation_clicked, on_animation_idle)
475         (on_progress_clicked, on_progress_idle):
476         Add additional reference for the cases when the parent window is
477         destroyed.
478
479 2009-06-08  Alberto Garcia  <agarcia@igalia.com>
480
481         * doc/hildon-sections.txt
482         * hildon/hildon-pannable-area.c
483         * hildon/hildon-banner.h
484         * hildon/hildon-banner.c: Documentation updates.
485
486         Fixes: MB#4643 (Documentation: hildon_banner_show_information()
487         memory management)
488
489 2009-06-05  Alejandro G. Castro  <alex@igalia.com>
490
491         * hildon/hildon-calendar-popup.h:
492         * hildon/hildon-caption.h:
493         * hildon/hildon-code-dialog.h:
494         * hildon/hildon-controlbar.h:
495         * hildon/hildon-date-editor.h:
496         * hildon/hildon-dialog.h:
497         * hildon/hildon-get-password-dialog.h:
498         * hildon/hildon-hvolumebar.h:
499         * hildon/hildon-login-dialog.h:
500         * hildon/hildon-note.h:
501         * hildon/hildon-number-editor.h:
502         * hildon/hildon-range-editor.h:
503         * hildon/hildon-seekbar.h:
504         * hildon/hildon-set-password-dialog.h:
505         * hildon/hildon-sort-dialog.h:
506         * hildon/hildon-time-editor.h:
507         * hildon/hildon-time-picker.h:
508         * hildon/hildon-volumebar-range.h:
509         * hildon/hildon-volumebar.h:
510         * hildon/hildon-vvolumebar.h:
511         * hildon/hildon-weekday-picker.h:
512         * hildon/hildon-window.h:
513         * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
514         macros with the current replacements
515
516         Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
517
518 2009-06-04  Claudio Saavedra  <csaavedra@igalia.com>
519
520         * hildon/hildon-color-button.c (hildon_color_button_init): Use
521         HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
522         itself, to make it fit better with Fremantle style.
523
524         Fixes: NB#109878 (height and width of focus on color icon is not
525         consistent with other item in the application tool bar)
526
527 2009-06-02  Alejandro Pinheiro  <apinheiro@igalia.com>
528
529         * hildon/hildon-touch-selector.c:
530         (hildon_touch_selector_optimal_size_request): use the current requisition
531         as the base, in order to include any possible extra widget, like the
532         hildon entry on HildonTouchSelectorEntry
533
534         Fixes: NB#119805 (Merge conflict picker dialogs are too small)
535
536 2009-05-29  Claudio Saavedra  <csaavedra@igalia.com>
537
538         * configure.ac: post release version bump
539         * debian/changelog: post release version bump
540
541 2009-05-29  Claudio Saavedra  <csaavedra@igalia.com>
542
543         [Release 2.1.78]
544
545         * NEWS: Updates.
546         * configure.ac: Bump version.
547         * debian/changelog: Updates.
548
549 2009-05-29  Claudio Saavedra  <csaavedra@igalia.com>
550
551         * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
552         structure.
553         * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
554         to ensure the banner contents are centered, instead of relying on
555         the expand and fill properties in GtkHBox.
556         (hildon_banner_ensure_child): Do not expand nor fill the child widget.
557
558         Fixes: NB#108265 (Animation banner not properly centered)
559
560 2009-05-28  Alejandro Pinheiro <apinheiro@igalia.com>
561
562         * hildon/hildon-pannable-area.c
563         (hildon_pannable_area_initial_effect): Remove the initial_effect
564         management, check initial_hint
565         (hildon_pannable_are_expose_event): Remove the initial_hint management,
566         set initial_effect to FALSE
567         (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
568         by launching the fade_timeout if the scrollbars state has changed and are
569         visible
570         * examples/hildon-pannable-area-initial-hint-example.c
571         Modified to allow to remove rows too. Add and remove rows one by one.
572
573 2009-05-28  Alberto Garcia  <agarcia@igalia.com>
574
575         * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
576         Don't close the menu if there's an animation actor below it.
577
578         Fixes: NB#117927 (Application menu not usable with animation
579         actors)
580
581 2009-05-27  Claudio Saavedra  <csaavedra@igalia.com>
582
583         * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
584         "focus-on-click" from the dialog button, to avoid stealing the
585         focus from the entry.
586
587         Fixes: NB#118903 (Account setup wizard: Text in Search field
588         should be focused when "Region" touch list picker is reopened
589         again)
590
591 2009-05-27  Claudio Saavedra  <csaavedra@igalia.com>
592
593         * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
594         (prepare_action_area): Completely hide the dialog separator.
595
596 2009-05-27  Claudio Saavedra  <csaavedra@igalia.com>
597
598         * hildon/hildon-touch-selector-entry.c
599         (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
600         (hildon_touch_selector_entry_changed): Use HildonEntry text API,
601         now that the entry is exposed.
602
603 2009-05-27  Claudio Saavedra  <csaavedra@igalia.com>
604
605         * hildon/hildon-touch-selector-entry.c
606         (hildon_touch_selector_entry_init): Change the entry's size
607         to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
608
609 2009-05-27  Claudio Saavedra  <csaavedra@igalia.com>
610
611         * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
612         height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
613         avoid unnecessary scaling.
614
615 2009-05-27  Alberto Garcia  <agarcia@igalia.com>
616
617         * hildon/hildon-app-menu.c (hildon_app_menu_map):
618         Create grab transfer window before calling parent's map function.
619
620         Fixes: NB#115988 (hildon_app_menu_popup creates menu with
621         "crushed" button(s) in the top left corner)
622
623 2009-05-26  Alberto Garcia  <agarcia@igalia.com>
624
625         * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
626         Check if the window is already realized when pushing it.
627
628 2009-05-25  Claudio Saavedra  <csaavedra@igalia.com>
629
630         * configure.ac: post release version bump
631         * debian/changelog: post release version bump
632
633 2009-05-25  Claudio Saavedra  <csaavedra@igalia.com>
634
635         [Release 2.1.76]
636
637         * NEWS: Updates.
638         * configure.ac: Bump version.
639         * debian/changelog: Updates.
640
641 2009-05-25  Alberto Garcia  <agarcia@igalia.com>
642
643         * hildon/hildon-app-menu.c: Doc updates.
644
645 2009-05-25  Claudio Saavedra  <csaavedra@igalia.com>
646
647         * hildon/hildon-banner.c: Remove leftover macro.
648
649 2009-05-25  Alejandro G. Castro  <alex@igalia.com>
650
651         * hildon/hildon-pannable-area.c,
652         (hildon_pannable_area_scroll_indicator_fade),
653         (hildon_pannable_area_button_release_cb): Reviewed vmin
654         conditions, it could cause problems in the fadeout procedure.
655
656 2009-05-25  Alejandro G. Castro  <alex@igalia.com>
657
658         * hildon/hildon-pannable-area.c
659         (hildon_pannable_area_button_release_cb): Added a threshold to
660         push the animation if the speed is big (MAX_SPEED_THRESHOLD).
661
662 2009-05-25  Alejandro G. Castro  <alex@igalia.com>
663
664         * hildon/hildon-pannable-area.c,
665         (hildon_pannable_area_set_property): Added code to sync the gtk
666         dnd threshold with the panning threshold.
667
668 2009-05-25  Alejandro G. Castro  <alex@igalia.com>
669
670         * hildon/hildon-pannable-area.c,
671         (hildon_pannable_area_class_init): Changed some of the default
672         values, now it should be less responsive and more accurate.
673
674 2009-05-25  Alejandro G. Castro  <alex@igalia.com>
675
676         * hildon/hildon-pannable-area.c,
677         (hildon_pannable_area_init),
678         (hildon_pannable_area_scroll_indicator_fade),
679         (hildon_pannable_area_button_press_cb),
680         (hildon_pannable_axis_scroll),
681         (hildon_pannable_area_timeout),
682         (hildon_pannable_area_motion_notify_cb),
683         (hildon_pannable_area_button_release_cb): Changed the name of the
684         clicked attribute to button_pressed, it is more clear about its use.
685
686 2009-05-25  Alejandro Pinheiro <apinheiro@igalia.com>
687
688         * src/hildon-pannable-area.c
689         (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
690         to 0
691         (hildon_pannable_area_initial_effect): avoid to compute horizontal and
692         vertical scrollbar visibility, and use the data on private section instead,
693         remove the initial_hint check
694         (hildon_pannable_area_expose_event): add the initial_hint check here
695
696 2009-05-25  Alejandro Pinheiro <apinheiro@igalia.com>
697
698         * src/hildon-pannable-area.c
699         (hildon_pannable_area_initial_effect): set to FALSE initial_effect
700         if the fadeout effect was used
701         (hildon_pannable_area_expose_event): check if it is required to
702         manage the initial effect on the begining of the function. Previously
703         it was made at the end, but this doesn't ensure that the scrollbars
704         will be painted on the first show. Do not set to FALSE initial_effect,
705         to ensure that the initial hint is showed the first time the pannable
706         becomes scrollable.
707         * examples/Makefile.am
708         * examples/hildon-pannable-area-initial-hint-example.c:
709         New example, to show that the initial-hint is showed when the widget
710         becomes scrollable
711
712         Fixes: NB#116607 (Pannable area should always have scrollbar visible
713         initially if the application can be scrolled)
714
715 2009-05-25  Alberto Garcia  <agarcia@igalia.com>
716
717         * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
718         Resize table before adding new items to make sure that
719         gtk_table_resize() is called just once.
720
721 2009-05-25  Alberto Garcia  <agarcia@igalia.com>
722
723         * hildon/hildon-app-menu-private.h
724         * hildon/hildon-app-menu.c (item_visibility_changed)
725         (filter_visibility_changed, hildon_app_menu_show_all)
726         (hildon_app_menu_hide_all, hildon_app_menu_init):
727         Rearrange items just once when gtk_widget_show_all()/hide_all()
728         are used.
729
730 2009-05-25  Alberto Garcia  <agarcia@igalia.com>
731
732         * hildon/hildon-app-menu.c
733         (hildon_app_menu_insert, hildon_app_menu_add_filter):
734         Don't call gtk_widget_show() on added items.
735
736         Fixes: NB#109063 (HildonAppMenu shouldn't show its items
737         automatically when they're added)
738
739 2009-05-20  Alberto Garcia  <agarcia@igalia.com>
740
741         * hildon/hildon-banner.c
742         (hildon_banner_realize, +hildon_banner_unrealize)
743         (+screen_size_changed, hildon_banner_class_init):
744         Redisplay the banner if the screen is rotated.
745
746         Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
747         on transition from landscape to portrait)
748
749 2009-05-20  Alejandro Pinheiro  <apinheiro@igalia.com>
750
751         * hildon/hildon-banner.[ch]:
752         (hildon_banner_show_information_override_dnd): remove icon_name from the
753         method definition as it is ignored.
754         * examples/hildon-banner-dnd-example.c: updated with the change on
755         hildon-banner.h API
756
757 2009-05-20  Alejandro Pinheiro  <apinheiro@igalia.com>
758
759         * hildon/hildon-banner-private.h: new require_override_dnd and
760         overrides_dnd variables
761         * hildon/hildon-banner.h:
762         (hildon_banner_show_information_override_dnd): new method, that shows
763         the information but sets the override flag, in order to show important
764         messages
765         * hildon/hildon-banner.c
766         (hildon_banner_show_information_override_dnd): new method
767         (hildon_banner_set_override_flag): new utility function
768         (hildon_banner_real_show_information): new utility function, in order to
769         generalize the current hildon_banner_show_information_override_dnd and
770         hildon_banner_show_information_override_dnd
771         * examples/Makefile.am
772         * examples/hildon-banner-dnd-example.c: New example that show how to
773         use the new hildon_banner_show_information_override_dnd
774
775         Fixes: NB#114874 (There is no possibility to show hildon banners with
776         DND flag set)
777
778 2009-05-20  Claudio Saavedra  <csaavedra@igalia.com>
779
780         * hildon/hildon-pannable-area.c: Add a comment explaining the math
781         behind hildon_pannable_calculate_vel_factor().
782
783 2009-05-20  Claudio Saavedra  <csaavedra@igalia.com>
784
785         * hildon/hildon-pannable-area.c
786         (hildon_pannable_calculate_vel_factor): Correct the sum of the
787         deceleration factors.
788
789 2009-05-20  Claudio Saavedra  <csaavedra@igalia.com>
790
791         * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
792         Reduce the default value for 'scroll_time' to 1 second, since the
793         current initial scrolling takes too much time.
794
795 2009-05-20  Claudio Saavedra  <csaavedra@igalia.com>
796
797         * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
798         calculate velocity factor during initialization, since the properties
799         are not yet set.
800
801 2009-05-20  Claudio Saavedra  <csaavedra@igalia.com>
802
803         * hildon/hildon-pannable-area.c
804         (hildon_pannable_area_set_property): Calculate the velocity factor
805         after setting the deceleration property and not after.
806
807 2009-05-20  Alberto Garcia  <agarcia@igalia.com>
808
809         * hildon/hildon-entry.c
810         (hildon_entry_class_init, +set_property, hildon_entry_new)
811         * hildon/hildon-check-button.c
812         (hildon_check_button_class_init)
813         (+set_property, hildon_check_button_new):
814         Make the theme size a property.
815
816         Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
817         others) do too much in the _new function)
818
819 2009-05-18  Claudio Saavedra  <csaavedra@igalia.com>
820
821         * configure.ac: post release version bump
822         * debian/changelog: post release version bump
823
824 2009-05-18  Claudio Saavedra  <csaavedra@igalia.com>
825
826         [Release 2.1.74]
827
828         * NEWS: Updates.
829         * configure.ac: Bump version.
830         * debian/changelog: Updates.
831
832 2009-05-15  Alberto Garcia  <agarcia@igalia.com>
833
834         * hildon/hildon-gtk.h
835         * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
836         New API function to take a screenshot of a window
837
838         Fixes: NB#106374 (Need API to take a loading screenshot)
839
840 2009-05-15  Alejandro Pinheiro  <apinheiro@igalia.com>
841
842         * hildon/hildon-time-selector.c
843         (update_format_policy): prevent to use hours and minutes unitialized
844
845 2009-05-15  Alberto Garcia  <agarcia@igalia.com>
846
847         * hildon/hildon-window.c (hildon_window_size_request):
848         Always request the full size of the screen (minus the title bar if
849         not in fullscreen mode).
850
851         Fixes: NB#107486 (HildonWindow should size itself properly)
852
853 2009-05-14  Claudio Saavedra  <csaavedra@igalia.com>
854
855         * hildon/hildon-note-private.h: Add idle_handler to the private data.
856         * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
857         (on_show_cb), (sound_handling): Disconnect the idle handler for
858         the sound when the note is finalized to avoid possible crashes.
859
860         Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
861         in a scenario)
862
863 2009-05-13  Artem Egorkine  <ext-artem.egorkine@nokia.com>
864
865         * src/hildon-animation-actor.c,
866         * src/hildon-remote-texture.c:
867         Added proper object cleanup to remove signal handler and object
868         references as HildonAnimationActor and HildonRemoteTexture
869         objects get destroyed.
870
871         Fixes: NB#116682 (Destroying parented animation actors when
872         parent in unmapped leads to crash)
873
874 2009-05-13  Claudio Saavedra  <csaavedra@igalia.com>
875
876         Based on a patch by Christian Dywan (christian@imendio.com)
877
878         * doc/hildon-sections.txt:
879         * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
880         * hildon/hildon-helper.h: New file size formatting method.
881         * debian/changelog:
882         * debian/control: Depend on osso-filemanager l10n package for
883         proper localization strings.
884
885 2009-05-13  Claudio Saavedra  <csaavedra@igalia.com>
886
887         * tests/Makefile.am: Include top_srcdir to make possible to build
888         tests in a different builddir.
889         * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
890         on a different builddir.
891
892 2009-05-12  Claudio Saavedra  <csaavedra@igalia.com>
893
894         * hildon/hildon-touch-selector.c (disconnect_model_handlers),
895         (hildon_touch_selector_remove): Disconnect model's signal handler
896         on column removal.
897
898         Fixes: NB#116289 (Hildon home crashes while adding task
899         shortcuts.)
900
901 2009-05-11  Alberto Garcia  <agarcia@igalia.com>
902
903         * hildon/hildon-button.c
904         (hildon_button_set_title, hildon_button_set_value):
905         Hide labels containing an empty string.
906
907 2009-05-11  Claudio Saavedra  <csaavedra@igalia.com>
908
909         * configure.ac: post release version bump
910         * debian/changelog: post release version bump
911
912 2009-05-11  Claudio Saavedra  <csaavedra@igalia.com>
913
914         [Release 2.1.72]
915
916         * NEWS: Updates.
917         * configure.ac: Bump version.
918         * debian/changelog: Updates.
919
920 2009-05-08  Alejandro Pinheiro <apinheiro@igalia.com>
921
922         * hildon/hildon-note-private.h: Removed sound_signal_handler
923         * hildon/hildon-note.c
924         (on_show_cb): new callback on note "show" event, this simply adds
925         a idle, with the function sound_handling
926         (sound_handling): removed the sound_signal_handler management
927         (hildon_note_init): connect note "show" event to on_show_cb
928         (hildon_note_realize): remove the connection to "expose-event"
929
930         Fixes: NB#115242 (Sound is not played every time for the 'Switch off
931         device?' confirmation note)
932
933 2009-05-08  Alberto Garcia  <agarcia@igalia.com>
934
935         * hildon/hildon-note.c
936         (hildon_note_new_information_with_icon_name)
937         (hildon_note_new_confirmation_with_icon_name):
938         Terminate the list of parameters in g_object_set() calls
939
940         Fixes: NB#115166 (Formatting memory card is not taking place)
941
942 2009-05-08  Claudio Saavedra  <csaavedra@igalia.com>
943
944         * hildon/hildon-sound.c (hildon_play_system_sound): Set the
945         "dialog-information" role for the sound being played.
946
947 2009-05-06  Alberto Garcia  <agarcia@igalia.com>
948
949         * hildon/hildon-app-menu.c (hildon_app_menu_init):
950         Don't make the menu a modal window, it causes strange interactions
951         with the pointer grab and it's not really needed.
952
953         Fixes: NB#105529 (Empty App menu is launched in a scenario.)
954
955 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
956
957         * hildon/hildon-touch-selector.[ch]
958         (hildon_touch_selector_optimal_size_request): function added to get a
959         optimal size request from the touch selector, when you want a dialog to
960         show as much of the selector
961         * hildon/hildon-picker-dialog.c:
962         Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
963         (hildon_app_menu_class_init):
964         New "max-height-landscape" and "max-height-portrait" style properties
965         (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
966         (hildon_picker_dialog_get_max_height): returns the maximum height using
967         the style properties defined and checking the current portrait/landscape
968         status
969         (_hildon_picker_dialog_set_selector): removed the set_size_request
970
971         Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
972
973 2009-05-06  Claudio Saavedra  <csaavedra@igalia.com>
974
975         * hildon/hildon-bread-crumb-trail.c:
976         * hildon/hildon-bread-crumb.c:
977         * hildon/hildon-seekbar.c:
978         Add reference to replacements for these deprecated widgets.
979
980         Fixes: MB#4461 (Documentation: All deprecations should mention
981         replacements)
982
983 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
984
985         * examples/hildon-remote-texture-example.c
986
987         Change the include to the hildon-remote-texture in order to compile
988         properly the examples on the installed libhildon1-examples package
989
990 2009-05-05  Claudio Saavedra  <csaavedra@igalia.com>
991
992         * tests/Makefile.am: Add check for HildonPickerButton.
993         * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
994         (START_TEST), (create_hildon_picker_button_suite): Add three simple
995         checks for the HildonPickerButton.
996         * tests/check_test.c (configure_tests): Add the test suite.
997         * tests/test_suites.h: likewise.
998
999 2009-05-05  Claudio Saavedra  <csaavedra@igalia.com>
1000
1001         * hildon/hildon-touch-selector.c
1002         (+on_row_changed): Emit HildonTouchSelector:changed when the
1003         contents of a selected row change.
1004         (_create_new_column), (_hildon_touch_selector_set_model): connect
1005         to GtkTreeModel:row-changed on a newly set model.
1006
1007         Fixes: NB#114253 (HildonPickerButton not refreshing its value)
1008
1009 2009-05-05  Alberto Garcia  <agarcia@igalia.com>
1010
1011         Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1012
1013         * hildon/hildon-banner.c (hildon_banner_destroy)
1014         (hildon_banner_show_progress, hildon_banner_set_fraction):
1015         Remove the progress bar from HildonBanner and use a progress
1016         indicator instead.
1017
1018         Fixes: NB#113761 (Update progress banner to use progress
1019         indicator)
1020
1021 2009-05-04  Alberto Garcia  <agarcia@igalia.com>
1022
1023         * hildon/hildon-banner.c:
1024         Calculate size of the banner label using the actual screen width
1025         rather than using a fixed value.
1026
1027         Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
1028         is truncated)
1029
1030 2009-05-04  Alejandro G. Castro  <alex@igalia.com>
1031
1032         * hildon/hildon-pannable-area.c,
1033         (hildon_pannable_area_class_init): Fixed signals documentation
1034         typo.
1035
1036 2009-05-04  Claudio Saavedra  <csaavedra@igalia.com>
1037
1038         * configure.ac: post release version bump
1039         * debian/changelog: post release version bump
1040
1041 2009-05-04  Claudio Saavedra  <csaavedra@igalia.com>
1042
1043         [Release 2.1.70]
1044
1045         * NEWS: Updates.
1046         * configure.ac: Bump version.
1047         * debian/changelog: Updates.
1048
1049 2009-05-01  Alberto Garcia  <agarcia@igalia.com>
1050
1051         * hildon/hildon-edit-toolbar.c
1052         (hildon_edit_toolbar_init):
1053         Don't let buttons in HildonEditToolbar receive focus.
1054
1055         Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
1056         typing on an HW arrows key)
1057
1058 2009-04-30  Claudio Saavedra  <csaavedra@igalia.com>
1059
1060         * doc/Makefile.am: Fix build.
1061
1062 2009-04-30  Claudio Saavedra  <csaavedra@igalia.com>
1063
1064         * doc/Makefile.am: Do not redefine content_files.
1065
1066 2009-04-30  Alberto Garcia  <agarcia@igalia.com>
1067
1068         * src/
1069         * Makefile.am
1070         * configure.ac
1071         * doc/Makefile.am
1072         * doc/hildon.types
1073         * po/POTFILES.in:
1074         Renamed src/ to hildon/
1075
1076         * examples/*.c
1077         * debian/changelog
1078         * debian/rules:
1079         Include <hildon/hildon.h> directly in all examples.
1080
1081 2009-04-29  Alejandro Pinheiro  <apinheiro@igalia.com>
1082
1083         * src/hildon-sort-dialog.c
1084         (hildon_sort_dialog_add_sort_key_with_sorting)
1085         (sort_key_changed)
1086         Add safety checks
1087
1088 2009-04-29  Claudio Saavedra  <csaavedra@igalia.com>
1089
1090         * src/Makefile.am: Move generated sources to CLEANFILES, so that
1091         make distcheck passes.
1092
1093 2009-04-29  Claudio Saavedra  <csaavedra@igalia.com>
1094
1095         * Makefile.am: Enable gtk-doc during distcheck.
1096
1097 2009-04-29  Claudio Saavedra  <csaavedra@igalia.com>
1098
1099         * Makefile.am: Do not distribute the debian/ directory.
1100
1101 2009-04-29  Claudio Saavedra  <csaavedra@igalia.com>
1102
1103         * doc/Makefile.am: Add the extra SGML files to content_files,
1104         so that they are distributed properly.
1105
1106 2009-04-29  Claudio Saavedra  <csaavedra@igalia.com>
1107
1108         * tests/Makefile.am: Add missing test_suites.h and check_utils.h
1109         to the SOURCES.
1110
1111 2009-04-29  Claudio Saavedra  <csaavedra@igalia.com>
1112
1113         * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
1114         (hildon_note_new_information_with_icon_name): Set the "icon" property
1115         to preserve soundness.
1116
1117 2009-04-29  Claudio Saavedra  <csaavedra@igalia.com>
1118
1119         * src/hildon-font-selection-dialog.c
1120         (hildon_font_selection_dialog_set_property): Fail when the "family"
1121         property is set to NULL.
1122
1123 2009-04-28  Claudio Saavedra  <csaavedra@igalia.com>
1124
1125         * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
1126         safety checks.
1127
1128 2009-04-28  Alejandro Pinheiro  <apinheiro@igalia.com>
1129
1130         * src/hildon-time-selector.h:
1131         Added HildonTimeSelectorFormatPolicy
1132         * src/hildon-time-selector.c:
1133         Added PROP_TIME_FORMAT_POLICY
1134         (_check_ampm_format): renamed to check_automatic_ampm_format
1135         (update_format_policy), (update_format_dependant_columns): new functions
1136         (hildon_time_selector_class_init)
1137         (hildon_time_selector_contructor)
1138         (hildon_time_selector_init)
1139         (hildon_time_selector_get_property)
1140         (hildon_time_selector_set_property)
1141         (hildon_time_selector_get_time)
1142         (hildon_time_selector_set_time)
1143         * src/hildon-touch-selector.h: new file
1144         * src/hildon-touch-selector.c
1145         (hildon_touch_selector_emit_changed)
1146         (hildon_touch_selector_block_changed)
1147         (hildon_touch_selector_unblock_changed)
1148         Added functions to allow to block the emission of the "changed" signal
1149         * src/hildon-picker-dialog.c
1150         (hildon_picker_dialog_show): call the parent show before the custom code
1151         * examples/hildon-time-button-example.c
1152         Modified, so now you can configure the time format using the new property
1153
1154         Added a new property "time-format-policy" that allow to choose the time
1155         format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
1156         case it uses gconf in order to check if the time selector must use
1157         AM/PM or 24H.
1158
1159         Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
1160         mode)
1161
1162 2009-04-28  Alberto Garcia  <agarcia@igalia.com>
1163
1164         * src/hildon-note.c (hildon_note_init):
1165         Label in HildonNote must be left aligned, not centered. This
1166         reverts the last commit in HildonNote.
1167
1168         Fixes: NB#112933 (text is not left aligned in confirmation dialog
1169         is connectivity dialog)
1170
1171 2009-04-27  Alberto Garcia  <agarcia@igalia.com>
1172
1173         * src/hildon-gtk.c:
1174         Minor style fixes
1175
1176         * doc/hildon-sections.txt:
1177         Added hildon_gtk_window_set_do_not_disturb()
1178
1179 2009-04-27  Alberto Garcia  <agarcia@igalia.com>
1180
1181         * src/hildon-note.c (hildon_note_init): Center label.
1182
1183         Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1184         properly)
1185
1186 2009-04-27  Claudio Saavedra  <csaavedra@igalia.com>
1187
1188         [Release 2.1.68]
1189
1190         * NEWS: Updates.
1191         * configure.ac: Bump version.
1192         * debian/changelog: Updates.
1193
1194 2009-04-24  Claudio Saavedra  <csaavedra@igalia.com>
1195
1196         * src/hildon-note-private.h: Add button-width to the private data.
1197         * src/hildon-note.c (+resize_button),
1198         (+hildon_note_orientation_update): methods to repack widgets on orientation
1199         changes.
1200         (screen_size_changed): Call above method for confirmation notes.
1201         (hildon_note_realize): Always connect to the "screen-size" changed signal.
1202         (hildon_note_rebuild): Store the original width request from buttons.
1203
1204         Fixes: NB#109635 (Confirmation notes do not support portrait)
1205
1206 2009-04-24  Claudio Saavedra  <csaavedra@igalia.com>
1207
1208         * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
1209         when it is a progress note.
1210
1211 2009-04-24  Claudio Saavedra  <csaavedra@igalia.com>
1212
1213         * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
1214         in the note, since there are no horizontally arranged contents.
1215
1216 2009-04-24  Claudio Saavedra  <csaavedra@igalia.com>
1217
1218         * src/hildon-gtk.c (+set_flag): new generic method to
1219         set/delay a flag setting in a window.
1220         (hildon_gtk_window_set_progress_indicator):
1221         (hildon_gtk_window_set_do_not_disturb),
1222         (hildon_gtk_window_set_portrait_flags): use set_flag() to
1223         avoid code redundance.
1224
1225 2009-04-24  Claudio Saavedra  <csaavedra@igalia.com>
1226
1227         Based on a patch by Alberto Garcia (agarcia@igalia.com)
1228
1229         * src/hildon-gtk.c (set_clear_window_flag),
1230         (do_set_progress_indicator), (do_set_do_not_disturb),
1231         (do_set_portrait_flags),
1232         (hildon_gtk_window_set_progress_indicator),
1233         (hildon_gtk_window_set_do_not_disturb),
1234         (hildon_gtk_window_set_portrait_flags):
1235         Allow setting dnd-flag, progress indicator, and portrait flags
1236         when the window is not realized.
1237
1238 2009-04-24  Alejandro G. Castro  <alex@igalia.com>
1239
1240         * src/hildon-pannable-area.c,
1241         * src/hildon-pannable-area.h: Add the hildon deprecated define to
1242         the size request policy function and defines.
1243
1244 2009-04-23  Claudio Saavedra  <csaavedra@igalia.com>
1245
1246         * doc/hildon-sections.txt: Add the new API.
1247         * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
1248         method to set the portrait flags.
1249         * src/hildon-gtk.h: Add HildonPortraitFlags enum.
1250
1251         Fixes: NB#112328 (Adding helpers for setting portrait properties)
1252
1253 2009-04-23  Claudio Saavedra  <csaavedra@igalia.com>
1254
1255         * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
1256         to allow using this method with other flags.
1257         (hildon_gtk_window_set_progress_indicator): Update accordingly.
1258         (hildon_gtk_window_set_do_not_disturb): Update accordingly.
1259
1260 2009-04-22  Alberto Garcia  <agarcia@igalia.com>
1261
1262         * src/hildon-touch-selector.c
1263         (hildon_touch_selector_append_text_column):
1264         Make the cell renderer use the smallest width possible.
1265
1266         Fixes: NB#108470 (Selected items in multiple selection are either
1267         having a tick that is cut or not visible at all.)
1268
1269 2009-04-22  Alberto Garcia  <agarcia@igalia.com>
1270
1271         * src/hildon-touch-selector.c
1272         (hildon_touch_selector_append_text_column):
1273         Code cleanups
1274
1275 2009-04-22  Claudio Saavedra  <csaavedra@igalia.com>
1276
1277         * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
1278         Use g_strdup_printf() instead of a fixed size buffer.
1279
1280 2009-04-21  Alberto Garcia  <agarcia@igalia.com>
1281
1282         * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
1283         Close banners when a HildonAppMenu is popped up.
1284
1285         Fixes: NB#111027 (Title menu closed immediately if activated when
1286         "Invalid e-mail address" banner is shown)
1287
1288 2009-04-21  Claudio Saavedra  <csaavedra@igalia.com>
1289
1290         [Release 2.1.66]
1291
1292         * NEWS: Updates.
1293         * configure.ac: Bump version.
1294         * debian/changelog: Updates.
1295
1296 2009-04-20  Alberto Garcia  <agarcia@igalia.com>
1297
1298         * src/hildon-banner.c (hildon_banner_realize):
1299         Mark HildonBanner as supporting portrait mode.
1300         Use GDK to set window properties insetad of direct Xlib calls.
1301
1302         Fixes: NB#111830 (HildonBanner should be marked as supporting
1303         portrait)
1304
1305 2009-04-20  Alberto Garcia  <agarcia@igalia.com>
1306
1307         * src/hildon-note.c (hildon_note_rebuild):
1308         Hide action area in information notes. Prevents text from being
1309         slightly aligned to the left.
1310
1311         Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1312         properly)
1313
1314 2009-04-20  Alberto Garcia  <agarcia@igalia.com>
1315
1316         Patch by Mox Soini (ext-mox.soini@nokia.com)
1317
1318         * src/hildon-banner.c (hildon_banner_create_animation):
1319         Use stylus-sized icons in animation banner.
1320
1321         Fixes: NB#111206 (stylus sized icon for animation banner)
1322
1323 2009-04-20  Alberto Garcia  <agarcia@igalia.com>
1324
1325         * src/hildon-gtk.h
1326         * src/hildon-gtk.c
1327         (+hildon_gtk_window_set_do_not_disturb):
1328         New API to set the do-not-disturb flag.
1329
1330         Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
1331
1332 2009-04-20  Alberto Garcia  <agarcia@igalia.com>
1333
1334         * examples/hildon-progress-indicator-example.c: Fix example
1335
1336         * src/hildon-gtk.c (set_clear_window_flag)
1337         (hildon_gtk_window_set_progress_indicator):
1338         Create a generic function for setting flags to a window.
1339         Use GDK instead of direct Xlib calls.
1340
1341 2009-04-14  Alberto Garcia  <agarcia@igalia.com>
1342
1343         * src/hildon-button.c (hildon_button_set_arrangement):
1344         Due to NB#88126, if one of the labels is too long it will be
1345         painted outside the button. The 'value' label is more likely to be
1346         the longest one, so we change its packing options in order to
1347         truncate it if necessary. As a side effect, the 'title' label will
1348         no longer be truncated.
1349
1350         Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
1351
1352 2009-04-14  Claudio Saavedra  <csaavedra@igalia.com>
1353
1354         [Release 2.1.64]
1355
1356         * NEWS: Updates.
1357         * configure.ac: Bump version.
1358         * debian/changelog: Updates.
1359
1360 2009-04-13  Alejandro G. Castro  <alex@igalia.com>
1361
1362         Deprecation of the hildon_pannable_area_set_size_request_policy
1363         API, the only policy properly supported in gtk+ nowadays is the
1364         minimum size.
1365
1366         * src/hildon-pannable-area.c,
1367         (hildon_pannable_area_size_request): Added a workaround for the
1368         size_request to avoid the problems of huge pixmaps in case someone
1369         is still using the function.
1370         * src/hildon-pannable-area.h: Deprecated the enum with the
1371         policies.
1372
1373         Fixes: NB#110244 (Problems with the
1374         hildon_pannable_area_set_size_request_policy API)
1375
1376 2009-04-08  Alejandro G. Castro  <alex@igalia.com>
1377
1378         * src/hildon-pannable-area.c,
1379         (hildon_pannable_area_init),
1380         (hildon_pannable_area_size_request),
1381         (hildon_pannable_area_style_set),
1382         (hildon_pannable_draw_vscroll),
1383         (hildon_pannable_draw_hscroll),
1384         (hildon_pannable_area_check_scrollbars): Replaced area_width with
1385         indicator_width to clarify the use of the attribute.
1386
1387 2009-04-08  Claudio Saavedra  <csaavedra@igalia.com>
1388
1389         [Release 2.1.62]
1390
1391         * NEWS: Updates.
1392         * configure.ac: Bump version.
1393         * debian/changelog: Updates.
1394
1395 2009-04-07  Alejandro Pinheiro <apinheiro@igalia.com>
1396
1397         * src/hildon-picker-dialog.c
1398         * src/hildon-touch-selector.c
1399         Reverting the change that tried to avoid the hardcoded height on
1400         the picker dialog, as causes problems on the hildon-touch-selector
1401         initial-hint
1402
1403         Fixes: NB#110029 (selectors not scrolling to selected value)
1404
1405 2009-04-07  Alberto Garcia  <agarcia@igalia.com>
1406
1407         * src/hildon-touch-selector.c: Fix typos
1408
1409 2009-04-07  Claudio Saavedra  <csaavedra@igalia.com>
1410
1411         * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
1412         Use the event coordinates instead of gdk_window_get_pointer(). Also,
1413         request more motions after using it.
1414
1415 2009-04-07  Claudio Saavedra  <csaavedra@igalia.com>
1416
1417         * src/hildon-calendar.c (hildon_calendar_expose),
1418         (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
1419         Remove unused variables.
1420
1421 2009-04-07  Claudio Saavedra  <csaavedra@igalia.com>
1422
1423         * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
1424         variable assignment.
1425
1426 2009-04-07  Claudio Saavedra  <csaavedra@igalia.com>
1427
1428         * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
1429         Check the return value of gtk_tree_selection_get_selected()
1430         for safety.
1431
1432 2009-04-06  Alberto Garcia  <agarcia@igalia.com>
1433
1434         * src/hildon-animation-actor.c
1435         * src/hildon-button.c
1436         * src/hildon-main.c
1437         * src/hildon-pannable-area.c
1438         * src/hildon-picker-button.c
1439         * src/hildon-program.c
1440         * src/hildon-remote-texture.c
1441         * src/hildon-text-view.c
1442         * src/hildon-touch-selector.c
1443         * src/hildon-window-stack.c
1444         * src/hildon-window.c:
1445         Add missing 'Since: 2.2' tags.
1446
1447         * doc/hildon-sections.txt:
1448         Add some missing symbols.
1449
1450         * doc/hildon-docs.sgml:
1451         New 'Other' section for HildonAnimationActor and
1452         HildonRemoteTexture
1453
1454 2009-04-06  Alberto Garcia  <agarcia@igalia.com>
1455
1456         Patch by Iván Gómez (igomez@igalia.com)
1457
1458         * doc/building.sgml
1459         * doc/compiling.sgml
1460         * doc/hildon-docs.sgml
1461         * doc/hildon-sections.txt
1462         * doc/migration.sgml
1463         * doc/resources.sgml
1464         * doc/running.sgml:
1465         New chapters on using the Hildon library.
1466         Updated the general structure of the reference manual.
1467         Other minor documentation fixes.
1468
1469         * src/hildon-calendar-popup.c
1470         * src/hildon-calendar.c
1471         * src/hildon-controlbar.c
1472         * src/hildon-date-editor.c
1473         * src/hildon-dialog.c
1474         * src/hildon-hvolumebar.c
1475         * src/hildon-number-editor.c
1476         * src/hildon-range-editor.c
1477         * src/hildon-sort-dialog.c
1478         * src/hildon-time-editor.c
1479         * src/hildon-time-picker.c
1480         * src/hildon-volumebar-range.c
1481         * src/hildon-volumebar.c
1482         * src/hildon-vvolumebar.c
1483         * src/hildon-weekday-picker.c:
1484         Add deprecation notes
1485
1486         * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1487         Document 'horizontal-movement' and 'vertical-movement' signals.
1488
1489 2009-04-06  Claudio Saavedra  <csaavedra@igalia.com>
1490
1491         [Release 2.1.60]
1492
1493         * NEWS: Updates.
1494         * configure.ac: Bump version.
1495         * debian/changelog: Updates.
1496
1497 2009-04-06  Alejandro G. Castro  <alex@igalia.com>
1498
1499         * src/hildon-pannable-area.c,
1500         (hildon_pannable_area_class_init): increased the minimum velocity.
1501         (hildon_pannable_area_button_release_cb): Updated the
1502         CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
1503         setup. Review the code to control that last event.
1504
1505         Fixes: NB#109790 (Releasing finger in pannable area easily causes
1506         unwanted scrolling)
1507
1508 2009-04-03  Claudio Saavedra  <csaavedra@igalia.com>
1509
1510         Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1511
1512         * src/hildon-get-password-dialog.c
1513         (hildon_get_password_set_property),
1514         (hildon_get_password_get_property), (create_contents):
1515         * src/hildon-login-dialog-private.h:
1516         * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
1517         (hildon_login_dialog_init), (hildon_login_dialog_get_username),
1518         (hildon_login_dialog_get_password):
1519         * src/hildon-set-password-dialog-private.h:
1520         * src/hildon-set-password-dialog.c
1521         (hildon_set_password_set_property),
1522         (hildon_set_password_get_property), (create_contents),
1523         (hildon_set_password_response_change),
1524         (hildon_set_password_response_set), (hildon_checkbox_toggled):
1525
1526         Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
1527         instead and look more Fremantle style.
1528
1529         Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
1530
1531 2009-04-03  Alberto Garcia  <agarcia@igalia.com>
1532
1533         * doc/hildon-sections.txt
1534         * src/hildon-window-stack.h
1535         * src/hildon-window-stack.c
1536         (+hildon_window_stack_get_windows):
1537         New API to obtain the list of windows on a stack.
1538
1539 2009-04-02  Alberto Garcia  <agarcia@igalia.com>
1540
1541         * src/hildon-app-menu.c (hildon_app_menu_popup)
1542         (hildon_app_menu_class_init, -hildon_app_menu_show):
1543         Remove hildon_app_menu_show() and move all its checks to
1544         hildon_app_menu_popup()
1545
1546 2009-04-02  Alejandro Pinheiro  <apinheiro@igalia.com>
1547
1548         * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
1549         (_hildon_picker_dialog_set_selector): removed call to
1550         gtk_widget_set_size_request
1551         * src/hildon-touch-selector.c
1552         (_create_new_column): change the pannable size request policy
1553
1554         Avoid to use a hardcoded height for the hildon picker dialog. In order
1555         to get that, we needed to change the hildon pannable size request
1556         policy
1557         Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1558
1559 2009-04-02  Claudio Saavedra  <csaavedra@igalia.com>
1560
1561         * src/hildon-window.c (hildon_window_map): Check for vbox to be
1562         not NULL.  Avoids a (very unlikely) crasher. See related NB#103301
1563         browser crash.
1564
1565 2009-04-02  Claudio Saavedra  <csaavedra@igalia.com>
1566
1567         * debian/control: Depend on osso-system-lock localization package.
1568         * src/hildon-code-dialog.c: Obtain the secu_application_title
1569         translation from osso-system-lock.
1570         * src/hildon-get-password-dialog.c (create_contents): Do not mark
1571         for translation the atk related strings, that's not necessary.
1572         * src/hildon-set-password-dialog.c (create_contents): Ditto.
1573         * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
1574         cancel button, it is not required.
1575
1576 2009-04-02  Alejandro G. Castro  <alex@igalia.com>
1577
1578         * src/hildon-pannable-area.c,
1579         (hildon_pannable_area_class_init): Modified the default value of
1580         the overshooting max speed, we have reduced it.
1581
1582 2009-04-02  Alberto Garcia  <agarcia@igalia.com>
1583
1584         * doc/hildon-sections.txt
1585         * src/hildon-window-private.h
1586         * src/hildon-window.h
1587         * src/hildon-window.c (hildon_window_class_init)
1588         (hildon_window_init, hildon_window_finalize)
1589         (hildon_window_realize, hildon_window_get_property)
1590         (hildon_window_set_property, hildon_window_update_markup)
1591         (hildon_window_get_markup, hildon_window_set_markup):
1592         New "markup" property and hildon_window_{get,set}_markup() methods.
1593
1594         * examples/hildon-stackable-window-example.c (new_window):
1595         Update example to use hildon_window_set_markup()
1596
1597         Fixes: NB#106375 (Need API to retitle a window with a title
1598         including markup)
1599
1600 2009-04-01  Alejandro G. Castro  <alex@igalia.com>
1601
1602         * src/hildon-pannable-area.c,
1603         (hildon_pannable_area_class_init): Changed the default value of
1604         the initial_hint to TRUE.
1605         (hildon_pannable_area_initial_effect): Changed the initial effect,
1606         not the effect is just the fade-out of the scrollbars.
1607
1608         Fixes: NB#107775 (No scrollbars can be seen when several items are
1609         available in a dialog)
1610
1611 2009-04-01  Alberto Garcia  <agarcia@igalia.com>
1612
1613         * src/hildon-program.c (hildon_program_update_top_most):
1614         Fix memory leak.
1615
1616         Fixes: NB#109179 (Memory leak in Hildon program)
1617
1618 2009-04-01  Alberto Garcia  <agarcia@igalia.com>
1619
1620         * src/hildon-banner.c (-get_current_app_window):
1621         Remove unused function.
1622
1623 2009-04-01  Alejandro G. Castro  <alex@igalia.com>
1624
1625         * src/hildon-pannable-area.c: Modified the documentation of the
1626         get adjustments functions to explain the problem of using the
1627         adjustment directly.
1628         (hildon_pannable_area_class_init): Improved the explanation about
1629         the velocity.
1630
1631 2009-04-01  Alberto Garcia  <agarcia@igalia.com>
1632
1633         * src/hildon-app-menu-private.h
1634         * src/hildon-app-menu.c
1635         (hildon_app_menu_class_init):
1636         Bring back the 'external-border' style property
1637         (hildon_app_menu_class_init, hildon_app_menu_init)
1638         (hildon_app_menu_apply_style, hildon_app_menu_size_request):
1639         Set a fixed width-request for the menu, independent of the number
1640         of items.
1641
1642         Fixes: NB#94957 (Smoothly opened application menu)
1643
1644 2009-03-30  Alberto Garcia  <agarcia@igalia.com>
1645
1646         * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
1647
1648         * src/hildon-banner.c
1649         Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
1650         (hildon_banner_map)
1651         Make sure that the banner is correctly placed the first time it's
1652         shown.
1653         (hildon_banner_check_position, -check_fullscreen_state):
1654         Show the banner in the same place no matter if the window is in
1655         fullscreen mode or not.
1656
1657         Fixes: NB#107386 (Odd stacking behaviour for information banners)
1658
1659 2009-04-01  Claudio Saavedra  <csaavedra@igalia.com>
1660
1661         * src/hildon-touch-selector.c (_default_print_func): reorder
1662         concatenation for clarity.
1663
1664 2009-04-01  Claudio Saavedra  <csaavedra@igalia.com>
1665
1666         * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
1667         for multicolumn selectors.
1668
1669         Fixes: NB#109099 (Memory leak in Hildon touch selector)
1670
1671 2009-03-30  Claudio Saavedra  <csaavedra@igalia.com>
1672
1673         [Release 2.1.58]
1674
1675         * NEWS: Updates.
1676         * configure.ac: Bump version.
1677         * debian/changelog: Updates.
1678
1679 2009-03-27  Claudio Saavedra  <csaavedra@igalia.com>
1680
1681         * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
1682         coding style fixes.
1683
1684 2009-03-26  Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1685
1686         * configure.ac: removed libcangerra-gtk dependency
1687         * debian/control: removed libcanberra-gtk dependency
1688         * src/Makefile.am: removed libcanberra gtk related flags
1689         * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
1690         context, and manage a global canberra context instead
1691
1692         Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1693
1694 2009-03-26  Alberto Garcia  <agarcia@igalia.com>
1695
1696         Patch by Daniel Borgmann (danielb@openismus.com)
1697
1698         * src/hildon-edit-toolbar.c:
1699         Adjust the left padding.
1700         (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
1701         Paint background of the edit toolbar.
1702
1703         Fixes: NB#107897 (Patch to make editmodetoolbar background
1704         themeable and adjust margin)
1705
1706 2009-03-25  Alberto Garcia  <agarcia@igalia.com>
1707
1708         Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
1709
1710         * src/hildon-program.c (hildon_program_update_top_most):
1711         Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
1712
1713         Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
1714         change when the user tasks in/out of an application)
1715
1716 2009-03-25  Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1717
1718         * configure.ac: added libcangerra-gtk dependency
1719         * debian/control: added libcanberra-gtk dependency
1720         * src/Makefile.am: added libcanberra gtk related flags
1721         * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
1722         instead of use it.
1723
1724         Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1725
1726 2009-03-25  Alberto Garcia  <agarcia@igalia.com>
1727
1728         * src/hildon-program.c (hildon_program_remove_window)
1729         (hildon_program_add_window): Add checks for the window
1730         parameter. Don't decrease the window counter if the window is not
1731         registered.
1732
1733 2009-03-24  Alejandro G. Castro  <alex@igalia.com>
1734
1735         * src/hildon-pannable-area.c,
1736         (hildon_pannable_area_realize): Fixed position of the event_window
1737         in the realize method.
1738
1739 2009-03-24  Alberto Garcia  <agarcia@igalia.com>
1740
1741         * src/hildon-app-menu-private.h
1742         * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
1743         (hildon_app_menu_map, hildon_app_menu_hide_idle)
1744         (hildon_app_menu_key_press, hildon_app_menu_init)
1745         (hildon_app_menu_finalize):
1746         Make sure that all idle functions are removed when the widget is
1747         destroyed.
1748
1749         Fixes: NB#107583 (Hildon app menu crashes in various applications)
1750
1751 2009-03-24  Claudio Saavedra  <csaavedra@igalia.com>
1752
1753         [Release 2.1.56]
1754
1755         * NEWS: Updates.
1756         * configure.ac: Bump version.
1757         * debian/changelog: Updates.
1758
1759 2009-03-24  Claudio Saavedra  <csaavedra@igalia.com>
1760
1761         * src/hildon-entry.c
1762         (+hildon_entry_show_placeholder),
1763         (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
1764         that replace hildon_entry_update_contents().
1765         (hildon_entry_set_text),
1766         (hildon_entry_set_placeholder),
1767         (hildon_entry_focus_in_event),
1768         (hildon_entry_focus_out_event): Determine when it is needed
1769         either to show or hide the placeholder and call the above methods.
1770
1771         Fixes: NB#107471 (hildon_entry_set_text() not setting the text
1772         when the placeholder text is already set)
1773
1774 2009-03-24  Claudio Saavedra  <csaavedra@igalia.com>
1775
1776         * src/hildon-banner.c (+hildon_banner_create_animation): Build a
1777         simple GdkPixbufAnim using the new icons for the banner.
1778         (hildon_banner_show_animation): Use the above mentioned method to
1779         create the animation widget.
1780
1781         Fixes: NB#103564 (Make hildon animation banner use individual
1782         image files as the animation)
1783
1784 2009-03-24  Alejandro G. Castro  <alex@igalia.com>
1785
1786         * src/hildon-pannable-area.c,
1787         (hildon_pannable_leave_notify_event): Check if the child is NULL
1788         to avoid sending the leave.
1789
1790 2009-03-24  Alejandro G. Castro  <alex@igalia.com>
1791
1792         * src/hildon-pannable-area.c,
1793         (hildon_pannable_area_class_init),
1794         (hildon_pannable_leave_notify_event): Added a handler of the
1795         leave-notify-signal to consider when no motion notify before
1796         leaving.
1797
1798         Fixes: NB#107494 (Items stay selected when clicking and moving
1799         away when inside pannable area)
1800
1801 2009-03-23  Claudio Saavedra  <csaavedra@igalia.com>
1802
1803         [Release 2.1.54]
1804
1805         * NEWS: Updates.
1806         * configure.ac: Bump version.
1807         * debian/changelog: Updates.
1808
1809 2009-03-19  Alejandro G. Castro  <alex@igalia.com>
1810
1811         Patch by Alberto Garcia (agarcia@igalia.com)
1812
1813         * src/hildon-date-button.c,
1814         (hildon_date_button_class_init),
1815         (hildon_date_button_init): Removed the construct property handling
1816         and created a default selector in the init method.
1817         * src/hildon-picker-button.c,
1818         (hildon_picker_button_class_init): Removed the construct flag of the
1819         selector property.
1820
1821 2009-03-18  Alberto Garcia  <agarcia@igalia.com>
1822
1823         * src/hildon-main.c (hildon_init):
1824         Don't allow hildon_init() to be called more than once.
1825
1826         Fixes: NB#106607 (hildon_init should issue error message upon
1827         successive calls)
1828
1829 2009-03-17  Alejandro Pinheiro  <apinheiro@igalia.com>
1830
1831         * examples/hildon-pannable-area-touch-list-example.c
1832         * examples/hildon-pannagle-area-touch-grid-example.c
1833         * examples/hildon-edit-toolbar-example.c
1834         * examples/hildon-touch-selector-multi-cells-example.c
1835         Removed the call to gtk_rc_parse_string, as it is not required since
1836         some time ago.
1837
1838 2009-03-17  Alejandro G. Castro  <alex@igalia.com>
1839
1840         * src/hildon-pannable-area.c,
1841         (hildon_pannable_area_class_init): Modified the default panning
1842         threshold of the widget to 6px.
1843
1844         Fixes: NB#105427 (Clicking and dragging ( for pixel values more
1845         than the threshold value ) within the button is not sending the
1846         event to the clild)
1847
1848 2009-03-16  Claudio Saavedra  <csaavedra@igalia.com>
1849
1850         * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
1851         for the treeview in the new column. This way, the touch list will never
1852         grab the focus.
1853
1854         Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
1855         be selected manually for the HW keys to work)
1856
1857 2009-03-16  Claudio Saavedra  <csaavedra@igalia.com>
1858
1859         * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
1860         comparison instead of using strcmp(). Fixes a compiler warning as well.
1861
1862 2009-03-16  Claudio Saavedra  <csaavedra@igalia.com>
1863
1864         * doc/hildon-docs.sgml: Do not set the library version in the
1865         document title, use the releaseinfo tag for that purpose instead.
1866
1867 2009-03-16  Claudio Saavedra  <csaavedra@igalia.com>
1868
1869         * src/hildon-touch-selector-entry.c (entry_on_text_changed):
1870         Do not jump to the first item if the text in the entry is removed.
1871
1872 2009-03-16  Claudio Saavedra  <csaavedra@igalia.com>
1873
1874         [Release 2.1.52]
1875
1876         * NEWS: Updates.
1877         * configure.ac: Bump version.
1878         * debian/changelog: Updates.
1879
1880 2009-03-16  Claudio Saavedra  <csaavedra@igalia.com>
1881
1882         * src/hildon-entry.c (hildon_entry_refresh_contents):
1883         * src/hildon-text-view.c (hildon_text_view_refresh_contents):
1884         Use "ReversedSecondaryTextColor" for the placeholder text.
1885
1886 2009-03-12  Alberto Garcia  <agarcia@igalia.com>
1887
1888         * src/hildon-text-view.c: Fix compilation warning.
1889
1890 2009-03-12  Alberto Garcia  <agarcia@igalia.com>
1891
1892         * src/hildon-button.c (hildon_button_class_init): Don't make
1893         "title" and "value" construction properties, to prevent them from
1894         overwriting labels set from derived classes.
1895
1896         * src/hildon-picker-button.c
1897         (hildon_picker_button_set_selector): Allow setting a NULL selector.
1898         (hildon_picker_button_class_init): Make touch-selector a
1899         construction property.
1900
1901         * src/hildon-date-button.c (hildon_date_button_class_init)
1902         (+hildon_date_button_constructed): Add a default date selector if
1903         none is provided.
1904
1905 2009-03-12  Claudio Saavedra  <csaavedra@igalia.com>
1906
1907         * src/hildon-touch-selector.c: Small documentation fixes.
1908
1909 2009-03-12  Claudio Saavedra  <csaavedra@igalia.com>
1910
1911         Based on a patch by Daniel Borgmann (danielb@openismus.com)
1912
1913         * src/hildon-entry.c (hildon_entry_refresh_contents),
1914         (hildon_entry_get_text), (hildon_entry_init): Do not use the
1915         widget name, set the logical color directly instead and a boolean
1916         showing_placeholder instead.
1917         * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
1918         use the widget name here either.
1919
1920         Fixes: NB#105678 (HildonTextView should use logical colours
1921         instead of setting widget name)
1922
1923 2009-03-12  Claudio Saavedra  <csaavedra@igalia.com>
1924
1925         Patch by Daniel Elster (danielk@openismus.com)
1926
1927         * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
1928         Add user_data parameter.
1929         (hildon_touch_selector_set_print_func_full): New function akin
1930         hildon_touch_selector_set_print_func() but with support for user
1931         data and a destroy callback.
1932         (hildon_touch_selector_dispose): Implement GObjectClass::dispose
1933         to clean up the print function user data.
1934         (hildon_touch_selector_class_init): Install dispose function.
1935         (HildonTouchSelectorPrivate::print_user_data),
1936         (HildonTouchSelectorPrivate::print_destroy_func): New private
1937         member data.
1938         (hildon_touch_selector_init): Initialize new private members.
1939         (hildon_touch_selector_get_current_text): Pass along user data
1940         to the print function.
1941         (_default_print_func): Add dummy user_data to parameter list.
1942         * hildon-date-selector.c (_custom_print_func): ditto,
1943         * hildon-time-selector.c (_custom_print_func): ditto,
1944         * hildon-touch-selector-entry.c
1945         (hildon_touch_selector_entry_print_func): ditto.
1946
1947         Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
1948
1949 2009-03-12  Claudio Saavedra  <csaavedra@igalia.com>
1950
1951         * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
1952
1953 2009-03-12  Alejandro G. Castro  <alex@igalia.com>
1954
1955         * src/hildon-pannable-area.c,
1956         (hildon_pannable_area_init),
1957         (hildon_pannable_area_button_press_cb),
1958         (hildon_pannable_area_motion_notify_cb): We have added code to
1959         handle the leave and enter events when using the motion events.
1960
1961         Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
1962
1963 2009-03-11  Alberto Garcia  <agarcia@igalia.com>
1964
1965         * src/hildon-date-button.c (hildon_date_button_get_date)
1966         (hildon_date_button_set_date): Make sure that the button has a
1967         selector.
1968
1969         Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
1970
1971 2009-03-11  Alejandro G. Castro  <alex@igalia.com>
1972
1973         * src/hildon-pannable-area.c,
1974         (hildon_pannable_area_class_init),
1975         (hildon_pannable_area_calculate_velocity): Modify the use of the
1976         force and adapt the value.
1977
1978 2009-03-10  Alberto Garcia  <agarcia@igalia.com>
1979
1980         * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
1981         (hildon_app_menu_class_init): Hide the menu if it receives a
1982         delete-event, but don't destroy it
1983
1984         Fixes: NB#104485 (Not able to address the call when application
1985         menu is opened at background)
1986
1987 2009-03-10  Alberto Garcia  <agarcia@igalia.com>
1988
1989         * src/hildon-app-menu.c
1990         (hildon_app_menu_apply_style, hildon_app_menu_class_init):
1991         Remove the "external-border" style property, let the menu take its
1992         natural size (or the one set by the window manager)
1993         (hildon_app_menu_repack_items):
1994         Don't reshow the menu, avoid flickers.
1995
1996         Partially fixes NB#94957 (Smoothly opened application menu)
1997
1998 2009-03-10  Claudio Saavedra  <csaavedra@igalia.com>
1999
2000         [Release 2.1.50]
2001
2002         * NEWS: Updates.
2003         * configure.ac: Bump version.
2004         * debian/changelog: Updates.
2005
2006 2009-03-10  Alejandro G. Castro  <alex@igalia.com>
2007
2008         * src/hildon-pannable-area.c,
2009         (hildon_pannable_area_motion_notify_cb): We control that the
2010         direction error margin is used just in case the movement is
2011         allowed in the other direction.
2012
2013         Fixes: NB#105012 (buttons inside a pannable area not getting
2014         release event when dragging/releasing)
2015
2016 2009-03-10  Alejandro G. Castro  <alex@igalia.com>
2017
2018         * src/hildon-pannable-area.c,
2019         (hildon_pannable_area_class_init),
2020         (hildon_pannable_area_get_property),
2021         (hildon_pannable_area_set_property),
2022         (hildon_pannable_area_initial_effect),
2023         (hildon_pannable_axis_scroll),
2024         (hildon_pannable_area_button_release_cb): Reviewed the
2025         overshooting effect, now it has its own max
2026         speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
2027         speed when bouncing.
2028
2029 2009-03-09  Claudio Saavedra  <csaavedra@igalia.com>
2030
2031         [Release 2.1.48]
2032
2033         * NEWS: Updates.
2034         * configure.ac: Bump version.
2035         * debian/changelog: Updates.
2036
2037 2009-03-09  Alejandro G. Castro  <alex@igalia.com>
2038
2039         * src/hildon-pannable-area.c,
2040         (hildon_pannable_area_class_init): Changed the max speed, now
2041         users can launch the widget very fast. Reduced the default force,
2042         that way it is easier to control the launch speed.
2043
2044 2009-03-09  Alejandro G. Castro  <alex@igalia.com>
2045
2046         * src/hildon-pannable-area.c,
2047         (hildon_pannable_area_button_release_cb): Removed this check
2048         because it causes problems when the device is overloaded.
2049
2050 2009-03-06  Claudio Saavedra  <csaavedra@igalia.com>
2051
2052         * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2053         add a current_text field to store the text entered in the
2054         touch selector entry.
2055         (_clean_current_selection): clean up the current text as well.
2056         (_save_current_selection), (_restore_current_selection):
2057         Save/restore the text in the entry if the selector is a
2058         HildonTouchSelectorEntry.
2059
2060         Fixes: NB#102541 (value entered in the touch selector entry is not
2061         shown when opened for second time)
2062
2063 2009-03-06  Claudio Saavedra  <csaavedra@igalia.com>
2064
2065         * doc/hildon-sections.txt:
2066         * src/hildon-touch-selector-entry.c
2067         (+hildon_touch_selector_entry_get_entry):
2068         * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
2069
2070         Fixes: NB#104815 (I need accessor to the entry inside
2071         HildonTouchSelectorEntry)
2072
2073 2009-03-06  Alberto Garcia  <agarcia@igalia.com>
2074
2075         * src/hildon-app-menu.c (hildon_app_menu_apply_style)
2076         (hildon_app_menu_class_init):
2077         New "filter-vertical-spacing" style property.
2078
2079 2009-03-06  Alberto Garcia  <agarcia@igalia.com>
2080
2081         * src/hildon-find-toolbar.c
2082         (hildon_find_toolbar_emit_close)
2083         (hildon_find_toolbar_emit_invalid_input)
2084         (hildon_find_toolbar_entry_activate):
2085         Use g_signal_emit() instead of g_signal_emit_by_name()
2086
2087 2009-03-06  Alberto Garcia  <agarcia@igalia.com>
2088
2089         Patch by Mox Soini (ext-mox.soini@nokia.com)
2090
2091         * tests/TEST-CASES.txt
2092         * tests/check-hildon-banner.c
2093         * tests/check-hildon-note.c
2094         * src/hildon-banner.c
2095         * src/hildon-code-dialog.c
2096         * src/hildon-date-editor.c (real_set_calendar_icon_state)
2097         * src/hildon-time-editor.c
2098         * examples/hildon-lookup-example.c (main):
2099         Replace obsolete icon names with new ones.
2100
2101         * src/hildon-find-toolbar-private.h:
2102         * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
2103         (-hildon_find_toolbar_emit_search):
2104         Remove find button and change icon of close button.
2105
2106         Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
2107
2108 2009-03-05  Alberto Garcia  <agarcia@igalia.com>
2109
2110         * src/hildon-time-button.c (hildon_time_button_new_step):
2111         Use the "touch-selector" property to set the selector directly
2112         when creating the object.
2113
2114 2009-03-05  Alejandro G. Castro  <alex@igalia.com>
2115
2116         Added a new example application that allows tuning the pannable
2117         area and replaced defines with properties in order to simplify the
2118         tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
2119         PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
2120         PROP_DIRECTION_ERROR_MARGIN.
2121
2122         * examples/hildon-pannable-area-tuning-example.c: New example
2123         application.
2124         * src/hildon-pannable-area.c,
2125         (hildon_pannable_area_class_init),
2126         (hildon_pannable_area_init),
2127         (hildon_pannable_area_get_property),
2128         (hildon_pannable_area_set_property),
2129         (hildon_pannable_area_launch_fade_timeout),
2130         (hildon_pannable_area_adjust_value_changed),
2131         (hildon_pannable_axis_scroll),
2132         (hildon_pannable_area_motion_notify_cb),
2133         (hildon_pannable_area_scroll_cb),
2134         (hildon_pannable_area_button_release_cb): We have converted some
2135         of the defines that control the widget to properties to simplify
2136         the tuning.
2137
2138 2009-03-05  Alberto Garcia  <agarcia@igalia.com>
2139
2140         * src/hildon-app-menu.c (hildon_app_menu_map)
2141         (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
2142         so it's closed if a new window appears.
2143
2144         Fixes: NB#104485 (Not able to address the call when application
2145         menu is opened at background)
2146
2147 2009-03-05  Claudio Saavedra  <csaavedra@igalia.com>
2148
2149         * src/hildon-color-button.c (hildon_color_button_get_property):Add
2150         missing 'break' statement in in 'case' construct to avoid
2151         incorrect warnings.
2152
2153 2009-03-05  Claudio Saavedra  <csaavedra@igalia.com>
2154
2155         * src/hildon-touch-selector-entry.c
2156         (hildon_touch_selector_entry_get_property),
2157         (hildon_touch_selector_entry_set_property): Add missing 'break'
2158         statements in in 'case' constructs to avoid incorrect warnings.
2159
2160 2009-03-05  Claudio Saavedra  <csaavedra@igalia.com>
2161
2162         * src/hildon-time-editor.c
2163         (hildon_time_editor_get_time_separators): Do not crash if
2164         the first label is NULL.
2165
2166 2009-03-05  Claudio Saavedra  <csaavedra@igalia.com>
2167
2168         * src/hildon-date-selector.c (_month_days): Check for month to be
2169         strictly less than 12, since otherwise we may overrun the array.
2170
2171 2009-03-04  Alberto Garcia  <agarcia@igalia.com>
2172
2173         * src/hildon-date-button.c (+hildon_date_button_new_full)
2174         (hildon_date_button_new, hildon_date_button_new_with_year_range)
2175         (hildon_date_button_init): Set the date selector using a
2176         construction property, to make it happen after HildonButton's
2177         "value" property is set.
2178
2179         Fixes: NB#104439 (hildon_date_button_new() isn't set to the
2180         current date by default)
2181
2182 2009-03-04  Alberto Garcia  <agarcia@igalia.com>
2183
2184         * doc/hildon-sections.txt
2185         * src/hildon-program.c
2186         * src/hildon-stackable-window.c
2187         * src/hildon-window.c:
2188         Documentation updates
2189
2190 2009-03-04  Alberto Garcia  <agarcia@igalia.com>
2191
2192         * src/hildon-window-stack.c (hildon_window_stack_get_default)
2193         (hildon_window_stack_new, +hildon_window_stack_set_property)
2194         (+hildon_window_stack_get_property)
2195         (hildon_window_stack_class_init)
2196         (+hildon_window_stack_set_window_group)
2197         (+hildon_window_stack_get_window_group):
2198         Make the window group a construction property.
2199
2200 2009-03-04  Alberto Garcia  <agarcia@igalia.com>
2201
2202         * doc/hildon-sections.txt
2203         * src/hildon-stackable-window-private.h
2204         * src/hildon-stackable-window.h
2205         * src/hildon-stackable-window.c
2206         (-hildon_stackable_window_set_app_menu)
2207         (-hildon_stackable_window_get_app_menu)
2208         (-hildon_stackable_window_toggle_menu)
2209         (-hildon_stackable_window_finalize)
2210         (hildon_stackable_window_class_init)
2211         (hildon_stackable_window_init)
2212         * src/hildon-window-private.h
2213         * src/hildon-window.h
2214         * src/hildon-window.c (hildon_window_init)
2215         (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
2216         (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
2217         (hildon_window_get_main_menu, hildon_window_set_main_menu)
2218         (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
2219         Moved all HildonAppMenu code to HildonWindow. The menu does not
2220         require a HildonStackableWindow anymore.
2221
2222         * src/hildon-app-menu.c
2223         * src/hildon-program.c
2224         * examples/hildon-app-menu-example.c (main):
2225         Update examples and documentation to reflect HildonAppMenu
2226         changes.
2227
2228 2009-03-04  Alberto Garcia  <agarcia@igalia.com>
2229
2230         * src/hildon-remote-texture.c
2231         * src/hildon-animation-actor.c:
2232         Don't include unused private headers.
2233
2234 2009-03-04  Alberto Garcia  <agarcia@igalia.com>
2235
2236         * src/hildon-program-private.h
2237         * src/hildon-program.c
2238         (hildon_program_set_common_menu)
2239         (hildon_program_get_common_menu)
2240         (hildon_program_set_common_app_menu)
2241         (hildon_program_get_common_app_menu):
2242         Change common menu pointers from GtkWidget* to GtkMenu* and
2243         HildonAppMenu* to avoid unnecessary casts.
2244
2245 2009-03-03  Alberto Garcia  <agarcia@igalia.com>
2246
2247         * src/hildon-window.c (hildon_window_set_main_menu):
2248         Removed incorrect 'Since:' tag
2249
2250 2009-03-03  Alejandro G. Castro  <alex@igalia.com>
2251
2252         * src/hildon-pannable-area.c,
2253         (hildon_pannable_area_calculate_velocity): We use now the
2254         RATIO_TOLERANCE here to check the distance, fixed typo in the
2255         algorithm.
2256         (hildon_pannable_area_motion_notify_cb): We have to set the type
2257         and time even if we are not sending the motion.
2258
2259 2009-03-02  Alberto Garcia  <agarcia@igalia.com>
2260
2261         * doc/hildon-sections.txt
2262         * src/hildon-app-menu.h
2263         * src/hildon-app-menu.c (+hildon_app_menu_get_items)
2264         (+hildon_app_menu_get_filters): New methods to get the contents of
2265         a HildonAppMenu.
2266
2267         Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
2268         children)
2269
2270 2009-03-02  Alberto Garcia  <agarcia@igalia.com>
2271
2272         * src/hildon-app-menu.c (hildon_app_menu_popup):
2273         Add "Since" tag.
2274
2275 2009-03-02  Alberto Garcia  <agarcia@igalia.com>
2276
2277         * src/hildon-window.h
2278         * src/hildon-window.c (+hildon_window_get_main_menu)
2279         (hildon_window_get_menu): Created hildon_window_get_main_menu()
2280         and deprecated hildon_window_get_menu().
2281
2282         * src/hildon-stackable-window.h
2283         * src/hildon-stackable-window.c
2284         (+hildon_stackable_window_set_app_menu)
2285         (+hildon_stackable_window_get_app_menu)
2286         (hildon_stackable_window_set_main_menu): Created
2287         hildon_stackable_window_{get,set}_app_menu() and deprecated
2288         hildon_stackable_window_set_main_menu().
2289
2290         * doc/hildon-sections.txt
2291         * examples/hildon-app-menu-example.c (main)
2292         * src/hildon-app-menu.c
2293         * src/hildon-program.c:
2294         Updated examples and documentation.
2295
2296         Fixes: NB#103758 (No way to obtain a menu from a
2297         HildonStackableWindow)
2298
2299 2009-03-02  Claudio Saavedra  <csaavedra@igalia.com>
2300
2301         [Release 2.1.46]
2302
2303         * NEWS: Updates.
2304         * configure.ac: Bump version.
2305         * debian/changelog: Updates.
2306
2307 2009-03-02  Claudio Saavedra  <csaavedra@igalia.com>
2308
2309         * examples/hildon-remote-texture-example.c: Include
2310         hildon-remote-texture.h explicitely.
2311         * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
2312         applications not defining _XOPEN_SOURCE which don't require this header.
2313
2314 2009-02-27  Alberto Garcia  <agarcia@igalia.com>
2315
2316         * doc/hildon-sections.txt
2317         * src/hildon-app-menu.h
2318         * src/hildon-app-menu.c (+hildon_app_menu_popup):
2319         New function to pop up a HildonAppMenu
2320
2321         * src/hildon-stackable-window.c
2322         (hildon_stackable_window_toggle_menu):
2323         Use hildon_app_menu_popup() to show the menu.
2324
2325 2009-02-27  Alberto Garcia  <agarcia@igalia.com>
2326
2327         * src/hildon-app-menu.c (hildon_app_menu_show)
2328         (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
2329         menu if there's another window between it and its parent window.
2330
2331         Fixes: NB#100468 (Application menu window is launched even when a
2332         new secondary-window/dialog is pending to be shown/realized)
2333
2334 2009-02-27  Alberto Garcia  <agarcia@igalia.com>
2335
2336         * src/hildon-window-stack.c (hildon_window_stack_push)
2337         (hildon_window_stack_pop_and_push):
2338         Don't forget to push/pop the first window.
2339         Reverse the window list before calling _push_list()
2340
2341 2009-02-27  Alberto Garcia  <agarcia@igalia.com>
2342
2343         * src/hildon-picker-button.h
2344         * src/hildon-picker-button.c (hildon_picker_button_class_init):
2345         Remove "value_changed" slot to avoid ABI breakage
2346
2347 2009-02-26  Alejandro G. Castro  <alex@igalia.com>
2348
2349         * src/hildon-pannable-area.c,
2350         (hildon_pannable_area_realize),
2351         (hildon_pannable_area_unrealize),
2352         (hildon_pannable_draw_vscroll),
2353         (hildon_pannable_draw_hscroll): Changed the method to handle the
2354         GC used to draw the transparent scrollbar, this way we avoid
2355         creating the GC all the time when drawing the scrollbars.
2356
2357 2009-02-26  Alejandro G. Castro  <alex@igalia.com>
2358
2359         * src/hildon-pannable-area.c,
2360         (hildon_pannable_area_init),
2361         (hildon_pannable_area_remove): Removed some unnecessary casts.
2362         (hildon_pannable_area_dispose): Disconnected some signals before
2363         releasing the adjustments.
2364
2365 2009-02-26  Alberto Garcia  <agarcia@igalia.com>
2366
2367         * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2368         Make sure that all widgets contained in the toolbar are shown.
2369
2370 2009-02-25  Alberto Garcia  <agarcia@igalia.com>
2371
2372         * doc/hildon-sections.txt
2373         * src/hildon-picker-button.h
2374         * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
2375         (_selection_changed, hildon_picker_button_on_dialog_response)
2376         (hildon_picker_button_class_init, hildon_picker_button_set_selector):
2377         New hildon_picker_button_value_changed() method.
2378
2379         * src/Makefile.am
2380         * src/hildon-picker-button-private.h
2381         * src/hildon-picker-button.c (hildon_picker_button_init)
2382         (+hildon_picker_button_disable_value_changed): Add protected
2383         function for disabling the "value-changed" signal.
2384
2385         * src/hildon-date-button.c (hildon_date_button_set_date):
2386         Don't emit "value-changed" for each one of the three columns.
2387
2388         Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
2389         before actual change of values)
2390
2391 2009-02-24  Alejandro G. Castro  <alex@igalia.com>
2392
2393         * src/hildon-pannable-area.c,
2394         (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
2395         for the treeview overshooting.
2396
2397 2009-02-24  Claudio Saavedra  <csaavedra@igalia.com>
2398
2399         * src/hildon-banner.c (+hildon_banner_bind_style):
2400         Renamed from hildon_banner_bind_label_style(), now naming the
2401         banner itself as well.
2402         (hildon_banner_show_information),
2403         (hildon_banner_show_information_with_markup),
2404         (hildon_banner_show_animation), (hildon_banner_show_progress):
2405         Name the widgets and labels, based on their type.
2406
2407         See NB#98597 (Hildon Note and Hildon Banner should use themeable
2408         background image)
2409
2410 2009-02-24  Claudio Saavedra  <csaavedra@igalia.com>
2411
2412         * src/hildon-note.c (hildon_note_set_property): call
2413         hildon_note_rename() on HildonNote:note-type set.
2414         (hildon_note_rename): Name the note and its label, based on the
2415         HildonNote:note-type property.
2416
2417         See NB#98597 (Hildon Note and Hildon Banner should use themeable
2418         background image)
2419
2420 2009-02-24  Alejandro G. Castro  <alex@igalia.com>
2421
2422         * src/hildon-pannable-area.c,
2423         (hildon_pannable_area_class_init),
2424         (hildon_pannable_area_motion_notify_cb): Reviewed the default
2425         panning parameters, increased SPS and deceleration factor. Added
2426         also a margin to control fake directions.
2427
2428 2009-02-23  Claudio Saavedra  <csaavedra@igalia.com>
2429
2430         Patch by Sven Herzberg (sven@imendio.com)
2431
2432         * configure.ac: Add missing AM_PROG_CC_C_0
2433         * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
2434
2435         See NB#101420 (Update unit tests and fix make check)
2436
2437 2009-02-23  Alejandro G. Castro  <alex@igalia.com>
2438
2439         This patch was applied before but reverted because it caused
2440         problems, we have changed the main condition and tested the
2441         regressions we detected before and they work ok. We have done a
2442         complete review of the topmost algorithm in order to get a more
2443         general solution.
2444
2445         * src/hildon-pannable-area.c,
2446         (hildon_pannable_area_get_topmost): Added a new parameter to
2447         filter the the windows that do not include those events.
2448         (hildon_pannable_area_button_press_cb),
2449         (hildon_pannable_area_button_release_cb),
2450         (hildon_pannable_get_child_widget_at): Reviewed the call the the
2451         topmost function, we have added the new parameter.
2452
2453         Fixes: NB#97458 (Pannable area prevents propagation of button
2454         press events)
2455
2456 2009-02-23  Claudio Saavedra  <csaavedra@igalia.com>
2457
2458         * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
2459         if all columns in the selector have an item selected.
2460         (_on_dialog_response): Stop "response" signal emission if there is
2461         any selector column without selected items.
2462
2463         Fixes: NB#101889 (Picker dialog should not close when nothing is
2464         selected in multiple selection list)
2465
2466 2009-02-23  Claudio Saavedra  <csaavedra@igalia.com>
2467
2468         * src/hildon-font-selection-dialog.c
2469         (hildon_font_selection_dialog_class_init),
2470         (hildon_font_selection_dialog_init): Remove the preview
2471         button and dialog, since previewing with default theming is likely
2472         to be overcomplicated. The :preview property has now no effect.
2473         Update documentation blurbs to inform about this.
2474
2475         Fixes: NB#92297 (Preview content is not clearly visible for
2476         default colour text)
2477
2478 2009-02-20  Alejandro G. Castro  <alex@igalia.com>
2479
2480         Reviewed the geometry that handles the children size and
2481         scrollbar, now it tries a size and reviews the results depending
2482         on the scrollbars visibility.
2483
2484         * src/hildon-pannable-area.c,
2485         (hildon_pannable_area_realize): Fixed a typo.
2486         (hildon_pannable_area_child_allocate_calculate): Added this
2487         function to calculate the child allocation.
2488         (hildon_pannable_area_size_allocate): Reviewed the allocation
2489         code.
2490         (hildon_pannable_area_check_scrollbars),
2491         (hildon_pannable_area_refresh): Refactored refresh function, this
2492         way we can call the code handling the scrollbars without causing a
2493         size_request, it is interesting in the allocate.
2494         (hildon_pannable_area_init): Replace the callbacks of the
2495         value_changed and changed signals to propertly deal with the
2496         geometry.
2497         (hildon_pannable_area_grab_notify),
2498         (hildon_pannable_area_initial_effect),
2499         (hildon_pannable_area_launch_fade_timeout),
2500         (hildon_pannable_area_adjust_changed),
2501         (hildon_pannable_area_adjust_value_changed),
2502         (hildon_pannable_area_redraw),
2503         (hildon_pannable_area_button_press_cb),
2504         (hildon_pannable_area_button_release_cb),
2505         (hildon_pannable_area_scroll_cb),
2506         (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
2507         code and use the new functions adjust_changed and
2508         adjust_value_changed.
2509
2510         Fixes: NB#101603 (Focus is not even for the text entry boxes in
2511         Contact editor dialog)
2512
2513 2009-02-20  Claudio Saavedra  <csaavedra@igalia.com>
2514
2515         [Release 2.1.44]
2516
2517         * NEWS: Updates.
2518         * configure.ac: Bump version.
2519         * debian/changelog: Updates.
2520
2521 2009-02-20  Alejandro G. Castro  <alex@igalia.com>
2522
2523         * src/hildon-pannable-area.c,
2524         (hildon_pannable_area_get_topmost),
2525         (hildon_pannable_area_button_press_cb),
2526         (hildon_pannable_area_button_release_cb),
2527         (hildon_pannable_get_child_widget_at): Reverted the patch for the
2528         topmost function adding the event mask. We have to try a
2529         differente approach because it is still causing problems (NB#9745,
2530         reopened).
2531
2532 2009-02-19  Alberto Garcia  <agarcia@igalia.com>
2533
2534         * src/hildon-banner.c:
2535         Update the maximum width of timed banners.
2536         (force_to_wrap_truncated): Enforce the maximum text width if the
2537         label is wrapped.
2538
2539         Fixes: NB#102413 (The text margins (wrapping) in information
2540         banner should be HILDON_MARGIN_TRIPLE)
2541
2542 2009-02-19  Claudio Saavedra  <csaavedra@igalia.com>
2543
2544         Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
2545
2546         * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
2547         (hildon_pannable_draw_hscroll): Consider the adjustment's lower
2548         bound when calculating the scroll indicator position.
2549
2550         Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
2551         treat ->lower correctly)
2552
2553 2009-02-19  Claudio Saavedra  <csaavedra@igalia.com>
2554
2555         * src/hildon-caption.c (hildon_caption_class_init): Remove the
2556         expose event handling, since it is not necessary to draw the focus
2557         anymore.
2558
2559         Fixes: NB#102467 (Do not show highlight on the text in
2560         HildonCaption)
2561
2562 2009-02-18  Alberto Garcia  <agarcia@igalia.com>
2563
2564         * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
2565         full height of the toolbar for the button and the label.
2566
2567 2009-02-18  Alberto Garcia  <agarcia@igalia.com>
2568
2569         * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
2570         padding before the label and after the button.
2571
2572 2009-02-18  Alberto Garcia  <agarcia@igalia.com>
2573
2574         * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
2575
2576         * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2577         Add a GtkVSeparator between the button and the back arrow.
2578         Let the button have automatic size.
2579         Set a name to the widget for theming handling.
2580
2581         Fixes: NB#101793 (Make edit toolbar the same height as window
2582         title bar (use title area theming))
2583
2584 2009-02-18  Alberto Garcia  <agarcia@igalia.com>
2585
2586         * src/hildon-helper.c (attach_new_color_element): Fix memory
2587         leak.
2588
2589         Fixes: NB#102262 (memory leak in hildon_button_set_style())
2590
2591 2009-02-18  Alberto Garcia  <agarcia@igalia.com>
2592
2593         * examples/hildon-button-example.c (common_buttons_window): Don't
2594         leak size groups.
2595
2596 2009-02-18  Alberto Garcia  <agarcia@igalia.com>
2597
2598         * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2599         Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
2600
2601 2009-02-18  Alberto Garcia  <agarcia@igalia.com>
2602
2603         * src/hildon-gtk.c: Check that the window is realized.
2604
2605         Fixes: NB#102225 (Crash setting the progress indicator to a non
2606         visible window)
2607
2608 2009-02-17  Alberto Garcia  <agarcia@igalia.com>
2609
2610         * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
2611         (hildon_pannable_draw_hscroll): Make a copy of the graphic context
2612         instead of modifying the one in the widget style.
2613
2614         Fixes: NB#101043 (Second row of all the command button are
2615         displayed in transparent mode.)
2616
2617 2009-02-17  Alberto Garcia  <agarcia@igalia.com>
2618
2619         * src/hildon-date-button.c
2620         * src/hildon-time-button.c: Add gettext macros
2621
2622 2009-02-16  Claudio Saavedra  <csaavedra@igalia.com>
2623
2624         * src/hildon-date-button.c (hildon_date_button_new):
2625         * src/hildon-time-button.c (hildon_time_button_new_step):
2626         Use new logical strings to set the button default title.
2627
2628         Fixes: NB#99915 (Date and Time options are not localised in Date
2629         and Time setttings)
2630
2631 2009-02-16  Alejandro G. Castro  <alex@igalia.com>
2632
2633         * src/hildon-pannable-area.c
2634         (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
2635         the PANNING_THRESHOLD.
2636
2637 2009-02-16  Alejandro G. Castro  <alex@igalia.com>
2638
2639         * src/hildon-pannable-area.c,
2640         (hildon_pannable_area_class_init): Increased the maximum speed.
2641         (hildon_pannable_area_get_property),
2642         (hildon_pannable_area_set_property),
2643         (hildon_pannable_area_timeout): Added a new low friction mode, it
2644         allows the user avoid friction when launching the widget fast
2645         enough. It is interesting to traverse long lists.
2646
2647 2009-02-16  Alberto Garcia  <agarcia@igalia.com>
2648
2649         * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
2650         (+hildon_stackable_window_delete_event): Ignore delete events if
2651         the window is not the topmost one.
2652
2653         Fixes: NB#101698 (Back button long press and delete-event handling)
2654
2655 2009-02-16  Alejandro G. Castro  <alex@igalia.com>
2656
2657         * src/hildon-pannable-area.c,
2658         (hildon_pannable_area_motion_notify_cb): Removed the use of the
2659         gtk-dnd-drag-threshold, it was too big. We have defined our own
2660         dnd define and set a smaller value: PANNIG_THRESHOLD.
2661
2662 2009-02-16  Alberto Garcia  <agarcia@igalia.com>
2663
2664         * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
2665         user-defined icons, use always the default one.
2666
2667         Fixes: NB#101916 (Do not allow custom icons on animation banner)
2668
2669 2009-02-13  Alejandro G. Castro  <alex@igalia.com>
2670
2671         This patch was applied before but reverted because it caused
2672         problems, we have changed the main condition and tested the
2673         regressions we detected before and they work ok.
2674
2675         * src/hildon-pannable-area.c,
2676         (hildon_pannable_area_get_topmost): Added a new parameter to
2677         filter the the windows that do not include those events. Added
2678         also a condition when finding the window to filter windows that do
2679         not ask for those events.
2680         (hildon_pannable_area_button_press_cb),
2681         (hildon_pannable_area_button_release_cb),
2682         (hildon_pannable_get_child_widget_at): Reviewed the call the the
2683         topmost function, we have added the new parameter.
2684
2685         Fixes: NB#97458 (Pannable area prevents propagation of button
2686         press events)
2687
2688 2009-02-13  Claudio Saavedra  <csaavedra@igalia.com>
2689
2690         * tests/check-hildon-color-button.c (START_TEST): do not leak
2691         ret_color.
2692
2693 2009-02-13  Claudio Saavedra  <csaavedra@igalia.com>
2694
2695         * src/hildon-font-selection-dialog.c
2696         (hildon_font_selection_dialog_get_preview_text): Return NULL
2697         instead of FALSE on the g_return_val_if_fail().
2698
2699 2009-02-13  Claudio Saavedra  <csaavedra@igalia.com>
2700
2701         * src/hildon-time-selector.c (hildon_time_selector_set_time):
2702         * src/hildon-date-selector.c
2703         (hildon_date_selector_select_current_date):
2704         Do not compare unsigned integers to be greater than or equal 0,
2705         because it's always TRUE.
2706
2707 2009-02-13  Claudio Saavedra  <csaavedra@igalia.com>
2708
2709         * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
2710         (hildon_date_selector_constructor): Do not select the current
2711         date until we are handle the "changed" signal, to avoid having bogus
2712         elements in the days model.
2713
2714 2009-02-13  Claudio Saavedra  <csaavedra@igalia.com>
2715
2716         * src/hildon-date-selector.c (_update_day_model): Use a gint variable
2717         for num_days, since _month_days() can return a negative value.
2718
2719 2009-02-13  Claudio Saavedra  <csaavedra@igalia.com>
2720
2721         * src/hildon-caption.c (hildon_caption_size_allocate):
2722         * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
2723         * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
2724
2725         Initialize allocation variables to 0, to avoid eventually using
2726         unitialized variables.
2727
2728 2009-02-12  Claudio Saavedra  <csaavedra@igalia.com>
2729
2730         * src/hildon-bread-crumb-trail.c
2731         (hildon_bread_crumb_trail_size_allocate):
2732         * src/hildon-calendar.c (hildon_calendar_set_background):
2733         * src/hildon-caption.c (hildon_caption_hierarchy_changed):
2734         * src/hildon-range-editor.c (hildon_range_editor_get_range):
2735         * src/hildon-seekbar.c (hildon_seekbar_init):
2736         * src/hildon-time-editor.c (hildon_time_editor_get_time):
2737         * src/hildon-time-selector.c (hildon_time_selector_finalize):
2738         * src/hildon-touch-selector-entry.c
2739         (hildon_touch_selector_get_text_from_model):
2740         * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
2741         * src/hildon-window.c (hildon_window_finalize):
2742
2743         Remove many unused variables.
2744
2745 2009-02-12  Claudio Saavedra  <csaavedra@igalia.com>
2746
2747         * src/hildon-seekbar.c: (hildon_seekbar_init),
2748         (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
2749
2750         Remove unnecessary g_assert() calls.
2751
2752 2009-02-12  Claudio Saavedra  <csaavedra@igalia.com>
2753
2754         * src/hildon-caption.c: (hildon_caption_expose),
2755         (hildon_caption_set_property), (hildon_caption_init),
2756         (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
2757         (hildon_caption_size_request), (hildon_caption_size_allocate),
2758         (hildon_caption_forall), (hildon_caption_set_separator),
2759         (hildon_caption_activate), (hildon_caption_set_child_expand),
2760         (hildon_caption_set_label_text),
2761         (hildon_caption_get_label_alignment):
2762
2763         Remove unnecessary g_assert() calls.
2764
2765 2009-02-12  Alberto Garcia  <agarcia@igalia.com>
2766
2767         * src/hildon-banner.c
2768         (hildon_banner_map, hildon_banner_init): Make banner temporary
2769         before mapping it to avoid closing other temporary windows, but
2770         make it non-temporary afterwards to avoid being closed by other
2771         non-temporary windows.
2772         (-hildon_banner_client_event, hildon_banner_init):
2773         _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
2774
2775         Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
2776         opened)
2777
2778 2009-02-11  Alberto Garcia  <agarcia@igalia.com>
2779
2780         * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
2781         deprecation guard.
2782
2783 2009-02-11  Gordon Williams <gordon.williams@collabora.co.uk>
2784
2785         * src/hildon-remote-texture.c
2786         * src/hildon-remote-texture.h
2787         * src/hildon-remote-texture-private.h
2788         * examples/hildon-remote-texture-example.c:
2789         Updates/fixes to remote-texture and its example.
2790
2791 2009-02-11  Claudio Saavedra  <csaavedra@igalia.com>
2792
2793         Patch by Mox Soini (ext-mox.soini@nokia.com)
2794
2795         * src/hildon-code-dialog.c: Update logical id.
2796         * src/hildon-set-password-dialog.c: Update logical id.
2797
2798         Fixes: NB#100646 (Logical strings is shown for ok in set
2799         password,Password needed dialogs)
2800
2801 2009-02-11  Gordon Williams <gordon.williams@collabora.co.uk>
2802
2803         * src/hildon.h
2804         * src/hildon-remote-texture.c
2805         * src/hildon-remote-texture.h
2806         * src/hildon-remote-texture-private.h
2807         * src/Makefile.am
2808         Added remote texture widget (for Clutter shared memory textures)
2809
2810         * examples/hildon-remote-texture-example.c
2811         * examples/Makefile.am
2812         Added example file for remote texture usage
2813
2814 2009-02-10  Claudio Saavedra  <csaavedra@igalia.com>
2815
2816         * configure.ac: post release version bump.
2817         * debian/changelog: version bump.
2818
2819 2009-02-06  Claudio Saavedra  <csaavedra@igalia.com>
2820
2821         [Release 2.1.42]
2822
2823         * NEWS: Updates.
2824         * configure.ac: Bump version.
2825         * debian/changelog: Updates.
2826
2827 2009-02-06  Alberto Garcia  <agarcia@igalia.com>
2828
2829         * src/hildon-date-selector.c (hildon_date_selector_init)
2830         (hildon_date_selector_constructor): Don't connect to the "changed"
2831         signal until the selector is completely constructed.
2832
2833 2009-02-05  Claudio Saavedra  <csaavedra@igalia.com>
2834
2835         * src/hildon-touch-selector.c: (_create_new_column),
2836         (hildon_touch_selector_append_column),
2837         (hildon_touch_selector_set_column_selection_mode),
2838         (hildon_touch_selector_set_active),
2839         (hildon_touch_selector_select_iter):
2840         Emit the HildonTouchSelector::changed signal every time selection
2841         is changed in any of the methods above.  This behavior was already
2842         documented but not fully functional.
2843
2844         Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
2845         selection is programmatically changed)
2846
2847 2009-02-05  Claudio Saavedra  <csaavedra@igalia.com>
2848
2849         * doc/hildon-sections.txt: Remove obsolete icon
2850         sizes from here as well.
2851
2852 2009-02-05  Alberto Garcia  <agarcia@igalia.com>
2853
2854         * examples/hildon-stackable-window-example.c (add_window): Remove
2855         unnecessary return.
2856
2857 2009-02-05  Alberto Garcia  <agarcia@igalia.com>
2858
2859         * src/hildon-app-menu.c
2860         (hildon_app_menu_show): Check whether the parent window of a menu
2861         is topmost before popping it up.
2862
2863         Fixes: NB#100468 (Application menu window is launched even when a
2864         new secondary-window/dialog is pending to be shown/realized.)
2865
2866 2009-02-05  Claudio Saavedra  <csaavedra@igalia.com>
2867
2868         * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
2869         icon sizes.
2870
2871 2009-02-05  Claudio Saavedra  <csaavedra@igalia.com>
2872
2873         Patch by Mox Soini (ext-mox.soini@nokia.com)
2874
2875         * src/hildon-banner.c: (hildon_banner_show_animation):
2876         use stylus size instead of obsolete note size.
2877         * src/hildon-defines.h: Update icon sizes.
2878
2879 2009-02-05  Claudio Saavedra  <csaavedra@igalia.com>
2880
2881         * src/hildon-touch-selector-entry.c:
2882         (hildon_touch_selector_entry_init): Disable unsupported
2883         input modes.
2884         (hildon_touch_selector_entry_get_text_column): Emit a warning
2885         if an unsupported input modes is used and explicitile state
2886         these modes in the documentation.
2887
2888         Fixes: NB#99802 (Hildon touch selector entry not working properly
2889         for some of the input modes)
2890
2891 2009-02-05  Alejandro G. Castro  <alex@igalia.com>
2892
2893         * src/hildon-pannable-area.c,
2894         (hildon_pannable_area_init): Added the changed signal handlers of
2895         the adjustments.
2896
2897         Fixes: NB#100320 (HildonPannableArea does not listen to
2898         GtkAdjustment "change" signals)
2899
2900 2009-02-04  Alberto Garcia  <agarcia@igalia.com>
2901
2902         * doc/hildon-sections.txt
2903         * src/hildon-window-private.h
2904         * src/hildon-window.h
2905         * src/hildon-window.c (hildon_window_init)
2906         (hildon_window_realize, hildon_window_unrealize)
2907         (hildon_window_map, hildon_window_unmap, hildon_window_expose)
2908         (hildon_window_size_request, hildon_window_size_allocate)
2909         (hildon_window_forall, hildon_window_show_all)
2910         (hildon_window_destroy, +paint_edit_toolbar)
2911         (+hildon_window_set_edit_toolbar):
2912         New hildon_window_set_edit_toolbar() method, to add a
2913         HildonEditToolbar to a window without having to pack it manually.
2914
2915         Reorganize hildon_window_size_allocate()
2916
2917         * src/hildon-edit-toolbar.c: Update documentation.
2918
2919         * examples/hildon-edit-toolbar-example.c (edit_window): Update
2920         example to use the new API.
2921
2922         Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
2923
2924 2009-02-04  Alberto Garcia  <agarcia@igalia.com>
2925
2926         * src/hildon-stackable-window.c (hildon_stackable_window_hide):
2927         Remove from stack before calling parent's hide.
2928
2929 2009-02-04  Alberto Garcia  <agarcia@igalia.com>
2930
2931         * src/hildon-window-stack.c (hildon_window_stack_remove): When a
2932         window is removed from the middle of the stack, update the
2933         transiency of the previous one.
2934
2935         Fixes: NB#100487 (HildonStackableWindow transiency becomes
2936         incoherent)
2937
2938 2009-02-02  Claudio Saavedra  <csaavedra@igalia.com>
2939
2940         * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
2941         block/unblock the signal handler if it's not actually being used.
2942         Fixes some critical warnings.
2943
2944 2009-02-02  Alberto Garcia  <agarcia@igalia.com>
2945
2946         Based on a patch by Iván Gómez (igomez@igalia.com)
2947
2948         * src/hildon-banner.c
2949         * src/hildon-gtk.c
2950         * src/hildon-main.c
2951         * src/hildon-note.c
2952         * src/hildon-pannable-area.c
2953         * src/hildon-picker-dialog.c
2954         * src/hildon-wizard-dialog.h
2955         * src/hildon-wizard-dialog.c: Documentation updates.
2956
2957         * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
2958         gtk_dialog_add_button() instead of hildon_dialog_add_button().
2959
2960 2009-02-02  Claudio Saavedra  <csaavedra@igalia.com>
2961
2962         * configure.ac: post release version bump.
2963         * debian/changelog: version bump.
2964
2965 2009-02-02  Claudio Saavedra  <csaavedra@igalia.com>
2966
2967         [Release 2.1.40]
2968
2969         * NEWS: Updates.
2970         * configure.ac: Bump version.
2971         * debian/changelog: Updates.
2972
2973 2009-01-29  Alberto Garcia  <agarcia@igalia.com>
2974
2975         * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
2976         a stock icon nor change the relief of the back arrow.
2977
2978         Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2979         graphics from theme)
2980
2981 2009-01-29  Alberto Garcia  <agarcia@igalia.com>
2982
2983         * src/hildon-button.c (hildon_button_set_alignment): Use
2984         priv->alignment if the button has no child yet.
2985
2986 2009-01-29  Claudio Saavedra  <csaavedra@igalia.com>
2987
2988         * src/hildon-button.c: (hildon_button_init): Set the
2989         button style during initialization to give it the proper
2990         label color.
2991
2992         Fixes: NB#99713 (HildonButton value label color is wrong)
2993
2994 2009-01-28  Claudio Saavedra  <csaavedra@igalia.com>
2995
2996         * src/hildon-touch-selector.c: Document
2997         hildon_touch_selector_center_on_selected()
2998
2999 2009-01-28  Alberto Garcia  <agarcia@igalia.com>
3000
3001         * src/hildon-app-menu.c (+hildon_app_menu_show_all)
3002         (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
3003         all menu items, but not the menu itself.
3004         (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
3005         (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
3006         items after adding them to the menu so keyboard accelerators work.
3007         (hildon_app_menu_show): Don't show the menu if it contains items
3008         but none of them are visible.
3009
3010         * examples/hildon-app-menu-example.c (create_menu): Use
3011         gtk_widget_show_all() to show all menu items.
3012
3013 2009-01-28  Claudio Saavedra  <csaavedra@igalia.com>
3014
3015         * src/hildon-picker-dialog.c:
3016         (-_update_title_on_selector_changed_cb),
3017         (-_dialog_update_title): Removed.
3018         (_select_on_selector_changed_cb), (_on_dialog_response),
3019         (on_selector_columns_changed): Do not update the dialog title.
3020         (setup_interaction_mode): Do not connect to
3021         HildonTouchSelector::changed signal if there's a "done" button, as
3022         the dialog title doesn't need to be updated.
3023
3024         Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
3025         contents in title)
3026
3027 2009-01-27  Claudio Saavedra  <csaavedra@igalia.com>
3028
3029         Patch by Kristian Rietveld (kris@imendio.com)
3030
3031         * src/hildon-touch-selector.c: (_create_new_column): Use new
3032         GtkTreeView::hildon-row-tapped signal to react to user interactions
3033         instead of ::changed.
3034
3035         Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
3036         with some dynamic tree model)
3037
3038 2009-01-27  Alberto Garcia  <agarcia@igalia.com>
3039
3040         * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
3041         (+screen_size_changed, +label_size_request)
3042         (hildon_note_class_init): Make the Hildon information note have a
3043         minimum height, and make its text hvae a maximum width.
3044
3045         Fixes: NB#98614 (Hildon information note (background) should have
3046         minimum height and maximum text width)
3047
3048 2009-01-26  Alberto Garcia  <agarcia@igalia.com>
3049
3050         * src/hildon-banner.h
3051         * src/hildon-banner.c (hildon_banner_show_information)
3052         (hildon_banner_show_informationf)
3053         (hildon_banner_show_information_with_markup): Update documentation
3054         to reflect that the icon_name parameter is not used anymore.
3055         (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
3056         Remove all code from these functions and mark them as deprecated.
3057         (hildon_banner_show_progress): Mark as deprecated.
3058
3059         Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
3060
3061 2009-01-26  Alejandro G. Castro  <alex@igalia.com>
3062
3063         * src/hildon-pannable-area.c,
3064         (hildon_pannable_area_class_init),
3065         (tranparency_color),
3066         (hildon_pannable_draw_vscroll),
3067         (hildon_pannable_draw_hscroll),
3068         (hildon_pannable_area_expose_event): Added a new way to render the
3069         scrollbars of the pannable area avoiding using cairo at all. This
3070         way we improve the performance of the pannable area rendering. The
3071         cairo rendering procedure is still in the code, we can control
3072         which one to use changing the value of the define
3073         USE_CAIRO_SCROLLBARS.
3074
3075 2009-01-26  Claudio Saavedra  <csaavedra@igalia.com>
3076
3077         * configure.ac: post release version bump.
3078         * debian/changelog: version bump.
3079
3080 2009-01-26  Claudio Saavedra  <csaavedra@igalia.com>
3081
3082         [Release 2.1.38]
3083
3084         * NEWS: Updates.
3085         * configure.ac: Bump version.
3086         * debian/changelog: Updates.
3087
3088 2009-01-23  Alberto Garcia  <agarcia@igalia.com>
3089
3090         * src/hildon-banner.c (hildon_banner_button_press_event): Hide
3091         banners instead of destroying them when they receive a button
3092         press.
3093
3094 2009-01-23  Alejandro G. Castro  <alex@igalia.com>
3095
3096         Reverted commit 34028, it was causing regressions, probably the
3097         topmost condition is not correct, we have to check it in more
3098         detail. We have reponed the bug: NB#97458 (Pannable area prevents
3099         propagation of button press events)
3100
3101 2009-01-23  Claudio Saavedra  <csaavedra@igalia.com>
3102
3103         * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
3104         that the selection is not empty before attempting to retrieve the
3105         current ampm selection.
3106
3107 2009-01-23  Claudio Saavedra  <csaavedra@igalia.com>
3108
3109         * src/hildon-picker-button.c:
3110         (hildon_picker_button_on_dialog_response): Directly update the
3111         button contents when required instead of calling _selection_changed.
3112
3113 2009-01-23  Alberto Garcia  <agarcia@igalia.com>
3114
3115         * src/hildon-program.c (hildon_program_update_top_most): Update
3116         'is-topmost' property also when wm_hints is not set.
3117
3118         Fixes: NB#98383 (is-topmost signal is not emitted when task
3119         switcher is clicked.)
3120
3121 2009-01-23  Alejandro G. Castro  <alex@igalia.com>
3122
3123         Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
3124
3125         * src/Makefile.am,
3126         * src/hildon.h,
3127         * src/hildon-animation-actor.c,
3128         * src/hildon-animation-actor.h: Added the animation actor class,
3129         this widget represents an animation actor for WM-assisted
3130         animation effects in the Hildon framework.
3131
3132 2009-01-23  Alberto Garcia  <agarcia@igalia.com>
3133
3134         * src/hildon-window-stack-private.h
3135         * src/hildon-window-stack.c
3136         * src/hildon-stackable-window.c (hildon_stackable_window_show):
3137         Avoid calling gtk_widget_show() again indirectly from
3138         hildon_stackable_window_show()
3139
3140 2009-01-23  Alberto Garcia  <agarcia@igalia.com>
3141
3142         * src/hildon-time-selector.c (hildon_time_selector_init): Remove
3143         unused variable.
3144
3145 2009-01-22  Claudio Saavedra  <csaavedra@igalia.com>
3146
3147         * src/hildon-time-selector.c: (hildon_time_selector_constructor),
3148         (hildon_time_selector_init): Move the construction of the hours and
3149         ampm columns to the constructor to preserve the order the columns
3150         are appended.
3151
3152 2009-01-22  Claudio Saavedra  <csaavedra@igalia.com>
3153
3154         * src/hildon-picker-dialog.c:
3155         (hildon_picker_dialog_class_init): Connect a realize method.
3156         (+hildon_picker_dialog_realize): Setup the interaction mode here
3157         and not before.
3158         (hildon_picker_dialog_show): Do not call setup_interaction_mode()
3159         yet, do it during the realize instead.
3160         (_on_dialog_response):
3161         (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
3162         if the widget is not realized, to avoid the dialog response before it
3163         is even shown.
3164
3165         Avoid premature responses in the HildonPickerDialog that can cause it
3166         to be hidden before it's even shown.
3167
3168 2009-01-22  Claudio Saavedra  <csaavedra@igalia.com>
3169
3170         * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
3171         (on_selector_columns_changed), (requires_done_button),
3172         (+prepare_action_area), (setup_interaction_mode),
3173         (_hildon_picker_dialog_set_selector):
3174
3175         Split the interaction mode setup into preparation of the
3176         action area (prepare_action_area()) and the connection of
3177         the signals in setup_interaction_mode() and update the code to
3178         reflect this.
3179
3180 2009-01-22  Alejandro G. Castro  <alex@igalia.com>
3181
3182         * src/hildon-pannable-area.c,
3183         (hildon_pannable_area_class_init): Reduced the amount of scrolls
3184         per second to 15, we will check if this is ok regarding
3185         smoothness.
3186
3187 2009-01-22  Alejandro G. Castro  <alex@igalia.com>
3188
3189         * src/hildon-pannable-area.c,
3190         (hildon_pannable_axis_scroll): Avoid resize if we already have
3191         reached overshoot_max.
3192
3193 2009-01-22  Alejandro G. Castro  <alex@igalia.com>
3194
3195         * src/hildon-pannable-area.c,
3196         (hildon_pannable_area_init),
3197         (hildon_pannable_area_realize),
3198         (hildon_pannable_area_size_allocate),
3199         (hildon_pannable_area_map),
3200         (hildon_pannable_area_unmap),
3201         (hildon_pannable_draw_vscroll),
3202         (hildon_pannable_draw_hscroll),
3203         (hildon_pannable_area_expose_event),
3204         (hildon_pannable_area_refresh): Added a new GdkWindow to the
3205         pannable are to avoid the expose events go to the window and
3206         redraw the window. We save this way that part of the stack and the
3207         paint_boxes. We had to change the positions of the elements when
3208         drawing.
3209
3210 2009-01-21  Claudio Saavedra  <csaavedra@igalia.com>
3211
3212         * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3213         * src/hildon-color-chooser-dialog.c:
3214         (hildon_color_chooser_dialog_init):
3215         * src/hildon-font-selection-dialog.c:
3216         (hildon_font_selection_dialog_init),
3217         (hildon_font_selection_dialog_show_preview):
3218         * src/hildon-get-password-dialog.c:
3219         * src/hildon-login-dialog.c:
3220         * src/hildon-set-password-dialog.c:
3221         * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
3222         * src/hildon-time-picker.c: (hildon_time_picker_init):
3223
3224         Remove obsolete logical string IDs and update to the appropriate ones.
3225
3226         Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
3227
3228 2009-01-21  Alberto Garcia  <agarcia@igalia.com>
3229
3230         * src/hildon-window.c (hildon_window_update_topmost): Fix warning
3231         that happens if the window hasn't been realized yet.
3232
3233         Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
3234         - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
3235
3236 2009-01-20  Alberto Garcia  <agarcia@igalia.com>
3237
3238         * src/hildon-app-menu.c (hildon_app_menu_class_init)
3239         (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
3240         by another grab.
3241
3242         Fixes: NB#98537 (Device hangs in account settings dialog)
3243
3244 2009-01-20  Claudio Saavedra  <csaavedra@igalia.com>
3245
3246         * configure.ac: post release version bump.
3247         * debian/changelog: version bump
3248
3249 2009-01-20  Claudio Saavedra  <csaavedra@igalia.com>
3250
3251         [Release 2.1.36]
3252
3253         * NEWS: Updates.
3254         * configure.ac: Bump version.
3255         * debian/changelog: Updates.
3256
3257 2009-01-20  Alejandro G. Castro  <alex@igalia.com>
3258
3259         Added a new function to the HildonTimeButton widget that allows to
3260         change the step of the minutes in the selector associated with the
3261         button: hildon_time_button_new_step
3262
3263         * src/hildon-time-button.c,
3264         (hildon_time_button_init),
3265         (hildon_time_button_new),
3266         (hildon_time_button_new_step):
3267         * src/hildon-time-button.h: Added the new function and refactored
3268         the code.
3269         * examples/hildon-time-button-example.c,
3270         (main): We have replaced the function without parameters with the
3271         function with the steps set to 5
3272
3273         Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
3274
3275 2009-01-20  Alejandro G. Castro  <alex@igalia.com>
3276
3277         * src/hildon-time-selector.c,
3278         (hildon_time_selector_class_init),
3279         (hildon_time_selector_constructor),
3280         (hildon_time_selector_get_property),
3281         (hildon_time_selector_set_property),
3282         (_create_minutes_model),
3283         (hildon_time_selector_new_step),
3284         (hildon_time_selector_set_time),
3285         * src/hildon-time-selector.h: Added a new property to the
3286         HildonTimeSelector (minutes-step), we use that property to control
3287         the steps between the minutes in the list of the selector. We have
3288         added a new function to the API to create a widget changing the
3289         step: hildon_time_selector_new_step.
3290
3291 2009-01-20  Alejandro G. Castro  <alex@igalia.com>
3292
3293         * src/hildon-time-selector.c,
3294         (hildon_time_selector_class_init),
3295         (hildon_time_selector_constructor),
3296         (hildon_time_selector_init): Overrided the construct function when
3297         creating the time selector object. We have moved the minutes model
3298         handling code from the init to the new construction function:
3299         hildon_time_selector_constructor.
3300
3301 2009-01-20  Claudio Saavedra  <csaavedra@igalia.com>
3302
3303         * examples/hildon-date-button-example.c: (main): Use the new
3304         hildon_date_button_new_with_year_range() method in the example.
3305         * src/hildon-date-button.c:
3306         (+hildon_date_button_new_with_year_range): New public method
3307         to conveniently create a HildonDateButton with a custom year range
3308         in its HildonDateSelector.
3309         * src/hildon-date-button.h: Add the new public method definition.
3310
3311         Fixes: NB#97908 (Not possible to change the year range in
3312         HildonDateSelector/HildonDateButton)
3313
3314 2009-01-20  Claudio Saavedra  <csaavedra@igalia.com>
3315
3316         * src/hildon-date-selector.c:
3317         (+hildon_date_selector_set_property),
3318         (+hildon_date_selector_get_property),
3319         (hildon_date_selector_class_init): Install new properties "min-year"
3320         and "max-year" to define boundaries for the year column.
3321         (_create_year_model): Use the boundary properties to populate the model.
3322         (+hildon_date_selector_new_with_year_range): New public method to
3323         create a HildonDateSelector with a user defined year range.
3324         (hildon_date_selector_select_current_date): Use the new boundaries to
3325         calculate the iterator of current year.
3326         * src/hildon-date-selector.h: Add the new public method definition.
3327
3328 2009-01-20  Claudio Saavedra  <csaavedra@igalia.com>
3329
3330         * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
3331         Install a constructor method.
3332         (+hildon_date_selector_construct_ui): construct the widget.
3333         (+hildon_date_selector_constructor): new constructor.
3334         (+hildon_date_selector_init): move out widget construction code to
3335         the new constructor.
3336
3337 2009-01-19  Claudio Saavedra  <csaavedra@igalia.com>
3338
3339         * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
3340         that there's actually a month or year selected before obtaining them.
3341         * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
3342         of the HildonTouchSelector::changed signal, as it was emitted on every
3343         single item selection.
3344
3345         Fix some warnings and possible crashers due to the selection restoring.
3346
3347 2009-01-19  Claudio Saavedra  <csaavedra@igalia.com>
3348
3349         * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
3350         the signal handlers only after creating the dialog instead of on every
3351         button click.
3352
3353 2009-01-19  Alberto Garcia  <agarcia@igalia.com>
3354
3355         * src/hildon-button.c (hildon_button_init)
3356         * src/hildon-check-button.c (hildon_check_button_init)
3357         * src/hildon-gtk.c (button_common_init): Don't let buttons get the
3358         focus when clicked by default.
3359
3360 2009-01-19  Claudio Saavedra  <csaavedra@igalia.com>
3361
3362         * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
3363         g_object_unref().
3364
3365 2009-01-16  Claudio Saavedra  <csaavedra@igalia.com>
3366
3367         Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3368         Alejandro G. Castro  (alex@igalia.com)
3369
3370         * src/hildon-picker-dialog.c:
3371         (hildon_picker_dialog_class_init): install new "center-on-show"
3372         property.
3373         (hildon_picker_dialog_init): initialize center_on_show to TRUE.
3374         (hildon_picker_dialog_set_property): add setter code for the new
3375         property.
3376         (hildon_picker_dialog_get_property): add getter code for the new
3377         property.
3378         (hildon_picker_dialog_show): Ensure visibility of selected items in the
3379         HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
3380         default.
3381
3382         Fixes: NB#92849 (Selected item is not always visible when
3383         HildonTouchSelector is shown)
3384
3385 2009-01-16  Claudio Saavedra  <csaavedra@igalia.com>
3386
3387         Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3388         Alejandro G. Castro  (alex@igalia.com)
3389
3390         * src/hildon-touch-selector.c:
3391         (_create_new_column): Do not connect to the "realize" signal of the
3392         pannable area.
3393         (hildon_touch_selector_append_column): center on the selected items
3394         when a new column is appended.
3395         (hildon_touch_selector_select_iter): Factor out the code to select a
3396         column to hildon_touch_selector_scroll_to().
3397         (+search_nearest_element): Method to retrieve the nearest selected
3398         element to the visible area of the pannable area in a column.
3399         (+on_realize_cb): scroll to the initially selected item.
3400         (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
3401         the pannable area is realized, otherwise delay this until it is.
3402         (+_hildon_touch_selector_center_on_selected_items): Centers on the
3403         selected items of a given column.
3404         (+hildon_touch_selector_center_on_selected): Public method to center
3405         all columns on the nearest selected item.
3406         * src/hildon-touch-selector.h: Add definition for
3407         hildon_touch_selector_center_on_selected().
3408
3409         Implement public API to ensure visibility of all selected items in
3410         a HildonTouchSelector.
3411
3412 2009-01-16  Alejandro G. Castro  <alex@igalia.com>
3413
3414         Fixed a problem in the fading when calling the scroll_to API, and
3415         improve scrollbar fading handling.
3416
3417         * src/hildon-pannable-area.c,
3418         (hildon_pannable_area_grab_notify): avoid the timeout when the
3419         alpha is zero.
3420         (hildon_pannable_area_button_press_cb),
3421         (hildon_pannable_area_motion_notify_cb): Code style changes.
3422         (hildon_pannable_area_button_release_cb): Review the conditions
3423         when releasing the mouse button to avoid unrequired fading
3424         timeouts.
3425         (hildon_pannable_area_scroll_to): Do not calculate and set the
3426         velocity if the scroll is not required.
3427
3428 2009-01-15  Alberto Garcia  <agarcia@igalia.com>
3429
3430         * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
3431         Don't check whether the new selector is NULL: it cannot be.
3432         Hold a reference to the selector while doing the replacement.
3433
3434 2009-01-15  Claudio Saavedra  <csaavedra@igalia.com>
3435
3436         * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3437         unnecessary size_request in a removed widget.
3438
3439 2009-01-15  Claudio Saavedra  <csaavedra@igalia.com>
3440
3441         * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3442         an unnecessary reference tracking that was leaking.
3443
3444 2009-01-15  Alejandro G. Castro  <alex@igalia.com>
3445
3446         Added delayed motion notify event handling, this way we can
3447         discard redrawing if more than 25 events arrive per second.
3448
3449         * src/hildon-pannable-area.c,
3450         (hildon_pannable_area_init): Initialized the new private atributes
3451         controlling this timeout
3452         (hildon_pannable_area_dispose): Remove the timeout that controls
3453         the motion notify events.
3454         (hildon_pannable_area_scroll): Added a condition to control the
3455         use of the acceleration.
3456         (hildon_pannable_area_motion_event_scroll_timeout),
3457         (hildon_pannable_area_motion_event_scroll): Added this two
3458         functions, they handle the motion notify events inside the
3459         timeout.
3460         (hildon_pannable_area_motion_notify_cb): Replaced the direct call
3461         to the scroll method with the new function.
3462         (hildon_pannable_area_button_release_cb): We have to remove the
3463         timeout handler and move to the last position if the last motion
3464         events were not handled.
3465
3466         Fixes: NB#97028 (Pannable area updates on every motion event)
3467
3468 2009-01-15  Alejandro G. Castro  <alex@igalia.com>
3469
3470         * src/hildon-pannable-area.c,
3471         (hildon_pannable_area_get_topmost): Added a new parameter to
3472         filter the the windows that do not include those events. Added
3473         also a condition when finding the window to filter windows that do
3474         not ask for those events.
3475         (hildon_pannable_area_button_press_cb),
3476         (hildon_pannable_area_button_release_cb),
3477         (hildon_pannable_get_child_widget_at): Reviewed the call the the
3478         topmost function, we have added the new parameter.
3479
3480         Fixes: NB#97458 (Pannable area prevents propagation of button
3481         press events)
3482
3483 2009-01-15  Alejandro G. Castro  <alex@igalia.com>
3484
3485         * src/hildon-pannable-area.c,
3486         (hildon_pannable_area_initial_effect): Added controls before
3487         launching the timeout and the idle functions.
3488         (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
3489         of the method, in some situations it can return with TRUE and 0 in
3490         the timeout.
3491         (hildon_pannable_area_button_press_cb): We do not need to set
3492         DELAY for fading out here.
3493
3494         Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
3495
3496 2009-01-14  Claudio Saavedra  <csaavedra@igalia.com>
3497
3498         * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
3499         post-cleaning if the selection is not NULL.
3500
3501 2009-01-14  Claudio Saavedra  <csaavedra@igalia.com>
3502
3503         * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
3504         all items before restoring the selection.
3505
3506 2009-01-14  Claudio Saavedra  <csaavedra@igalia.com>
3507
3508         * src/hildon-touch-selector.c:
3509         (+hildon_touch_selector_unselect_all):
3510         * src/hildon-touch-selector.h: New API to unselect all items in a
3511         column of the touch selector.
3512
3513 2009-01-14  Alejandro G. Castro  <alex@igalia.com>
3514
3515         * src/hildon-pannable-area.c,
3516         (hildon_pannable_area_redraw): Added a call to the refresh
3517         function inside the redraw because apparently in some cases the
3518         change in the adjustment does not imply a size allocate.
3519
3520         Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
3521         despite the view not being scrollable)
3522
3523 2009-01-14  Alberto Garcia  <agarcia@igalia.com>
3524
3525         * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
3526         leak. Check for NULL before attempting to set the window title.
3527
3528 2009-01-14  Alberto Garcia  <agarcia@igalia.com>
3529
3530         * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
3531         whether to show or not the 'Done' button each time the dialog is
3532         shown, as it depends on the HildonTouchSelector selection mode.
3533
3534         Fixes: NB#96226 (In multiple selection mode Done button is shown
3535         sometimes in listpicker)
3536
3537 2009-01-14  Claudio Saavedra  <csaavedra@igalia.com>
3538
3539         * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
3540         for the number of columns in the HildonTouchSelector more than once.
3541
3542 2009-01-14  Alberto Garcia  <agarcia@igalia.com>
3543
3544         * src/hildon-touch-selector.c: Minor documentation fixes.
3545
3546         * src/hildon-picker-dialog.c (+_dialog_update_title)
3547         (_select_on_selector_changed_cb)
3548         (_update_title_on_selector_changed_cb)
3549         (on_selector_columns_changed): Update dialog title when there's no
3550         'Done' button and also when the number of columns in the selector
3551         changes.
3552         Code refactoring.
3553
3554         * src/hildon-picker-button.c (hildon_picker_button_finalize)
3555         (+_selection_changed, hildon_picker_button_on_dialog_response)
3556         (hildon_picker_button_selector_selection_changed)
3557         (+hildon_picker_button_selector_columns_changed)
3558         (hildon_picker_button_set_selector): Update button value and emit
3559         'value-changed' when the number of columns in the selector
3560         changes.
3561         Code refactoring.
3562
3563         Fixes: NB#96225 (Dialog titles are not shown according to the
3564         values selected in the list picker)
3565
3566 2009-01-13  Alberto Garcia  <agarcia@igalia.com>
3567
3568         * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
3569         (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
3570         New "arrow-width" and "arrow-height" style properties to set the
3571         size of the arrow button.
3572         Set name of arrow button ("hildon-edit-toolbar-arrow").
3573
3574         Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3575         graphics from theme)
3576
3577 2009-01-13  Claudio Saavedra  <csaavedra@igalia.com>
3578
3579         * src/hildon-picker-button.c:
3580         (hildon_picker_button_selector_selection_changed): Use
3581         GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
3582         the dialog is present.
3583
3584         Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
3585         the selection is accepted in the dialog)
3586
3587 2009-01-13  Alberto Garcia  <agarcia@igalia.com>
3588
3589         * src/hildon-color-chooser.h
3590         * src/hildon-color-chooser-dialog.h:
3591         Added G_BEGIN_DECLS and G_END_DECLS
3592
3593 2009-01-13  Claudio Saavedra  <csaavedra@igalia.com>
3594
3595         (_clean_current_selection): plug a leak in the list.
3596
3597 2009-01-13  Claudio Saavedra  <csaavedra@igalia.com>
3598
3599         * src/hildon-picker-dialog.c:
3600         (+free_path_list): Method to free a GList of GtkTreePaths.
3601         (_clean_current_selection), (_save_current_selection),
3602         (_restore_current_selection): Save the current selection in
3603         as a list of lists, to support multiple selection properly.
3604
3605 2009-01-12  Alberto Garcia  <agarcia@igalia.com>
3606
3607         patch by Claudio Saavedra (csaavedra@igalia.com)
3608
3609         * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
3610         Store the press position.
3611         (+hildon_text_view_button_release_event): If the release position is
3612         close enough to the press position, move the cursor here. Otherwise,
3613         ignore.
3614         (hildon_text_view_class_init): Override GtkTextView press, release, and
3615         motion event handlers, disabling this way text selection through
3616         pointer interaction, and allowing the container widget to handle the
3617         motion event.
3618
3619         Fixes: NB#95828 (HildonTextView functionality)
3620
3621 2009-01-12  Alberto Garcia  <agarcia@igalia.com>
3622
3623         Based on a patch by Iván Gómez (igomez@igalia.com)
3624
3625         * src/hildon-button.[ch]
3626         * src/hildon-calendar.c
3627         * src/hildon-check-button.c
3628         * src/hildon-date-editor.c
3629         * src/hildon-date-selector.c
3630         * src/hildon-picker-button.c
3631         * src/hildon-time-editor.c
3632         * src/hildon-time-selector.c
3633         * src/hildon-touch-selector.[ch]:
3634         Documentation updates
3635
3636 2009-01-12  Alejandro G. Castro  <alex@igalia.com>
3637
3638         * src/hildon-pannable-area.c,
3639         (hildon_pannable_area_motion_notify_cb): Remove the extra DND
3640         threshold, it was required due to X events handling.
3641
3642 2009-01-12  Alejandro G. Castro  <alex@igalia.com>
3643
3644         * src/hildon-pannable-area.c,
3645         (hildon_pannable_area_grab_notify),
3646         (hildon_pannable_area_initial_effect),
3647         (hildon_pannable_area_button_press_cb),
3648         (hildon_pannable_area_button_release_cb),
3649         (hildon_pannable_area_scroll_cb),
3650         (hildon_pannable_area_scroll_to): Review the timeout management of
3651         the scrollbar, the frecuency was incorrectly set.
3652
3653 2009-01-09  Claudio Saavedra  <csaavedra@igalia.com>
3654
3655         * src/hildon-picker-button.c:
3656         (+hildon_picker_button_on_dialog_response),
3657         (hildon_picker_button_clicked): Present the dialog instead of
3658         running it with gtk_dialog_run().
3659
3660         Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
3661         picker dialog)
3662
3663 2009-01-07  Alberto Garcia  <agarcia@igalia.com>
3664
3665         * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3666         (hildon_app_menu_finalize): When a window is hidden it doesn't
3667         emit notify::is-topmost, so make sure than the menu also
3668         disappears in that case.
3669         (parent_window_topmost_notify): Renamed from parent_window_hidden
3670
3671         Fixes: NB#94460 (stackable window's menu is not closed when its
3672         window is hidden)
3673
3674 2009-01-07  Claudio Saavedra  <csaavedra@igalia.com>
3675
3676         * src/hildon-touch-selector-entry.c:
3677         (+hildon_touch_selector_entry_set_input_mode),
3678         (+hildon_touch_selector_entry_get_input_mode):
3679         * src/hildon-touch-selector-entry.h: New methods to access the input
3680         mode in the selector's entry.
3681
3682         Fixes: NB#93410 (API required for setting IM mode in
3683         HildonTouchSelectorEntry)
3684
3685 2009-01-07  Claudio Saavedra  <csaavedra@igalia.com>
3686
3687         * configure.ac: post release version bump.
3688         * debian/changelog: version bump
3689
3690 2009-01-07  Claudio Saavedra  <csaavedra@igalia.com>
3691
3692         [Release 2.1.34]
3693
3694         * NEWS: Updates.
3695         * configure.ac: Bump version.
3696         * debian/changelog: Updates.
3697
3698 2008-12-19  Claudio Saavedra  <csaavedra@igalia.com>
3699
3700         * src/hildon-touch-selector.c:
3701         (_hildon_touch_selector_has_multiple_selection): No need
3702         to initialize the variables here.
3703
3704 2008-12-17  Alberto Garcia  <agarcia@igalia.com>
3705
3706         * src/hildon-note-private.h
3707         * src/hildon-note.c (event_box_press_event, hildon_note_init)
3708         (hildon_note_finalize, hildon_note_rebuild): Close information
3709         notes when they receive a button press.
3710
3711         Fixes: NB#89890 (Information notes does not get disappeared after
3712         few seconds)
3713
3714 2008-12-17  Claudio Saavedra  <csaavedra@igalia.com>
3715
3716         * src/hildon-wizard-dialog.c: (create_title): Remove translation
3717         mark from the wizard title, as it's not really necessary. Also,
3718         do not display the page title if not set.
3719
3720 2008-12-17  Alberto Garcia  <agarcia@igalia.com>
3721
3722         * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3723         (parent_window_hidden): Use the window's "is-topmost" property to
3724         detect when to hide the menu.
3725
3726 2008-12-16  Alberto Garcia  <agarcia@igalia.com>
3727
3728         * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3729         (hildon_app_menu_finalize): If the parent window of the menu is
3730         hidden, hide the menu too.
3731
3732         Fixes: NB#94460 (stackable window's menu is not closed when its
3733         window is hidden)
3734
3735 2008-12-16  Alberto Garcia  <agarcia@igalia.com>
3736
3737         * debian/changelog
3738         * debian/libhildon1-examples.install
3739         * debian/rules
3740         * examples/Makefile.am:
3741         Use dh_install to install all examples.
3742         Use DEB_SRCDIR instead of defining SOURCE_DIR
3743
3744 2008-12-16  Claudio Saavedra  <csaavedra@igalia.com>
3745
3746         * configure.ac: post release version bump.
3747         * debian/changelog: version bump
3748
3749 2008-12-16  Claudio Saavedra  <csaavedra@igalia.com>
3750
3751         [Release 2.1.32]
3752
3753         * NEWS: updates
3754         * configure.ac: bump version
3755         * debian/changelog: updates
3756         * debian/control: bump gtk+ dependency
3757
3758 2008-12-16  Claudio Saavedra  <csaavedra@igalia.com>
3759
3760         patch by Christian Dywan (christian@imendio.com)
3761
3762         * src/hildon-gtk.c: (hildon_gtk_hscale_new),
3763         (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
3764
3765 2008-12-15  Alberto Garcia  <agarcia@igalia.com>
3766
3767         * src/hildon-check-button.c (hildon_check_button_init)
3768         (hildon_check_button_class_init, hildon_check_button_style_set)
3769         (hildon_check_button_apply_style):
3770         New "checkbox-size" style property.
3771
3772         Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
3773         larger / configurable size)
3774
3775 2008-12-15  Claudio Saavedra  <csaavedra@igalia.com>
3776
3777         * configure.ac: post release version bump.
3778         * debian/changelog: version bump
3779
3780 2008-12-15  Claudio Saavedra  <csaavedra@igalia.com>
3781
3782         [Release 2.1.30]
3783
3784         * NEWS: updates
3785         * configure.ac: bump version
3786         * debian/changelog: updates
3787
3788 2008-12-12  Alberto Garcia  <agarcia@igalia.com>
3789
3790         * doc/hildon-sections.txt
3791         * src/hildon-pannable-area.c
3792         * src/hildon-program.c
3793         * src/hildon-time-editor.c
3794         * src/hildon-touch-selector-entry.c:
3795
3796         More documentation updates.
3797
3798 2008-12-12  Alberto Garcia  <agarcia@igalia.com>
3799
3800         * doc/hildon-sections.txt
3801         * src/hildon-caption.c
3802         * src/hildon-code-dialog.c
3803         * src/hildon-color-button.c
3804         * src/hildon-controlbar.c
3805         * src/hildon-date-editor.c
3806         * src/hildon-date-selector.c
3807         * src/hildon-edit-toolbar.c
3808         * src/hildon-find-toolbar.c
3809         * src/hildon-font-selection-dialog.c
3810         * src/hildon-gtk.c
3811         * src/hildon-program.c
3812         * src/hildon-range-editor.c
3813         * src/hildon-seekbar.c
3814         * src/hildon-time-editor.c
3815         * src/hildon-time-selector.c
3816         * src/hildon-volumebar-range.c
3817         * src/hildon-volumebar.c
3818         * src/hildon-vvolumebar.c
3819         * src/hildon-weekday-picker.c
3820         * src/hildon-window.c
3821         * src/hildon-wizard-dialog.c:
3822
3823         Lots of documentation fixes.
3824
3825 2008-12-12  Claudio Saavedra  <csaavedra@igalia.com>
3826
3827         Patch contributed by Iván Gómez (igomez@igalia.com)
3828
3829         * src/hildon-check-button.c:
3830         * src/hildon-date-button.c:
3831         * src/hildon-date-selector.c:
3832         * src/hildon-dialog.c:
3833         * src/hildon-edit-toolbar.c:
3834         * src/hildon-entry.c:
3835         * src/hildon-picker-button.c:
3836         * src/hildon-program.c:
3837         * src/hildon-text-view.c:
3838         * src/hildon-time-button.c:
3839         * src/hildon-touch-selector-entry.c:
3840         * src/hildon-window-stack.c:
3841
3842         Add more "since" tags to the new API.
3843
3844 2008-12-12  Claudio Saavedra  <csaavedra@igalia.com>
3845
3846         * doc/hildon-sections.txt: Add below method.
3847         * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
3848         version for the hildonized scale.
3849         * src/hildon-gtk.h: Add the definition.
3850
3851         Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3852
3853 2008-12-12  Claudio Saavedra  <csaavedra@igalia.com>
3854
3855         * doc/hildon-sections.txt: Add missing entries for new methods.
3856
3857 2008-12-12  Alejandro G. Castro  <alex@igalia.com>
3858
3859         Added API to pannable are in order to get its adjustments. We
3860         added two properties to manage the values we had in the private
3861         structure.
3862
3863         * src/hildon-pannable-area.c:
3864         (hildon_pannable_area_class_init): Added hadjustment and
3865         vadjustment properties in order to expose horizontal and vertical
3866         adjustment.
3867         (hildon_pannable_area_get_property),
3868         (hildon_pannable_area_set_property): Added code to handle the new
3869         properties
3870         (hildon_pannable_area_get_hadjustment),
3871         (hildon_pannable_area_get_vadjustment): API functions to get the
3872         adjustments
3873         * src/hildon-pannable-area.h:
3874         (hildon_pannable_area_get_hadjustment),
3875         (hildon_pannable_area_get_vadjustment): API functions to get the
3876         adjustments
3877
3878 2008-12-12  Alejandro G. Castro  <alex@igalia.com>
3879
3880         Fixed some leaks, after valgrinding.
3881
3882         * src/hildon-touch-selector.c:
3883         (_default_print_func): Fixed a leak.
3884         (hildon_touch_selector_append_column): Fixed a leak.
3885         * src/hildon-date-button.c:
3886         (hildon_date_button_init): Fixed a leak.
3887         * src/hildon-date-selector.c
3888         (hildon_date_selector_finalize): Fixed a leak.
3889
3890 2008-12-12  Claudio Saavedra  <csaavedra@igalia.com>
3891
3892         Based on a patch by Christian Dywan (christian@imendio.com)
3893
3894         * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
3895         GtkHScale.
3896         * src/hildon-gtk.h: Add definition.
3897
3898         Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3899
3900 2008-12-11  Claudio Saavedra  <csaavedra@igalia.com>
3901
3902         * src/hildon-picker-button.c: (hildon_picker_button_init),
3903         (hildon_picker_button_new): Set the HildonButton::style property
3904         in the init method, to propagate the value to the derived classes.
3905
3906 2008-12-11  Claudio Saavedra  <csaavedra@igalia.com>
3907
3908         * src/hildon-button.c: (hildon_button_class_init): Do not make
3909         the "style" property a construct property.
3910
3911 2008-12-11  Alberto Garcia  <agarcia@igalia.com>
3912
3913         * src/hildon-wizard-dialog.h
3914         * src/hildon-wizard-dialog.c
3915         (hildon_wizard_dialog_set_forward_page_func)
3916         * src/hildon-pannable-area.h
3917         * src/hildon-pannable-area.c
3918         (hildon_pannable_area_set_size_request_policy):
3919         Documentation fixes.
3920
3921 2008-12-11  Alberto Garcia  <agarcia@igalia.com>
3922
3923         * doc/hildon-sections.txt: Fixed warning about unused symbols.
3924
3925 2008-12-11  Alberto Garcia  <agarcia@igalia.com>
3926
3927         * doc/hildon-sections.txt: Added sections file.
3928
3929 2008-12-11  Claudio Saavedra  <csaavedra@igalia.com>
3930
3931         * AUTHORS: Updates.
3932         * src/*.[ch]: Updates.
3933
3934 2008-12-10  Thomas Thurman  <thomas.thurman@collabora.co.uk>
3935
3936         * examples/hildon-progress-indicator-example.c: new file
3937         * examples/Makefile.am: include the new example program
3938
3939 2008-12-10  Alberto Garcia  <agarcia@igalia.com>
3940
3941         * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
3942
3943 2008-12-09  Claudio Saavedra  <csaavedra@igalia.com>
3944
3945         * configure.ac: post release version bump
3946         * debian/changelog: version bump
3947
3948 2008-12-09  Claudio Saavedra  <csaavedra@igalia.com>
3949
3950         [Release 2.1.28]
3951
3952         * NEWS: updates
3953         * configure.ac: bump version
3954         * debian/changelog: updates
3955         * debian/control: bump gtk+ dependency
3956
3957 2008-12-09  Claudio Saavedra  <csaavedra@igalia.com>
3958
3959         * src/hildon-dialog.c: Mark as deprecated.
3960         * src/hildon-dialog.h: Mark as deprecated.
3961         * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
3962         from HildonDialog and still work, even if
3963         HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
3964         break the ABI and simply make HildonPickerDialog derive from GtkDialog.
3965
3966         Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
3967         maemo changes) instead)
3968
3969 2008-12-09  Alejandro G. Castro  <alex@igalia.com>
3970
3971         * src/hildon-pannable_area.h:
3972         * src/hildon-pannable_area.c:
3973         (hildon_pannable_area_class_init),
3974         (hildon_pannable_area_set_property),
3975         (hildon_pannable_area_get_property),
3976         (hildon_pannable_area_size_request),
3977         (hildon_pannable_area_get_size_request_policy),
3978         (hildon_pannable_area_set_size_request_policy): Added new API
3979         allowing applications to control the request policy. Now they can
3980         choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
3981         children allocation (HILDON_MOVEMENT_CHILDREN).
3982
3983 2008-12-09  Alberto Garcia  <agarcia@igalia.com>
3984
3985         * src/hildon-gtk.h
3986         * src/hildon-gtk.c
3987         (hildon_gtk_tree_view_set_ui_mode)
3988         (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
3989         mode of treeviews and iconviews.
3990
3991 2008-12-09  Claudio Saavedra  <csaavedra@igalia.com>
3992
3993         * src/hildon-touch-selector-entry.c:
3994         (hildon_touch_selector_entry_init): Use a HildonEntry instead
3995         of a GtkEntry to get proper theming.
3996
3997         Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
3998         widget, not GtkEntry)
3999
4000 2008-12-09  Claudio Saavedra  <csaavedra@igalia.com>
4001
4002         * src/hildon-wizard-dialog.c: (response): Move forward if there is
4003         no HildonWizardDialogPageFunc.
4004
4005 2008-12-09  Claudio Saavedra  <csaavedra@igalia.com>
4006
4007         Patch contributed by Iván Gómez (igomez@igalia.com)
4008
4009         * src/hildon-app-menu.c:
4010         * src/hildon-button.c:
4011         * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
4012         * src/hildon-stackable-window.c:
4013         * src/hildon-time-selector.c:
4014         * src/hildon-touch-selector.c:
4015         * src/hildon-window.c:
4016
4017         Add more "since" tags to the new API in hildon 2.2.
4018
4019 2008-12-05  Tim Janik  <timj@imendio.com>
4020
4021         Patch contributed by Christian Dywan (christian@imendio.com)
4022
4023         * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
4024         HildonSizeType, which are supplied by Gtk+ now.
4025
4026         * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
4027
4028         Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
4029         (with maemo changes) instead)
4030
4031 2008-12-05  Claudio Saavedra  <csaavedra@igalia.com>
4032
4033         Patch contributed by Iván Gómez (igomez@igalia.com)
4034
4035         * src/hildon-pannable-area.c: Add "since" tags to the new API in
4036         hildon 2.2.
4037
4038 2008-12-05  Claudio Saavedra  <csaavedra@igalia.com>
4039
4040         * examples/hildon-wizard-dialog-example.c: (on_page_switch),
4041         (some_page_func), (main): Update the example to use a
4042         HildonWizardDialogPageFunc function.
4043
4044         * src/hildon-wizard-dialog-private.h: Add private data for
4045         the HildonWizardDialogPageFunc function usage.
4046
4047         * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
4048         (destroy), (hildon_wizard_dialog_init), (response),
4049         (hildon_wizard_dialog_set_forward_page_func):
4050         * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
4051         that applications can use to stop a HildonWizardDialog to jump to
4052         the next page.
4053
4054         Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
4055         next page)
4056
4057 2008-12-04  Alberto Garcia  <agarcia@igalia.com>
4058
4059         * src/hildon-program.h
4060         * src/hildon-program-private.h
4061         * src/hildon-program.c (hildon_program_init)
4062         (hildon_program_set_common_app_menu)
4063         (hildon_program_get_common_app_menu):
4064         New API for setting a common HildonAppMenu for all
4065         HildonStackableWindows registered with the HildonProgram.
4066
4067         * src/hildon-stackable-window.c
4068         (hildon_stackable_window_toggle_menu):
4069         Use the common HildonAppMenu if a window doesn't have a specific
4070         one.
4071
4072         * src/hildon-app-menu-private.h
4073         * src/hildon-app-menu.c
4074         (hildon_app_menu_get_parent_window):
4075         Function to obtain the window a HildonAppMenu is attached to.
4076         (hildon_app_menu_set_parent_window):
4077         Hide the menu if the parent window is set to NULL.
4078
4079 2008-12-04  Claudio Saavedra  <csaavedra@igalia.com>
4080
4081         * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
4082         set GtkTreeView::enable-search to FALSE, to avoid the interactive
4083         search widget to popup.
4084
4085 2008-12-03  Claudio Saavedra  <csaavedra@igalia.com>
4086
4087         * configure.ac: post release version bump
4088         * debian/changelog: version bump
4089
4090 2008-12-03  Claudio Saavedra  <csaavedra@igalia.com>
4091
4092         [Release 2.1.26]
4093
4094         * NEWS: updates
4095         * configure.ac: bump version
4096         * debian/changelog: updates
4097
4098 2008-12-02  Alberto Garcia  <agarcia@igalia.com>
4099
4100         Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
4101
4102         * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
4103         (hildon_window_stack_window_realized)
4104         (hildon_window_stack_remove, _hildon_window_stack_do_push):
4105         Set the leader GdkWindow when a window is stacked and realized,
4106         unset it when it's unstacked.
4107         (hildon_window_stack_finalize): Destroy the leader GdkWindow.
4108
4109         Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
4110
4111 2008-12-02  Alberto Garcia  <agarcia@igalia.com>
4112
4113         * src/hildon-stackable-window.h
4114         * src/hildon-window-stack.h:
4115         Protect definition of HildonWindowStack using the preprocessor.
4116
4117 2008-12-02  Alberto Garcia  <agarcia@igalia.com>
4118
4119         * src/hildon-app-menu.c (hildon_app_menu_repack_items):
4120         Fix warning if all menu items are hidden.
4121
4122 2008-12-02  Claudio Saavedra  <csaavedra@igalia.com>
4123
4124         Patch contributed by Daniel Borgmann (danielb@openismus.com)
4125
4126         * src/hildon-controlbar.c:
4127         * src/hildon-hvolumebar.c:
4128         * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
4129         Multiple scale size defines updates.
4130
4131         Fixes: NB#94322 (Scale Updates)
4132
4133 2008-12-02  Alberto Garcia  <agarcia@igalia.com>
4134
4135         * examples/hildon-app-menu-example.c (create_menu)
4136         Show items after adding them to the menu, as in the future the
4137         menu will no longer call gtk_widget_show() on the added items.
4138
4139         * src/hildon-app-menu.c:
4140         Update example as explained above.
4141
4142 2008-12-02  Alberto Garcia  <agarcia@igalia.com>
4143
4144         * src/hildon-app-menu.c
4145         (hildon_app_menu_insert, hildon_app_menu_add_filter):
4146         Make sure that all menu items have finger height.
4147
4148 2008-12-01  Alejandro Pinheiro  <apinheiro@igalia.com>
4149
4150         * src/hildon-picker-dialog.c:
4151         (_on_dialog_response), (_save_current_selection),
4152         (_restore_current_selection), (_clean_current_selection),
4153         (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
4154         Defined new functions in order to save the current internal selector
4155         selection previous open the dialog, in case that the use cancel the
4156         interaction, so the widget restores the previous selection.
4157
4158         Fixes: NB#92032 (In calendar application, date values in 'new event' 
4159         are not proper)
4160
4161         (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
4162
4163 2008-11-28  Alberto Garcia  <agarcia@igalia.com>
4164
4165         * src/hildon-button.c: Add a reference to the button examples in
4166         hildon-button-example.c
4167
4168         * examples/hildon-button-example.c: Added examples of the most
4169         common button layouts.
4170
4171 2008-11-28  Alberto Garcia  <agarcia@igalia.com>
4172
4173         * src/hildon-app-menu.c (hildon_app_menu_show)
4174         (hildon_app_menu_class_init): Don't show the menu if it's empty.
4175
4176         Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
4177
4178 2008-11-27  Claudio Saavedra  <csaavedra@igalia.com>
4179
4180         * src/hildon-picker-dialog.c:
4181         (hildon_picker_dialog_init): Initialize the signal id for
4182         HildonTouchSelector::columns-changed.
4183         (+on_selector_columns_changed): Set up the interaction mode everytime a
4184         column is added or removed from the HildonTouchSelector.
4185         (_hildon_picker_dialog_set_selector): Connect to
4186         HildonTouchSelector::columns-changed and keep track of it.
4187
4188         Make sure to update the interaction mode of the dialog everytime a
4189         column is added or removed in the HildonTouchSelector.
4190
4191         Fixes: NB#93228 (Done button is not shown always in listpicker)
4192
4193 2008-11-27  Claudio Saavedra  <csaavedra@igalia.com>
4194
4195         * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
4196         a new ::columns-changed signal.
4197         (hildon_touch_selector_append_column): Emit ::columns-changed.
4198         (hildon_touch_selector_remove_column): Emit ::columns-changed.
4199
4200         Add a ::columns-changed signal, emitted when the number of columns in a
4201         HildonTouchSelector changes.
4202
4203 2008-11-27  Claudio Saavedra  <csaavedra@igalia.com>
4204
4205         * src/hildon-picker-dialog.c: (+setup_interaction_mode),
4206         (_hildon_picker_dialog_set_selector): Factor out the code
4207         to set up the dialog interaction mode.
4208
4209 2008-11-27  Claudio Saavedra  <csaavedra@igalia.com>
4210
4211         * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
4212         (_hildon_picker_dialog_set_selector): Rename signal_id private variable
4213         to signal_changed_id.
4214
4215 2008-11-27  Claudio Saavedra  <csaavedra@igalia.com>
4216
4217         * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4218         Minor doc. fixes.
4219
4220 2008-11-27  Alejandro Pinheiro  <apinheiro@igalia.com>
4221
4222         * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
4223         Updated the logical ids related to ampm format, as now it is required to
4224         show it correctly localized even on languages with no default
4225         abbreviations for am or pm
4226         (_check_am_pm_format): check correctly the 24h format gconf property
4227
4228         Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
4229
4230 2008-11-27  Alberto Garcia  <agarcia@igalia.com>
4231
4232         * src/hildon-button.c: Documentation updates.
4233
4234 2008-11-27  Claudio Saavedra  <csaavedra@igalia.com>
4235
4236         * src/hildon-marshalers.list: Add BOOLEAN:VOID.
4237         * src/hildon-caption.c: (hildon_caption_class_init):
4238         * src/hildon-color-button.c: (hildon_color_button_class_init):
4239         * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
4240         * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4241         * src/hildon-volumebar.c: (hildon_volumebar_class_init):
4242         * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
4243
4244         Remove deprecated GTK+ marshalers and replace them with the ones
4245         provided by GLib, for those available, add a marshaler for
4246         BOOLEAN:VOID, which is not available in GLib, and use it.
4247
4248 2008-11-27  Claudio Saavedra  <csaavedra@igalia.com>
4249
4250         * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
4251         the text from the previous column if there is no
4252         HildonTouchSelectorColumn::text-property set.
4253
4254 2008-11-27  Alberto Garcia  <agarcia@igalia.com>
4255
4256         * src/hildon-button.h
4257         * src/hildon-button.c (hildon_button_set_property)
4258         (hildon_button_get_property, hildon_button_class_init)
4259         (hildon_button_set_style, hildon_button_get_style):
4260         New "style" property to change the visual appearance of the
4261         button.
4262
4263         * src/hildon-picker-button.c (hildon_picker_button_new):
4264         Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
4265
4266         Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
4267         HildonButton look like PickerButton)
4268
4269 2008-11-27  Claudio Saavedra  <csaavedra@igalia.com>
4270
4271         * src/hildon-touch-selector.c: (_default_print_func): Get the correct
4272         column while building the default string.
4273
4274 2008-11-25  Claudio Saavedra  <csaavedra@igalia.com>
4275
4276         * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
4277         scroll indicator by default.
4278
4279         Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
4280
4281 2008-11-25  Claudio Saavedra  <csaavedra@igalia.com>
4282
4283         * src/hildon-main.c: Fix the documentation for hildon_init()
4284
4285 2008-11-25  Alberto Garcia  <agarcia@igalia.com>
4286
4287         * doc/hildon-docs.sgml
4288         * doc/hildon.types
4289         * src/Makefile.am
4290         * src/hildon.h
4291         * src/hildon-window-stack-private.h
4292         * src/hildon-window-stack.h
4293         * src/hildon-window-stack.c:
4294         New HildonWindowStack object, that adds support for multiple
4295         stacks of windows per process.
4296
4297         * src/hildon-stackable-window-private.h
4298         * src/hildon-stackable-window.h
4299         * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
4300         (hildon_stackable_window_get_stack, hildon_stackable_window_map)
4301         (hildon_stackable_window_show, hildon_stackable_window_hide)
4302         (hildon_stackable_window_class_init)
4303         (hildon_stackable_window_init):
4304         Use HildonWindowStack for stack management.
4305
4306         * src/hildon-program.c (hildon_program_pop_window_stack)
4307         (hildon_program_peek_window_stack)
4308         (hildon_program_go_to_root_window):
4309         Add a fallback implementation to the deprecated functions using
4310         HildonWindowStack.
4311
4312         * examples/hildon-stackable-window-example.c:
4313         Use the new HildonWindowStack API.
4314
4315 2008-11-25  Alberto Garcia  <agarcia@igalia.com>
4316
4317         * src/hildon-stackable-window-private.h
4318         * src/hildon-stackable-window.c (hildon_stackable_window_show)
4319         (hildon_stackable_window_hide, hildon_stackable_window_init):
4320         Remove all window stack management.
4321
4322         * src/hildon-program-private.h
4323         * src/hildon-program.h
4324         * src/hildon-program.c (hildon_program_init)
4325         (hildon_program_pop_window_stack)
4326         (hildon_program_peek_window_stack)
4327         (hildon_program_go_to_root_window):
4328         Remove all window stack management and mark functions as
4329         deprecated.
4330
4331 2008-11-25  Alberto Garcia  <agarcia@igalia.com>
4332
4333         * src/hildon-app-menu.c (hildon_app_menu_realize):
4334         Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
4335
4336 2008-11-24  Claudio Saavedra  <csaavedra@igalia.com>
4337
4338         * configure.ac: post release version bump
4339         * debian/changelog: version bump
4340
4341 2008-11-24  Claudio Saavedra  <csaavedra@igalia.com>
4342
4343         [Release 2.1.24]
4344
4345         * NEWS: updates
4346         * configure.ac: bump version
4347         * debian/changelog: updates
4348
4349 2008-11-24  Claudio Saavedra  <csaavedra@igalia.com>
4350
4351         Based on initial code by Christian Dywan (christian@imendio.com)
4352
4353         * doc/hildon-docs.sgml: Add section for hildon-main.
4354         * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
4355         * src/Makefile.am: Add new hildon-main.[ch]
4356         * src/hildon-defines.h: Update the icon sizes.
4357         * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
4358         new library initialization files and register icon sizes.
4359         * src/hildon-main.h: New declarations.
4360         * src/hildon.h: Include hildon-main.h
4361
4362         Add new initialization functions to the library. These methods
4363         will register the hildon specific icon sizes and can be used in the
4364         future for other hildon specific bits.
4365
4366         Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
4367
4368 2008-11-21  Claudio Saavedra  <csaavedra@igalia.com>
4369
4370         * src/hildon-window.c: (hildon_window_realize),
4371         (hildon_window_notify), (-hildon_window_update_title): Do not set
4372         the application name in the window title.
4373
4374         Fixes: NB#89754 (Applications shouldn't display their names in the
4375         window title)
4376
4377 2008-11-21  Claudio Saavedra  <csaavedra@igalia.com>
4378
4379         * src/hildon-note-private.h:
4380         * src/hildon-note.c: (hildon_note_set_property),
4381         (hildon_note_get_property), (hildon_note_class_init),
4382         (hildon_note_init), (hildon_note_finalize),
4383         (hildon_note_new_confirmation_with_icon_name),
4384         (hildon_note_new_information_with_icon_name):
4385
4386         No need to mark as deprecated the actual code. Revert
4387         to avoid missing symbols in widgets using deprecated API.
4388
4389 2008-11-20  Alberto Garcia  <agarcia@igalia.com>
4390
4391         Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
4392
4393         * src/hildon-volumebar.h
4394         * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
4395         (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
4396
4397         * src/hildon-helper.h
4398         * src/hildon-helper.c (hildon_helper_set_insensitive_message)
4399         (hildon_helper_set_insensitive_messagef): Mark as deprecated.
4400
4401         * examples/Makefile.am:
4402         Deprecate hildon-insensitive-example
4403
4404         Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
4405
4406 2008-11-20  Alberto Garcia  <agarcia@igalia.com>
4407
4408         * examples/hildon-pannable-area-buttons-scroll-example.c:
4409         Make all buttons finger height
4410
4411 2008-11-19  Alejandro Pinheiro  <apinheiro@igalia.com>
4412
4413         * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
4414         documentation
4415         * src/hildon-date-selector.c: (_update_day_model): Modified in order to
4416         update the day model only if it is really required, and to avoid the
4417         full-reconstruction aproach. Now it only add or remove the required days.
4418
4419         The purpose of this is avoid superfluous HildonTouchSelector::changed
4420         signals
4421
4422         Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
4423         with strange parameters)
4424
4425 2008-11-19  Claudio Saavedra  <csaavedra@igalia.com>
4426
4427         Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
4428
4429         * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
4430         the WINDOW_TYPE property.
4431
4432         Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
4433
4434 2008-11-19  Alberto Garcia  <agarcia@igalia.com>
4435
4436         * doc/gtk-doc.make:
4437         Fix dependency to allow parallel compilation with make -jX
4438
4439 2008-11-18  Claudio Saavedra  <csaavedra@igalia.com>
4440
4441         * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
4442         color frame and some minor tweaks to make it more consistent with
4443         current theming.
4444
4445         Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
4446         highlighted but not visible)
4447
4448 2008-11-14  Alejandro G. Castro  <alex@igalia.com>
4449
4450         * examples/Makefile.am: Fixed typo in the Makefile.am.
4451
4452 2008-11-14  Alejandro G. Castro  <alex@igalia.com>
4453
4454         Reviewed the use of MAEMO_GTK define, now we add the define in the
4455         compilation line, and we also add it to the pc file.
4456
4457         * configure.ac: Added MAEMO_GTK define to the compilation command
4458         and removed it from the config.h.
4459
4460         * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
4461         do not have to take care about this define if the library was
4462         compiled with it.
4463
4464         * src/hildon-gtk.c:
4465         * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
4466
4467 2008-11-14  Alejandro G. Castro  <alex@igalia.com>
4468
4469         * examples/Makefile.am,
4470         * examples/hildon-pannable-area-buttons-scroll-example.c,
4471         * examples/hildon-pannable-area-gesture-signals-example.c,
4472         * examples/hildon-pannable-area-scroll-jump-example.c,
4473         * examples/hildon-pannable-area-tree-view-example.c:
4474         Renamed the pannable area examples, now they have more meaningful
4475         names.
4476
4477 2008-11-13  Alejandro Pinheiro   <apinheiro@igalia.com>
4478
4479         * src/hildon-touch-selector.c:
4480         (hildon_touch_selector_set_column_selection_mode): Used of
4481         GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
4482         mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
4483         to avoid re-seting the same selection mode.
4484
4485         Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
4486         breaks HildonPickerDialog)
4487
4488 2008-11-13  Alejandro G. Castro  <alex@igalia.com>
4489
4490         * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
4491         conditional in the Makefile.am
4492
4493 2008-11-12  Claudio Saavedra  <csaavedra@igalia.com>
4494
4495         * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
4496         Remove unused methods.
4497
4498 2008-11-12  Alberto Garcia  <agarcia@igalia.com>
4499
4500         * src/hildon-button.c (hildon_button_init):
4501         Make button images center-aligned by default
4502
4503 2008-11-12  Alejandro G. Castro  <alex@igalia.com>
4504
4505         * src/hildon-gtk.c:
4506         * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
4507         activated, we have to think about how to deal with both defines
4508         MAEMO_GTK and MAEMO_CHANGES.
4509
4510 2008-11-12  Alberto Garcia  <agarcia@igalia.com>
4511
4512         * examples/hildon-app-menu-example.c (create_menu): Make all
4513         buttons finger size.
4514
4515 2008-11-11  Alejandro G. Castro  <alex@igalia.com>
4516
4517         Fixed the compilation without maemo gtk adding ifdefs with
4518         MAEMO_GTK define to the code, we have to check this version more
4519         carefully.
4520
4521         * examples/Makefile.am: Added control to avoid some examples that
4522         just make sense with maemo gtk.
4523
4524         * src/hildon-gtk.c:
4525         * src/hildon-gtk.h: Remove some functions that use the maemo gtk
4526         hildon modes with the define.
4527
4528         * examples/hildon-edit-toolbar-example.c,
4529         (create_icon_view): Create the icon view without hildon-gtk
4530         helpers if we are not using maemo gtk.
4531
4532         * src/hildon-touch-selector.c,
4533         (_create_new_column): Create the treeview without hildon-gtk
4534         helpers if we are not using maemo gtk.
4535
4536 2008-11-11  Alejandro G. Castro  <alex@igalia.com>
4537
4538         * src/hildon-pnnable-area.c,
4539         (hildon_pannable_area_dispose),
4540         (hildon_pannable_area_button_press_cb),
4541         (hildon_pannable_area_child_mapped),
4542         (hildon_pannable_area_add),
4543         (hildon_pannable_area_remove): Added code to control the position
4544         of the event_window when adding and removing children from the
4545         pannable. We have to raise the event window when the child is
4546         mapped.
4547
4548         Fixes: NB#89811 (Not able to select first image thumbnail in multi
4549         selection mode using custom widget inside pannable)
4550
4551 2008-11-11  Claudio Saavedra  <csaavedra@igalia.com>
4552
4553         * configure.ac: post release version bump
4554         * debian/changelog: version bump
4555
4556 2008-11-11  Claudio Saavedra  <csaavedra@igalia.com>
4557
4558         [Release 2.1.22]
4559
4560         * NEWS: updates
4561         * configure.ac: bump version
4562         * debian/changelog: updates
4563
4564 2008-11-10  Alejandro Pinheiro  <apinheiro@igalia.com>
4565
4566         * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
4567         search mode, in order to avoid lose the focus on the treeview when
4568         a hw key (like enter) is pressed.
4569
4570         Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
4571         in HildonDateSelector dialog)
4572
4573 2008-11-06  Alejandro Pinheiro  <apinheiro@igalia.com>
4574
4575         * debian/rules: Added --enable-maintainer-mode
4576         * Makefile.am: Added ACLOCAL_AMFLAGS
4577
4578         This allows to properly regenerate the Makefiles if you modify the
4579         configure.ac or any Makefile.am.
4580
4581 2008-11-06  Claudio Saavedra  <csaavedra@igalia.com>
4582
4583         * examples/hildon-app-menu-example.c: (main): Do not set RC style
4584         properties, not needed at all.
4585
4586 2008-11-06  Claudio Saavedra  <csaavedra@igalia.com>
4587
4588         * src/hildon-note-private.h: Add strings for the icon and stock_icon
4589         properties.
4590         * src/hildon-note.c: (hildon_note_set_property),
4591         (hildon_note_get_property), (hildon_note_class_init),
4592         (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
4593         (hildon_note_new_confirmation_add_buttons): Remove icons.
4594         (hildon_note_new_confirmation_with_icon_name): Deprecate.
4595         (hildon_note_new_information_with_icon_name): Deprecate.
4596         (hildon_note_new_confirmation): Act directly, without calling
4597         the deprecated constructor.
4598         (hildon_note_new_information): Act directly, without calling
4599         the deprecated constructor.
4600         * src/hildon-note.h: Mark deprecate methods as such.
4601         * tests/check-hildon-note.c: (create_hildon_note_suite): Do
4602         not run tests on the deprecated methods if built with deprecation
4603         disabled.
4604
4605         Fixes: NB#91688 (Never show icons in information notes/confirmation
4606         notes)
4607
4608 2008-11-06  Claudio Saavedra  <csaavedra@igalia.com>
4609
4610         * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
4611         (hildon_app_menu_key_press): Remove leftover usage of the
4612         private structure in HildonAppMenu struct.
4613         * src/hildon-app-menu.h: Remove leftover private structure
4614         from the HildonAppMenu struct.
4615
4616         Fixes a crasher when using the HildonAppMenu.
4617
4618 2008-11-05  Claudio Saavedra  <csaavedra@igalia.com>
4619
4620         * src/hildon-picker-dialog.c: Use appropriate logical id
4621         for the default "Done" text.
4622
4623 2008-11-05  Claudio Saavedra  <csaavedra@igalia.com>
4624
4625         * configure.ac: post release version bump
4626         * debian/changelog: version bump
4627
4628 2008-11-05  Alejandro Pinheiro  <apinheiro@igalia.com>
4629
4630         Modified the way to scroll to the current selection just when the touch
4631         selector is shown on the screen, avoiding a g_idle. Added too a property
4632         to configure this behaviour. See hildon_pannable_area_jump_to_child
4633         documentation for more information.
4634
4635         * src/hildon-touch-selector.c
4636         Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
4637         Added 'initial-scroll' property
4638         (hildon_touch_selector_set_property): Added
4639         (hildon_touch_selector_map): Removed as not required anymore
4640         (_hildon_touch_selector_on_selected_items): Modified in order to manage
4641         only a concrete column, instead of iterate along all the columns
4642
4643 2008-11-04  Claudio Saavedra  <csaavedra@igalia.com>
4644
4645         [Release 2.1.20]
4646
4647         * NEWS: updates
4648         * configure.ac: bump version
4649         * debian/changelog: updates
4650
4651 2008-11-04  Claudio Saavedra  <csaavedra@igalia.com>
4652
4653         * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
4654         compilation time warnings.
4655
4656 2008-11-04  Claudio Saavedra  <csaavedra@igalia.com>
4657
4658         * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
4659         the default value for HildonPannableArea::mov-mode to
4660         HILDON_PANNABLE_AREA_MODE_VERT.
4661
4662         Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
4663
4664 2008-11-04  Claudio Saavedra  <csaavedra@igalia.com>
4665
4666         Reverting following commit:
4667
4668         2008-10-13  Alberto Garcia  <agarcia@igalia.com>
4669
4670           * src/hildon-app-menu-private.h
4671           * src/hildon-app-menu.[ch]
4672           * src/hildon-button.[ch]
4673           * src/hildon-check-button.[ch]
4674           * src/hildon-entry.[ch]
4675           * src/hildon-pannable-area.[ch]
4676           * src/hildon-text-view.[ch]:
4677           Added private field to the object's structure.
4678
4679         because it causes an ABI breakage. We will need to introduce these
4680         changes later at some point. See NB#91636 for an extensive
4681         explanation and status.
4682
4683 2008-11-04  Claudio Saavedra  <csaavedra@igalia.com>
4684
4685         Patch contributed by Daniel Borgmann (danielb@openismus.com)
4686
4687         * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
4688         remove special cases that are no longer necessary.
4689
4690         Fixes: NB#91016 (Change toolbar sizes, simplification)
4691
4692 2008-11-03  Claudio Saavedra  <csaavedra@igalia.com>
4693
4694         * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
4695         is shown in the cancel note.
4696
4697 2008-11-03  Claudio Saavedra  <csaavedra@igalia.com>
4698
4699         * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
4700         * src/hildon-seekbar.c: (hildon_seekbar_class_init),
4701         (hildon_seekbar_init): Remove steppers, remove expose event.
4702         * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
4703
4704         Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
4705
4706 2008-10-31  Claudio Saavedra  <csaavedra@igalia.com>
4707
4708         * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
4709         label font to "SmallSystemFont" for vertically arranged buttons.
4710
4711         Fixes: NB#90662 (HildonButton "value" and "detail" text is
4712         unformatted)
4713
4714 2008-10-31  Alberto Garcia  <agarcia@igalia.com>
4715
4716         * src/hildon-check-button.c
4717         (hildon_check_button_set_active, hildon_check_button_clicked):
4718         Don't access private parts directly, use getters instead.
4719
4720 2008-10-31  Alberto Garcia  <agarcia@igalia.com>
4721
4722         * src/hildon-check-button.c (hildon_check_button_new):
4723         Align the contents of the check button to the left.
4724
4725 2008-10-30  Alejandro G. Castro  <alex@igalia.com>
4726
4727         * src/hildon-pannable-area.c,
4728         (hildon_pannable_area_scroll_to),
4729         (hildon_pannable_area_jump_to),
4730         (hildon_pannable_area_scroll_to_child),
4731         (hildon_pannable_area_jump_to_child): Replace the mapped
4732         precondition of these functions with the realized, it is the
4733         correct state of the widget in this case. Changed the
4734         documentation according to this modification.
4735
4736 2008-10-30  Alejandro G. Castro  <alex@igalia.com>
4737
4738         Added a new EXTRA_CFLAGS option to add the deprecated define to
4739         the compilation command. This way we can avoid using the define in
4740         the documentation compilation.
4741
4742         * configure.ac: Defined EXTRA_CFLAGS.
4743
4744         * examples/Makefile.am:
4745         * src/Makefile.am:
4746         * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
4747
4748 2008-10-30  Alejandro Pinheiro  <apinheiro@igalia.com>
4749
4750         * src/hildon-picker-dialog.c:
4751         Defined a utility macro with the desired touch selector height
4752         Removed currently unused separator, and title_label variables from
4753         private structure.
4754         (hildon_picker_dialog_init): Removed code related to the creation
4755         of unused private variables title_label and separator.
4756         (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
4757         to ensure correct visualization of the touch selector inside the dialog.
4758         * src/hildon-touch-selector.c
4759         (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
4760         ensure a concrete height of the widget.
4761
4762 2008-10-30  Claudio Saavedra  <csaavedra@igalia.com>
4763
4764         * src/Makefile.am:
4765         * tests/Makefile.am:
4766
4767         Remove spurious whitespaces.
4768
4769 2008-10-30  Claudio Saavedra  <csaavedra@igalia.com>
4770
4771         * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
4772         compilation warning after the cancel button removal.
4773
4774 2008-10-30  Alejandro G. Castro  <alex@igalia.com>
4775
4776         Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
4777
4778         * configure.ac: Added an AM_CONDITIONAL in order to use in the
4779         Makefile.am, that way we can choose not to compile some examples
4780         and tests of the deprecated widgets.
4781
4782         * examples/Makefile.am: Divided the sources in deprecated and
4783         non-deprecated.
4784
4785         * src/Makefile.am: Added undef statement of the deprecated
4786         symbol to the enums file generation process.
4787
4788         * src/hildon-color-chooser-dialog.c
4789         * src/hildon-color-chooser-dialog.h
4790         * src/hildon-color-button.c
4791         * src/hildon-color-button.h
4792         * src/hildon-color-chooser.c
4793         * src/hildon-color-chooser.h
4794         * src/hildon-controlbar.c
4795         * src/hildon-controlbar.h
4796         * src/hildon-date-editor.c
4797         * src/hildon-date-editor.h
4798         * src/hildon-hvolumebar.c
4799         * src/hildon-hvolumebar.h
4800         * src/hildon-private.c
4801         * src/hildon-private.h
4802         * src/hildon-range-editor.c
4803         * src/hildon-range-editor.h
4804         * src/hildon-seekbar.c
4805         * src/hildon-seekbar.h
4806         * src/hildon-time-editor.c
4807         * src/hildon-time-editor.h
4808         * src/hildon-time-picker.c
4809         * src/hildon-time-picker.h
4810         * src/hildon-volumebar.c
4811         * src/hildon-volumebar.h
4812         * src/hildon-vvolumebar.c
4813         * src/hildon-vvolumebar.h
4814         * src/hildon-bread-crumb-trail.h
4815         * src/hildon-bread-crumb-trail.c
4816         * src/hildon-calendar-popup.c
4817         * src/hildon-calendar-popup.h
4818         * src/hildon-weekday-picker.c:
4819         * src/hildon-weekday-picker.h:
4820         * src/hildon-bread-crumb-widget.c:
4821         * src/hildon-bread-crumb-widget.h:
4822         * src/hildon-bread-crumb.c:
4823         * src/hildon-bread-crumb.h:
4824         * src/hildon-calendar.c:
4825         * src/hildon-calendar.h:
4826         * src/hildon-caption.c:
4827         * src/hildon-code-dialog.c:
4828         * src/hildon-code-dialog.h:
4829         * src/hildon-font-selection-dialog.c:
4830         * src/hildon-font-selection-dialog.h:
4831         * src/hildon-get-password-dialog.c:
4832         * src/hildon-get-password-dialog.h:
4833         * src/hildon-login-dialog.c:
4834         * src/hildon-login-dialog.h:
4835         * src/hildon-number-editor.c:
4836         * src/hildon-number-editor.h:
4837         * src/hildon-set-password-dialog.c:
4838         * src/hildon-set-password-dialog.h:
4839         * src/hildon-sort-dialog.c:
4840         * src/hildon-sort-dialog.h: This is the list of deprecated
4841         widgets.
4842
4843         * src/hildon-touch-selector.c:
4844         * src/hildon-window.c: Added undef statement to avoid compilation
4845         warnings
4846
4847         * tests/Makefile.am: Divided the sources in deprecated and
4848         non-deprecated.
4849
4850         * tests/check_test.c,
4851         (configure_tests): Marked the deprecated code that was adding
4852         suites with deprecated tests.
4853
4854         Fixes: NB#91135 (Deprecate legacy hildon widgets)
4855
4856 2008-10-30  Claudio Saavedra  <csaavedra@igalia.com>
4857
4858         * src/hildon-touch-selector.c: (_default_print_func): Do not
4859         duplicate a string returned by gtk_tree_model_get(), it is already
4860         allocated for us.
4861
4862         Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
4863         function)
4864
4865 2008-10-28  Alejandro G. Castro  <alex@igalia.com>
4866
4867         * src/hildon-pannable-area.c
4868         (hildon_pannable_area_add_with_viewport): Reviewed the complete
4869         method, it had problems when adding a widget with viewport the
4870         second time. Now checks if it already has a viewport and uses it.
4871
4872         Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
4873         on child)
4874
4875 2008-10-28  Alejandro G. Castro  <alex@igalia.com>
4876
4877         * src/hildon-pannable-area.c,
4878         (hildon_pannable_area_scroll_to),
4879         (hildon_pannable_area_jump_to),
4880         (hildon_pannable_area_scroll_to_child),
4881         (hildon_pannable_area_jump_to_child): Added a precondition to the
4882         scroll and jump to functions: the widget must be mapped before we
4883         can safely call these functions. We have also added documentation
4884         to the functions to explain how to use them in this situation.
4885
4886
4887 2008-10-28  Alejandro G. Castro  <alex@igalia.com>
4888
4889         Reviewed the threading handling of the pannable widget, we have
4890         used the gdk_threads_add_timeout function instead of the usual
4891         glib handlers. This avoids some problems with the threads.
4892
4893         * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
4894         (hildon_pannable_area_initial_effect),
4895         (hildon_pannable_area_scroll_indicator_fade),
4896         (hildon_pannable_area_button_press_cb),
4897         (hildon_pannable_area_timeout),
4898         (hildon_pannable_area_motion_notify_cb),
4899         (hildon_pannable_area_button_release_cb),
4900         (hildon_pannable_area_scroll_cb),
4901         (hildon_pannable_area_scroll_to): Removed the
4902         GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
4903         gdk_threads_add_timeout.
4904
4905         Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
4906
4907 2008-10-27  Claudio Saavedra  <csaavedra@igalia.com>
4908
4909         [Release 2.1.18]
4910
4911         * NEWS: updates
4912         * configure.ac: bump version
4913         * debian/changelog: updates
4914
4915 2008-10-27  Claudio Saavedra  <csaavedra@igalia.com>
4916
4917         * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
4918         * src/hildon-code-dialog.c: (hildon_code_dialog_init):
4919         * src/hildon-color-chooser-dialog.c:
4920         (hildon_color_chooser_dialog_init):
4921         * src/hildon-font-selection-dialog.c:
4922         (hildon_font_selection_dialog_init):
4923         * src/hildon-login-dialog.c: (hildon_login_dialog_init):
4924
4925         Remove all cancel/close-like dialogs, as these are not going to be
4926         displayed at all.
4927
4928 2008-10-27  Claudio Saavedra  <csaavedra@igalia.com>
4929
4930         * src/hildon-note.c: (hildon_note_rebuild),
4931         (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
4932         when needed.
4933
4934         Fixes: NB#90661 (Delete dialog is displayed without NO button)
4935
4936 2008-10-27  Claudio Saavedra  <csaavedra@igalia.com>
4937
4938         * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
4939         sure all buttons are shown, even the Cancel/Close-like ones.
4940
4941         Fixes: NB#90861 (Custom Confirmation dialogs should be
4942         protected from cancel button removal)
4943
4944 2008-10-23  Alejandro Pinheiro  <apinheiro@igalia.com>
4945
4946         * debian/control: Change libhildon1-examples dependency from libhildon1
4947         to libhildon1-dev
4948         * debian/libhildon1-examples.install
4949         * debian/rules
4950         * Makefile.am: Modified the final install directory for the examples on
4951         package libhildon1-examples
4952         * Makefile.static: Update clean target in order to remove all the binary
4953         examples
4954
4955         Changes suggested by Claudio after review new libhildon1-examples package
4956
4957 2008-10-23  Claudio Saavedra  <csaavedra@igalia.com>
4958
4959         * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
4960         * src/hildon-touch-selector.c: Ditto.
4961
4962 2008-10-23  Alejandro Pinheiro  <apinheiro@igalia.com>
4963
4964         * debian/control: Added new package libhildon1-examples, in order to pack
4965         the current hildon examples as documentation
4966         * debian/rules: Not to compress .c files, modify some includes on the
4967         examples (as normally are compiled locally, but when installed it will
4968         require to include the installed libhildon1 library), and rename
4969         Makefile.static
4970         * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
4971         install all the example files on the new example package
4972         * examples/Makefile.static: Added static makefile that can be used to
4973         compile the examples, once installed the new example package
4974         * examples: Most of the examples were modified in order to grant that
4975         all use only '#include "hildon.h"', in order to be easy to prepare
4976         it on the example package
4977
4978 2008-10-23  Alberto Garcia  <agarcia@igalia.com>
4979
4980         * debian/control
4981         * debian/libhildon1-dev.install
4982         * debian/libhildon1-doc.install:
4983         Move all gtk-doc files to a separate libhildon1-doc package.
4984
4985 2008-10-23  Daniel Borgmann  <danielb@openismus.com>
4986
4987         reviewed by:  Claudio Saavedra  <csaavedra@igalia.com>
4988
4989         * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
4990
4991 2008-10-22  Alejandro Pinheiro  <apinheiro@igalia.com>
4992
4993         * debian/rules: Fixed a error in order to avoid unnecessary calls
4994         to autogen.sh on package building
4995
4996 2008-10-22  Alberto Garcia  <agarcia@igalia.com>
4997
4998         * examples/hildon-app-menu-example.c: Add keyboard accelerator.
4999
5000 2008-10-21  Claudio Saavedra  <csaavedra@igalia.com>
5001
5002         * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
5003         header include.
5004
5005 2008-10-21  Alberto Garcia  <agarcia@igalia.com>
5006
5007         * src/hildon-picker-button.c
5008         (hildon_picker_button_finalize):
5009         Free priv->done_button_text
5010
5011         * src/hildon-time-button.c
5012         (hildon_time_button_set_time)
5013         * src/hildon-picker-button.c
5014         (hildon_picker_button_clicked)
5015         (hildon_picker_button_selector_selection_changed)
5016         (hildon_picker_button_set_selector)
5017         * src/hildon-date-button.c
5018         (hildon_date_button_set_date):
5019         Free strings returned by hildon_touch_selector_get_current_text()
5020
5021         * src/hildon-button.c (hildon_button_construct_child):
5022         Fix leaks in priv->image and priv->label_box
5023
5024         Fixes: NB#90535 (Memory leak in picker button)
5025
5026 2008-10-21  Claudio Saavedra  <csaavedra@igalia.com>
5027
5028         * src/hildon-button.c: (hildon_button_get_property): Do not access
5029         private elements directly, use getters instead.
5030
5031 2008-10-20  Alberto Garcia  <agarcia@igalia.com>
5032
5033         * src/hildon-app-menu-private.h
5034         * src/hildon-app-menu.c
5035         (hildon_app_menu_init, hildon_app_menu_set_parent_window):
5036         Store the menu's parent window.
5037
5038         * src/hildon-stackable-window.c
5039         (hildon_stackable_window_toggle_menu)
5040         (hildon_stackable_window_finalize):
5041         Set the menu's parent window when the menu is shown, unset it when
5042         it is destroyed.
5043
5044         * src/hildon-app-menu.c
5045         (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
5046         (hildon_app_menu_class_init):
5047         Send unhandled keyboard accelerators to the parent window.
5048
5049 2008-10-20  Alberto Garcia  <agarcia@igalia.com>
5050
5051         * src/hildon-stackable-window.c
5052         (hildon_stackable_window_finalize): Unref the menu, don't destroy it
5053
5054 2008-10-20  Claudio Saavedra  <csaavedra@igalia.com>
5055
5056         * configure.ac: post release version bump
5057
5058 2008-10-20  Claudio Saavedra  <csaavedra@igalia.com>
5059
5060         * NEWS: Updates
5061         * configure.ac: Bump version
5062         * debian/changelog: Updates
5063         * debian/rules: Set PKG_CONFIG_PATH to make docs build with
5064         gtk-doc 1.10.
5065
5066 2008-10-20  Alberto Garcia  <agarcia@igalia.com>
5067
5068         Patch contributed by Daniel Borgmann (danielb@openismus.com)
5069
5070         * src/hildon-gtk.h
5071         * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
5072         GtkMenu with Hildon style.
5073
5074 2008-10-20  Claudio Saavedra  <csaavedra@igalia.com>
5075
5076         * src/hildon-picker-button.c:
5077         (hildon_picker_button_set_done_button_text): Set the dialog's
5078         done button text here as well.
5079
5080         Fixes: NB#90232 (Picker button does not set the label on done button
5081         for the second time)
5082
5083 2008-10-20  Claudio Saavedra  <csaavedra@igalia.com>
5084
5085         * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
5086         warning message.
5087
5088 2008-10-16  Alberto Garcia  <agarcia@igalia.com>
5089
5090         * src/hildon-app-menu.c (hildon_app_menu_insert)
5091         (hildon_app_menu_add_filter, can_activate_accel): Allow items in
5092         the HildonAppMenu to be activatable using keyboard accelerators
5093         when the menu is not being shown.
5094
5095         Fixes: NB#89935 (Shortcuts for menu buttons are not working)
5096
5097 2008-10-16  Alberto Garcia  <agarcia@igalia.com>
5098
5099         * src/hildon-stackable-window.c
5100         (hildon_stackable_window_show):
5101         Don't hide old windows automatically when new windows are shown:
5102         this is now a task for the window manager.
5103         (hildon_stackable_window_class_init)
5104         (hildon_stackable_window_hide):
5105         Remove windows from the stack everytime they're hidden.
5106         (hildon_stackable_window_realize):
5107         Don't change the _NET_WM_WINDOW_TYPE property. Use
5108         _HILDON_STACKABLE_WINDOW instead for the window manager to manage
5109         it as a stackable window.
5110
5111         * src/hildon-program.c
5112         (hildon_program_pop_window_stack):
5113         Just hide the window to remove it from the stack.
5114         (hildon_program_go_to_root_window):
5115         Don't call gtk_widget_show(), this is now a task for the window
5116         manager.
5117
5118         Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
5119
5120 2008-10-15  Alberto Garcia  <agarcia@igalia.com>
5121
5122         * src/hildon-button.c
5123         (hildon_button_construct_child):
5124         Don't pack anything in the button until text or image are
5125         set. This allows adding a custom child after creating the button
5126         with hildon_button_new().
5127         (hildon_button_finalize, hildon_button_class_init)
5128         (hildon_button_init, hildon_button_set_arrangement): Destroy the
5129         alignment and the label box even when they're not packed in the
5130         button.
5131
5132 2008-10-14  Alejandro Pinheiro   <apinheiro@igalia.com>
5133
5134         * src/hildon-touch-selector.h:
5135         Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
5136         currently the type definition was using GTK_TYPE_VBOX
5137         * src/hildon-touch-selector.c:
5138         Added some implementation notes in order to clarify that any other widget
5139         added without the column related API will not be included on the
5140         selection logic, and how the widget is freed, as some people ask about
5141         it.
5142         (hildon_touch_selector_remove): Reimplemented in order to free properly
5143         the column related data when you remove the private hbox.
5144         * doc/hildon.types: Added the type hildon_touch_selector_column, in order
5145         to get a proper HildonTouchSelectorColumn documentation
5146
5147 2008-10-13  Claudio Saavedra  <csaavedra@igalia.com>
5148
5149         * src/hildon-touch-selector-entry.c:
5150         (hildon_touch_selector_entry_print_func): Return NULL if there is no
5151         text in the GtkEntry and there is no item selected. Fixes a
5152         potential crasher.
5153
5154 2008-10-13  Alberto Garcia  <agarcia@igalia.com>
5155
5156         * src/hildon-app-menu-private.h
5157         * src/hildon-app-menu.[ch]
5158         * src/hildon-button.[ch]
5159         * src/hildon-check-button.[ch]
5160         * src/hildon-entry.[ch]
5161         * src/hildon-pannable-area.[ch]
5162         * src/hildon-text-view.[ch]:
5163         Added private field to the object's structure.
5164
5165 2008-10-13  Claudio Saavedra  <csaavedra@igalia.com>
5166
5167         * configure.ac: post-release version bump
5168
5169 2008-10-10  Claudio Saavedra  <csaavedra@igalia.com>
5170
5171         [Release 2.1.14]
5172
5173         * configure.ac: pre-release version bump
5174         * NEWS: updates.
5175         * debian/changelog: updates.
5176
5177 2008-10-10  Claudio Saavedra  <csaavedra@igalia.com>
5178
5179         * src/hildon-picker-button.c: (hildon_picker_button_finalize):
5180         Disconnect the handler for HildonTouchSelector::changed.
5181
5182         (hildon_picker_button_selector_selection_changed): Update the button
5183         value if the selection change was not triggered by the
5184         HildonPickerDialog.
5185
5186         (hildon_picker_button_set_selector): connect to
5187         HildonTouchSelector::changed.
5188
5189         Fixes: NB#89650 (Picker button is not updated, when selection in
5190         selector has changed)
5191
5192 2008-10-09  Alejandro Pinheiro   <apinheiro@igalia.com>
5193
5194         * src/hildon-picker-dialog.c
5195         (hildon_picker_dialog_realize): Removed as not required
5196         (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
5197         * src/hildon-picker-button.c
5198         (_current_selector_empty): New function, checks if the selector is empty
5199         (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
5200         if the current selector is empty, in order to avoid to show the dialog
5201         close the dialog in this case (and shows a g_warning).
5202
5203         Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
5204
5205 2008-10-09  Alejandro G. Castro  <alex@igalia.com>
5206
5207         * src/hildon-pannable-area.c,
5208         (hildon_pannable_area_scroll): Added clause to stop movement when
5209         the child of pannable is smaller than one page.
5210         (hildon_pannable_area_scroll_to): Added conditions to avoid
5211         starting the scrolling movement if the child is smaller than one
5212         page, the complete child is in the screen, we do not have to move.
5213
5214         Fixes: NB#89632 (Picker button selection doesn't change on first click)
5215
5216 2008-10-09  Alberto Garcia  <agarcia@igalia.com>
5217
5218         * src/hildon-app-menu.c: Removed the 'columns' property, as now
5219         this is managed automatically by the widget when the size of the
5220         screen changes.
5221
5222 2008-10-09  Alberto Garcia  <agarcia@igalia.com>
5223
5224         * src/hildon-picker-button.c
5225         (hildon_picker_button_set_done_button_text): Make a copy of the
5226         text, and free the previous value.
5227
5228 2008-10-09  Claudio Saavedra  <csaavedra@igalia.com>
5229
5230         * src/hildon-touch-selector-entry.c:
5231         (hildon_touch_selector_entry_print_func): Return the selected row's
5232         text if the entry is empty.
5233
5234         Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
5235         entry is empty)
5236
5237 2008-10-09  Claudio Saavedra  <csaavedra@igalia.com>
5238
5239         * src/hildon-touch-selector-entry.c: Minor docs fixes.
5240
5241 2008-10-09  Alberto Garcia  <agarcia@igalia.com>
5242
5243         * doc/hildon.types
5244         * src/hildon-check-button.h
5245         * src/hildon-check-button.c
5246         * examples/hildon-check-button-example.c:
5247         HildonCheckButton is now a new widget. 'toggled' signal added.
5248
5249 2008-10-08  Alberto Garcia  <agarcia@igalia.com>
5250
5251         * src/hildon-program-private.h
5252         * src/hildon-program.c (hildon_program_init)
5253         (hildon_program_finalize): Removed unused variables group_leader
5254         and name from HildonProgramPrivate.
5255
5256 2008-10-08  Alberto Garcia  <agarcia@igalia.com>
5257
5258         * src/hildon-check-button.c (hildon_check_button_set_active)
5259         (hildon_check_button_get_active, hildon_check_button_new): Use
5260         g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
5261
5262 2008-10-08  Alejandro Pinheiro   <apinheiro@igalia.com>
5263
5264         * src/hildon-touch-selector.h
5265         (hildon_touch_selector_set_column_attributes): added deprecation
5266         guard HILDON_DISABLE_DEPRECATED
5267         * src/hildon-time-selector.c
5268         (hildon_time_selector_set_time)
5269         (hildon_time_selector_get_time): Fixed a typo on documentation
5270         * src/hildon-touch-selector.c: update HildonTouchSelector and
5271         HildonTouchSelectorColumn documentation
5272         * src/hildon-touch-selector-entry.c: update "text-column" property
5273         documentation
5274         * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
5275         to be added to the general documentation.
5276
5277 2008-10-08  Alejandro G. Castro  <alex@igalia.com>
5278
5279         * examples/hildon-pannable-area-example-4.c,
5280         (main),
5281         * examples/hildon-pannable-area-example.c,
5282         (main): Modified the code in order to use the container add, with
5283         viewport treeviews could have problems if they are really big.
5284
5285 2008-10-06  Alejandro G. Castro  <alex@igalia.com>
5286
5287         * src/hildon-weekday-picker.c,
5288         * src/hildon-weekday-picker.h: Removed the deprecated symbols after
5289         the agreement regarding deprecation in the library.
5290
5291 2008-10-06  Claudio Saavedra  <csaavedra@igalia.com>
5292
5293         * examples/hildon-picker-button-multicolumn-example.c:
5294         (main): Use custom "done" button text.
5295
5296         * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5297         (hildon_picker_button_set_property),
5298         (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5299         (hildon_picker_button_init),
5300         (+hildon_picker_button_get_done_button_text),
5301         (+hildon_picker_button_set_done_button_text): New methods to customize
5302         the "done" button label in the launched HildonPickerDialog. Also,
5303         make it a property.
5304
5305         * src/hildon-picker-button.h: add the public API.
5306
5307 2008-10-06  Claudio Saavedra  <csaavedra@igalia.com>
5308
5309         * src/hildon-date-selector.h:
5310         * src/hildon-picker-dialog.h:
5311         * src/hildon-time-selector.h:
5312         * src/hildon-touch-selector-column.h:
5313         * src/hildon-touch-selector.h:
5314
5315         Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
5316         declarations. Fixes gtk-doc warnings.
5317
5318 2008-10-06  Alberto Garcia  <agarcia@igalia.com>
5319
5320         * src/hildon-picker-dialog.h
5321         * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
5322         Make HildonPickerDialog derive from HildonDialog, not GtkDialog
5323
5324         Fixes: NB#89329 (selectors in picker dialog are not visible when a
5325         long text is set as label for done button)
5326
5327 2008-10-06  Alberto Garcia  <agarcia@igalia.com>
5328
5329         * src/hildon-dialog.c (hildon_dialog_add_button):
5330         Set fixed width to all buttons in the HildonDialog.
5331
5332 2008-10-06  Alberto Garcia  <agarcia@igalia.com>
5333
5334         Patch contributed by Daniel Borgmann (danielb@openismus.com)
5335
5336         * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
5337         Set widget name using class name plus "-finger" or "-thumb".
5338
5339 2008-10-03  Alberto Garcia  <agarcia@igalia.com>
5340
5341         * src/hildon-check-button.c (hildon_check_button_set_active): Emit
5342         'clicked' when the state of the button is manually changed.
5343
5344 2008-10-02  Alberto Garcia  <agarcia@igalia.com>
5345
5346         * src/hildon-app-menu.c (hildon_app_menu_realize)
5347         (hildon_app_menu_unrealize, hildon_app_menu_init)
5348         (hildon_app_menu_class_init, item_visibility_changed):
5349         Change the menu layout when the size of the screen changes.
5350         (hildon_app_menu_set_columns, hildon_app_menu_set_property):
5351         Show warning only when changing the number of colums using the
5352         property.
5353
5354 2008-10-02  Claudio Saavedra  <csaavedra@igalia.com>
5355
5356         * debian/compat: Set to 5
5357         * debian/control: Update dependencies.
5358         * debian/libhildon1-dbg.install: Remove.
5359         * debian/libhildon1-dev.install: Update according to cdbs paths.
5360         * debian/libhildon1.install: Update according to cdbs paths.
5361         * debian/rules: Switch to cdbs.
5362
5363 2008-10-01  Alberto Garcia  <agarcia@igalia.com>
5364
5365         * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
5366         'item' variable renamed to 'filter'
5367
5368 2008-10-01  Alberto Garcia  <agarcia@igalia.com>
5369
5370         * src/hildon-app-menu.c (hildon_app_menu_insert)
5371         (hildon_app_menu_add_filter, remove_item_from_list)
5372         (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
5373         Don't leak hidden items when the menu is destroyed.
5374
5375 2008-10-01  Alberto Garcia  <agarcia@igalia.com>
5376
5377         * src/hildon-app-menu.c (hildon_app_menu_insert)
5378         (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
5379         (hildon_app_menu_set_columns, item_visibility_changed)
5380         (filter_visibility_changed, hildon_app_menu_repack_filters)
5381         (hildon_app_menu_repack_items):
5382         Repack items and filters separately.
5383
5384         Don't repack all items, change only the ones that are needed to
5385         update the layout.
5386
5387 2008-10-01  Alejandro Pinheiro <apinheiro@igalia.com>
5388
5389         * src/Makefile.am: added hildon-touch-selector-column.h
5390
5391 2008-10-01  Alejandro Pinheiro <apinheiro@igalia.com>
5392
5393         * src/hildon-touch-selector.c: added the property "text-column" to the
5394         class HildonTouchSelectorColumn, and related get/set functions
5395         (_default_printf_func): updated to use "text-column" property
5396         * src/hildon-touch-selector-entry.c: mark as deprecated the property
5397         "text-column" in his documentation, as this is now included on
5398         HildonTouchSelectorColumn. The get/set_property can still be used,
5399         working as a wrapper to the concrete column "text-column" property
5400         (_text_column_modified): callback added in order to handle the signal
5401         "notify::text-column" of the concrete HildonTouchSelectorColumn
5402         (hildon_touch_selector_entry_get_text_column)
5403         (hildon_touch_selector_entry_set_text_column): Added documentation, and
5404         modified in order to use the HildonTouchSelectorColumn "text-column"
5405         property
5406         * src/hildon-time-selector.c:
5407         * src/hildon-date-selector.c:
5408         * examples/hildon-touch-selector-example.c
5409         * examples/hildon-touch-selector-multi-cells-example.c
5410         * examples/hildon-picker-button-multicolumn-example.c
5411         Set the right value to "text-column" property on the creation of a new
5412         column using hildon_touch_selector_append_column()
5413
5414         Fixes: NB#88644 (Hardcoded first column of the model as text column)
5415
5416 2008-09-30  Alberto Garcia  <agarcia@igalia.com>
5417
5418         * src/hildon-app-menu.c
5419         (hildon_app_menu_construct_child, hildon_app_menu_init): When
5420         updating the layout of the menu, don't create all widgets again,
5421         just repack the items in their new places.
5422
5423 2008-09-30  Alejandro Pinheiro <apinheiro@igalia.com>
5424
5425         * src/hildon-time-selector.c
5426         (hildon_time_selector_get_time)
5427         (hildon_time_selector_set_time)
5428         Added documentation of these public methods
5429
5430         * src/hildon-date-button.h
5431         * src/hildon-touch-selector-column.h
5432         * src/hildon-time-button.h
5433         * src/hildon-picker-dialog.h
5434         * src/hildon-time-selector.h
5435         * src/hildon-picker-button.h
5436         * src/hildon-touch-selector.h
5437         * src/hildon-time-picker.h
5438         * src/hildon-date-selector.h
5439         * src/hildon-touch-selector-entry.h
5440         Modified in order to use hildon-widgets code style
5441
5442 2008-09-30  Alejandro G. Castro  <alex@igalia.com>
5443
5444         Added deprecated support to the compilation process using
5445         HILDON_DISABLE_DEPRECATED
5446
5447         * configure.ac: Added the --disable-deprecated to the configure
5448         script
5449
5450         * src/hildon-weekday-picker.c:
5451         * src/hildon-weekday-picker.h: Deprecated widget, example of how
5452         to use the deprecated support. We will update the other deprecated
5453         widgets status in a new patch.
5454
5455 2008-09-30  Alejandro G. Castro  <alex@igalia.com>
5456
5457         * configure.ac: Fixed typo with fatal warnings support, the
5458         variable name was not correct
5459
5460 2008-09-29  Alberto Garcia  <agarcia@igalia.com>
5461
5462         * src/hildon-app-menu.c
5463         * src/hildon-program.c: Update documentation.
5464
5465 2008-09-29  Claudio Saavedra  <csaavedra@igalia.com>
5466
5467         * configure.ac: Post-release version bump.
5468
5469 2008-09-29  Claudio Saavedra  <csaavedra@igalia.com>
5470
5471         [Release 2.1.12]
5472
5473         * NEWS: Update.
5474         * configure.ac: Pre-release version bump.
5475         * debian/changelog: Updates.
5476
5477 2008-09-29  Claudio Saavedra  <csaavedra@igalia.com>
5478
5479         * NEWS: Update news for previous releases.
5480
5481 2008-09-26  Claudio Saavedra  <csaavedra@igalia.com>
5482
5483         * examples/hildon-touch-selector-multi-cells-example.c:
5484         (create_selector): Update the example to use
5485         hildon_touch_selector_append_column() with a NULL renderer and set
5486         the renderers later.
5487         * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
5488         passed a NULL renderer. This is documented behavior now.
5489
5490         Allow passing a NULL renderer to hildon_touch_selector_append_column().
5491         This must be used if the developer wants full control on the layout of
5492         the renderers to be added to the column.
5493
5494         Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5495
5496 2008-09-26  Claudio Saavedra  <csaavedra@igalia.com>
5497
5498         * src/hildon-touch-selector.c: Documentation fixes.
5499
5500 2008-09-26  Claudio Saavedra  <csaavedra@igalia.com>
5501
5502         * src/hildon-wizard-dialog-private.h: Remove image and box.
5503         * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
5504         (hildon_wizard_dialog_set_property), (response): Completely remove
5505         image/icon support, and the containers required for the layout.
5506
5507         Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
5508
5509 2008-09-25  Alberto Garcia  <agarcia@igalia.com>
5510
5511         * src/hildon-app-menu.c: Updated documentation.
5512
5513         * src/hildon-stackable-window.c
5514         (hildon_stackable_window_set_main_menu): Unref the old menu after
5515         ref'ing the new one.
5516
5517 2008-09-25  Alberto Garcia  <agarcia@igalia.com>
5518
5519         * src/hildon-stackable-window.c
5520         (hildon_stackable_window_set_main_menu): Unref the previous menu
5521         instead of destroying it.
5522
5523         * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
5524         floating reference and set has_user_ref_count to FALSE to make
5525         HildonAppMenu act like a normal ref-counted widget and not a
5526         toplevel widget.
5527
5528         Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
5529         changed)
5530
5531 2008-09-25  Alejandro Pinheiro  <apinheiro@igalia.com>
5532
5533         * src/hildon-touch-selector-column.h: new file
5534         * src/hildon-touch-selector.h
5535         * src/hildon-touch-selector.c
5536         Implemented GtkCellLayout interface, in order to allow to configure
5537         the cell layout on each individual selector column
5538         (hildon_touch_selector_set_column_attributes): marked as deprecated
5539         * examples/hildon-touch-selector-multi-cells-example.c
5540         Example of how to use the GtkCellLayout interface on the selector
5541
5542         Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5543
5544 2008-09-24  Alberto Garcia  <agarcia@igalia.com>
5545
5546         * src/hildon-app-menu.h
5547         * src/hildon-app-menu.c
5548         (hildon_app_menu_insert, hildon_app_menu_reorder_child)
5549         (hildon_app_menu_append, hildon_app_menu_prepend):
5550         New methods to prepend, insert and move items in the menu.
5551
5552 2008-09-24  Claudio Saavedra  <csaavedra@igalia.com>
5553
5554         * src/hildon-wizard-dialog.c:
5555
5556         (hildon_wizard_dialog_init): Update logical IDs and remove cancel
5557         button.
5558         (create_title): Update logical IDs and related code.
5559         (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
5560
5561         * src/hildon-wizard-dialog.h: Note that
5562         HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
5563         point, as it is not used anymore.
5564
5565         Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
5566
5567 2008-09-24  Claudio Saavedra  <csaavedra@igalia.com>
5568
5569         * src/hildon-note.c:
5570         (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
5571         shown.  Do not display an icon in confirmation notes nor information
5572         notes.
5573         (hildon_note_set_button_text): Update logical ID for cancel button.
5574
5575         Fixes: NB#88850 (Update HildonNote button strings + signals)
5576
5577 2008-09-24  Alberto Garcia  <agarcia@igalia.com>
5578
5579         * src/hildon-stackable-window.c
5580         (hildon_stackable_window_set_main_menu): Fix compilation warning.
5581
5582 2008-09-24  Alberto Garcia  <agarcia@igalia.com>
5583
5584         * src/hildon-app-menu-private.h
5585         * src/hildon-app-menu.c (hildon_app_menu_set_columns)
5586         (hildon_app_menu_set_property, hildon_app_menu_construct_child)
5587         (hildon_app_menu_init, hildon_app_menu_class_init): Added
5588         temporary property 'columns' to change the number of columns.
5589
5590 2008-09-24  Claudio Saavedra  <csaavedra@igalia.com>
5591
5592         Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
5593
5594         * examples/hildon-note-example.c: (on_information_clicked),
5595         (on_confirmation_clicked), (on_progress_clicked), (main): Add
5596         debugging information.
5597         * src/hildon-note-private.h: Remove close_if_pressed_outside,
5598         not needed anymore.
5599         * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
5600         (hildon_note_rebuild): Remove special handling of tapping outside/inside
5601         in order to close: this will be handled by the WM from now on.
5602
5603         Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
5604
5605 2008-09-24  Alberto Garcia  <agarcia@igalia.com>
5606
5607         * src/hildon-app-menu-private.h
5608         * src/hildon-app-menu.c
5609         (hildon_app_menu_append, hildon_app_menu_add_filter)
5610         (button_visibility_changed, hildon_app_menu_apply_style)
5611         (hildon_app_menu_style_set, hildon_app_menu_construct_child)
5612         (hildon_app_menu_init, hildon_app_menu_finalize): Update the
5613         layout everytime a button (item or filter) is shown or hidden.
5614
5615         * src/hildon-stackable-window.c
5616         (hildon_stackable_window_set_main_menu): Destroy the old menu when
5617         setting a new one.
5618
5619 2008-09-22  Alejandro Pinheiro <apinheiro@igalia.com>
5620
5621         * src/hildon-touch-selector.c:
5622         (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
5623         that the treeview inside the touch selector is in fremantle hildon mode
5624         * examples/hildon-date-button-example.c
5625         * examples/hildon-picker-button-multicolumn-example.c
5626         * examples/hildon-touch-selector-entry-example.c
5627         * examples/hildon-touch-selector-example.c
5628         * examples/hildon-time-button-example.c
5629         * examples/hildon-picker-button-example.c:
5630         (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
5631
5632 2008-09-22  Claudio Saavedra  <csaavedra@igalia.com>
5633
5634         * examples/hildon-text-view-example.c: (main): Remove the
5635         gtkrc bits, now handled by the theme.
5636
5637 2008-09-22  Alberto Garcia  <agarcia@igalia.com>
5638
5639         * src/hildon-picker-button.c (hildon_picker_button_set_active):
5640         Fix memory leak
5641
5642 2008-09-19  Claudio Saavedra  <csaavedra@igalia.com>
5643
5644         * po/Makefile.am: Install properly the mo files.
5645         * po/en_GB.po: Update translation, to ease testing purposes.
5646
5647 2008-09-19  Claudio Saavedra  <csaavedra@igalia.com>
5648
5649         * examples/hildon-picker-button-example.c: (main): Select an item
5650         in the selector before setting it to the button.
5651
5652 2008-09-19  Claudio Saavedra  <csaavedra@igalia.com>
5653
5654         * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
5655         Update button's value if the selector has an item active.
5656
5657         Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
5658         'value' with the selector)
5659
5660 2008-09-19  Claudio Saavedra  <csaavedra@igalia.com>
5661
5662         * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
5663         the HildonTouchSelector and destroy the underlying HildonPickerDialog.
5664         (hildon_picker_button_class_init): Plug the finalize method.
5665         (hildon_picker_button_set_selector): If there's a previously set
5666         selector, unref'it before setting a new one.
5667
5668         Fixes: NB#88720 (HildonPickerButton leaks a reference to the
5669         HildonTouchSelector)
5670
5671 2008-09-16  Claudio Saavedra  <csaavedra@igalia.com>
5672
5673         * src/hildon-touch-selector-entry.c:
5674         (hildon_touch_selector_entry_changed): Check if there is no text
5675         selected before setting the entry text.
5676         Fixes: NB#88576
5677
5678 2008-09-15  Alberto Garcia  <agarcia@igalia.com>
5679
5680         * src/hildon-touch-selector.h
5681         * src/hildon-touch-selector.c
5682         (hildon_touch_selector_get_active)
5683         (hildon_touch_selector_set_active): New methods to set/get the
5684         index of the selected item.
5685
5686         * src/hildon-picker-button.h
5687         * src/hildon-picker-button.c
5688         (hildon_picker_button_get_active)
5689         (hildon_picker_button_set_active): New methods to set/get the
5690         index of the selected item.
5691
5692 2008-09-15  Claudio Saavedra  <csaavedra@igalia.com>
5693
5694         * configure.ac: post-release version bump.
5695
5696 2008-09-15  Claudio Saavedra  <csaavedra@igalia.com>
5697
5698         Release 2.1.10-1.
5699
5700         * configure.ac: Pre-release version bump.
5701         * debian/changelog: Updates.
5702         * debian/control: Add myself as maintainer and depend on l10n
5703         packages.
5704
5705 2008-09-15  Alberto Garcia  <agarcia@igalia.com>
5706
5707         * src/hildon-window.c
5708         (hildon_window_set_main_menu)
5709         * src/hildon-stackable-window.c
5710         (hildon_stackable_window_set_main_menu):
5711         Updated documentation.
5712
5713 2008-09-15  Alberto Garcia  <agarcia@igalia.com>
5714
5715         * src/hildon-date-selector.c (hildon_date_selector_finalize):
5716         Don't free selector->priv manually.
5717         Fixes: NB#88414
5718
5719 2008-09-12  Alejandro G. Castro  <alex@igalia.com>
5720
5721         * src/hildon-gtk.c,
5722         (hildon_gtk_window_set_progress_indicator):
5723         * src/hildon-gtk.h: Added the new API
5724         hildon_gtk_window_set_progress_indicator, it changes the state of
5725         the window progress hint.
5726
5727 2008-09-12  Alberto Garcia  <agarcia@igalia.com>
5728
5729         * src/hildon-button.c
5730         * src/hildon-stackable-window.c: Minor documentation updates.
5731
5732 2008-09-12  Alberto Garcia  <agarcia@igalia.com>
5733
5734         * src/hildon-stackable-window.c: Updated documentation.
5735
5736 2008-09-12  Claudio Saavedra  <csaavedra@igalia.com>
5737
5738         * src/hildon-defines.h: Update margins definitions
5739         to the Fremantle sizes.
5740         Fixes: NB#88364
5741
5742 2008-09-12  Alejandro G. Castro  <alex@igalia.com>
5743
5744         * src/hildon-touch-selector.c,
5745         (_hildon_touch_selector_set_model): Cleaning the code after
5746         review, removed g_print and #if 0 from the code.
5747
5748 2008-09-11  Alberto Garcia  <agarcia@igalia.com>
5749
5750         * src/hildon-edit-toolbar.c: Update documentation.
5751
5752 2008-09-11  Alberto Garcia  <agarcia@igalia.com>
5753
5754         * src/hildon-check-button.h
5755         * src/hildon-check-button.c
5756         (hildon_check_button_set_label, hildon_check_button_get_label)
5757         * examples/hildon-check-button-example.c
5758         (button_clicked_cb):
5759         Removed deprecated methods.
5760
5761 2008-09-11  Alberto Garcia  <agarcia@igalia.com>
5762
5763         * src/hildon-text-view.c:
5764         Add sample code to the documentation.
5765
5766         * src/hildon-entry.h
5767         * src/hildon-text-view.h:
5768         Minor cosmetic changes.
5769
5770         * src/hildon-entry.c:
5771         Add sample code to the documentation.
5772         (hildon_entry_init, hildon_entry_refresh_contents):
5773         Don't allow NULL values in the placeholder.
5774
5775 2008-09-10  Alberto Garcia  <agarcia@igalia.com>
5776
5777         * doc/hildon-docs.sgml
5778         * doc/hildon.types
5779         * examples/Makefile.am
5780         * examples/hildon-text-view-example.c
5781         * src/Makefile.am
5782         * src/hildon-text-view.c
5783         * src/hildon-text-view.h
5784         * src/hildon.h:
5785         New HildonTextView widget, with example.
5786
5787 2008-09-10  Claudio Saavedra  <csaavedra@igalia.com>
5788
5789         * po/POTFILES.in: Add missing files with translatable strings.
5790         Partially fixes NB#88287.
5791
5792 2008-09-10  Claudio Saavedra  <csaavedra@igalia.com>
5793
5794         * examples/hildon-pannable-area-example-2.c: (main): No need to
5795         set the cellrenderer height inside hildon touch lists, the theme does
5796         that for us.
5797
5798 2008-09-10  Claudio Saavedra  <csaavedra@igalia.com>
5799
5800         * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
5801         they are integrated in the theme.
5802
5803 2008-09-09  Alberto Garcia  <agarcia@igalia.com>
5804
5805         * examples/hildon-entry-example.c: Update the example adding
5806         widgets to modify the text and the placeholder of the HildonEntry.
5807
5808         * src/hildon-entry.c: Show the placeholder everytime the widget
5809         is empty and loses the focus.
5810
5811 2008-09-09  Alejandro G. Castro  <alex@igalia.com>
5812
5813         Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
5814
5815         * src/hildon-pannable-area.c,
5816         (hildon_pannable_area_size_request): Fixed bug in height
5817         requisition, avoid increasing size and add border twice.
5818
5819 2008-09-09  Claudio Saavedra  <csaavedra@igalia.com>
5820
5821         * configure.ac: postrelease version bump.
5822
5823 2008-09-09  Claudio Saavedra  <csaavedra@igalia.com>
5824
5825         Release 2.1.8-1.
5826
5827         * configure.ac: Prerelease version bump.
5828         * debian/changelog: update.
5829         * debian/rules: make -dbg package contain useful debugging symbols.
5830
5831 2008-09-08  Alberto Garcia  <agarcia@igalia.com>
5832
5833         * src/hildon-dialog.h
5834         * src/hildon-dialog.c
5835         (hildon_dialog_add_button, hildon_dialog_add_buttons):
5836         New methods to add buttons with finger size.
5837         (hildon_dialog_new_with_buttons):
5838         Create buttons with finger size.
5839
5840         * examples/hildon-dialog-example.c (main): Use HildonDialog
5841         methods to add buttons.
5842
5843 2008-09-08  Alberto Garcia  <agarcia@igalia.com>
5844
5845         * src/hildon-entry.c: Updated HildonButton documentation.
5846
5847 2008-09-08  Alberto Garcia  <agarcia@igalia.com>
5848
5849         * src/hildon-button.c (hildon_button_set_arrangement): Pack the
5850         button value label with (FALSE, FALSE) to prevent NB#88126 from
5851         being triggered.
5852
5853 2008-09-08  Alejandro G. Castro  <alex@igalia.com>
5854
5855         * examples/hildon-pannable-area-example.c,
5856         (main): Removed examples panning a vbox inside a pannable
5857         area. Check bug NB#87965
5858
5859 2008-09-08  Alejandro G. Castro  <alex@igalia.com>
5860
5861         Patch contributed by Kris Rietveld (kris@imendio.com)
5862
5863         * src/hildon-pannable-area.c,
5864         (hildon_pannable_area_get_topmost): replaced the get_geometry with
5865         get_size and get_position, this saves an X server roundtrip.
5866
5867 2008-09-05  Alberto Garcia  <agarcia@igalia.com>
5868
5869         * doc/hildon-docs.sgml
5870         * doc/hildon.types
5871         * examples/Makefile.am
5872         * examples/hildon-entry-example.c
5873         * src/Makefile.am
5874         * src/hildon-entry.c
5875         * src/hildon-entry.h
5876         * src/hildon.h:
5877         New HildonEntry widget, with example.
5878
5879 2008-09-05  Alberto Garcia  <agarcia@igalia.com>
5880
5881         * src/hildon-button.c (hildon_button_construct_child): Pack the
5882         image with expand == fill == FALSE. This is a workaround for a bug
5883         in GtkBox.
5884
5885 2008-09-05  Claudio Saavedra  <csaavedra@igalia.com>
5886
5887         * examples/hildon-pannable-area-example-2.c: (main): Use the stock
5888         labels for the text column, to make it more look more dynamic.
5889
5890 2008-09-04  Alejandro Pinheiro  <apinheiro@igalia.com>
5891
5892         * src/hildon-time-selector.c
5893         Define gettext auxiliar macro N_
5894         (_create_minutes_model)
5895         (_create_hours_model)
5896         (_create_ampm_model): use of strftime in order to fill the model
5897         * src/hildon-date-selector.c
5898         (hildon_date_selector_finalize):
5899         (_locales_init): remove the logic related to get the name of the months
5900         using nl_langinfo, as it is not required anymore
5901         (_create_day_model)
5902         (_create_year_model)
5903         (_create_month_model)
5904         (_update_day_model): use of strftime in order to fill the model properly
5905
5906
5907 2008-09-04  Alberto Garcia  <agarcia@igalia.com>
5908
5909         * src/hildon-button.h
5910         * src/hildon-button.c (hildon_button_get_image): New method to
5911         retrieve the image.
5912
5913 2008-09-04  Claudio Saavedra  <csaavedra@igalia.com>
5914
5915         * src/hildon-touch-selector.c:
5916         (hildon_touch_selector_remove_column): Remove from the correct parent
5917         and also remove the list element and free it.
5918         Fixes: NB#88049
5919
5920 2008-09-04  Alejandro Pinheiro  <apinheiro@igalia.com>
5921
5922         * src/hildon-time-selector.c
5923         (_create_hours_model): change the range on 12h ampm format in order to use
5924         a 12-11 range instead of previous 01-12 range
5925         (hildon_time_selector_set_time): change the way to select the current time
5926         on 12h ampm format, due the change on the range
5927         (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
5928         Fixes: NB#88036
5929
5930 2008-09-03  Alejandro Pinheiro  <apinheiro@igalia.com>
5931
5932         * src/hildon-touch-selector.c
5933         (hildon_date_touch_selector_get_selected): fix the selection mode check,
5934         in order to allow use this function on multiple row selection mode if
5935         the column is different that the first one
5936         Fixes: NB#88047
5937
5938 2008-09-03  Claudio Saavedra  <csaavedra@igalia.com>
5939
5940         * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
5941         to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
5942
5943 2008-09-02  Alejandro Pinheiro  <apinheiro@igalia.com>
5944
5945         * src/hildon-date-selector.h: clean some comments, now on the .c
5946         * src/hildon-date-selector.c
5947         (hildon_date_selector_select_month): first implementation
5948         (hildon_date_selector_select_day): added documentation, reimplemented
5949         using hildon_date_selector_select_current_date to avoid repeat code
5950         Fixes: NB#88027
5951
5952 2008-09-02  Alejandro G. Castro  <alex@igalia.com>
5953
5954         Reviewed interaction logic based on device experiences, refactored
5955         code.
5956
5957         * src/hildon-pannable-area.c,
5958         (hildon_pannable_area_class_init): Updated default vmax speed.
5959         (hildon_pannable_area_calculate_velocity): Added this function, it
5960         avoids duplicate valocity calculation. Adjusted calculation to
5961         avoid problems with zero dist events.
5962
5963         (hildon_pannable_area_motion_notify_cb): Now we use the
5964         calculate_velocity function.
5965
5966 2008-09-02  Alejandro Pinheiro  <apinheiro@igalia.com>
5967
5968         * src/hildon-date-selector.c
5969         (hildon_date_selector_select_current_date): fix the day range check
5970         as it failed using the last day of the current month
5971         Fixes NB#88023
5972
5973 2008-09-02  Alejandro Pinheiro  <apinheiro@igalia.com>
5974
5975         * src/hildon-touch-selector.c
5976         (hildon_touch_selector_get_num_columns): added a parameter validation
5977         Fixes: NB#88022
5978
5979 2008-08-29  Alberto Garcia  <agarcia@igalia.com>
5980
5981         * examples/Makefile.am
5982         * examples/hildon-edit-toolbar-example.c: Example of the
5983         HildonEditToolbar widget.
5984
5985 2008-08-29  Claudio Saavedra  <csaavedra@igalia.com>
5986
5987         * configure.ac: postrelease version bump.
5988
5989 2008-08-29  Claudio Saavedra  <csaavedra@igalia.com>
5990
5991         Release 2.1.6-1.
5992
5993         * configure.ac: prerelease version bump.
5994         * debian/changelog: update.
5995
5996 2008-08-29  Claudio Saavedra  <csaavedra@igalia.com>
5997
5998         * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
5999         renderer to display stock icons in the touch list. Also, set the sizes
6000         to the recommended in the style guide.
6001
6002 2008-08-28  Alejandro Pinheiro  <apinheiro@igalia.com>
6003         * src/hildon-touch-selector.h
6004         (hildon_touch_selector_set_active_iter): renamed, now is
6005         hildon_touch_selector_select_iter
6006         (hildon_touch_selector_get_active_iter): renamed, now is
6007         hildon_touch_selector_get_selected
6008         (hildon_touch_selector_unselect_iter): added
6009         * src/hildon-touch-selector.c
6010         Update after API modification (methods renamed)
6011         (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
6012         order to avoid problems selecting multiple elements on the column
6013         (hildon_touch_selector_unselect_iter): added the implementation
6014         * src/hildon-time-selector.c
6015         * src/hildon-date-selector.c
6016         * src/hildon-touch-selector-entry.c
6017         Update methods calls after hildon-touch-selector.h API modification (methods
6018         renamed)
6019
6020 2008-08-29  Alberto Garcia  <agarcia@igalia.com>
6021
6022         * src/hildon-stackable-window.c
6023         (hildon_stackable_window_finalize): Call the parent class's finalize.
6024
6025 2008-08-29  Claudio Saavedra  <csaavedra@igalia.com>
6026
6027         * examples/hildon-touch-selector-example.c: (create_selector): Use
6028         gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
6029         cell height.
6030
6031 2008-08-29  Claudio Saavedra  <csaavedra@igalia.com>
6032
6033         * examples/hildon-touch-selector-example.c: (create_selector): Do not
6034         set a cell background color, to respect theming.
6035
6036 2008-08-28  Alberto Garcia  <agarcia@igalia.com>
6037
6038         * doc/hildon-docs.sgml
6039         * doc/hildon.types
6040         * src/Makefile.am
6041         * src/hildon-edit-toolbar.c
6042         * src/hildon-edit-toolbar.h
6043         * src/hildon.h: New HildonEditToolbar widget.
6044
6045 2008-08-28  Claudio Saavedra  <csaavedra@igalia.com>
6046
6047         * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
6048         extra GtkVBox.
6049
6050 2008-08-28  Alejandro Pinheiro  <apinheiro@igalia.com>
6051         * src/hildon-touch-selector.c
6052         (_create_new_column): use g_object_set instead of two g_object_set_property
6053
6054 2008-08-28  Alejandro Pinheiro  <apinheiro@igalia.com>
6055         * src/hildon-touch-selector.c
6056         (_create_new_column): use of hildon_gtk_tree_view_new to create
6057         the treeview, instead of use directly g_object_new
6058         (_create_new_column): update the property name "vindicator-mode" for the
6059         new one "vscrollbar-policy"
6060         * examples/hildon-date-button-example.c
6061         * examples/hildon-picker-button-multicolumn-example.c
6062         * examples/hildon-touch-selector-entry-example.c
6063         * examples/hildon-touch-selector-example.c
6064         * examples/hildon-time-button-example.c
6065         * examples/hildon-picker-button-example.c
6066         Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
6067         to all the treeviews inside a pannable area.
6068
6069 2008-08-27  Alberto Garcia  <agarcia@igalia.com>
6070
6071         * src/hildon-button.h
6072         * src/hildon-button.c (hildon_button_init)
6073         (hildon_button_set_arrangement, hildon_button_set_alignment)
6074         (hildon_button_set_title_alignment)
6075         (hildon_button_set_value_alignment)
6076         (hildon_button_set_image_alignment)
6077         (hildon_button_construct_child): New methods to set the alignment
6078         of the individual components of the button (title, value,
6079         image). Also, new method to alter the xscale and yscale properties
6080         of the GtkAlignment inside the button, so more complex layouts can
6081         be created.
6082
6083 2008-08-27  Alberto Garcia  <agarcia@igalia.com>
6084
6085         * src/hildon-button.c (hildon_button_style_set)
6086         (hildon_button_class_init, hildon_button_set_arrangement)
6087         (hildon_button_construct_child): Apply style properties
6088         correctly. Use the 'image-spacing' style property too.
6089
6090 2008-08-26  Alberto Garcia  <agarcia@igalia.com>
6091
6092         * src/hildon-app-menu.c (hildon_app_menu_style_set)
6093         (hildon_app_menu_init, hildon_app_menu_class_init): Set style
6094         correctly.
6095
6096 2008-08-26  Alejandro G. Castro  <alex@igalia.com>
6097
6098         * src/hildon-pannable-area.c,
6099         (hildon_pannable_area_size_request): Fixed problem with
6100         pannable-area size_request.
6101
6102 2008-08-26  Alejandro G. Castro  <alex@igalia.com>
6103
6104         Added management for the grab-focus to a child widget, like a
6105         range, we need to fade out the scrollbar when releasing.
6106
6107         * src/hildon-pannable-area.c,
6108         (hildon_pannable_area_init): Connected the grab-focus signal to
6109         the callback.
6110         (hildon_pannable_area_grab_notify): Added this function in order
6111         to manage the situation when the grab-focus ends. We have to
6112         fade-out the scrollbar.
6113
6114 2008-08-25  Alberto Garcia  <agarcia@igalia.com>
6115
6116         * src/hildon-app-menu.c: Minor documentation update.
6117
6118 2008-08-25  Alberto Garcia  <agarcia@igalia.com>
6119
6120         * src/hildon-app-menu.c
6121         * examples/hildon-app-menu-example.c (create_menu): Update
6122         examples and documentation to explain how to connect callbacks.
6123
6124 2008-08-25  Alejandro Pinheiro <apinheiro@igalia.com>
6125
6126         * examples/hildon-button-example.c
6127         (vertical_buttons_window) (horizontal_buttons_window) (main): use of
6128         hildon_stackable_window_new instead of gtk_window_new
6129
6130 2008-08-22  Alejandro G. Castro  <alex@igalia.com>
6131
6132         * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
6133         (hildon_pannable_area_init), (hildon_pannable_area_get_property),
6134         (hildon_pannable_area_set_property),
6135         (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
6136         (hildon_pannable_area_unrealize),
6137         (hildon_pannable_area_size_request),
6138         (hildon_pannable_area_size_allocate),
6139         (hildon_pannable_area_style_set), (hildon_pannable_area_map),
6140         (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
6141         (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
6142         (hildon_pannable_area_initial_effect),
6143         (hildon_pannable_area_redraw),
6144         (hildon_pannable_area_scroll_indicator_fade),
6145         (hildon_pannable_area_expose_event),
6146         (hildon_pannable_area_get_topmost), (synth_crossing),
6147         (hildon_pannable_area_button_press_cb),
6148         (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
6149         (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
6150         (hildon_pannable_area_motion_notify_cb),
6151         (hildon_pannable_area_button_release_cb),
6152         (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
6153         (hildon_pannable_area_remove),
6154         (hildon_pannable_calculate_vel_factor): Widget refactorization,
6155         chage the code layout to a more GtkWidget like. Review the use of
6156         variables.
6157
6158 2008-08-21  Alejandro G. Castro  <alex@igalia.com>
6159
6160         * examples/hildon-pannable-area-example-4.c,
6161         (main): Modified the name of the hindicator_mode to
6162         hscrollbar_visible
6163
6164         * src/hildon-pannable-area.c,
6165         (hildon_pannable_area_class_init),
6166         (hildon_pannable_area_motion_notify_cb),
6167         (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
6168         we have reduced the amount of signals and managed reviewed its
6169         rationale. Changed the default decelerate value.
6170
6171         (hildon_pannable_area_add),
6172         (hildon_pannable_area_redraw): Refactored functions.
6173
6174         (hildon_pannable_area_init),
6175         (hildon_pannable_area_get_property),
6176         (hildon_pannable_area_set_property):
6177         (hildon_pannable_draw_vscroll),
6178         (hildon_pannable_draw_hscroll),
6179         (hildon_pannable_area_initial_effect),
6180         (hildon_pannable_area_expose_event),
6181         (hildon_pannable_area_scroll),
6182         (hildon_pannable_area_button_press_cb),
6183         (hildon_pannable_area_realize): Replaced the names hindicator_mode
6184         and vindicator_mode with hscrollbar_policy and
6185         vscrollbar_policy. Replaced hscroll and vscroll with
6186         hscroll_visible and vscroll_visible.
6187
6188         (hildon_pannable_area_refresh): Refactor the function, remove
6189         variables and check the calls to this function, added resize
6190         conditions in case the children change their layout.
6191
6192         (hildon_pannable_area_size_request): Added more detailed
6193         size_request calculation.
6194
6195
6196 2008-08-21  Alejandro Pinheiro <apinheiro@igalia.com>
6197
6198         * src/hildon-color-chooser.c
6199         (init_borders): use the correct gtk_border_free instead of g_free, to
6200         avoid a crash when this widget is used (ie: the three color selection
6201         examples)
6202
6203 2008-08-20  Alejandro G. Castro  <alex@igalia.com>
6204
6205         * src/hildon-check-button.c,
6206         (hildon_check_button_set_active): Fixed problem when setting the
6207         active value, the widget was not redrawn.
6208
6209 2008-08-20  Alejandro G. Castro  <alex@igalia.com>
6210
6211         * src/hildon-pannable-area.c,
6212         (hildon_pannable_area_refresh),
6213         (hildon_pannable_area_scroll),
6214         (hildon_pannable_area_motion_notify_cb): Small code style change.
6215
6216         (hildon_pannable_area_class_init): Default initial_hint set to
6217         FALSE, it is not in the specs.
6218
6219         (hildon_pannable_area_initial_effect),
6220         (hildon_pannable_area_expose_event),
6221         (hildon_pannable_area_map),
6222         (hildon_pannable_area_init): Moved the launching point of the
6223         initial effect, it was in map but the sizes where not correct in
6224         that method so we do not know if we have the reproduce it. Now it
6225         is placed in the expose_event method and uses a variable to
6226         reproduce it just once.
6227
6228 2008-08-19  Alejandro G. Castro  <alex@igalia.com>
6229
6230         * src/hildon-pannable-area.c,
6231         (hildon_pannable_draw_vscroll),
6232         (hildon_pannable_draw_hscroll): Fix error calculating the maximum
6233         position allowed for the scrollbars.
6234
6235         (hildon_pannable_area_size_allocate): Small style change.
6236
6237 2008-08-19  Alejandro G. Castro  <alex@igalia.com>
6238
6239         * src/hildon-pannable-area.c,
6240         (hildon_pannable_area_scroll_indicator_fade),
6241         (hildon_pannable_area_button_press_cb),
6242         (hildon_pannable_area_button_release_cb),
6243         (hildon_pannable_area_scroll_cb),
6244         (hildon_pannable_area_expose_event),
6245         (hildon_pannable_area_init): Added the define parameter
6246         SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
6247         and refactor the fade variable.
6248
6249 2008-08-19  Alejandro G. Castro  <alex@igalia.com>
6250
6251         * src/hildon-pannable-area.c,
6252         (hildon_pannable_area_redraw),
6253         (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
6254         lines, we were reimplemeting the redraw code.
6255
6256 2008-08-18  Alejandro G. Castro  <alex@igalia.com>
6257
6258         * src/hildon-pannable-area.c,
6259         (hildon_pannable_area_scroll_cb),
6260         (hildon_pannable_area_realize),
6261         (hildon_pannable_area_class_init): Added scroll_event management
6262         for pannable area, now we can scroll the usual desktop method.
6263
6264         (hildon_pannable_area_jump_to): Fixed the logic of the method, the
6265         initialization of the parameters should depend on idle_id.
6266
6267         (hildon_pannable_area_init),
6268         (hildon_pannable_area_map): Small code style modifications
6269
6270 2008-08-18  Alejandro G. Castro  <alex@igalia.com>
6271
6272         * src/hildon-pannable-area.c
6273         (hildon_pannable_area_button_press_cb),
6274         (hildon_pannable_area_motion_notify_cb),
6275         (hildon_pannable_area_button_release_cb),
6276         (hildon_pannable_area_size_allocate),
6277         (hildon_pannable_area_scroll_to): Improved the timeouts
6278         management, we avoid creating them each time.
6279
6280 2008-08-14  Alejandro G. Castro  <alex@igalia.com>
6281
6282         * src/hildon-pannable-area.c:
6283         (hildon_pannable_area_refresh),
6284         (hildon_pannable_area_motion_notify_cb),
6285         (hildon_pannable_area_class_init):
6286         * src/hildon-pannable-area.h:
6287         * src/hildon-touch-selector.c
6288         (_create_new_column):
6289         * examples/hildon-pannable-area-example-4.c:
6290         (horizontal_movement),
6291         (vertical_movement),
6292         (main):
6293         Replaced the names of enums in the HildonPannableArea:
6294            -  HILDON_PANNABLE_AREA_MOV_MODE_* ->
6295               HILDON_MOVEMENT_MODE_*
6296            -  HILDON_PANNABLE_AREA_MOV_* ->
6297               HILDON_MOVEMENT_*
6298            - Removed HildonPannableAreaIndicatorMode, now we
6299              use GtkPolicyType
6300
6301 2008-08-14  Alberto Garcia  <agarcia@igalia.com>
6302
6303         * examples/hildon-pannable-area-touch-grid-example.c
6304         * examples/hildon-pannable-area-touch-list-example.c: Fix
6305         compilation warnings.
6306
6307 2008-08-14  Alberto Garcia  <agarcia@igalia.com>
6308
6309         * src/hildon-gtk.c (hildon_gtk_button_new)
6310         (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
6311         (hildon_gtk_radio_button_new_from_widget): Make buttons show their
6312         images overriding the value of the "gtk-button-images" setting.
6313
6314 2008-08-14  Alberto Garcia  <agarcia@igalia.com>
6315
6316         * src/hildon-check-button.c (hildon_check_button_new):
6317         Instead of using a custom container, display the label and the
6318         checkbox using the standard GtkButton API.
6319
6320         * examples/hildon-check-button-example.c (main): Don't use
6321         hildon_check_button_set_label() anymore
6322
6323         * src/hildon-check-button.h
6324         * src/hildon-check-button.c
6325         (hildon_check_button_set_label, hildon_check_button_get_label):
6326         Set as deprecated, now we're using gtk_button_{get,set}_label()
6327
6328 2008-08-14  Alejandro G. Castro  <alex@igalia.com>
6329
6330         * src/hildon-pannable-area.c,
6331         (hildon_pannable_area_get_topmost): Fixed bug with click in the
6332         GtkTreeview first line we detected it after the inclusion of the
6333         GtkWindowImpl in gtk+. We now check if the window is visible, not
6334         just if the pointer is over the window.
6335         (hildon_pannable_axis_scroll),
6336         (hildon_pannable_area_expose_event): Small style changes.
6337
6338 2008-08-13  Alberto Garcia  <agarcia@igalia.com>
6339
6340         * src/hildon-button.c: Update documentation.
6341
6342 2008-08-13  Alberto Garcia  <agarcia@igalia.com>
6343
6344         * examples/hildon-button-example.c: Add a switch to show images in
6345         the buttons.
6346
6347 2008-08-12  Claudio Saavedra  <csaavedra@igalia.com>
6348
6349         * doc/hildon-docs.sgml: Some docs reorganization.
6350
6351 2008-08-12  Alberto Garcia  <agarcia@igalia.com>
6352
6353         * examples/hildon-pannable-area-touch-list-example.c
6354         (create_tree_view)
6355         * examples/hildon-pannable-area-touch-grid-example.c
6356         (create_icon_view): Use gtk_{tree,icon}_view_new() and
6357         hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
6358         Fix memory leak when setting the tree model.
6359
6360 2008-08-12  Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6361
6362         Released 2.1.4
6363
6364 2008-08-12  Claudio Saavedra  <csaavedra@igalia.com>
6365
6366         * doc/hildon.types: Remove duplicated hildon_window_get_type
6367         * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
6368         documentation comment.
6369
6370 2008-08-12  Alberto Garcia  <agarcia@igalia.com>
6371
6372         * doc/Makefile.am: Complete list of private headers.
6373
6374 2008-08-12  Alberto Garcia  <agarcia@igalia.com>
6375
6376         * doc/hildon-docs.sgml
6377         * src/hildon-app-menu.c
6378         * src/hildon-bread-crumb.c
6379         * src/hildon-button.c
6380         * src/hildon-gtk.c
6381         * src/hildon-program.c
6382         * src/hildon-stackable-window.c
6383         * src/hildon-window.c: Lots of documentation updates.
6384
6385 2008-08-12  Alberto Garcia  <agarcia@igalia.com>
6386
6387         * debian/control: Depend on Gtk 2:2.12.9-0osso3
6388
6389         * configure.ac: Require Gtk+ 2.12.9 at least
6390
6391 2008-08-12  Alejandro G. Castro  <alex@igalia.com>
6392
6393         * src/hildon-pannable-area.c
6394         (hildon_pannable_area_scroll_indicator_fade),
6395         (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
6396         to protect the return of this timeout callbacks, avoiding deadlocks.
6397
6398 2008-08-12  Christian Dywan  <christian@imendio.com>
6399
6400         * src/hildon-*.c
6401         * src/hildon-*.h: Ensure a consistent include order,
6402         include <gtk/gtk.h> instead of particular files and
6403         only include the topmost header in the gtk stack. See NB #39857
6404
6405 2008-08-12  Christian Dywan  <christian@imendio.com>
6406
6407         * src/hildon-picker-dialog.c
6408         * src/hildon-touch-selector.c: Fix warnings about unused and
6409         uninitialized variables.
6410
6411 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
6412
6413         * examples/Makefile.am
6414         * examples/hildon-check-button-example.c: Example of the hildon
6415         check button.
6416
6417 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
6418
6419         * src/hildon-window.h
6420         * src/hildon-window.c (hildon_window_class_init)
6421         (hildon_window_unset_program): Don't make
6422         hildon_window_unset_program a virtual function anymore.
6423
6424         * src/hildon-stackable-window.c: Update documentation
6425
6426 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
6427
6428         * doc/Makefile.am
6429         * doc/hildon-docs.sgml
6430         * doc/visual_index.xml
6431         * src/hildon-defines.c
6432         * src/hildon-gtk.c
6433         * src/hildon-helper.c
6434         * src/hildon-range-editor.c: Lots of documentation fixes.
6435
6436 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
6437
6438         * examples/hildon-picker-button-multicolumn-example.c
6439         (create_touch_selector): Fix compilation warning.
6440
6441 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
6442
6443         * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
6444         (hildon_pannable_area_button_release_cb)
6445         (hildon_pannable_get_child_widget_at): Fix compilation warnings.
6446
6447 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
6448
6449         * src/hildon-button.c (hildon_button_add_image_size_group): Fix
6450         assertion.
6451
6452 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
6453
6454         * src/hildon-bread-crumb-trail.h
6455         * src/hildon-date-editor.c
6456         * src/hildon-date-selector.c
6457         * src/hildon-pannable-area.c
6458         * src/hildon-picker-dialog.c
6459         * src/hildon-time-selector.c
6460         * src/hildon-touch-selector-entry.c
6461         * src/hildon-touch-selector.c
6462         * src/hildon-touch-selector.h: Misc documentation fixes
6463
6464 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
6465
6466         * examples/hildon-date-editor-example.c (main): Updated date
6467         editor example.
6468
6469         * examples/hildon-note-example.c (on_confirmation_clicked):
6470         Updated confirmation note example.
6471
6472         * src/hildon-date-editor.c
6473         * src/hildon-note.c: Updated sample programs in documentation.
6474         Fixes: NB#87437
6475
6476 2008-08-08  Claudio Saavedra  <csaavedra@igalia.com>
6477
6478         * src/hildon-date-button.h:
6479         * src/hildon-picker-button.h:
6480         * src/hildon-time-button.c:
6481         * src/hildon-time-button.h:
6482
6483         Some declarations changes to allow gtk-doc to document the widgets
6484         properly.
6485
6486 2008-08-08  Claudio Saavedra  <csaavedra@igalia.com>
6487
6488         * src/hildon-date-button.c: Document the widget.
6489         * src/hildon-time-button.c: Document the widget.
6490
6491 2008-08-08  Claudio Saavedra  <csaavedra@igalia.com>
6492
6493         * src/hildon-picker-button.c: Document the widget.
6494         * src/hildon-touch-selector-entry.c: Document the widget.
6495
6496 2008-08-08  Alberto Garcia  <agarcia@igalia.com>
6497
6498         * doc/hildon-docs.sgml
6499         * src/Makefile.am
6500         * src/hildon.h
6501         * src/hildon-check-button.h
6502         * src/hildon-check-button.c: New functions to create the Hildon
6503         Touch Checkbox.
6504
6505         * src/hildon-gtk.h
6506         * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
6507
6508 2008-08-08  Alberto Garcia  <agarcia@igalia.com>
6509
6510         * src/hildon-button.h
6511         * src/hildon-button.c
6512         (hildon_button_add_title_size_group)
6513         (hildon_button_add_value_size_group)
6514         (hildon_button_add_image_size_group)
6515         (hildon_button_add_size_groups): New functions to set size groups
6516         for the button labels and image.
6517         (hildon_button_new_full): Removed
6518
6519 2008-08-08  Alejandro Pinheiro <apinheiro@igalia.com>
6520
6521         * src/hildon-time-selector.c
6522         (_check_ampm_format): use of g_warning instead of g_error with a gconf error
6523         in order to avoid a crash if gconf is not available
6524
6525 2008-08-08  Alberto Garcia  <agarcia@igalia.com>
6526
6527         * src/hildon-button.c (hildon_button_set_arrangement)
6528         (hildon_button_construct_child): Don't construct the button child
6529         before setting the arrangement.
6530
6531 2008-08-08  Alberto Garcia  <agarcia@igalia.com>
6532
6533         * src/hildon-program-private.h
6534         * src/hildon-program.c
6535         * src/hildon-program.h
6536         (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
6537         (hildon_program_peek_window_stack)
6538         (hildon_program_pop_window_stack)
6539         (hildon_program_go_to_root_window): HildonProgram now has a
6540         separate list for stackable windows. Functions are provided to
6541         manage that list with a stack-like API.
6542
6543         * src/hildon-stackable-window.c: Stackable window management is
6544         now much simpler with the new HildonProgram API. Windows no
6545         longer need to be manually added to the program, they're
6546         automatically pushed to the top of the stack when shown.
6547
6548         * examples/hildon-stackable-window-example.c: Updated example to
6549         reflect the API changes.
6550
6551 2008-08-07  Claudio Saavedra  <csaavedra@igalia.com>
6552
6553         * src/hildon-touch-selector.c: Comment out unimplemented
6554         hildon_touch_selector_insert_column() to avoid a compile warning.
6555
6556 2008-08-07  Claudio Saavedra  <csaavedra@igalia.com>
6557
6558         * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6559         (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
6560         (hildon_touch_selector_set_column_selection_mode),
6561         (_hildon_touch_selector_set_model),
6562         (hildon_touch_selector_set_model):
6563
6564         Complete review of HildonTouchSelector documentation.
6565
6566 2008-08-08  Alberto Garcia  <agarcia@igalia.com>
6567
6568         * doc/hildon-docs.sgml
6569         * src/Makefile.am
6570         * src/hildon.h
6571         * src/hildon-gtk.h
6572         * src/hildon-gtk.c: Convenience functions for standard Gtk
6573         widgets, used to easily perform frequent operations.
6574
6575         * src/hildon-button-helpers.h
6576         * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
6577
6578         * src/hildon-helper.h
6579         * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
6580         hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
6581
6582         * src/hildon-button.h
6583         * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
6584
6585 2008-08-07  Alberto Garcia  <agarcia@igalia.com>
6586
6587         * src/hildon-button.c (hildon_button_init)
6588         (hildon_button_set_arrangement, hildon_button_construct_child):
6589         Pack the image and the labels inside the same GtkAlignment so
6590         gtk_button_set_alignment() can be used
6591
6592 2008-08-07  Alberto Garcia  <agarcia@igalia.com>
6593
6594         * src/hildon-button.h
6595         * src/hildon-button.c
6596         (hildon_button_init, hildon_button_set_image)
6597         (hildon_button_set_image_position)
6598         (hildon_button_construct_child): New functions to add an image to
6599         the HildonButton.
6600
6601 2008-08-07  Alberto Garcia  <agarcia@igalia.com>
6602
6603         * src/hildon-date-button.c
6604         * src/hildon-picker-button.c
6605         * src/hildon-time-button.c
6606         * src/hildon-button.c:
6607         (hildon_button_class_init): "size-flags" renamed to "size"
6608         (hildon_button_set_title): Hide the title label if set to NULL.
6609
6610 2008-08-07  Alberto Garcia  <agarcia@igalia.com>
6611
6612         HildonButtonFlags split into HildonButtonArrangement (to set the
6613         button layout) and HildonSizeType (which can be used for any
6614         widget).
6615
6616         * src/hildon-button.h
6617         * src/hildon-button.c
6618         (hildon_button_class_init)
6619         (hildon_button_set_arrangement)
6620         (hildon_button_set_property): New "size-flags"
6621         property. "arrangement-flags" renamed to "arrangement".
6622         (hildon_button_new, hildon_button_new_with_text)
6623         (hildon_button_new_full): Constructors updated to reflect type changes.
6624
6625         * src/hildon-helper.h
6626         * src/hildon-helper.c (hildon_helper_set_theme_size): New function
6627         to set the size of a widget.
6628
6629         * src/Makefile.am
6630         * src/hildon.h
6631         * src/hildon-button-helpers.c
6632         * src/hildon-button-helpers.h: New hildon-button-helpers module.
6633
6634         * src/hildon-date-button.c
6635         * src/hildon-date-button.h
6636         * src/hildon-picker-button.c
6637         * src/hildon-picker-button.h
6638         * src/hildon-time-button.c
6639         * src/hildon-time-button.h: Updated widgets to reflect
6640         HildonButton API changes.
6641
6642         * examples/hildon-button-example.c
6643         * examples/hildon-date-button-example.c
6644         * examples/hildon-picker-button-example.c
6645         * examples/hildon-picker-button-multicolumn-example.c
6646         * examples/hildon-time-button-example.c
6647         * examples/hildon-touch-selector-entry-example.c
6648         * examples/hildon-touch-selector-example.c: Updated examples to
6649         reflect HildonButton API changes.
6650
6651 2008-08-06  Claudio Saavedra  <csaavedra@igalia.com>
6652
6653         * doc/hildon-docs.sgml:
6654         * doc/hildon.types:
6655         * examples/Makefile.am:
6656         * examples/hildon-touch-selector-entry-example.c:
6657         * src/Makefile.am:
6658         * src/hildon-touch-selector-entry.c:
6659         * src/hildon-touch-selector-entry.h:
6660         * src/hildon.h:
6661
6662         Moved HildonTouchSelectorEntry from sandbox. Added its
6663         documentation and examples.
6664
6665 2008-08-06  Claudio Saavedra  <csaavedra@igalia.com>
6666
6667         * src/hildon-touch-selector.h:
6668         * examples/hildon-picker-button-multicolumn-example.c:
6669         (hildon_touch_selector_append_text_column): Add a gboolean
6670         parameter to determine if text must be centered in the column.
6671
6672         * src/hildon-date-selector.c: (hildon_date_selector_init):
6673         * src/hildon-time-selector.c: (hildon_time_selector_init):
6674         * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
6675         (create_touch_selector): Update widgets and example to reflect
6676         the API change.
6677
6678 2008-08-06  Claudio Saavedra  <csaavedra@igalia.com>
6679
6680         * src/hildon-touch-selector.c:
6681         (hildon_touch_selector_set_active_iter): Set also the cursor in
6682         the active row.
6683
6684 2008-08-06  Alberto Garcia  <agarcia@igalia.com>
6685
6686         * doc/hildon-docs.sgml
6687         * doc/hildon.types
6688         * src/Makefile.am
6689         * src/hildon-toggle-button.c
6690         * src/hildon-toggle-button.h
6691         * src/hildon.h: Removed HildonToggleButton widget, a derived
6692         class is not necessary for this.
6693
6694 2008-08-06  Alejandro G. Castro  <alex@igalia.com>
6695
6696         * src/hildon-pannable-area.c,
6697         (hildon_pannable_area_realize),
6698         (hildon_pannable_area_size_allocate): Code refactoring, add tests
6699         for negative sizes.
6700
6701 2008-08-05  Claudio Saavedra  <csaavedra@igalia.com>
6702
6703         * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
6704         "done" button the default widget for the dialog.
6705
6706 2008-08-04  Claudio Saavedra  <csaavedra@igalia.com>
6707
6708         * src/hildon-touch-selector.c:
6709         (hildon_touch_selector_class_init),
6710         (hildon_touch_selector_get_property),
6711         (_hildon_touch_selector_set_model),
6712         (_hildon_touch_selector_has_multiple_selection),
6713         (hildon_touch_selector_has_multiple_selection):
6714         Add a "has-multiple-selection" property with a virtual
6715         has_multiple_selection() method to allow derived classes to
6716         override the default value for it. See the method and property
6717         documentation for details.
6718
6719         * src/hildon-touch-selector.h: Add the new API.
6720
6721         * src/hildon-picker-dialog.c: (requires_done_button): Call
6722         hildon_touch_selector_has_multiple_selection() instead of
6723         determining the need for a button itself.
6724
6725 2008-08-04  Claudio Saavedra  <csaavedra@igalia.com>
6726
6727         * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6728         (_hildon_touch_selector_set_model),
6729         (hildon_touch_selector_set_model): Move working code to
6730         _hildon_touch_selector_set_mode(). Call the class method instead.
6731
6732         * src/hildon-touch-selector.h: Add (*set_model) to
6733         HildonTouchSelectorClass.
6734
6735         Make hildon_touch_selector_set_model() a virtual method, so that
6736         derived classes can extend it and do fancy stuff with the model.
6737
6738 2008-08-04  Claudio Saavedra  <csaavedra@igalia.com>
6739
6740         * configure.ac: Set back the tarname in AC_INIT to hildon.
6741
6742 2008-08-04  Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6743
6744         Release 2.1.3
6745
6746         * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
6747         instead of libesd (NB#86876). Volume handling is still an open issue.
6748
6749         * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
6750         cleanups.
6751
6752 2008-08-01  Claudio Saavedra  <csaavedra@igalia.com>
6753
6754         * src/hildon-touch-selector.c: (hildon_touch_selector_init),
6755         (hildon_touch_selector_append_column): Make the widget a GtkVBox
6756         derived class to ease placement of an entry widget in
6757         HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
6758         end, where the selector columns are packed now.
6759
6760 2008-08-01  Claudio Saavedra  <csaavedra@igalia.com>
6761
6762         * src/hildon-picker-button.c: Removed the simple _text() API.
6763         * src/hildon-picker-button.h: Likewise.
6764
6765         * src/hildon-touch-selector.h:
6766         * src/hildon-touch-selector.c:
6767         (hildon_touch_selector_new_text),
6768         (hildon_touch_selector_append_text),
6769         (hildon_touch_selector_prepend_text),
6770         (hildon_touch_selector_insert_text):
6771
6772         Moved the simple _text() API from HildonPickerButton to
6773         HildonTouchPicker, to provide better escalability and not to tie
6774         that API to HildonPickerButton.
6775
6776         * examples/hildon-picker-button-example.c: (main): Example updated.
6777
6778 2008-07-31  Alberto Garcia  <agarcia@igalia.com>
6779
6780         * src/hildon-button.c: Updated documentation.
6781
6782         * examples/hildon-button-example.c: Add the posibility to create
6783         the buttons using horizontal layout for title and value.
6784
6785 2008-07-31  Alberto Garcia  <agarcia@igalia.com>
6786
6787         * src/hildon-app-menu-private.h
6788         * src/hildon-app-menu.c (hildon_app_menu_add_filter)
6789         (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
6790         GtkSizeGroup for the filters, use the 'homogeneous' property of
6791         the box instead.
6792
6793 2008-07-31  Alberto Garcia  <agarcia@igalia.com>
6794
6795         * examples/hildon-button-example.c: Updated example.
6796
6797 2008-07-30  Claudio Saavedra  <csaavedra@igalia.com>
6798
6799         * doc/hildon-docs.sgml:
6800         * doc/hildon.types:
6801
6802         Update documentation.
6803
6804         * examples/Makefile.am: Update renamed examples.
6805
6806         * examples/hildon-picker-button-multicolumn-example.c:
6807         (create_touch_selector), (main): Update after the rename.
6808
6809         * examples/hildon-touch-picker-example.c: Removed.
6810         * examples/hildon-touch-selector-example.c: (value_changed),
6811         (create_selector), (get_visible_content), (main): Renamed from
6812         hildon-touch-picker-example.c
6813
6814         * src/Makefile.am: Updated renamed files.
6815
6816         * src/hildon-date-button.c: (hildon_date_button_init),
6817         (hildon_date_button_get_date), (hildon_date_button_set_date):
6818         * src/hildon-date-selector.c: (hildon_date_selector_init),
6819         (_custom_print_func), (_update_day_model),
6820         (_manage_selector_change_cb),
6821         (hildon_date_selector_select_current_date),
6822         (hildon_date_selector_get_date), (hildon_date_selector_select_day):
6823         * src/hildon-date-selector.h:
6824         * src/hildon-picker-button.c: (hildon_picker_button_get_property),
6825         (hildon_picker_button_set_property),
6826         (hildon_picker_button_clicked), (hildon_picker_button_class_init),
6827         (hildon_picker_button_init), (hildon_picker_button_new_text),
6828         (hildon_picker_button_append_text),
6829         (hildon_picker_button_prepend_text),
6830         (hildon_picker_button_insert_text),
6831         (hildon_picker_button_set_selector),
6832         (hildon_picker_button_get_selector):
6833         * src/hildon-picker-button.h:
6834         * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
6835         (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
6836         (_update_title_on_selector_changed_cb), (requires_done_button),
6837         (_hildon_picker_dialog_set_selector),
6838         (hildon_picker_dialog_set_selector),
6839         (hildon_picker_dialog_get_selector):
6840         * src/hildon-picker-dialog.h:
6841         * src/hildon-time-button.c: (hildon_time_button_init),
6842         (hildon_time_button_get_time), (hildon_time_button_set_time):
6843         * src/hildon-time-selector.c: (hildon_time_selector_init),
6844         (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
6845         (hildon_time_selector_set_time), (hildon_time_selector_get_time):
6846         * src/hildon-time-selector.h:
6847         * src/hildon.h:
6848
6849         Massive code updates after the rename.
6850
6851         * src/hildon-touch-picker.c: Removed.
6852         * src/hildon-touch-picker.h: Removed.
6853
6854         * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6855         (hildon_touch_selector_init), (hildon_touch_selector_map),
6856         (hildon_touch_selector_remove), (_default_print_func),
6857         (_selection_changed_cb), (_create_new_column),
6858         (hildon_touch_selector_new), (hildon_touch_selector_append_column),
6859         (hildon_touch_selector_append_text_column),
6860         (hildon_touch_selector_remove_column),
6861         (hildon_touch_selector_set_column_attributes),
6862         (hildon_touch_selector_insert_column),
6863         (hildon_touch_selector_get_num_columns),
6864         (hildon_touch_selector_get_column_selection_mode),
6865         (hildon_touch_selector_set_column_selection_mode),
6866         (hildon_touch_selector_set_print_func),
6867         (hildon_touch_selector_get_print_func),
6868         (hildon_touch_selector_get_active_iter),
6869         (hildon_touch_selector_set_active_iter),
6870         (hildon_touch_selector_get_selected_rows),
6871         (hildon_touch_selector_get_model),
6872         (hildon_touch_selector_set_model),
6873         (hildon_touch_selector_get_current_text),
6874         (_hildon_touch_selector_center_on_selected_items):
6875         * src/hildon-touch-selector.h: Renamed from
6876         hildon-touch-picker.[ch]
6877
6878         Rename HildonTouchPicker to HildonTouchSelector. Updated all the
6879         references, code examples, and related documentation.
6880
6881 2008-07-30  Alberto Garcia  <agarcia@igalia.com>
6882
6883         * doc/hildon-docs.sgml
6884         * doc/hildon.types
6885         * src/Makefile.am
6886         * src/hildon-toggle-button.c
6887         * src/hildon-toggle-button.h
6888         * src/hildon.h: New HildonToggleButton widget.
6889
6890 2008-07-30  Alberto Garcia  <agarcia@igalia.com>
6891
6892         * src/hildon-button.c: Add API documentation.
6893         (hildon_button_set_size_groups): Check input parameters
6894
6895 2008-07-30  Alejandro G. Castro  <alex@igalia.com>
6896
6897         * src/hildon-pannable-area.c
6898         (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
6899         effect after reaching the movement thredshold. This way we start
6900         using the distance after passing the thredshold.
6901
6902 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
6903
6904         * src/hildon-button.c: (hildon_button_set_property): Use the
6905         appropriate g_value_get_flags() method.
6906
6907 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
6908
6909         * doc/hildon-docs.sgml:
6910         * doc/hildon.types:
6911
6912          Add the touch pickers, picker dialogs, and picker button widgets
6913         to the documentation.
6914
6915 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
6916
6917         * src/hildon-button.c: (hildon_button_set_property),
6918         (hildon_button_class_init): Make "arrangement-flags" a proper
6919         G_TYPE_FLAGS derived property.
6920
6921 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
6922
6923         * examples/Makefile.am: Add below examples.
6924         * examples/hildon-date-button-example.c:
6925         * examples/hildon-picker-button-example.c:
6926         * examples/hildon-picker-button-multicolumn-example.c:
6927         * examples/hildon-time-button-example.c:
6928         * examples/hildon-touch-picker-example.c:
6929
6930         Add examples for the recently added touch pickers,
6931         picker dialogs, and picker button widgets.
6932
6933 2008-07-29  Alberto Garcia  <agarcia@igalia.com>
6934
6935         * src/hildon-button.c: Add some API documentation
6936
6937 2008-07-29  Alberto Garcia  <agarcia@igalia.com>
6938
6939         * src/hildon-button.h
6940         * src/hildon-button.c
6941         (hildon_button_new)
6942         (hildon_button_new_with_text): New constructor to create a button
6943         with no text at all.
6944         (hildon_button_init, hildon_button_set_arrangement)
6945         (hildon_button_set_title, hildon_button_set_value)
6946         (hildon_button_set_text)
6947         (hildon_button_construct_child): Hide the value when it's not used
6948         so the rest of the text is properly aligned.
6949         Allow creating buttons with arbitrary widgets inside (not just
6950         title/value labels).
6951
6952         * examples/hildon-button-example.c (vertical_buttons_window)
6953         (horizontal_buttons_window): Update example to use new API.
6954
6955 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
6956
6957         * src/Makefile.am: Added HildonTimeButton.
6958         * src/hildon-time-button.c: Added missing LGPL header.
6959         * src/hildon-time-button.h: Added missing LGPL header.
6960         * src/hildon.h: Add hildon-time-button.h
6961
6962         Copied HildonTimeButton from sandbox to trunk. Future work on this
6963         widget must take place in trunk.
6964
6965 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
6966
6967         * src/Makefile.am: Added HildonDateButton.
6968         * src/hildon-date-button.c: Update includes.
6969         * src/hildon.h: Add hildon-date-button.h
6970
6971         Copied HildonDateButton from sandbox to trunk. Future work on this
6972         widget must take place in trunk.
6973
6974 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
6975
6976         * src/Makefile.am: Added HildonPickerButton.
6977         * src/hildon-picker-button.h: Update includes.
6978         * src/hildon.h: Add hildon-picker-button.h
6979
6980         Copied HildonPickerButton from sandbox to trunk. Future work on
6981         this widget must take place in trunk.
6982
6983 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
6984
6985         * src/Makefile.am: Added HildonPickerDialog.
6986         * src/hildon-picker-dialog.c: Update includes.
6987         * src/hildon.h: Add hildon-picker-dialog.h
6988
6989         Copied HildonPickerDialog from sandbox to trunk. Future work
6990         on this widget must take place in trunk.
6991
6992 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
6993
6994         * src/Makefile.am: Added HildonTimeSelector.
6995         * src/hildon.h: Add hildon-time-selector.h
6996
6997         Copied HildonTimeSelector widget from sandbox to trunk. Future
6998         work on this widget must happen in trunk.
6999
7000 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
7001
7002         * src/Makefile.am: Added HildonDateSelector.
7003         * src/hildon.h: Add hildon-date-selector.h
7004
7005         Copied HildonDateSelector widget from sandbox to trunk.  Future
7006         work on this widget must happen in trunk.
7007
7008 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
7009
7010         * src/Makefile.am: Added HildonTouchPicker.
7011         * src/hildon-touch-picker.c: Update includes.
7012         * src/hildon.h: Add hildon-touch-picker.h
7013
7014         Copied HildonTouchPicker widget from sandbox to trunk. Future work
7015         on this widget must happen in trunk.
7016
7017 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
7018
7019         * src/hildon-pannable-area.c:
7020         (hildon_pannable_area_motion_notify_cb): Fix a typo.
7021
7022 2008-07-29  Alberto Garcia  <agarcia@igalia.com>
7023
7024         * examples/hildon-app-menu-example.c (main): Let the window
7025         destroy the menu.
7026
7027 2008-07-29  Alejandro G. Castro  <alex@igalia.com>
7028
7029         * src/hildon-pannable-area.c
7030         (hildon_pannable_area_class_init): Set the min value of the
7031         overshoot properties to zero, which points out that not
7032         overshooting allowed.
7033
7034 2008-07-29  Alejandro G. Castro  <alex@igalia.com>
7035
7036         Modified the procedure to get the widget at a point inside the
7037         pannable area when using the movement type signals. Now the user
7038         has to call a function to get the child, that way we just
7039         calculate the child in case the user really want to use it and not
7040         all the time.
7041
7042         * src/hildon-marshalers.list: Modified the marshallers, now we do
7043         not have the widget as a parameter.
7044
7045         * src/hildon-pannable-area.c
7046         (hildon_pannable_area_motion_notify_cb),
7047         (hildon_pannable_area_class_init),
7048         (hildon_pannable_get_child_widget_at):  Removed the widget
7049         parameter from the signal callback. We have also refactored the
7050         emission of the signals.
7051
7052         * src/hildon-pannable-area.h: Added a new method to the API to
7053         calculate a widget at a point inside the pannable area,
7054         hildon_pannable_get_child_widget_at.
7055
7056         * examples/hildon-pannable-area-example-4.c
7057         (horizontal_movement): Modified the example to use the new API,
7058         added condition to control which widget is under the event. This
7059         way we can avoid scrolling laterally over other widgets.
7060
7061 2008-07-29  Alejandro G. Castro  <alex@igalia.com>
7062
7063         * src/hildon-pannable-area.c
7064         (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
7065         modes, we stop getting the pointer events due to returning the
7066         callback without properly calling the get pointer again. Fixed
7067         also an error using the hscroll and vscroll.
7068
7069 2008-07-28  Alberto Garcia  <agarcia@igalia.com>
7070
7071         * src/hildon-app-menu-private.h
7072         * src/hildon-app-menu.c (hildon_app_menu_button_press)
7073         (hildon_app_menu_button_release, hildon_app_menu_init)
7074         (hildon_app_menu_class_init): Don't hide the menu on button
7075         release if the user didn't press outside first.
7076
7077         * src/hildon-window.h
7078         * src/hildon-window.c (hildon_window_toggle_menu)
7079         (hildon_window_toggle_menu_real, hildon_window_class_init): Make
7080         hildon_window_toggle_menu a virtual function for the stackable
7081         window to override it.
7082
7083         * src/hildon-stackable-window.h
7084         * src/hildon-stackable-window-private.h
7085         * src/hildon-stackable-window.c
7086         (hildon_stackable_window_realize)
7087         (hildon_stackable_window_finalize)
7088         (hildon_stackable_window_class_init)
7089         (hildon_stackable_window_init)
7090         (hildon_stackable_window_set_main_menu): New function to set the
7091         app menu of a HildonStackableWindow.
7092
7093         * examples/hildon-app-menu-example.c: Remove the button to show
7094         the app menu, now it'll be shown when clicking on the title bar
7095         instead.
7096
7097 2008-07-22  Claudio Saavedra  <csaavedra@igalia.com>
7098
7099         * src/hildon-button.c: (hildon_button_set_arrangement): Do not
7100         set the widget name if the arrangement flags do not specify
7101         a particular size.
7102
7103 2008-07-22  Claudio Saavedra  <csaavedra@igalia.com>
7104
7105         * src/hildon-button.c: (hildon_button_set_property),
7106         (hildon_button_class_init), (hildon_button_new_full),
7107         (hildon_button_set_arrangement): Added "arrangement-flags"
7108         property.
7109
7110         Make the HildonButtonFlags a construction-only property, to allow
7111         subclasses to set them properly.
7112
7113 2008-07-21 Tim Janik  <timj@imendio.com>
7114
7115         * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
7116         insertion position after backspace, so additional digits are appended,
7117         fixes Bug #85874.
7118
7119 2008-07-17  Alejandro G. Castro  <alex@igalia.com>
7120
7121         * src/hildon-pannable-area.c,
7122         (hildon_pannable_area_get_topmost): Cleaned the code, removed the
7123         TODO list, it was complete and removed the g_debug and g_print
7124         lines.
7125
7126 2008-07-17  Alejandro G. Castro  <alex@igalia.com>
7127
7128         Added the movement modes to the hildon-pannable-area, with this
7129         modes the developers can control in which directions the widget
7130         can scroll. They can also connect to signals in order to do
7131         something when that happens, allowing applications scroll. There
7132         is an example uploaded showing how to use it.
7133
7134         * examples/Makefile.am:
7135         * examples/hildon-pannable-area-example-4.c: Added this example of
7136         an application using the modes.
7137
7138         * src/hildon-marshalers.list: Added a new marshaller for the new
7139         signals.
7140
7141         * src/hildon-pannable-area.h: Added new enumerations and flags in
7142         order to control the movement modes and the new signals to warn
7143         about the movements in the area.
7144
7145         * src/hildon-pannable-area.c:
7146         (hildon_pannable_axis_scroll),
7147         (hildon_pannable_area_scroll),
7148         (hildon_pannable_area_motion_notify_cb),
7149         (hildon_pannable_area_get_property),
7150         (hildon_pannable_area_set_property),
7151         (hildon_pannable_area_map),
7152         (hildon_pannable_area_class_init),
7153         (hildon_pannable_area_init),
7154         (hildon_pannable_area_jump_to): Added the modes to control the
7155         movement in the widget. We have added properties to control it,
7156         signals to warn about the movements and refactored some code.
7157
7158 2008-07-15  Alejandro G. Castro  <alex@igalia.com>
7159
7160         Changes required in order to allow vfast_factor set to zero to
7161         work properly.
7162
7163         * src/hildon-pannable-area.c:
7164         (hildon_pannable_area_button_press_cb): Changed the condition, it
7165         is required for not allowing click when vfast_factor is zero.
7166         (hildon_pannable_area_timeout): Initialized velocity variables
7167         when we stop moving, it was less than 1 but not zero and we need
7168         to check zero in some situations.
7169         (hildon_pannable_area_class_init): Changed the default value of
7170         the speed factor, now the button_press is just sent in case the
7171         speed is 2 per cent of the max speed.
7172         (hildon_pannable_area_init): Initialization with 0.
7173
7174 2008-07-04  Alejandro G. Castro  <alex@igalia.com>
7175
7176         * src/hildon-pannable-area.c,
7177         (hildon_pannable_area_get_topmost): replaced
7178         gdk_window_get_children with gdk_window_peek_children, this way we
7179         do not have to free the list because it is not a copy.
7180
7181         (hildon_pannable_axis_scroll),
7182         (hildon_pannable_area_scroll),
7183         (hildon_pannable_area_timeout),
7184         (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
7185         two parameters that were only used inside the
7186         hildon_pannable_area_scroll function.
7187
7188         * examples/hildon-pannable-area-example.c,
7189         (get_sawtooth_label): Fixed small memory leak.
7190
7191 2008-07-03  Alejandro G. Castro  <alex@igalia.com>
7192
7193         More checks for the case where the overshoot is bigger than the
7194         size of the widget.
7195
7196         * src/hildon-pannable-area.c:
7197         (hildon_pannable_draw_vscroll),
7198         (hildon_pannable_draw_hscroll): with this new calculation we avoid
7199         to draw the slider of the scrollbar under the other scrollbar.
7200         (hildon_pannable_area_expose_event): added new checks to control
7201         the drawing of the overshooting area rectangle, in case it is too
7202         big for the area of the widget.
7203         (hildon_pannable_area_size_allocate): add more checks to avoid
7204         setting a position to the child widget outside the area.
7205
7206 2008-07-03  Alejandro G. Castro  <alex@igalia.com>
7207
7208         * src/hildon-pannable-area.c
7209         (hildon_pannable_area_size_allocate): Added conditions to control
7210         when overshooting is bigger than the allocated space for the
7211         children, this avoids negative allocations.
7212
7213 2008-07-02  Alberto Garcia  <agarcia@igalia.com>
7214
7215         * doc/hildon-docs.sgml
7216         * doc/hildon.types
7217         * examples/Makefile.am
7218         * examples/hildon-button-example.c
7219         * src/Makefile.am
7220         * src/hildon-button.c
7221         * src/hildon-button.h
7222         * src/hildon.h: Initial version of the new HildonButton widget,
7223         with examples.
7224
7225 2008-07-02  Claudio Saavedra  <csaavedra@igalia.com>
7226
7227         * src/hildon-pannable-area.c:
7228         (hildon_pannable_area_button_press_cb),
7229         (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
7230         (hildon_pannable_area_motion_notify_cb),
7231         (hildon_pannable_area_button_release_cb),
7232         (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
7233         (hildon_pannable_area_jump_to_child):
7234
7235         Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
7236
7237 2008-07-01  Alberto Garcia  <agarcia@igalia.com>
7238
7239         * examples/Makefile.am
7240         * examples/hildon-pannable-area-touch-grid-example.c
7241         * examples/hildon-pannable-area-touch-list-example.c: Examples of
7242         the Hildon Touch List and Hildon Touch Grid using the
7243         HildonPannableArea widget.
7244
7245 2008-06-27  Alejandro G. Castro <alex@igalia.com>
7246
7247         * src/hildon-pannable-area.c,
7248         (hildon_pannable_area_button_press_cb),
7249         (hildon_pannable_area_refresh),
7250         (hildon_pannable_area_scroll),
7251         (hildon_pannable_area_motion_notify_cb),
7252         (hildon_pannable_area_button_release_cb),
7253         (hildon_pannable_area_expose_event),
7254         (hildon_pannable_area_add),
7255         (hildon_pannable_area_remove),
7256         (hildon_pannable_area_realize),
7257         (hildon_pannable_area_size_allocate),
7258         (hildon_pannable_area_class_init),
7259         (hildon_pannable_area_init),
7260         (hildon_pannable_area_scroll_to_child),
7261         (hildon_pannable_area_jump_to_child): Fixed the problem of
7262         removing the child from the GtkBin, we have rearranged the widget
7263         hierarchy, now there is no GtkAlignment which was not doing
7264         anything interesting but breaking some of the assumptions of
7265         GtkContainer. Now developers if they want to add a GtkAlignment
7266         they could, but it is not inside the area.
7267
7268         We had to review the whole allocation/expose process, now it is
7269         improved and we save at least three signals which would be saving
7270         some time when rendering the widget. The allocation of the
7271         scrollbars is now made in the allocate method as usual.
7272
7273         We have also added some conditions in order to control when there
7274         is no child of the pannable area. Maybe we will need more work
7275         here.
7276
7277 2008-06-27  Alejandro G. Castro <alex@igalia.com>
7278
7279         * src/hildon-pannable-area.c,
7280         (hildon_pannable_area_dispose): Released the fade-out timeout when
7281         disposing the widget.
7282
7283 2008-06-27  Alejandro G. Castro <alex@igalia.com>
7284
7285         * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
7286         zero, we are going to use that property in order to deactivate the
7287         overshooting
7288         (hildon_pannable_axis_scroll),
7289         (hildon_pannable_area_size_allocate): Added conditions to control
7290         when overshoot_max is zero. Moved the gtk_adjustment_set_value
7291         call, now it is called in all situations and we can remove calls
7292         in the allocate method.
7293         (hildon_pannable_area_map): Control the situation when
7294         overshoot_max is zero, we do not need the timeout.
7295         (hildon_pannable_area_class_init): Added documentation in order to
7296         point out that setting zero to overshoot_max means deactivate
7297         overshooting.
7298
7299         NOTE: removed trailing whitespaces from my previous comments of
7300         the Changelog.
7301
7302 2008-06-26  Claudio Saavedra  <csaavedra@igalia.com>
7303
7304         * src/hildon-pannable-area.c
7305         (hildon_pannable_area_get_property),
7306         (hildon_pannable_area_set_property),
7307         (hildon_pannable_area_map),
7308         (hildon_pannable_area_class_init),
7309         (hildon_pannable_area_init): Add a boolean "initial-hint" property
7310         to cause the widget give a hint about its panning abilities upon
7311         realization.
7312
7313 2008-06-26  Claudio Saavedra  <csaavedra@igalia.com>
7314
7315         * src/hildon-pannable-area.c: Several documentation improvements.
7316
7317 2008-06-26  Alberto Garcia  <agarcia@igalia.com>
7318
7319         * src/hildon-program.c
7320         * src/hildon-stackable-window.c: Update documentation.
7321
7322 2008-06-26  Alberto Garcia  <agarcia@igalia.com>
7323
7324         * src/hildon-stackable-window.c (get_previous_window_if_last):
7325         Renamed get_last_window()
7326         (hildon_stackable_window_map, hildon_stackable_window_unmap)
7327         (hildon_stackable_window_unset_program):
7328         Simplified code.
7329         (get_previous_window_if_last):
7330         Detect if the window hasn't been added to a HildonProgram.
7331
7332 2008-06-26  Alejandro G. Castro <alex@igalia.com>
7333
7334         contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
7335
7336         * src/hildon-pannable-area.c
7337         (hildon_pannable_area_button_press_cb),
7338         (hildon_pannable_axis_scroll),
7339         (hildon_pannable_area_scroll),
7340         (hildon_pannable_area_timeout),
7341         (hildon_pannable_calculate_vel_factor),
7342         (hildon_pannable_area_get_property),
7343         (hildon_pannable_area_set_property),
7344         (hildon_pannable_area_class_init),
7345         (hildon_pannable_area_init),
7346         (hildon_pannable_area_scroll_to),
7347         (hildon_pannable_area_jump_to),
7348         (hildon_pannable_area_scroll_to_child),
7349         (hildon_pannable_area_jump_to_child):
7350         * src/hildon-pannable-area.h: Added the new API functions:
7351         hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
7352         hildon_pannable_area_scroll_to_child,
7353         hildon_pannable_area_jump_to_child
7354
7355
7356         * examples/Makefile.am
7357         * examples/hildon-pannable-area-example-2.c
7358         * examples/hildon-pannable-area-example-3.c: Added these two new
7359         examples in order to test and show how the new APIs work.
7360
7361 2008-06-25  Alberto Garcia  <agarcia@igalia.com>
7362
7363         * examples/hildon-stackable-window-example.c (new_window):
7364         * src/Makefile.am (noinst_HEADERS):
7365         * src/hildon-program.c (hildon_program_go_to_root_window):
7366         * src/hildon-program.h:
7367         * src/hildon-stackable-window-private.h:
7368         * src/hildon-stackable-window.c:
7369         * src/hildon-stackable-window.h:
7370         Create hildon-stackable-window-private.h
7371         Move hildon_stackable_window_go_to_root_window() to HildonProgram
7372
7373         * examples/hildon-app-menu-example.c (create_menu):
7374         * examples/hildon-hvolumebar-insensitive-example.c (main):
7375         * examples/hildon-hvolumebar-timer-example.c (on_idle):
7376         * examples/hildon-toolbar-seekbar-example.c (main):
7377         * src/hildon-app-menu.c (hildon_app_menu_add_filter):
7378         * src/hildon-banner.c (hildon_banner_set_property):
7379         * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
7380         Fix compilation warnings
7381
7382         * src/hildon-window.c:
7383         Fix typo in doc
7384
7385 2008-06-24  Alberto Garcia  <agarcia@igalia.com>
7386
7387         * src/hildon-stackable-window.c
7388         (hildon_stackable_window_unset_program):
7389         Calculate correctly whether to show the previous window if the
7390         last one is removed from the stack.
7391         (hildon_stackable_window_go_to_root_window):
7392         Send delete events starting from the topmost window.
7393         Stop if one of the windows is not destroyed.
7394         Update doc.
7395         (hildon_stackable_window_delete_event)
7396         (hildon_stackable_window_class_init):
7397         Ignore the delete event if the window is not the topmost one.
7398
7399 2008-06-24  Alejandro G. Castro <alex@igalia.com>
7400
7401         * src/hildon-pannable-area.c
7402         (hildon_pannable_area_expose_event): Fixed a problem when
7403         selecting the background color of the scrollbars.
7404
7405 2008-06-23  Alberto Garcia  <agarcia@igalia.com>
7406
7407         * examples/hildon-stackable-window-example.c
7408         * src/hildon-stackable-window.c
7409         * src/hildon-stackable-window.h
7410         hildon_stackable_window_go_home() renamed to
7411         hildon_stackable_window_go_to_root_window()
7412         Send delete events to windows rather than closing them with
7413         gtk_widget_destroy()
7414
7415 2008-06-19  Alberto Garcia  <agarcia@igalia.com>
7416
7417         * src/hildon-pannable-area.c
7418         (hildon_pannable_area_button_release_cb): Fix overshooting in
7419         accel mode.
7420
7421 2008-06-19  Claudio Saavedra  <csaavedra@igalia.com>
7422
7423         * src/hildon-pannable-area.c
7424         (hildon_pannable_area_init): Initially show the scroll indicators.
7425         (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
7426
7427         Add initial effect showing the widget is pannable.
7428
7429 2008-06-19  Alberto Garcia  <agarcia@igalia.com>
7430
7431         * src/hildon-pannable-area.c
7432         (hildon_pannable_area_class_init)
7433         (hildon_pannable_area_set_property)
7434         (hildon_pannable_area_get_property)
7435         (hildon_pannable_area_button_press_cb):
7436         New 'velocity_fast_factor' property to decide which velocity is
7437         considered fast.
7438
7439 2008-06-19  Claudio Saavedra  <csaavedra@igalia.com>
7440
7441         * src/hildon-pannable-area.c
7442         (hildon_pannable_draw_hscroll)
7443         (hildon_pannable_draw_vscroll):
7444         Use float variables to calculate the size of the scrollbars to
7445         avoid error propagation and resizing during scrolling.
7446
7447 2008-06-19  Alberto Garcia  <agarcia@igalia.com>
7448
7449         * src/hildon-pannable-area.c
7450         (hildon_pannable_draw_vscroll)
7451         (hildon_pannable_draw_hscroll):
7452         Define a minimum size for the scroll bars
7453
7454         * src/hildon-stackable-window.c
7455         (hildon_stackable_window_go_home): Fix compilation warning
7456         (get_last_window): Minor optimizations
7457         (hildon_stackable_window_class_init): Fix initialization of
7458         private structure.
7459
7460 2008-06-18  Alberto Garcia  <agarcia@igalia.com>
7461
7462         * src/hildon-stackable-window.c: Fixed typos in doc
7463
7464 2008-06-18  Claudio Saavedra  <csaavedra@igalia.com>
7465
7466         * src/hildon-pannable-area.c
7467         (hildon_pannable_area_scroll):
7468         Calculate here whether we need to scroll instead of using the booleans
7469         that tell us whether to /draw/ the scrolling bars.
7470
7471 2008-06-17  Claudio Saavedra  <csaavedra@igalia.com>
7472
7473         * src/hildon-app-menu.h
7474         Update API.
7475         * src/hildon-app-menu.c
7476         (hildon_app_menu_init, hildon_app_menu_class_init): Remove
7477         multiple filter groups related code and API. Now we support only
7478         one filter group.
7479         * examples/hildon-app-menu-example.c:
7480         (create_menu):
7481         Update to reflect API changes.
7482
7483 2008-06-16  Claudio Saavedra  <csaavedra@igalia.com>
7484
7485         * src/hildon-stackable-window.c
7486         (hildon_stackable_window_class_init):
7487         Add hildon_stackable_window_realize.
7488         (hildon_stackable_window_realize):
7489         Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
7490         the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
7491         to apply theming and behavior specific to HildonStackableWindow
7492         windows.
7493
7494 2008-06-12  Alberto Garcia  <agarcia@igalia.com>
7495
7496         * src/hildon-note.c (hildon_note_button_release):
7497         Close information notes also when tapping on them
7498
7499 2008-06-12  Alejandro G. Castro <alex@igalia.com>
7500
7501         Added BOUNCE_STEPS define to control the overshoot effect. Removed
7502         ELASTICITY, refactor and review, fix some issues with drawing
7503         scrollbars.
7504
7505         * src/hildon-pannable-area.c:
7506         (hildon_pannable_area_button_press_cb): removed the conditions to
7507         avoid clicks when overshooting. It is not required
7508
7509         (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
7510         define. Refatored and reviewed the code, now we do not need to
7511         manage velocity in motion_notify.
7512
7513         (hildon_pannable_area_motion_notify_cb): We have moved the code
7514         that controls the area_scroll to the axis_scroll function and get
7515         rid of duplicated code.
7516
7517         (hildon_pannable_area_scroll): Remove the ELASTICITY define.
7518
7519         (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
7520
7521         (hildon_pannable_draw_vscroll),
7522         (hildon_pannable_draw_hscroll): Fixed the problems with the
7523         scrollbar drawing, now we do not use two surfaces, it is easier
7524         and saves resources.
7525
7526         (hildon_pannable_area_get_property): Style modification.
7527
7528         (hildon_pannable_area_class_init): Changed some default values.
7529
7530 2008-06-12  Claudio Saavedra  <csaavedra@igalia.com>
7531
7532         * src/hildon-stackable-window.c: Fix some typos in the
7533         documentation.
7534
7535 2008-06-12  Alberto Garcia  <agarcia@igalia.com>
7536
7537         * src/hildon-dialog.c:
7538         Change indentation style
7539
7540         * src/hildon-note.c
7541         (hildon_note_button_release):
7542         Use root coordinates to check if the release event happened
7543         outside the widget.
7544
7545         * src/hildon-app-menu.c
7546         (hildon_app_menu_button_release):
7547         Remove unnecessary check
7548
7549         * examples/hildon-app-menu-example.c
7550         (button_clicked):
7551         Add cast to fix warning
7552
7553         * src/hildon-app-menu.c
7554         (hildon_app_menu_class_init):
7555         New inner-border style property.
7556         Set all default spacings to 16
7557         (hildon_app_menu_init):
7558         Use vertical-spacing to set the space between filter buttons and
7559         regular menu buttons.
7560         Set the default container border using the inner-border value.
7561
7562         * examples/hildon-app-menu-example.c
7563         (create_menu):
7564         Don't set the menu border explicitly, now we have the inner-border
7565         style property for that.
7566
7567 2008-06-11  Alberto Garcia  <agarcia@igalia.com>
7568
7569         * src/hildon-app-menu.c (hildon_app_menu_init):
7570         Make the window modal
7571
7572         * src/hildon-note.c (hildon_note_map)
7573         * src/hildon-app-menu.c (hildon_app_menu_map):
7574         Destroy the grab window if we're unable to grab the pointer
7575
7576         * src/hildon-app-menu-private.h
7577         * src/hildon-app-menu.c
7578         (hildon_app_menu_init, hildon_app_menu_finalize)
7579         (hildon_app_menu_map, hildon_app_menu_unmap)
7580         (hildon_app_menu_button_release)
7581         (grab_transfer_window_get):
7582         Bring back the grab window
7583         (hildon_app_menu_realize):
7584         Decorate the window, set WM hint for Matchbox
7585
7586         * src/hildon-note.c (hildon_note_realize):
7587         * src/hildon-banner.c (hildon_banner_realize):
7588         Add WM hints for Matchbox
7589
7590 2008-06-10  Alberto Garcia  <agarcia@igalia.com>
7591
7592         * src/hildon-app-menu-private.h
7593         * src/hildon-app-menu.c
7594         (hildon_app_menu_init, hildon_app_menu_finalize)
7595         (hildon_app_menu_map, hildon_app_menu_unmap)
7596         (hildon_app_menu_button_release):
7597         Remove the grab window, it's not needed anymore
7598
7599         * src/hildon-program.c
7600         Fixed typo in documentation
7601
7602         * src/hildon-app-menu.h
7603         * src/hildon-app-menu.c
7604         * examples/hildon-app-menu-example.c
7605         Remove hildon_app_menu_popup(), use gtk_widget_show() instead
7606
7607 2008-06-09  Alberto Garcia  <agarcia@igalia.com>
7608
7609         * src/hildon-note.c
7610         Added new transfer_window and close_if_pressed_outside private
7611         attributes.
7612         (hildon_note_rebuild):
7613         Don't add a cancel button to the information note. It will be
7614         closed when tapping outside
7615         Remove the comment about the OK button in the documentation
7616         (hildon_note_realize):
7617         Set the notification type hint
7618         (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
7619         Grab/ungrab pointer and keyboard if the note has to be closed when
7620         tapping outside
7621         (hildon_note_button_release):
7622         Close the note when tapping outside (if applicable)
7623
7624         * src/hildon-app-menu.c
7625         Grab/ungrab pointer and keyboard on map/unmap
7626         (hildon_app_menu_button_release, hildon_app_menu_class_init):
7627         Close the menu on button release, not button press
7628
7629         * src/hildon-banner.c
7630         (hildon_banner_set_property)
7631         (hildon_banner_check_position):
7632         Make the banner use the full width of the screen
7633         (hildon_banner_show_information)
7634         (hildon_banner_show_information_with_markup):
7635         Don't display an icon by default
7636
7637 2008-06-09  Alejandro G. Castro <alex@igalia.com>
7638
7639         Added fading scrollbars and adapted all the overshooting code to
7640         horizontal scrolling. We have also fixed bugs with overshooting
7641         and current fading implementation.
7642
7643         * src/hildon-pannable-area.c
7644         (hildon_pannable_area_scroll_indicator_fade): Time out function
7645         used to change the transparency of the scrollbars.
7646
7647         (hildon_pannable_area_button_press_cb): Added horizontal overshot
7648         control and fixed a problem with fading, we now remove the fade
7649         timeout before adding a new one.
7650
7651         (hildon_pannable_axis_scroll):
7652         (hildon_pannable_area_scroll):
7653         (hildon_pannable_area_timeout): Added this functions so we can use
7654         the scroll code both for vertical and horizontal.
7655
7656         (hildon_pannable_area_motion_notify_cb):
7657         (hildon_pannable_area_button_release_cb): Added the horizontal
7658         scrolling control, fixed a problem with the overshooting timeout.
7659
7660         (rgb_from_gdkcolor): Added this function, it is used in the cairo
7661         painting of the scrolls.
7662
7663         (hildon_pannable_draw_vscroll):
7664         (hildon_pannable_draw_hscroll):
7665         (hildon_pannable_area_expose_event):
7666         Draw both scrollbars and rectangles in the overshooting area.
7667
7668         (hildon_pannable_area_get_property):
7669         (hildon_pannable_area_set_property):
7670         Modified the overshoot property to overshoot_max
7671
7672         (hildon_pannable_area_map):
7673         Replaced the comments symbols.
7674
7675         (hildon_pannable_area_size_allocate):
7676         (hildon_pannable_area_class_init):
7677         (hildon_pannable_area_init): Added horizontal scroll, fading
7678         effect properties, fixed a problem when overshooting in the bottom
7679         of the widget.
7680
7681         * examples/hildon-pannable-area-example.c:
7682         (get_sawtooth_label): Now we use smaller sawtooths, the effect
7683         looks better in the example.
7684
7685 2008-06-03  Alberto Garcia  <agarcia@igalia.com>
7686
7687         * src/hildon-window.c
7688         * src/hildon-window.h
7689         (hildon_window_class_init)
7690         (hildon_window_unset_program)
7691         (hildon_window_unset_program_real):
7692         Make unset_program a virtual function
7693
7694         * src/hildon-stackable-window.c
7695         * src/hildon-stackable-window.h
7696         Added hildon_stackable_window_go_home()
7697
7698         * examples/Makefile.am
7699         * examples/hildon-stackable-window-example.c
7700         HildonStackableWindow example
7701
7702 2008-06-03 Alejandro G. Castro <alex@igalia.com>
7703
7704         * hildon-pannable-area.c: Added the overshoot property and removed
7705         the OVERSHOOT define. Fixed an indent style error.
7706         (hildon_pannable_area_motion_notify_cb):
7707         (hildon_pannable_area_get_property):
7708         (hildon_pannable_area_set_property): Add overshoot property.
7709
7710         (hildon_pannable_area_scroll): replaced OVERSHOOT define with
7711         overshoot property.
7712
7713         (hildon_pannable_area_class_init): Installed the new property.
7714
7715         * hildon-pannable-area-example.c: Added a sawtooth function, this
7716         way it is easier to check the movement in the pannable.
7717         (get_sawtooth_label): Added this function.
7718         (main): Now we get the labels from the new get_sawtooth_label
7719         function.
7720
7721 2008-05-26  Alberto Garcia  <agarcia@igalia.com>
7722
7723         * src/hildon-app-menu.h
7724         * src/hildon-app-menu.c
7725         Renamed API variables for consistency
7726
7727         (hildon_app_menu_popup): Use also the default window size to
7728         decide where to place the menu
7729
7730         (hildon_app_menu_init, hildon_app_menu_class_init): New
7731         external-border style property
7732
7733 2008-05-26  Michael Natterer  <mitch@imendio.com>
7734
7735         * src/hildon-time-editor.c (hildon_time_editor_class_init): The
7736         widget_class->tap_and_hold_setup signal slot doesn't exist any
7737         longer, stop overriding it.
7738
7739         (hildon_time_editor_init): g_signal_connect() to the
7740         tap-and-hold-setup signal instead.
7741
7742         (hildon_time_editor_entry_keypress): add cast to fix warning.
7743
7744 2008-05-23  Alberto Garcia  <agarcia@igalia.com>
7745
7746         * doc/hildon-docs.sgml
7747         * doc/hildon.types
7748         * examples/Makefile.am
7749         * examples/hildon-app-menu-example.c
7750         * src/Makefile.am
7751         * src/hildon-app-menu-private.h
7752         * src/hildon-app-menu.c
7753         * src/hildon-app-menu.h
7754         * src/hildon.h
7755         New HildonAppMenu widget
7756
7757 2008-05-21 Alejandro G. Castro <alex@igalia.com>
7758
7759         Rearranged the inheritance of the pannable area, now it inherits
7760         from GtkBin. This will allow us to control the event_window and
7761         the allocation process of the widget, required for some effects.
7762
7763         * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
7764         GtkBin structures.  * src/hildon-pannable-area.c: Added the
7765         event_window variable.
7766         (hildon_pannable_area_button_press_cb):
7767         (hildon_pannable_area_button_release_cb):
7768         (hildon_pannable_area_motion_notify_cb):
7769         Changed the signature of the method, now we override the event
7770         callback instead of connecting to the signal.
7771
7772         (hildon_pannable_area_realize):
7773         (hildon_pannable_area_unrealize):
7774         (hildon_pannable_area_map):
7775         (hildon_pannable_area_unmap):
7776         (hildon_pannable_area_size_allocate):
7777         Added functions to control the widget construction. We add a
7778         INPUT_ONLY window and we put it over the widgets inside the
7779         container, this event_window handles the events.
7780
7781         (hildon_pannable_area_class_init):
7782         Replaced the signal connections with overrides of the event
7783         callbacks.
7784
7785 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7786
7787         Bouncing effect added when touching the borders, you can change
7788         the elasticity of the border changing the ELASTICITY define.
7789
7790         * src/hildon-pannable-area.c: Added ELASTICITY define.
7791         (hildon_pannable_area_timeout): Added inverse velocity when
7792         touching the border of the child widget, that causes a bounce.
7793
7794 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7795
7796         Improved performance, we now do not go to the X server in order to
7797         get the list of window children. Apparently the effect is the
7798         same, we have to be careful and check if this breaks something in
7799         any corner case.
7800
7801         * src/hildon-pannable-area.c:
7802         (get_ordered_children): Removed this function.
7803         (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
7804         the children windows function with gdk_window_get_children.
7805
7806 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7807
7808         * src/hildon-pannable-area.c:
7809         (hildon_pannable_area_dispose): Fixed a crash when closing the
7810         window and kinetics is activated.
7811
7812 2008-05-19  Alberto Garcia  <agarcia@igalia.com>
7813
7814         * src/hildon-pannable-area.h
7815         * src/hildon-pannable-area.c
7816         Changed indentation style to meet the one used in Hildon
7817
7818 2008-05-19 Alejandro G. Castro <alex@igalia.com>
7819
7820         Reviewed the interaction of the AUTO mode, now we use the time
7821         attribute of the events and calculate the velocity in the motion,
7822         doing a gimp like calculation. The velocity is calculated in each
7823         motion event using the last velocity and the current one, the
7824         SMOOTH_FACTOR controls the percentage of the new velocity we use.
7825
7826         * src/hildon-pannable-area.c: Replaced the time based algorithm
7827         for the AUTO mode.
7828         (hildon_pannable_area_motion_notify_cb): now we do not launch the
7829         timeout for the AUTO mode when we are still moving the cursor. We
7830         added also the velocity calculation in this function.
7831         (hildon_pannable_area_button_release_cb): launch the timeout in
7832         case we are in AUTO mode. There are still some constants here that
7833         come from the old implementation that should be reviewed and
7834         handled properly.
7835
7836 2008-05-15  Alberto Garcia  <agarcia@igalia.com>
7837
7838         * doc/hildon-docs.sgml
7839         * doc/hildon.types
7840         * src/Makefile.am
7841         * src/hildon-stackable-window.c
7842         * src/hildon-stackable-window.h
7843         * src/hildon.h
7844         New HildonStackableWindow widget
7845
7846         * examples/hildon-dialog-example.c
7847         * examples/hildon-pannable-area-example.c
7848         Updated copyright
7849
7850 2008-05-14  Alberto Garcia  <agarcia@igalia.com>
7851
7852         * src/hildon-dialog.c
7853         (hildon_dialog_new_with_buttons): New constructor.
7854
7855         * examples/hildon-dialog-example.c
7856         (main): Update the example to use the new
7857         hildon_dialog_new_with_buttons().
7858
7859         * examples/hildon-pannable-area-example.c
7860         (main): Update example.
7861
7862 2008-05-13 Alberto Garcia <agarcia@igalia.com>
7863
7864         * doc/hildon-docs.sgml
7865         * doc/hildon.types
7866         Added HildonPannableArea to the documentation.
7867
7868 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
7869
7870         * doc/visual_index.xml
7871         Fix reference to HildonLoginDialog in documentation
7872
7873         * doc/hildon-docs.sgml
7874         * doc/hildon.types
7875         * examples/Makefile.am
7876         * examples/hildon-dialog-example.c
7877         * src/Makefile.am
7878         * src/hildon-dialog.c
7879         * src/hildon-dialog.h
7880         * src/hildon.h
7881         New HildonDialog widget.
7882
7883 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7884
7885         * src/hildon-pannable-area.c
7886         Merge latest changes (r4318, r4342) from libmokoui trunk
7887
7888 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7889
7890         * examples/Makefile.am
7891         * examples/hildon-pannable-area-example.c
7892         * src/Makefile.am
7893         * src/hildon-pannable-area.c
7894         * src/hildon-pannable-area.h
7895         * src/hildon.h
7896         New HildonPannableArea widget.
7897
7898 2008-04-15 18:05:19    <timj@imendio.com>
7899
7900         * src/hildon-banner.c: revert the recent change, that introduced
7901         gtk_window_present() calls. this reopens:
7902           Bug 78481 - [freetest] information banners are hidden under browser menu
7903         But resolves another variant of:
7904           Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7905
7906 2008-04-15 13:21:13    <timj@imendio.com>
7907
7908         * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
7909         recreated its layout, spotted by Kris. this fixes all remaining
7910         artefacts and stability issues with the banner code. in particular:
7911         Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7912
7913 2008-04-14 16:52:59    <timj@imendio.com>
7914
7915         * src/hildon-banner.c: guard force_to_wrap_truncated() against
7916         operating on unrealized widgets, fixes:
7917         Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7918
7919         * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
7920
7921 2008-04-09  Kristian Rietveld  <kris@imendio.com>
7922
7923         Fixes: NB#77775: Media Player, Save Now playing list, too long name
7924         makes banner disappear.
7925         Fixes: NB#79182: info banner flickering with certain message lengts.
7926
7927         * src/hildon-banner.c (hildon_banner_constructor),
7928         (hildon_banner_init), (hildon_banner_set_text),
7929         (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
7930         (hildon_banner_reset_wrap_state): new function: reset wrap flags to
7931         FALSE, reset size requests of label and banner,
7932         (force_to_wrap_truncated): when the text is too wide, always enforce
7933         the maximum possible width instead of recalculating it from the
7934         layout; enforce the maximum banner height of 3 lines,
7935         (hildon_banner_init): set WORD_CHAR wrapping, this will result in
7936         nicer wrapping and no truncated chars if space gets tight.
7937
7938         * src/hildon-banner-private.h: add has_been_wrapped and
7939         has_been_truncated fields.
7940
7941 2008-04-07  Sven Herzberg  <sven@imendio.com>
7942
7943         Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
7944         local values in hildon_date_editor_size_allocate
7945
7946         * src/hildon-date-editor.c: moved the real allocation code into the
7947         if() branch
7948
7949 2008-04-07  Sven Herzberg  <sven@imendio.com>
7950
7951         Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7952         local values in hildon_date_editor_size_allocate
7953
7954         * src/hildon-date-editor.c: merged the two if() branches together
7955
7956 2008-04-07  Sven Herzberg  <sven@imendio.com>
7957
7958         Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7959         local values in hildon_date_editor_size_allocate
7960
7961         * src/hildon-date-editor.c: changed the arguments of the if()
7962         conditions
7963
7964 2008-04-07  Sven Herzberg  <sven@imendio.com>
7965
7966         Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7967         local values in hildon_date_editor_size_allocate
7968
7969         * src/hildon-date-editor.c: split the calculation of the allocation
7970         from the real allocation
7971
7972 2008-03-27  Michael Natterer  <mitch@imendio.com>
7973
7974         Fixes: NB#81696: The passcode is not overwritten even after
7975         selecting
7976
7977         * src/hildon-code-dialog.c
7978         (hildon_code_dialog_button_clicked)
7979         (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
7980         because that doesn't overwrite selected text. Instead, emit the
7981         "commit" signal on the entry's im_context so the entry's normal
7982         insert logic is triggered. Set the cursor to the end of the entry
7983         after each insert operation so that we *only* insert in the middle
7984         of the text if something was selected.
7985
7986 2008-03-27  Michael Natterer  <mitch@imendio.com>
7987
7988         Enable fixing: NB#79916 and NB#79918: The help topic for Color
7989         selector cannot be opened
7990
7991         * src/hildon-color-button.c: add signal "setup-dialog" and emit it
7992         when the popup color selector is created. Please connect to this
7993         signal in order to set the dialog's help ID.
7994
7995 2008-03-25  Sven Herzberg  <sven@imendio.com>
7996
7997         Fixes: MB#1212: Hide info banners (infoprints) on click
7998
7999         * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
8000         extracted the close event simulation into an extra function
8001         (hildon_banner_button_press_event): simulate a close event and destroy
8002         the widget if the event wasn't handled
8003         (hildon_banner_class_init): added the button_press_event handler
8004         (hildon_banner_init): added button-press events to the widget
8005
8006 2008-03-25  Sven Herzberg  <sven@imendio.com>
8007
8008         Fixes: MB:#924: Hildon widgets doesn't support RTL mode
8009         Patch from: Mohammad Anwari  <mdamt@maemo.org>
8010
8011         * src/hildon-banner.c: let the HildonBanners pop up on the left side
8012         instead of the right in RTL mode
8013         * src/hildon-bread-crumb-trail.c: mirror the appearance of the
8014         breadcrumb button list in RTL mode
8015         * src/hildon-caption.c: mirror the appearance of the caption widget in
8016         RTL mode
8017         * src/hildon-date-editor.c: mirror appearance of the date editor in
8018         RTL mode
8019         * src/hildon-time-editor.c: mirror appearance of the time editor in
8020         RTL mode
8021         * src/hildon-window.c: fix the position of the popup in RTL mode
8022
8023 2008-03-25  Sven Herzberg  <sven@imendio.com>
8024
8025         Amendment to the fix of NB#22072. Fix compilation.
8026
8027         * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
8028
8029 2008-03-19  Sven Herzberg  <sven@imendio.com>
8030
8031         Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
8032         in Info Banner" bug
8033
8034         * src/hildon-banner.c: (hildon_banner_timeout): reset the current
8035         timeout id properly when the timeout will disappear this leaves no
8036         artifacts around in the destroy(); there will only be the timeout
8037         created by hildon_banner_ensure_timeout() and adding a new timeout
8038         will also work if the timeout gets removed because the timeout_handler
8039         returned FALSE
8040
8041 2008-03-19  Michael Natterer  <mitch@imendio.com>
8042
8043         Fixes: NB#79791: Cannot set focus to Master volume using stylus
8044
8045         * src/hildon-volumebar.c
8046         * src/hildon-vvolumebar.c
8047         * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
8048         the widget becomes focussable at all.
8049
8050         * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
8051         set the focus to wither the mute button or the volumebar.
8052
8053         Remove own "can-focus" property and instead listen to
8054         notify::can-focus in order to update the widget's state.
8055
8056         Implement GtkWidget::focus() and make sure we can also *leave* the
8057         widget, not only enter it, depending on volumebar orientation and
8058         requested focus direction.
8059
8060         Clean up set_mute() to cooperate nicely with all the above.
8061
8062 2008-03-04  Michael Natterer  <mitch@imendio.com>
8063
8064         Fixes: NB#78481: information banners are hidden under browser menu
8065
8066         * src/hildon-banner.c: call gtk_window_present() on the banners so
8067         they are risen if they are already visible.
8068
8069 2008-03-03  Sven Herzberg  <sven@imendio.com>
8070
8071         Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
8072
8073         * examples/hildon-window-menu-example.c: (main): extended the window
8074         menu example to serve as a testcase for automatically added
8075         accelerator groups, too
8076         * src/hildon-window.c: (hildon_window_add_accel_group),
8077         (hildon_window_set_menu): added patch by Tommi Komulainen
8078
8079 2008-03-03  Sven Herzberg  <sven@imendio.com>
8080
8081         Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
8082
8083         * src/hildon-window.c: (hildon_window_get_borders): don't imply any
8084         knowledge about the border allocators used within GTK+
8085
8086 2008-02-26  Sven Herzberg  <sven@imendio.com>
8087
8088         Fixes: MB#2981: Build with asserts broken
8089
8090         * src/hildon-date-editor.c,
8091         * src/hildon-number-editor.c,
8092         * src/hildon-time-editor.c,
8093         * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
8094         the proper GType instance check
8095
8096 2008-02-25  Sven Herzberg  <sven@imendio.com>
8097
8098         Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
8099
8100         * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
8101         * examples/hildon-window-menu-example.c: (main): explicitly show
8102         the menu item
8103         * src/hildon-window.c:
8104         (hildon_window_set_main_menu): moved most of the code from set_menu()
8105         to this place; skipped the call to gtk_widget_show_all(); also didn't
8106         introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
8107         (hildon_window_set_menu): removed most of the code, just keep the
8108         questionable gtk_widget_show_all()
8109         * src/hildon-window.h: added the new function and deprecate the old
8110         one
8111
8112 2008-01-10  Xan Lopez  <xan.lopez@nokia.com>
8113
8114         [2.0.1-1 release]
8115
8116         * NEWS:
8117         * configure.ac:
8118         * debian/changelog: Updating.
8119
8120 2008-01-10  Xan Lopez  <xan.lopez@nokia.com>
8121
8122         * configure.ac:
8123         * pkgconfig/Makefile.am:
8124         * pkgconfig/hildon.pc.in:
8125         * src/Makefile.am:
8126
8127         Do not use PACKAGE_VERSION_MAJOR as the API revision,
8128         use newly created API_MAJOR_VERSION.
8129
8130 2008-01-09  Xan Lopez  <xan.lopez@nokia.com>
8131
8132         [2.0.0-1 release]
8133
8134         * NEWS:
8135         * configure.ac:
8136         * debian/changelog: Updating.
8137
8138 2008-01-09  Xan Lopez  <xan.lopez@nokia.com>
8139
8140         * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
8141
8142         Add outer_border style property, we use it but don't define it (!).
8143
8144         Fixes NB#75310
8145
8146 2007-12-21  Xan Lopez  <xan.lopez@nokia.com>
8147
8148         * examples/hildon-bread-crumb-trail-example.c (main):
8149
8150         Add clear button.
8151
8152         * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
8153
8154         Fix logic for the bread crumb trail node removal.
8155
8156         Fixes: NB#78616
8157
8158 2007-12-14  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8159
8160         [1.99.1-1 release]
8161
8162         * NEWS:
8163         * configure.ac:
8164         * debian/changelog: Updating.
8165
8166 2007-11-08  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8167
8168         Patch by Alejandro to get/set passwords dialogs accesibility.
8169
8170         * hildon-1/src/hildon-get-password-dialog.c:
8171         * hildon-1/src/hildon-set-password-dialog.c:
8172         Set atk_set_name to the passwd entries in order to allow
8173         accessibility by name on this entries.
8174
8175 2007-10-11  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8176
8177         [1.99.0-2 release]
8178
8179         * debian/changelog:
8180         * debian/control: Updating gtk dep.
8181
8182 2007-10-10  Mohammad Anwari  <Mohammad.Anwari@nokia.com>
8183
8184         * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
8185         USE_MAEMO_GTK is enabled.
8186
8187 2007-10-10  Xan Lopez  <xan.lopez@nokia.com>
8188
8189         * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
8190         MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
8191
8192 2007-10-10  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8193
8194         [1.99.0-1 release]
8195
8196         * NEWS:
8197         * configure.ac:
8198         * debian/changelog: Updating.
8199
8200 2007-10-10  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8201
8202         * examples/Makefile.am:
8203         * examples/hildon-logical-color-example.c:
8204         * src/hildon-helper.c: Fixing the way logical colors/fonts are being
8205         applied + adding a test case. Fixes: NB#71660.
8206
8207 2007-10-08  Xan Lopez  <xan.lopez@nokia.com>
8208
8209         * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
8210         to be visible, fixes warning on map for windows without toolbars.
8211
8212 2007-10-02  Xan Lopez  <xan.lopez@nokia.com>
8213
8214         * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
8215         2.11.0, add a check for that besides the MAEMO_GTK check.
8216
8217 2007-09-28  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8218
8219         [1.0.17-1 release]
8220
8221         * NEWS:
8222         * configure.ac:
8223         * debian/changelog: Updating.
8224
8225 2007-09-26  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8226
8227         * src/hildon-window.c: Applying patches by Xan to fix the toolbar
8228         visibility. Fixes: NB#70842 and MB#615.
8229
8230 2007-09-25  Xan Lopez  <xan.lopez@nokia.com>
8231
8232         * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
8233         set the separator as no-show-all so it doesn't unintentionally appear when
8234         someone does a show_all.
8235
8236 2007-09-25  Xan Lopez  <xan.lopez@nokia.com>
8237
8238         * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
8239         (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
8240         toplevel item. Fixes: NB#62031
8241
8242 2007-09-24  Xan Lopez  <xan.lopez@nokia.com>
8243
8244         * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
8245         fix the name of the function in the docs.
8246
8247 2007-09-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8248
8249         [1.0.16-1 release]
8250
8251         * NEWS:
8252         * configure.ac:
8253         * debian/changelog: Updating.
8254
8255 2007-09-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8256
8257         * examples/hildon-banner-long-example.c: Adding a test-case for long
8258         hildon banner.
8259
8260         * src/hildon-find-toolbar.c: Fixing the get_last_index function.
8261
8262 2007-09-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8263
8264         * src/hildon-color-chooser-dialog.c:
8265         * src/hildon-color-chooser.c:
8266         * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
8267         memory leaks in font selector and color selector. Fixes: NB#70499 and
8268         NB#70474.
8269
8270 2007-09-20  Johan Bilien  <johan.bilien@nokia.com>
8271
8272         * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
8273
8274 2007-09-18  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8275
8276         * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
8277         little bit bigger. Fixes: #NB63694.
8278
8279 2007-09-17  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8280
8281         [1.0.15-1 release]
8282
8283         * NEWS:
8284         * configure.ac:
8285         * debian/changelog: Updating.
8286
8287 2007-09-14  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8288
8289         * doc/Makefile.am:
8290         * doc/hildon-docs.sgml:
8291         * doc/images/bread-crumb-trail.png:
8292         * doc/images/calendar-popup.png:
8293         * doc/images/caption.png:
8294         * doc/images/code-dialog.png:
8295         * doc/images/color-button.png:
8296         * doc/images/color-chooser-dialog.png:
8297         * doc/images/color-chooser.png:
8298         * doc/images/controlbar.png:
8299         * doc/images/date-editor.png:
8300         * doc/images/font-selection-dialog.png:
8301         * doc/images/get-password-dialog.png:
8302         * doc/images/hvolumebar.png:
8303         * doc/images/login-dialog.png:
8304         * doc/images/note.png:
8305         * doc/images/number-editor.png:
8306         * doc/images/range-editor.png:
8307         * doc/images/seekbar.png:
8308         * doc/images/set-password-dialog.png:
8309         * doc/images/sort-dialog.png:
8310         * doc/images/time-editor.png:
8311         * doc/images/time-picker.png:
8312         * doc/images/vvolumebar.png:
8313         * doc/images/weekday-picker.png: Adding the new generated widget shots.
8314         Adding the bread-crumb-trial and helpers to the documentation.
8315
8316 2007-09-14  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8317
8318         * examples/hildon-find-toolbar-example.c:
8319         * src/hildon-find-toolbar.c:
8320         * src/hildon-find-toolbar.h: FIxing the default history-append handler to
8321         actually continue firing the other handlers if connected. Adding a new
8322         function:
8323         hildon_find_toolbar_get_last_index that gets the index of the most
8324         recently added (last) item. Fixes: NB#52301.
8325
8326 2007-09-10  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8327
8328         * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
8329         behaviour. Fixes: NB#68610.
8330
8331 2007-09-10  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8332
8333         * src/hildon-banner.c: Actually reverting the previous change. It somehow
8334         looks a bit worse.
8335
8336 2007-09-06  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8337
8338         * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
8339         when realizing the banner. Should make the infonbanner effect a bit more
8340         bearable.
8341
8342 2007-09-05  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8343
8344         * src/hildon-volumebar.c:
8345         * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
8346         hildon_volumebar_set_range_insensitive_message and
8347         hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
8348
8349 2007-09-05  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8350
8351         * src/hildon-window.c: Fixing the border freeing on destroy.
8352
8353 2007-09-05  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8354
8355         * src/hildon-code-dialog-private.h:
8356         * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
8357         kw keyboard support in HildonCodeDialog.
8358
8359 2007-08-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8360
8361         [1.0.14-1 release]
8362
8363         * NEWS:
8364         * configure.ac:
8365         * debian/changelog: Updating.
8366
8367 2007-08-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8368
8369         * src/hildon-date-editor.c:
8370         * src/hildon-number-editor.c:
8371         * src/hildon-private.c:
8372         * src/hildon-private.h:
8373         * src/hildon-time-editor.c:
8374         * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
8375         handling in subclassed composite widgets. Fixes: NB#66628.
8376
8377 2007-08-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8378
8379         * src/hildon-window.c: Removing extra gtk_main_iteration () processing
8380         from destroy_ callback as it introduces problems in async dbus signal
8381         handlers. Fixes NB#66673.
8382
8383 2007-08-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8384
8385         * examples/hildon-hvolumebar-example.c:
8386         * src/hildon-volumebar.c: Improving the focus handling in the
8387         volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
8388         set_property accessor so that "mute" property can be actually set. I'm
8389         scared that nobody noticed it's totally broken.
8390
8391 2007-08-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8392
8393         * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
8394         Fixes NB#66548.
8395
8396 2007-08-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8397
8398         * src/hildon-calendar.c:
8399         * src/hildon-number-editor.c:
8400         * src/hildon-time-picker.c: Changing the timeout repeat so that it
8401         matches the spec of 6 chars per second. Fixes: NB#60489.
8402
8403 2007-08-22  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8404
8405         * src/hildon-helper.c: Really fixing NB#58352. Looks like
8406         gtk_style_lookup_color sometime returns FALSE even though color was
8407         found and values were filled properly. Weird. Removing the warning for the
8408         time being.
8409
8410 2007-08-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8411
8412         * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
8413         expand vertically. Adding some extra space to the find toolbar buttons to
8414         make them thumbable. Fixes NB#66060.
8415
8416 2007-08-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8417
8418         * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
8419         popup with "Ok" and "Cancel". Fixes NB#59299.
8420
8421 2007-08-20  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8422
8423         * src/hildon-calendar.c: Process all window updates before executing next
8424         timeout. Fixes: NB#54146.
8425
8426 2007-08-17  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8427
8428         [1.0.13-1 release]
8429
8430         * NEWS:
8431         * configure.ac:
8432         * debian/changelog: Updating.
8433
8434 2007-08-16  Xan Lopez  <xan.lopez@nokia.com>
8435
8436         * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
8437         the client event and ignore it, since we use the delete event to close
8438         after timeouts.
8439
8440 2007-08-16  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8441
8442         * src/hildon-helper.c: Remove the bogus warning about color not being
8443         found. Fixes NB#58352.
8444
8445 2007-08-16  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8446
8447         * examples/Makefile.am:
8448         * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
8449         HildonSeekbar widget inside a toolbar.
8450
8451 2007-08-16  Xan Lopez  <xan.lopez@nokia.com>
8452
8453         * src/hildon-banner.c (hildon_banner_init): mark the banners as
8454         temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
8455         delete event that will come from _GTK_DELETE_TEMPORARIES, as we
8456         don't want to be closed by non-temporary windows on map.
8457
8458         Also use G_DEFINE_TYPE instead of manually typed code.
8459
8460 2007-08-06  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8461
8462         [1.0.12-1 release]
8463
8464         * NEWS:
8465         * configure.ac:
8466         * debian/changelog:
8467         * debian/rules: Updating.
8468
8469 2007-08-01  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8470
8471         * examples/Makefile.am:
8472         * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
8473         bug NB#61128. Strangely it works.
8474
8475 2007-08-01  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8476
8477         * src/hildon-date-editor.c: When the date editor entry has been changed
8478         but the numbers of characters < max, turn off the skip validation flag.
8479         Prevents a situation when we enter first a valid year and later re-write
8480         it with an invalid one. Fixes NB#60154.
8481
8482 2007-07-26  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8483
8484         * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
8485         code dialog. Fixes NB#64355.
8486
8487 2007-07-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8488
8489         * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
8490         switching the page. Fixes NB#49374.
8491
8492         * examples/Makefile.am:
8493         * examples/hildon-wizard-dialog-example.c: Adding an example for
8494         HildonWizardDialog that shows how to handle manual sensitivity setting on
8495         the wizard dialog.
8496
8497 2007-07-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8498
8499         * configure.ac:
8500         * src/Makefile.am:
8501         * src/hildon-version.h.in:
8502         * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
8503
8504 2007-07-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8505
8506         * src/hildon-volumebar.c: Updating the docs.
8507
8508 2007-07-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8509
8510         [1.0.11-1 release]
8511
8512         * NEWS:
8513         * configure.ac:
8514         * debian/changelog: Updating.
8515
8516 2007-07-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8517
8518         * src/hildon-find-toolbar.c:
8519         * src/hildon-find-toolbar.h: Adding a few new functions to control the
8520         selected item: hildon_find_toolbar_set_active,
8521         hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
8522         hildon_find_toolbar_get_active_iter . They correspond to respective
8523         GtkComboBox functions.
8524
8525         * examples/Makefile.am:
8526         * examples/hildon-find-toolbar-example.c: Adding the example to test the
8527         new functionality.
8528
8529 2007-07-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8530
8531         * examples/Makefile.am:
8532         * examples/hildon-seekbar-example.c: Adding the seekbar example to check
8533         theming easily.
8534
8535         * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
8536         when font size > 32 and we pack a focusable widget inside. Actually using
8537         the default response would work too, but since we don't show default
8538         response state in any way (no theming) it would not be visible to the
8539         user. Fixes NB#63430.
8540
8541 2007-07-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8542
8543         * src/hildon-date-editor.c: Adding the missing variable setter in the
8544         set_property handler. Fixes NB#54182.
8545
8546 2007-07-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8547
8548         * src/hildon-window.h: Changing the long key press time from 1500ms to
8549         800ms as requested in NB#63700. I have a bad feeling about this, let's
8550         see... Fixes NB#63700.
8551
8552 2007-07-12  Tommi Komulainen  <tommi.komulainen@nokia.com>
8553
8554         * src/hildon-time-picker.c (hildon_time_picker_class_init,
8555         hildon_time_picker_map, hildon_time_picker_realize,
8556         hildon_time_picker_style_set): Split the contents of map to more
8557         appropriate functions; set window decorations on realize and update
8558         arrows' size requisitions on style-set. Avoids unnecessary resizing.
8559
8560 2007-07-02  Xan Lopez <xan.lopez@nokia.com>
8561
8562         [1.0.10-2 release]
8563
8564         * NEWS:
8565         * debian/changelog: Updating.
8566
8567 2007-07-02  Johan Bilien  <johan.bilien@nokia.com>
8568
8569         * src/Makefile.am: fixed installation of the header files
8570
8571 2007-06-29  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8572
8573         [1.0.10-1 release]
8574
8575         * NEWS:
8576         * configure.ac:
8577         * debian/changelog: Updating.
8578
8579 2007-06-27  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8580
8581         * configure.ac: Removing some remaining of --enable-xan.
8582
8583 2007-06-26  Xan Lopez  <xan.lopez@nokia.com>
8584
8585         * src/hildon-date-editor.c: (hildon_date_editor_keypress):
8586         * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
8587
8588         Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
8589         2.10.12-osso6 because the move-focus signal needs to be available in
8590         GtkWidget.
8591
8592 2007-06-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8593
8594         * examples/Makefile.am:
8595         * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
8596         that makes a HildonVolumebar insensitive before mapping it. Seems to work
8597         fine. Prolly NB#61128 is fixed now.
8598
8599 2007-06-19  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8600
8601         * src/hildon-volumebar.c:
8602         * src/hildon-volumebar.h: Adding the
8603         hildon_volumebar_set_range_insensitive_message and
8604         hildon_volumebar_set_range_insensitive_messagef functions to set
8605         insensitive message on the slider of the volumebar. Fixes NB#61129.
8606
8607         * examples/Makefile.am:
8608         * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
8609         test the new insensitive messsage functionality on HildonVolumebar.
8610
8611 2007-06-14  Xan Lopez  <xan.lopez@nokia.com>
8612
8613         * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
8614         work again.
8615
8616 2007-06-13  Xan Lopez  <xan.lopez@nokia.com>
8617
8618         * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
8619         http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
8620         button on after clearing the trail.
8621
8622 2007-06-13  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8623
8624         * src/hildon-code-dialog.c: Removing the separator from the dialog.
8625
8626 2007-06-12  Xan Lopez  <xan.lopez@nokia.com>
8627
8628         * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
8629         by splitting the installed headers in generated and non-generated groups. Use
8630         only the non-generated headers to create the hildon-enum-types.h file.
8631
8632         * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
8633
8634 2007-06-12  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8635
8636         * src/hildon-window.c: Hide the window before performing the destroy.
8637         Should make the app closing a little tiny bit more snappy.
8638
8639 2007-06-12  Xan Lopez  <xan.lopez@nokia.com>
8640
8641         * src/hildon-seekbar.c: add gtkrange.h header
8642         * src/hildon-caption.c: remove unused variable
8643
8644 2007-06-08  Tommi Komulainen  <tommi.komulainen@nokia.com>
8645
8646         * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
8647         Loic Minier.
8648
8649 2007-06-07  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8650
8651         [1.0.9-1 release]
8652
8653         * NEWS:
8654         * configure.ac:
8655         * debian/changelog: Updating.
8656
8657 2007-06-07  Tommi Komulainen  <tommi.komulainen@nokia.com>
8658
8659         * src/hildon-window.c (hildon_window_window_state_event,
8660         hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
8661         escape timeout on focus-out-event rather than notify::is-topmost; the
8662         latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
8663
8664 2007-06-07  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8665
8666         * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
8667         correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
8668
8669 2007-06-07  Xan Lopez  <xan.lopez@nokia.com>
8670
8671         * src/hildon-window: actually, you need to use the macro always, there's
8672         no private pointer in the instance structure. We should have cleaned this up
8673         when we had the chance...
8674
8675 2007-06-07  Xan Lopez  <xan.lopez@nokia.com>
8676
8677         * src/hildon-window.c: do not get the private date from HildonWindow before
8678         it passes the g_return_if_fail check. Once it's passed the test, there's no
8679         need to g_assert that it exists. Do not create a HildonWindowPrivate variable
8680         if you are only going to access the data once. Whitespace cleanups.
8681
8682 2007-06-04  Xan Lopez  <xan.lopez@nokia.com>
8683
8684         * src/hildon-bread-crumb-trail.c: set children visible before allocation.
8685         * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
8686
8687 2007-06-01  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8688
8689         [1.0.8-1 release]
8690
8691         * NEWS:
8692         * configure.ac:
8693         * debian/changelog: Updating.
8694
8695 2007-06-01  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8696
8697         * src/hildon-window.c: When destroying the window, remove (if exists) the
8698         escape timeout handler. Fixes #NB59276.
8699
8700 2007-06-01  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8701
8702         * src/hildon-banner.c: When realizing the widget, set the window
8703         transiency. Setting the transiency in the gobject constructor is not
8704         good, as the widget is not realized at that point. Fixes: #NB56624.
8705
8706 2007-05-30  Xan Lopez  <xan.lopez@nokia.com>
8707
8708         * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
8709         Add padding for future expansions.
8710
8711 2007-05-30  Xan Lopez  <xan.lopez@nokia.com>
8712
8713         * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
8714         Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
8715         will fake an activation on the previous to the last item of the trail, so
8716         the effect can be overrided by the developer as usual.
8717         Also change the callback for the back button to do the same thing, so its
8718         effect can be overrided too. Fixes: NB#58982
8719
8720 2007-05-30  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8721
8722         * src/hildon-caption.c: Implementing the proper focus grabbing in the
8723         HildonCaption. Fixes NB#52379.
8724
8725 2007-05-30  Xan Lopez  <xan.lopez@nokia.com>
8726
8727         * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
8728         the internal state of the trail after the user has had the chance of executing
8729         his handler for the signal. Specifically, it may happen that the activated button
8730         is removed and the user still lets the default handler run. This would segfault
8731         previously.
8732
8733 2007-05-28  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8734
8735         * src/hildon-font-selection-dialog.c: When the font is really big, add the
8736         scrollbar to the preview dialog. Fixes NB#54147.
8737
8738 2007-05-28  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8739
8740         * src/hildon-date-editor.c: Changing the default max year to 2037. The
8741         max/min year properties can be altered, so the client can modify it
8742         anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
8743
8744 2007-05-28  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8745
8746         * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
8747         hildonlike by default. Fixing a problem with disappearing arrows when
8748         scrolling through months and years. Fixes NB#54127.
8749
8750 2007-05-28  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8751
8752         * examples/hildon-date-editor-example.c: Adding error callback to the date
8753         editor example.
8754
8755 2007-05-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8756
8757         [1.0.7-1 release]
8758
8759         * NEWS:
8760         * debian/changelog:
8761         * configure.ac: Updating.
8762
8763 2007-05-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8764
8765         * configure.ac: Adding a special '--enable-xan' configure option that
8766         turns off the -Werror compilation setting. Usefull for development.
8767
8768         * src/hildon-calendar.c:
8769         * src/hildon-number-editor.c:
8770         * src/hildon-time-picker.c: Adding the 5* multiplier to
8771         gtk-timeout-update.
8772
8773 2007-05-24  Xan Lopez  <xan.lopez@nokia.com>
8774
8775         * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
8776         instead of g_object_ref + gtk_object_sink.
8777
8778 2007-05-22  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8779
8780         [1.0.6-1 release]
8781
8782         * NEWS:
8783         * configure.ac:
8784         * debian/changelog: Updating.
8785
8786 2007-05-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8787
8788         * src/hildon-color-chooser-dialog.c:
8789         * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
8790         straight from Tommi labs.
8791
8792 2007-05-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8793
8794         * examples/hildon-finger-example.c: Correcting the header file path.
8795
8796         * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
8797         the changed signal. Fixes a small memory leak.
8798
8799 2007-05-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8800
8801         * autogen.sh:
8802         * debian/rules:
8803         * src/hildon-banner.c: Importing several usefull fixes from the
8804         ubuntu-mobile branch.
8805
8806 2007-05-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8807
8808         * examples/Makefile.am:
8809         * examples/hildon-finger-example.c: Adding a finger-checking code
8810         example.
8811
8812         * src/hildon-font-selection-dialog.c: Do not allocate the color
8813         structure using the g_new. Fixes NB#54061.
8814
8815 2007-05-09  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8816
8817         * src/hildon-helper.c: Correcting tabs in file.
8818
8819 2007-05-08  Xan Lopez  <xan.lopez@nokia.com>
8820
8821         * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
8822         control the visibility of the children.
8823
8824         * examples/hildon-bread-crumb-trail-example.c: Plug leak.
8825
8826 2007-05-07  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8827
8828         [1.0.5-1 release]
8829
8830         * NEWS:
8831         * configure.ac:
8832         * debian/changelog: Updating.
8833
8834 2007-05-04  Xan Lopez  <xan.lopez@nokia.com>
8835
8836         * src/hildon-bread-crumb-trail.c:
8837         (hildon_bread_crumb_trail_size_allocate):
8838
8839         Make the back button always a square.
8840
8841 2007-05-04  Xan Lopez  <xan.lopez@nokia.com>
8842
8843         * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
8844         from the .c file as it's a private file.
8845
8846 2007-05-03  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8847
8848         * examples/hildon-vvolumebar-example.c: The VVolumebar example now
8849         uses slightly bigger height.
8850
8851         * src/hildon-font-selection-dialog.c: Adding some checks before
8852         freeing memory in the font selection dialog.
8853
8854 2007-05-02  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8855
8856         * src/hildon-font-selection-dialog.c: Adding a small check when
8857         freeing memory.
8858
8859         * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
8860         buttons sensitivity on page switching.
8861
8862 2007-04-27  Xan Lopez  <xan.lopez@nokia.com>
8863
8864         * src/hildon-bread-crumb-trail.c: make the add method handle all the
8865         internal details of adding a bread crumb to the trail.
8866
8867 2007-04-26  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8868
8869         [1.0.4-1 release]
8870
8871         * README:
8872         * configure.ac:
8873         * debian/changelog: Updating.
8874
8875         * src/hildon-bread-crumb-trail.h:
8876         * src/hildon-bread-crumb.h: Changing the API guard to
8877         HILDON_ENABLE_UNSTABLE_API.
8878
8879 2007-04-26  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8880
8881         [1.0.3-1 release]
8882
8883         * NEWS:
8884         * configure.ac:
8885         * debian/changelog:
8886         * debian/rules:
8887         * src/hildon-helper.h: Updating.
8888
8889 2007-04-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8890
8891         [1.0.2-1 release]
8892
8893         * NEWS:
8894         * configure.ac:
8895         * debian/changelog:
8896
8897 2007-04-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8898
8899         * README:
8900         * configure.ac:
8901         * src/hildon-helper.h: Small fix to make the package actually compile.
8902
8903 2007-04-25  Xan Lopez  <xan.lopez@nokia.com>
8904
8905         * src/hildon-bread-crumb-trail.h:
8906         * src/hildon-bread-crumb.h:
8907
8908         Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
8909         to define ENABLE_UNSTABLE_API in the code that includes these headers.
8910
8911 2007-04-25  Xan Lopez  <xan.lopez@nokia.com>
8912
8913         * examples/hildon-bread-crumb-trail-example.c:
8914         * src/Makefile.am:
8915         * src/hildon-bread-crumb-trail.c:
8916         * src/hildon-bread-crumb-trail.h:
8917         * src/hildon-bread-crumb.c:
8918         * src/hildon-bread-crumb.h:
8919         * src/hildon-marshalers.list:
8920         * src/hildon-bread-crumb-widget.c:
8921         * src/hildon-bread-crumb-widget.h:
8922
8923         Slight change in the widget design. The bread crumb trail API is
8924         unchanged, but HildonBreadCrumb is now an interface. A *private*
8925         implementation, hildon-bread-crumb-widget, is provided and used
8926         internally by the trail for the push_text/push_icon functions.
8927
8928         The generic push API is still available, so anyone can implement
8929         and use its own bread crumb widget.
8930
8931 2007-04-19  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8932
8933         * debian/rules: Fixing the shlibs.
8934
8935 2007-04-19  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8936
8937         * src/hildon-banner.c: Fixing a problem with timed banners having
8938         their parrent destroyed before they are.
8939
8940 2007-04-17  Xan Lopez  <xan.lopez@nokia.com>
8941
8942         * src/hildon-bread-crumb.c:
8943         * src/hildon-bread-crumb.h:
8944
8945         Make the get_natural_size function a vfunc.
8946
8947 2007-04-16  Xan Lopez  <xan.lopez@nokia.com>
8948
8949         * src/hildon-bread-crumb.c:
8950         * src/hildon-bread-crumb-trail.c:
8951
8952         Some cleanups.
8953
8954 2007-04-16  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8955
8956         [1.0.1-1 release]
8957
8958         * AUTHORS:
8959         * NEWS:
8960         * configure.ac:
8961         * debian/changelog: Updating for release.
8962
8963 2007-04-16  Xan Lopez  <xan.lopez@nokia.com>
8964
8965         * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
8966         don't leak the pango layout.
8967
8968 2007-04-16  Xan Lopez  <xan.lopez@nokia.com>
8969
8970         * src/hildon.h:
8971         * examples/hildon-bread-crumb-trail-example.c:
8972
8973         Fix example.
8974
8975 2007-04-16  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
8976
8977         * debian/changelog: Removing the bug-fixed entries that were actually
8978         resolved as WONTFIX.
8979
8980         * src/hildon-date-editor.c: Removing a redundant check. Fixes
8981         NB#54182.
8982
8983 2007-04-13  Xan Lopez  <xan.lopez@nokia.com>
8984
8985         * src/hildon-bread-crumb-trail.c:
8986         * src/hildon-bread-crumb-trail.h:
8987         * src/hildon-bread-crumb.c:
8988         * src/hildon-bread-crumb.h:
8989
8990         Untabify.
8991
8992 2007-04-13  Xan Lopez  <xan.lopez@nokia.com>
8993
8994         * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
8995         until it's passed the type check.
8996
8997 2007-04-12  Xan Lopez  <xan.lopez@nokia.com>
8998
8999         * examples/hildon-bread-crumb-trail-example.c
9000
9001         Add license.
9002
9003 2007-04-12  Xan Lopez  <xan.lopez@nokia.com>
9004
9005         * examples/Makefile.am
9006         * examples/hildon-bread-crumb-trail-example.c
9007         * src/Makefile.am
9008         * src/hildon-bread-crumb-trail.c
9009         * src/hildon-bread-crumb-trail.h
9010         * src/hildon-bread-crumb.c
9011         * src/hildon-bread-crumb.h
9012
9013         New HildonBreadCrumbTrail widget.
9014
9015 2007-04-02  Lucas Rocha  <lucas.rocha@nokia.com>
9016
9017         * src/hildon-range-editor.c (hildon_range_editor_init),
9018         src/hildon-seekbar.c (hildon_seekbar_get_fraction,
9019         hildon_seekbar_set_fraction, hildon_seekbar_set_position),
9020         src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
9021         hildon_time_editor_class_init, hildon_time_editor_init),
9022         src/hildon-get-password-dialog.c (invalid_input,
9023         hildon_get_password_set_property, hildon_get_password_get_property,
9024         create_contents, hildon_get_password_dialog_set_max_characters),
9025         src/hildon-set-password-dialog.c (create_contents),
9026         src/hildon-date-editor.c (hildon_date_editor_init),
9027         src/hildon-login-dialog.c (hildon_login_dialog_init),
9028         src/hildon-number-editor.c (hildon_number_editor_init),
9029         src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
9030         hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
9031         the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
9032          configure option and adding the respective checks in the code.
9033         * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
9034         hildon_calendar_drag_data_received): fixed some build warnings.
9035
9036 2007-03-29  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
9037
9038         * debian/changelog: A 1.0.0 release notes.
9039