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