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