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