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