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