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