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