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