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