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