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