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