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