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