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