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