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