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