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