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