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