2008-12-02 Alberto Garcia <agarcia@igalia.com>
[hildon] / ChangeLog
1 2008-12-02  Alberto Garcia  <agarcia@igalia.com>
2
3         * src/hildon-app-menu.c
4         (hildon_app_menu_insert, hildon_app_menu_add_filter):
5         Make sure that all menu items have finger height.
6
7 2008-12-01  Alejandro Pinheiro  <apinheiro@igalia.com>
8
9         * src/hildon-picker-dialog.c:
10         (_on_dialog_response), (_save_current_selection),
11         (_restore_current_selection), (_clean_current_selection),
12         (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
13         Defined new functions in order to save the current internal selector
14         selection previous open the dialog, in case that the use cancel the
15         interaction, so the widget restores the previous selection.
16
17         Fixes: NB#92032
18
19         (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
20
21 2008-11-28  Alberto Garcia  <agarcia@igalia.com>
22
23         * src/hildon-button.c: Add a reference to the button examples in
24         hildon-button-example.c
25
26         * examples/hildon-button-example.c: Added examples of the most
27         common button layouts.
28
29 2008-11-28  Alberto Garcia  <agarcia@igalia.com>
30
31         * src/hildon-app-menu.c (hildon_app_menu_show)
32         (hildon_app_menu_class_init): Don't show the menu if it's empty.
33
34         Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
35
36 2008-11-27  Claudio Saavedra  <csaavedra@igalia.com>
37
38         * src/hildon-picker-dialog.c:
39         (hildon_picker_dialog_init): Initialize the signal id for
40         HildonTouchSelector::columns-changed.
41         (+on_selector_columns_changed): Set up the interaction mode everytime a
42         column is added or removed from the HildonTouchSelector.
43         (_hildon_picker_dialog_set_selector): Connect to
44         HildonTouchSelector::columns-changed and keep track of it.
45
46         Make sure to update the interaction mode of the dialog everytime a
47         column is added or removed in the HildonTouchSelector.
48
49         Fixes: NB#93228 (Done button is not shown always in listpicker)
50
51 2008-11-27  Claudio Saavedra  <csaavedra@igalia.com>
52
53         * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
54         a new ::columns-changed signal.
55         (hildon_touch_selector_append_column): Emit ::columns-changed.
56         (hildon_touch_selector_remove_column): Emit ::columns-changed.
57
58         Add a ::columns-changed signal, emitted when the number of columns in a
59         HildonTouchSelector changes.
60
61 2008-11-27  Claudio Saavedra  <csaavedra@igalia.com>
62
63         * src/hildon-picker-dialog.c: (+setup_interaction_mode),
64         (_hildon_picker_dialog_set_selector): Factor out the code
65         to set up the dialog interaction mode.
66
67 2008-11-27  Claudio Saavedra  <csaavedra@igalia.com>
68
69         * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
70         (_hildon_picker_dialog_set_selector): Rename signal_id private variable
71         to signal_changed_id.
72
73 2008-11-27  Claudio Saavedra  <csaavedra@igalia.com>
74
75         * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
76         Minor doc. fixes.
77
78 2008-11-27  Alejandro Pinheiro  <apinheiro@igalia.com>
79
80         * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
81         Updated the logical ids related to ampm format, as now it is required to
82         show it correctly localized even on languages with no default
83         abbreviations for am or pm
84         (_check_am_pm_format): check correctly the 24h format gconf property
85
86         Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
87
88 2008-11-27  Alberto Garcia  <agarcia@igalia.com>
89
90         * src/hildon-button.c: Documentation updates.
91
92 2008-11-27  Claudio Saavedra  <csaavedra@igalia.com>
93
94         * src/hildon-marshalers.list: Add BOOLEAN:VOID.
95         * src/hildon-caption.c: (hildon_caption_class_init):
96         * src/hildon-color-button.c: (hildon_color_button_class_init):
97         * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
98         * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
99         * src/hildon-volumebar.c: (hildon_volumebar_class_init):
100         * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
101
102         Remove deprecated GTK+ marshalers and replace them with the ones
103         provided by GLib, for those available, add a marshaler for
104         BOOLEAN:VOID, which is not available in GLib, and use it.
105
106 2008-11-27  Claudio Saavedra  <csaavedra@igalia.com>
107
108         * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
109         the text from the previous column if there is no
110         HildonTouchSelectorColumn::text-property set.
111
112 2008-11-27  Alberto Garcia  <agarcia@igalia.com>
113
114         * src/hildon-button.h
115         * src/hildon-button.c (hildon_button_set_property)
116         (hildon_button_get_property, hildon_button_class_init)
117         (hildon_button_set_style, hildon_button_get_style):
118         New "style" property to change the visual appearance of the
119         button.
120
121         * src/hildon-picker-button.c (hildon_picker_button_new):
122         Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
123
124         Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
125         HildonButton look like PickerButton)
126
127 2008-11-27  Claudio Saavedra  <csaavedra@igalia.com>
128
129         * src/hildon-touch-selector.c: (_default_print_func): Get the correct
130         column while building the default string.
131
132 2008-11-25  Claudio Saavedra  <csaavedra@igalia.com>
133
134         * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
135         scroll indicator by default.
136
137         Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
138
139 2008-11-25  Claudio Saavedra  <csaavedra@igalia.com>
140
141         * src/hildon-main.c: Fix the documentation for hildon_init()
142
143 2008-11-25  Alberto Garcia  <agarcia@igalia.com>
144
145         * doc/hildon-docs.sgml
146         * doc/hildon.types
147         * src/Makefile.am
148         * src/hildon.h
149         * src/hildon-window-stack-private.h
150         * src/hildon-window-stack.h
151         * src/hildon-window-stack.c:
152         New HildonWindowStack object, that adds support for multiple
153         stacks of windows per process.
154
155         * src/hildon-stackable-window-private.h
156         * src/hildon-stackable-window.h
157         * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
158         (hildon_stackable_window_get_stack, hildon_stackable_window_map)
159         (hildon_stackable_window_show, hildon_stackable_window_hide)
160         (hildon_stackable_window_class_init)
161         (hildon_stackable_window_init):
162         Use HildonWindowStack for stack management.
163
164         * src/hildon-program.c (hildon_program_pop_window_stack)
165         (hildon_program_peek_window_stack)
166         (hildon_program_go_to_root_window):
167         Add a fallback implementation to the deprecated functions using
168         HildonWindowStack.
169
170         * examples/hildon-stackable-window-example.c:
171         Use the new HildonWindowStack API.
172
173 2008-11-25  Alberto Garcia  <agarcia@igalia.com>
174
175         * src/hildon-stackable-window-private.h
176         * src/hildon-stackable-window.c (hildon_stackable_window_show)
177         (hildon_stackable_window_hide, hildon_stackable_window_init):
178         Remove all window stack management.
179
180         * src/hildon-program-private.h
181         * src/hildon-program.h
182         * src/hildon-program.c (hildon_program_init)
183         (hildon_program_pop_window_stack)
184         (hildon_program_peek_window_stack)
185         (hildon_program_go_to_root_window):
186         Remove all window stack management and mark functions as
187         deprecated.
188
189 2008-11-25  Alberto Garcia  <agarcia@igalia.com>
190
191         * src/hildon-app-menu.c (hildon_app_menu_realize):
192         Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
193
194 2008-11-24  Claudio Saavedra  <csaavedra@igalia.com>
195
196         * configure.ac: post release version bump
197         * debian/changelog: version bump
198
199 2008-11-24  Claudio Saavedra  <csaavedra@igalia.com>
200
201         [Release 2.1.24]
202
203         * NEWS: updates
204         * configure.ac: bump version
205         * debian/changelog: updates
206
207 2008-11-24  Claudio Saavedra  <csaavedra@igalia.com>
208
209         Based on initial code by Christian Dywan (christian@imendio.com)
210
211         * doc/hildon-docs.sgml: Add section for hildon-main.
212         * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
213         * src/Makefile.am: Add new hildon-main.[ch]
214         * src/hildon-defines.h: Update the icon sizes.
215         * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
216         new library initialization files and register icon sizes.
217         * src/hildon-main.h: New declarations.
218         * src/hildon.h: Include hildon-main.h
219
220         Add new initialization functions to the library. These methods
221         will register the hildon specific icon sizes and can be used in the
222         future for other hildon specific bits.
223
224         Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
225
226 2008-11-21  Claudio Saavedra  <csaavedra@igalia.com>
227
228         * src/hildon-window.c: (hildon_window_realize),
229         (hildon_window_notify), (-hildon_window_update_title): Do not set
230         the application name in the window title.
231
232         Fixes: NB#89754 (Applications shouldn't display their names in the
233         window title)
234
235 2008-11-21  Claudio Saavedra  <csaavedra@igalia.com>
236
237         * src/hildon-note-private.h:
238         * src/hildon-note.c: (hildon_note_set_property),
239         (hildon_note_get_property), (hildon_note_class_init),
240         (hildon_note_init), (hildon_note_finalize),
241         (hildon_note_new_confirmation_with_icon_name),
242         (hildon_note_new_information_with_icon_name):
243
244         No need to mark as deprecated the actual code. Revert
245         to avoid missing symbols in widgets using deprecated API.
246
247 2008-11-20  Alberto Garcia  <agarcia@igalia.com>
248
249         Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
250
251         * src/hildon-volumebar.h
252         * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
253         (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
254
255         * src/hildon-helper.h
256         * src/hildon-helper.c (hildon_helper_set_insensitive_message)
257         (hildon_helper_set_insensitive_messagef): Mark as deprecated.
258
259         * examples/Makefile.am:
260         Deprecate hildon-insensitive-example
261
262         Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
263
264 2008-11-20  Alberto Garcia  <agarcia@igalia.com>
265
266         * examples/hildon-pannable-area-buttons-scroll-example.c:
267         Make all buttons finger height
268
269 2008-11-19  Alejandro Pinheiro  <apinheiro@igalia.com>
270
271         * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
272         documentation
273         * src/hildon-date-selector.c: (_update_day_model): Modified in order to
274         update the day model only if it is really required, and to avoid the
275         full-reconstruction aproach. Now it only add or remove the required days.
276
277         The purpose of this is avoid superfluous HildonTouchSelector::changed
278         signals
279
280         Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
281         with strange parameters)
282
283 2008-11-19  Claudio Saavedra  <csaavedra@igalia.com>
284
285         Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
286
287         * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
288         the WINDOW_TYPE property.
289
290         Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
291
292 2008-11-19  Alberto Garcia  <agarcia@igalia.com>
293
294         * doc/gtk-doc.make:
295         Fix dependency to allow parallel compilation with make -jX
296
297 2008-11-18  Claudio Saavedra  <csaavedra@igalia.com>
298
299         * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
300         color frame and some minor tweaks to make it more consistent with
301         current theming.
302
303         Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
304         highlighted but not visible)
305
306 2008-11-14  Alejandro G. Castro  <alex@igalia.com>
307
308         * examples/Makefile.am: Fixed typo in the Makefile.am.
309
310 2008-11-14  Alejandro G. Castro  <alex@igalia.com>
311
312         Reviewed the use of MAEMO_GTK define, now we add the define in the
313         compilation line, and we also add it to the pc file.
314
315         * configure.ac: Added MAEMO_GTK define to the compilation command
316         and removed it from the config.h.
317
318         * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
319         do not have to take care about this define if the library was
320         compiled with it.
321
322         * src/hildon-gtk.c:
323         * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
324
325 2008-11-14  Alejandro G. Castro  <alex@igalia.com>
326
327         * examples/Makefile.am,
328         * examples/hildon-pannable-area-buttons-scroll-example.c,
329         * examples/hildon-pannable-area-gesture-signals-example.c,
330         * examples/hildon-pannable-area-scroll-jump-example.c,
331         * examples/hildon-pannable-area-tree-view-example.c:
332         Renamed the pannable area examples, now they have more meaningful
333         names.
334
335 2008-11-13  Alejandro Pinheiro   <apinheiro@igalia.com>
336
337         * src/hildon-touch-selector.c:
338         (hildon_touch_selector_set_column_selection_mode): Used of
339         GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
340         mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
341         to avoid re-seting the same selection mode.
342
343         Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
344         breaks HildonPickerDialog)
345
346 2008-11-13  Alejandro G. Castro  <alex@igalia.com>
347
348         * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
349         conditional in the Makefile.am
350
351 2008-11-12  Claudio Saavedra  <csaavedra@igalia.com>
352
353         * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
354         Remove unused methods.
355
356 2008-11-12  Alberto Garcia  <agarcia@igalia.com>
357
358         * src/hildon-button.c (hildon_button_init):
359         Make button images center-aligned by default
360
361 2008-11-12  Alejandro G. Castro  <alex@igalia.com>
362
363         * src/hildon-gtk.c:
364         * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
365         activated, we have to think about how to deal with both defines
366         MAEMO_GTK and MAEMO_CHANGES.
367
368 2008-11-12  Alberto Garcia  <agarcia@igalia.com>
369
370         * examples/hildon-app-menu-example.c (create_menu): Make all
371         buttons finger size.
372
373 2008-11-11  Alejandro G. Castro  <alex@igalia.com>
374
375         Fixed the compilation without maemo gtk adding ifdefs with
376         MAEMO_GTK define to the code, we have to check this version more
377         carefully.
378
379         * examples/Makefile.am: Added control to avoid some examples that
380         just make sense with maemo gtk.
381
382         * src/hildon-gtk.c:
383         * src/hildon-gtk.h: Remove some functions that use the maemo gtk
384         hildon modes with the define.
385
386         * examples/hildon-edit-toolbar-example.c,
387         (create_icon_view): Create the icon view without hildon-gtk
388         helpers if we are not using maemo gtk.
389
390         * src/hildon-touch-selector.c,
391         (_create_new_column): Create the treeview without hildon-gtk
392         helpers if we are not using maemo gtk.
393
394 2008-11-11  Alejandro G. Castro  <alex@igalia.com>
395
396         * src/hildon-pnnable-area.c,
397         (hildon_pannable_area_dispose),
398         (hildon_pannable_area_button_press_cb),
399         (hildon_pannable_area_child_mapped),
400         (hildon_pannable_area_add),
401         (hildon_pannable_area_remove): Added code to control the position
402         of the event_window when adding and removing children from the
403         pannable. We have to raise the event window when the child is
404         mapped.
405
406         Fixes: NB#89811 (Not able to select first image thumbnail in multi
407         selection mode using custom widget inside pannable)
408
409 2008-11-11  Claudio Saavedra  <csaavedra@igalia.com>
410
411         * configure.ac: post release version bump
412         * debian/changelog: version bump
413
414 2008-11-11  Claudio Saavedra  <csaavedra@igalia.com>
415
416         [Release 2.1.22]
417
418         * NEWS: updates
419         * configure.ac: bump version
420         * debian/changelog: updates
421
422 2008-11-10  Alejandro Pinheiro  <apinheiro@igalia.com>
423
424         * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
425         search mode, in order to avoid lose the focus on the treeview when
426         a hw key (like enter) is pressed.
427
428         Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
429         in HildonDateSelector dialog)
430
431 2008-11-06  Alejandro Pinheiro  <apinheiro@igalia.com>
432
433         * debian/rules: Added --enable-maintainer-mode
434         * Makefile.am: Added ACLOCAL_AMFLAGS
435
436         This allows to properly regenerate the Makefiles if you modify the
437         configure.ac or any Makefile.am.
438
439 2008-11-06  Claudio Saavedra  <csaavedra@igalia.com>
440
441         * examples/hildon-app-menu-example.c: (main): Do not set RC style
442         properties, not needed at all.
443
444 2008-11-06  Claudio Saavedra  <csaavedra@igalia.com>
445
446         * src/hildon-note-private.h: Add strings for the icon and stock_icon
447         properties.
448         * src/hildon-note.c: (hildon_note_set_property),
449         (hildon_note_get_property), (hildon_note_class_init),
450         (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
451         (hildon_note_new_confirmation_add_buttons): Remove icons.
452         (hildon_note_new_confirmation_with_icon_name): Deprecate.
453         (hildon_note_new_information_with_icon_name): Deprecate.
454         (hildon_note_new_confirmation): Act directly, without calling
455         the deprecated constructor.
456         (hildon_note_new_information): Act directly, without calling
457         the deprecated constructor.
458         * src/hildon-note.h: Mark deprecate methods as such.
459         * tests/check-hildon-note.c: (create_hildon_note_suite): Do
460         not run tests on the deprecated methods if built with deprecation
461         disabled.
462
463         Fixes: NB#91688 (Never show icons in information notes/confirmation
464         notes)
465
466 2008-11-06  Claudio Saavedra  <csaavedra@igalia.com>
467
468         * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
469         (hildon_app_menu_key_press): Remove leftover usage of the
470         private structure in HildonAppMenu struct.
471         * src/hildon-app-menu.h: Remove leftover private structure
472         from the HildonAppMenu struct.
473
474         Fixes a crasher when using the HildonAppMenu.
475
476 2008-11-05  Claudio Saavedra  <csaavedra@igalia.com>
477
478         * src/hildon-picker-dialog.c: Use appropriate logical id
479         for the default "Done" text.
480
481 2008-11-05  Claudio Saavedra  <csaavedra@igalia.com>
482
483         * configure.ac: post release version bump
484         * debian/changelog: version bump
485
486 2008-11-05  Alejandro Pinheiro  <apinheiro@igalia.com>
487
488         Modified the way to scroll to the current selection just when the touch
489         selector is shown on the screen, avoiding a g_idle. Added too a property
490         to configure this behaviour. See hildon_pannable_area_jump_to_child
491         documentation for more information.
492
493         * src/hildon-touch-selector.c
494         Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
495         Added 'initial-scroll' property
496         (hildon_touch_selector_set_property): Added
497         (hildon_touch_selector_map): Removed as not required anymore
498         (_hildon_touch_selector_on_selected_items): Modified in order to manage
499         only a concrete column, instead of iterate along all the columns
500
501 2008-11-04  Claudio Saavedra  <csaavedra@igalia.com>
502
503         [Release 2.1.20]
504
505         * NEWS: updates
506         * configure.ac: bump version
507         * debian/changelog: updates
508
509 2008-11-04  Claudio Saavedra  <csaavedra@igalia.com>
510
511         * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
512         compilation time warnings.
513
514 2008-11-04  Claudio Saavedra  <csaavedra@igalia.com>
515
516         * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
517         the default value for HildonPannableArea::mov-mode to
518         HILDON_PANNABLE_AREA_MODE_VERT.
519
520         Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
521
522 2008-11-04  Claudio Saavedra  <csaavedra@igalia.com>
523
524         Reverting following commit:
525
526         2008-10-13  Alberto Garcia  <agarcia@igalia.com>
527
528           * src/hildon-app-menu-private.h
529           * src/hildon-app-menu.[ch]
530           * src/hildon-button.[ch]
531           * src/hildon-check-button.[ch]
532           * src/hildon-entry.[ch]
533           * src/hildon-pannable-area.[ch]
534           * src/hildon-text-view.[ch]:
535           Added private field to the object's structure.
536
537         because it causes an ABI breakage. We will need to introduce these
538         changes later at some point. See NB#91636 for an extensive
539         explanation and status.
540
541 2008-11-04  Claudio Saavedra  <csaavedra@igalia.com>
542
543         Patch contributed by Daniel Borgmann (danielb@openismus.com)
544
545         * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
546         remove special cases that are no longer necessary.
547
548         Fixes: NB#91016 (Change toolbar sizes, simplification)
549
550 2008-11-03  Claudio Saavedra  <csaavedra@igalia.com>
551
552         * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
553         is shown in the cancel note.
554
555 2008-11-03  Claudio Saavedra  <csaavedra@igalia.com>
556
557         * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
558         * src/hildon-seekbar.c: (hildon_seekbar_class_init),
559         (hildon_seekbar_init): Remove steppers, remove expose event.
560         * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
561
562         Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
563
564 2008-10-31  Claudio Saavedra  <csaavedra@igalia.com>
565
566         * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
567         label font to "SmallSystemFont" for vertically arranged buttons.
568
569         Fixes: NB#90662 (HildonButton "value" and "detail" text is
570         unformatted)
571
572 2008-10-31  Alberto Garcia  <agarcia@igalia.com>
573
574         * src/hildon-check-button.c
575         (hildon_check_button_set_active, hildon_check_button_clicked):
576         Don't access private parts directly, use getters instead.
577
578 2008-10-31  Alberto Garcia  <agarcia@igalia.com>
579
580         * src/hildon-check-button.c (hildon_check_button_new):
581         Align the contents of the check button to the left.
582
583 2008-10-30  Alejandro G. Castro  <alex@igalia.com>
584
585         * src/hildon-pannable-area.c,
586         (hildon_pannable_area_scroll_to),
587         (hildon_pannable_area_jump_to),
588         (hildon_pannable_area_scroll_to_child),
589         (hildon_pannable_area_jump_to_child): Replace the mapped
590         precondition of these functions with the realized, it is the
591         correct state of the widget in this case. Changed the
592         documentation according to this modification.
593
594 2008-10-30  Alejandro G. Castro  <alex@igalia.com>
595
596         Added a new EXTRA_CFLAGS option to add the deprecated define to
597         the compilation command. This way we can avoid using the define in
598         the documentation compilation.
599
600         * configure.ac: Defined EXTRA_CFLAGS.
601
602         * examples/Makefile.am:
603         * src/Makefile.am:
604         * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
605
606 2008-10-30  Alejandro Pinheiro  <apinheiro@igalia.com>
607
608         * src/hildon-picker-dialog.c:
609         Defined a utility macro with the desired touch selector height
610         Removed currently unused separator, and title_label variables from
611         private structure.
612         (hildon_picker_dialog_init): Removed code related to the creation
613         of unused private variables title_label and separator.
614         (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
615         to ensure correct visualization of the touch selector inside the dialog.
616         * src/hildon-touch-selector.c
617         (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
618         ensure a concrete height of the widget.
619
620 2008-10-30  Claudio Saavedra  <csaavedra@igalia.com>
621
622         * src/Makefile.am:
623         * tests/Makefile.am:
624
625         Remove spurious whitespaces.
626
627 2008-10-30  Claudio Saavedra  <csaavedra@igalia.com>
628
629         * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
630         compilation warning after the cancel button removal.
631
632 2008-10-30  Alejandro G. Castro  <alex@igalia.com>
633
634         Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
635
636         * configure.ac: Added an AM_CONDITIONAL in order to use in the
637         Makefile.am, that way we can choose not to compile some examples
638         and tests of the deprecated widgets.
639
640         * examples/Makefile.am: Divided the sources in deprecated and
641         non-deprecated.
642
643         * src/Makefile.am: Added undef statement of the deprecated
644         symbol to the enums file generation process.
645
646         * src/hildon-color-chooser-dialog.c
647         * src/hildon-color-chooser-dialog.h
648         * src/hildon-color-button.c
649         * src/hildon-color-button.h
650         * src/hildon-color-chooser.c
651         * src/hildon-color-chooser.h
652         * src/hildon-controlbar.c
653         * src/hildon-controlbar.h
654         * src/hildon-date-editor.c
655         * src/hildon-date-editor.h
656         * src/hildon-hvolumebar.c
657         * src/hildon-hvolumebar.h
658         * src/hildon-private.c
659         * src/hildon-private.h
660         * src/hildon-range-editor.c
661         * src/hildon-range-editor.h
662         * src/hildon-seekbar.c
663         * src/hildon-seekbar.h
664         * src/hildon-time-editor.c
665         * src/hildon-time-editor.h
666         * src/hildon-time-picker.c
667         * src/hildon-time-picker.h
668         * src/hildon-volumebar.c
669         * src/hildon-volumebar.h
670         * src/hildon-vvolumebar.c
671         * src/hildon-vvolumebar.h
672         * src/hildon-bread-crumb-trail.h
673         * src/hildon-bread-crumb-trail.c
674         * src/hildon-calendar-popup.c
675         * src/hildon-calendar-popup.h
676         * src/hildon-weekday-picker.c:
677         * src/hildon-weekday-picker.h:
678         * src/hildon-bread-crumb-widget.c:
679         * src/hildon-bread-crumb-widget.h:
680         * src/hildon-bread-crumb.c:
681         * src/hildon-bread-crumb.h:
682         * src/hildon-calendar.c:
683         * src/hildon-calendar.h:
684         * src/hildon-caption.c:
685         * src/hildon-code-dialog.c:
686         * src/hildon-code-dialog.h:
687         * src/hildon-font-selection-dialog.c:
688         * src/hildon-font-selection-dialog.h:
689         * src/hildon-get-password-dialog.c:
690         * src/hildon-get-password-dialog.h:
691         * src/hildon-login-dialog.c:
692         * src/hildon-login-dialog.h:
693         * src/hildon-number-editor.c:
694         * src/hildon-number-editor.h:
695         * src/hildon-set-password-dialog.c:
696         * src/hildon-set-password-dialog.h:
697         * src/hildon-sort-dialog.c:
698         * src/hildon-sort-dialog.h: This is the list of deprecated
699         widgets.
700
701         * src/hildon-touch-selector.c:
702         * src/hildon-window.c: Added undef statement to avoid compilation
703         warnings
704
705         * tests/Makefile.am: Divided the sources in deprecated and
706         non-deprecated.
707
708         * tests/check_test.c,
709         (configure_tests): Marked the deprecated code that was adding
710         suites with deprecated tests.
711
712         Fixes: NB#91135 (Deprecate legacy hildon widgets)
713
714 2008-10-30  Claudio Saavedra  <csaavedra@igalia.com>
715
716         * src/hildon-touch-selector.c: (_default_print_func): Do not
717         duplicate a string returned by gtk_tree_model_get(), it is already
718         allocated for us.
719
720         Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
721         function)
722
723 2008-10-28  Alejandro G. Castro  <alex@igalia.com>
724
725         * src/hildon-pannable-area.c
726         (hildon_pannable_area_add_with_viewport): Reviewed the complete
727         method, it had problems when adding a widget with viewport the
728         second time. Now checks if it already has a viewport and uses it.
729
730         Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
731         on child)
732
733 2008-10-28  Alejandro G. Castro  <alex@igalia.com>
734
735         * src/hildon-pannable-area.c,
736         (hildon_pannable_area_scroll_to),
737         (hildon_pannable_area_jump_to),
738         (hildon_pannable_area_scroll_to_child),
739         (hildon_pannable_area_jump_to_child): Added a precondition to the
740         scroll and jump to functions: the widget must be mapped before we
741         can safely call these functions. We have also added documentation
742         to the functions to explain how to use them in this situation.
743
744
745 2008-10-28  Alejandro G. Castro  <alex@igalia.com>
746
747         Reviewed the threading handling of the pannable widget, we have
748         used the gdk_threads_add_timeout function instead of the usual
749         glib handlers. This avoids some problems with the threads.
750
751         * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
752         (hildon_pannable_area_initial_effect),
753         (hildon_pannable_area_scroll_indicator_fade),
754         (hildon_pannable_area_button_press_cb),
755         (hildon_pannable_area_timeout),
756         (hildon_pannable_area_motion_notify_cb),
757         (hildon_pannable_area_button_release_cb),
758         (hildon_pannable_area_scroll_cb),
759         (hildon_pannable_area_scroll_to): Removed the
760         GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
761         gdk_threads_add_timeout.
762
763         Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
764
765 2008-10-27  Claudio Saavedra  <csaavedra@igalia.com>
766
767         [Release 2.1.18]
768
769         * NEWS: updates
770         * configure.ac: bump version
771         * debian/changelog: updates
772
773 2008-10-27  Claudio Saavedra  <csaavedra@igalia.com>
774
775         * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
776         * src/hildon-code-dialog.c: (hildon_code_dialog_init):
777         * src/hildon-color-chooser-dialog.c:
778         (hildon_color_chooser_dialog_init):
779         * src/hildon-font-selection-dialog.c:
780         (hildon_font_selection_dialog_init):
781         * src/hildon-login-dialog.c: (hildon_login_dialog_init):
782
783         Remove all cancel/close-like dialogs, as these are not going to be
784         displayed at all.
785
786 2008-10-27  Claudio Saavedra  <csaavedra@igalia.com>
787
788         * src/hildon-note.c: (hildon_note_rebuild),
789         (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
790         when needed.
791
792         Fixes: NB#90661 (Delete dialog is displayed without NO button)
793
794 2008-10-27  Claudio Saavedra  <csaavedra@igalia.com>
795
796         * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
797         sure all buttons are shown, even the Cancel/Close-like ones.
798
799         Fixes: NB#90861 (Custom Confirmation dialogs should be
800         protected from cancel button removal)
801
802 2008-10-23  Alejandro Pinheiro  <apinheiro@igalia.com>
803
804         * debian/control: Change libhildon1-examples dependency from libhildon1
805         to libhildon1-dev
806         * debian/libhildon1-examples.install
807         * debian/rules
808         * Makefile.am: Modified the final install directory for the examples on
809         package libhildon1-examples
810         * Makefile.static: Update clean target in order to remove all the binary
811         examples
812
813         Changes suggested by Claudio after review new libhildon1-examples package
814
815 2008-10-23  Claudio Saavedra  <csaavedra@igalia.com>
816
817         * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
818         * src/hildon-touch-selector.c: Ditto.
819
820 2008-10-23  Alejandro Pinheiro  <apinheiro@igalia.com>
821
822         * debian/control: Added new package libhildon1-examples, in order to pack
823         the current hildon examples as documentation
824         * debian/rules: Not to compress .c files, modify some includes on the
825         examples (as normally are compiled locally, but when installed it will
826         require to include the installed libhildon1 library), and rename
827         Makefile.static
828         * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
829         install all the example files on the new example package
830         * examples/Makefile.static: Added static makefile that can be used to
831         compile the examples, once installed the new example package
832         * examples: Most of the examples were modified in order to grant that
833         all use only '#include "hildon.h"', in order to be easy to prepare
834         it on the example package
835
836 2008-10-23  Alberto Garcia  <agarcia@igalia.com>
837
838         * debian/control
839         * debian/libhildon1-dev.install
840         * debian/libhildon1-doc.install:
841         Move all gtk-doc files to a separate libhildon1-doc package.
842
843 2008-10-23  Daniel Borgmann  <danielb@openismus.com>
844
845         reviewed by:  Claudio Saavedra  <csaavedra@igalia.com>
846
847         * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
848
849 2008-10-22  Alejandro Pinheiro  <apinheiro@igalia.com>
850
851         * debian/rules: Fixed a error in order to avoid unnecessary calls
852         to autogen.sh on package building
853
854 2008-10-22  Alberto Garcia  <agarcia@igalia.com>
855
856         * examples/hildon-app-menu-example.c: Add keyboard accelerator.
857
858 2008-10-21  Claudio Saavedra  <csaavedra@igalia.com>
859
860         * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
861         header include.
862
863 2008-10-21  Alberto Garcia  <agarcia@igalia.com>
864
865         * src/hildon-picker-button.c
866         (hildon_picker_button_finalize):
867         Free priv->done_button_text
868
869         * src/hildon-time-button.c
870         (hildon_time_button_set_time)
871         * src/hildon-picker-button.c
872         (hildon_picker_button_clicked)
873         (hildon_picker_button_selector_selection_changed)
874         (hildon_picker_button_set_selector)
875         * src/hildon-date-button.c
876         (hildon_date_button_set_date):
877         Free strings returned by hildon_touch_selector_get_current_text()
878
879         * src/hildon-button.c (hildon_button_construct_child):
880         Fix leaks in priv->image and priv->label_box
881
882         Fixes: NB#90535 (Memory leak in picker button)
883
884 2008-10-21  Claudio Saavedra  <csaavedra@igalia.com>
885
886         * src/hildon-button.c: (hildon_button_get_property): Do not access
887         private elements directly, use getters instead.
888
889 2008-10-20  Alberto Garcia  <agarcia@igalia.com>
890
891         * src/hildon-app-menu-private.h
892         * src/hildon-app-menu.c
893         (hildon_app_menu_init, hildon_app_menu_set_parent_window):
894         Store the menu's parent window.
895
896         * src/hildon-stackable-window.c
897         (hildon_stackable_window_toggle_menu)
898         (hildon_stackable_window_finalize):
899         Set the menu's parent window when the menu is shown, unset it when
900         it is destroyed.
901
902         * src/hildon-app-menu.c
903         (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
904         (hildon_app_menu_class_init):
905         Send unhandled keyboard accelerators to the parent window.
906
907 2008-10-20  Alberto Garcia  <agarcia@igalia.com>
908
909         * src/hildon-stackable-window.c
910         (hildon_stackable_window_finalize): Unref the menu, don't destroy it
911
912 2008-10-20  Claudio Saavedra  <csaavedra@igalia.com>
913
914         * configure.ac: post release version bump
915
916 2008-10-20  Claudio Saavedra  <csaavedra@igalia.com>
917
918         * NEWS: Updates
919         * configure.ac: Bump version
920         * debian/changelog: Updates
921         * debian/rules: Set PKG_CONFIG_PATH to make docs build with
922         gtk-doc 1.10.
923
924 2008-10-20  Alberto Garcia  <agarcia@igalia.com>
925
926         Patch contributed by Daniel Borgmann (danielb@openismus.com)
927
928         * src/hildon-gtk.h
929         * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
930         GtkMenu with Hildon style.
931
932 2008-10-20  Claudio Saavedra  <csaavedra@igalia.com>
933
934         * src/hildon-picker-button.c:
935         (hildon_picker_button_set_done_button_text): Set the dialog's
936         done button text here as well.
937
938         Fixes: NB#90232 (Picker button does not set the label on done button
939         for the second time)
940
941 2008-10-20  Claudio Saavedra  <csaavedra@igalia.com>
942
943         * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
944         warning message.
945
946 2008-10-16  Alberto Garcia  <agarcia@igalia.com>
947
948         * src/hildon-app-menu.c (hildon_app_menu_insert)
949         (hildon_app_menu_add_filter, can_activate_accel): Allow items in
950         the HildonAppMenu to be activatable using keyboard accelerators
951         when the menu is not being shown.
952
953         Fixes: NB#89935 (Shortcuts for menu buttons are not working)
954
955 2008-10-16  Alberto Garcia  <agarcia@igalia.com>
956
957         * src/hildon-stackable-window.c
958         (hildon_stackable_window_show):
959         Don't hide old windows automatically when new windows are shown:
960         this is now a task for the window manager.
961         (hildon_stackable_window_class_init)
962         (hildon_stackable_window_hide):
963         Remove windows from the stack everytime they're hidden.
964         (hildon_stackable_window_realize):
965         Don't change the _NET_WM_WINDOW_TYPE property. Use
966         _HILDON_STACKABLE_WINDOW instead for the window manager to manage
967         it as a stackable window.
968
969         * src/hildon-program.c
970         (hildon_program_pop_window_stack):
971         Just hide the window to remove it from the stack.
972         (hildon_program_go_to_root_window):
973         Don't call gtk_widget_show(), this is now a task for the window
974         manager.
975
976         Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
977
978 2008-10-15  Alberto Garcia  <agarcia@igalia.com>
979
980         * src/hildon-button.c
981         (hildon_button_construct_child):
982         Don't pack anything in the button until text or image are
983         set. This allows adding a custom child after creating the button
984         with hildon_button_new().
985         (hildon_button_finalize, hildon_button_class_init)
986         (hildon_button_init, hildon_button_set_arrangement): Destroy the
987         alignment and the label box even when they're not packed in the
988         button.
989
990 2008-10-14  Alejandro Pinheiro   <apinheiro@igalia.com>
991
992         * src/hildon-touch-selector.h:
993         Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
994         currently the type definition was using GTK_TYPE_VBOX
995         * src/hildon-touch-selector.c:
996         Added some implementation notes in order to clarify that any other widget
997         added without the column related API will not be included on the
998         selection logic, and how the widget is freed, as some people ask about
999         it.
1000         (hildon_touch_selector_remove): Reimplemented in order to free properly
1001         the column related data when you remove the private hbox.
1002         * doc/hildon.types: Added the type hildon_touch_selector_column, in order
1003         to get a proper HildonTouchSelectorColumn documentation
1004
1005 2008-10-13  Claudio Saavedra  <csaavedra@igalia.com>
1006
1007         * src/hildon-touch-selector-entry.c:
1008         (hildon_touch_selector_entry_print_func): Return NULL if there is no
1009         text in the GtkEntry and there is no item selected. Fixes a
1010         potential crasher.
1011
1012 2008-10-13  Alberto Garcia  <agarcia@igalia.com>
1013
1014         * src/hildon-app-menu-private.h
1015         * src/hildon-app-menu.[ch]
1016         * src/hildon-button.[ch]
1017         * src/hildon-check-button.[ch]
1018         * src/hildon-entry.[ch]
1019         * src/hildon-pannable-area.[ch]
1020         * src/hildon-text-view.[ch]:
1021         Added private field to the object's structure.
1022
1023 2008-10-13  Claudio Saavedra  <csaavedra@igalia.com>
1024
1025         * configure.ac: post-release version bump
1026
1027 2008-10-10  Claudio Saavedra  <csaavedra@igalia.com>
1028
1029         [Release 2.1.14]
1030
1031         * configure.ac: pre-release version bump
1032         * NEWS: updates.
1033         * debian/changelog: updates.
1034
1035 2008-10-10  Claudio Saavedra  <csaavedra@igalia.com>
1036
1037         * src/hildon-picker-button.c: (hildon_picker_button_finalize):
1038         Disconnect the handler for HildonTouchSelector::changed.
1039
1040         (hildon_picker_button_selector_selection_changed): Update the button
1041         value if the selection change was not triggered by the
1042         HildonPickerDialog.
1043
1044         (hildon_picker_button_set_selector): connect to
1045         HildonTouchSelector::changed.
1046
1047         Fixes: NB#89650 (Picker button is not updated, when selection in
1048         selector has changed)
1049
1050 2008-10-09  Alejandro Pinheiro   <apinheiro@igalia.com>
1051
1052         * src/hildon-picker-dialog.c
1053         (hildon_picker_dialog_realize): Removed as not required
1054         (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
1055         * src/hildon-picker-button.c
1056         (_current_selector_empty): New function, checks if the selector is empty
1057         (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
1058         if the current selector is empty, in order to avoid to show the dialog
1059         close the dialog in this case (and shows a g_warning).
1060
1061         Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
1062
1063 2008-10-09  Alejandro G. Castro  <alex@igalia.com>
1064
1065         * src/hildon-pannable-area.c,
1066         (hildon_pannable_area_scroll): Added clause to stop movement when
1067         the child of pannable is smaller than one page.
1068         (hildon_pannable_area_scroll_to): Added conditions to avoid
1069         starting the scrolling movement if the child is smaller than one
1070         page, the complete child is in the screen, we do not have to move.
1071
1072         Fixes: NB#89632 (Picker button selection doesn't change on first click)
1073
1074 2008-10-09  Alberto Garcia  <agarcia@igalia.com>
1075
1076         * src/hildon-app-menu.c: Removed the 'columns' property, as now
1077         this is managed automatically by the widget when the size of the
1078         screen changes.
1079
1080 2008-10-09  Alberto Garcia  <agarcia@igalia.com>
1081
1082         * src/hildon-picker-button.c
1083         (hildon_picker_button_set_done_button_text): Make a copy of the
1084         text, and free the previous value.
1085
1086 2008-10-09  Claudio Saavedra  <csaavedra@igalia.com>
1087
1088         * src/hildon-touch-selector-entry.c:
1089         (hildon_touch_selector_entry_print_func): Return the selected row's
1090         text if the entry is empty.
1091
1092         Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
1093         entry is empty)
1094
1095 2008-10-09  Claudio Saavedra  <csaavedra@igalia.com>
1096
1097         * src/hildon-touch-selector-entry.c: Minor docs fixes.
1098
1099 2008-10-09  Alberto Garcia  <agarcia@igalia.com>
1100
1101         * doc/hildon.types
1102         * src/hildon-check-button.h
1103         * src/hildon-check-button.c
1104         * examples/hildon-check-button-example.c:
1105         HildonCheckButton is now a new widget. 'toggled' signal added.
1106
1107 2008-10-08  Alberto Garcia  <agarcia@igalia.com>
1108
1109         * src/hildon-program-private.h
1110         * src/hildon-program.c (hildon_program_init)
1111         (hildon_program_finalize): Removed unused variables group_leader
1112         and name from HildonProgramPrivate.
1113
1114 2008-10-08  Alberto Garcia  <agarcia@igalia.com>
1115
1116         * src/hildon-check-button.c (hildon_check_button_set_active)
1117         (hildon_check_button_get_active, hildon_check_button_new): Use
1118         g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
1119
1120 2008-10-08  Alejandro Pinheiro   <apinheiro@igalia.com>
1121
1122         * src/hildon-touch-selector.h
1123         (hildon_touch_selector_set_column_attributes): added deprecation
1124         guard HILDON_DISABLE_DEPRECATED
1125         * src/hildon-time-selector.c
1126         (hildon_time_selector_set_time)
1127         (hildon_time_selector_get_time): Fixed a typo on documentation
1128         * src/hildon-touch-selector.c: update HildonTouchSelector and
1129         HildonTouchSelectorColumn documentation
1130         * src/hildon-touch-selector-entry.c: update "text-column" property
1131         documentation
1132         * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
1133         to be added to the general documentation.
1134
1135 2008-10-08  Alejandro G. Castro  <alex@igalia.com>
1136
1137         * examples/hildon-pannable-area-example-4.c,
1138         (main),
1139         * examples/hildon-pannable-area-example.c,
1140         (main): Modified the code in order to use the container add, with
1141         viewport treeviews could have problems if they are really big.
1142
1143 2008-10-06  Alejandro G. Castro  <alex@igalia.com>
1144
1145         * src/hildon-weekday-picker.c,
1146         * src/hildon-weekday-picker.h: Removed the deprecated symbols after
1147         the agreement regarding deprecation in the library.
1148
1149 2008-10-06  Claudio Saavedra  <csaavedra@igalia.com>
1150
1151         * examples/hildon-picker-button-multicolumn-example.c:
1152         (main): Use custom "done" button text.
1153
1154         * src/hildon-picker-button.c: (hildon_picker_button_get_property),
1155         (hildon_picker_button_set_property),
1156         (hildon_picker_button_clicked), (hildon_picker_button_class_init),
1157         (hildon_picker_button_init),
1158         (+hildon_picker_button_get_done_button_text),
1159         (+hildon_picker_button_set_done_button_text): New methods to customize
1160         the "done" button label in the launched HildonPickerDialog. Also,
1161         make it a property.
1162
1163         * src/hildon-picker-button.h: add the public API.
1164
1165 2008-10-06  Claudio Saavedra  <csaavedra@igalia.com>
1166
1167         * src/hildon-date-selector.h:
1168         * src/hildon-picker-dialog.h:
1169         * src/hildon-time-selector.h:
1170         * src/hildon-touch-selector-column.h:
1171         * src/hildon-touch-selector.h:
1172
1173         Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
1174         declarations. Fixes gtk-doc warnings.
1175
1176 2008-10-06  Alberto Garcia  <agarcia@igalia.com>
1177
1178         * src/hildon-picker-dialog.h
1179         * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
1180         Make HildonPickerDialog derive from HildonDialog, not GtkDialog
1181
1182         Fixes: NB#89329 (selectors in picker dialog are not visible when a
1183         long text is set as label for done button)
1184
1185 2008-10-06  Alberto Garcia  <agarcia@igalia.com>
1186
1187         * src/hildon-dialog.c (hildon_dialog_add_button):
1188         Set fixed width to all buttons in the HildonDialog.
1189
1190 2008-10-06  Alberto Garcia  <agarcia@igalia.com>
1191
1192         Patch contributed by Daniel Borgmann (danielb@openismus.com)
1193
1194         * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
1195         Set widget name using class name plus "-finger" or "-thumb".
1196
1197 2008-10-03  Alberto Garcia  <agarcia@igalia.com>
1198
1199         * src/hildon-check-button.c (hildon_check_button_set_active): Emit
1200         'clicked' when the state of the button is manually changed.
1201
1202 2008-10-02  Alberto Garcia  <agarcia@igalia.com>
1203
1204         * src/hildon-app-menu.c (hildon_app_menu_realize)
1205         (hildon_app_menu_unrealize, hildon_app_menu_init)
1206         (hildon_app_menu_class_init, item_visibility_changed):
1207         Change the menu layout when the size of the screen changes.
1208         (hildon_app_menu_set_columns, hildon_app_menu_set_property):
1209         Show warning only when changing the number of colums using the
1210         property.
1211
1212 2008-10-02  Claudio Saavedra  <csaavedra@igalia.com>
1213
1214         * debian/compat: Set to 5
1215         * debian/control: Update dependencies.
1216         * debian/libhildon1-dbg.install: Remove.
1217         * debian/libhildon1-dev.install: Update according to cdbs paths.
1218         * debian/libhildon1.install: Update according to cdbs paths.
1219         * debian/rules: Switch to cdbs.
1220
1221 2008-10-01  Alberto Garcia  <agarcia@igalia.com>
1222
1223         * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
1224         'item' variable renamed to 'filter'
1225
1226 2008-10-01  Alberto Garcia  <agarcia@igalia.com>
1227
1228         * src/hildon-app-menu.c (hildon_app_menu_insert)
1229         (hildon_app_menu_add_filter, remove_item_from_list)
1230         (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
1231         Don't leak hidden items when the menu is destroyed.
1232
1233 2008-10-01  Alberto Garcia  <agarcia@igalia.com>
1234
1235         * src/hildon-app-menu.c (hildon_app_menu_insert)
1236         (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
1237         (hildon_app_menu_set_columns, item_visibility_changed)
1238         (filter_visibility_changed, hildon_app_menu_repack_filters)
1239         (hildon_app_menu_repack_items):
1240         Repack items and filters separately.
1241
1242         Don't repack all items, change only the ones that are needed to
1243         update the layout.
1244
1245 2008-10-01  Alejandro Pinheiro <apinheiro@igalia.com>
1246
1247         * src/Makefile.am: added hildon-touch-selector-column.h
1248
1249 2008-10-01  Alejandro Pinheiro <apinheiro@igalia.com>
1250
1251         * src/hildon-touch-selector.c: added the property "text-column" to the
1252         class HildonTouchSelectorColumn, and related get/set functions
1253         (_default_printf_func): updated to use "text-column" property
1254         * src/hildon-touch-selector-entry.c: mark as deprecated the property
1255         "text-column" in his documentation, as this is now included on
1256         HildonTouchSelectorColumn. The get/set_property can still be used,
1257         working as a wrapper to the concrete column "text-column" property
1258         (_text_column_modified): callback added in order to handle the signal
1259         "notify::text-column" of the concrete HildonTouchSelectorColumn
1260         (hildon_touch_selector_entry_get_text_column)
1261         (hildon_touch_selector_entry_set_text_column): Added documentation, and
1262         modified in order to use the HildonTouchSelectorColumn "text-column"
1263         property
1264         * src/hildon-time-selector.c:
1265         * src/hildon-date-selector.c:
1266         * examples/hildon-touch-selector-example.c
1267         * examples/hildon-touch-selector-multi-cells-example.c
1268         * examples/hildon-picker-button-multicolumn-example.c
1269         Set the right value to "text-column" property on the creation of a new
1270         column using hildon_touch_selector_append_column()
1271
1272         Fixes: NB#88644 (Hardcoded first column of the model as text column)
1273
1274 2008-09-30  Alberto Garcia  <agarcia@igalia.com>
1275
1276         * src/hildon-app-menu.c
1277         (hildon_app_menu_construct_child, hildon_app_menu_init): When
1278         updating the layout of the menu, don't create all widgets again,
1279         just repack the items in their new places.
1280
1281 2008-09-30  Alejandro Pinheiro <apinheiro@igalia.com>
1282
1283         * src/hildon-time-selector.c
1284         (hildon_time_selector_get_time)
1285         (hildon_time_selector_set_time)
1286         Added documentation of these public methods
1287
1288         * src/hildon-date-button.h
1289         * src/hildon-touch-selector-column.h
1290         * src/hildon-time-button.h
1291         * src/hildon-picker-dialog.h
1292         * src/hildon-time-selector.h
1293         * src/hildon-picker-button.h
1294         * src/hildon-touch-selector.h
1295         * src/hildon-time-picker.h
1296         * src/hildon-date-selector.h
1297         * src/hildon-touch-selector-entry.h
1298         Modified in order to use hildon-widgets code style
1299
1300 2008-09-30  Alejandro G. Castro  <alex@igalia.com>
1301
1302         Added deprecated support to the compilation process using
1303         HILDON_DISABLE_DEPRECATED
1304
1305         * configure.ac: Added the --disable-deprecated to the configure
1306         script
1307
1308         * src/hildon-weekday-picker.c:
1309         * src/hildon-weekday-picker.h: Deprecated widget, example of how
1310         to use the deprecated support. We will update the other deprecated
1311         widgets status in a new patch.
1312
1313 2008-09-30  Alejandro G. Castro  <alex@igalia.com>
1314
1315         * configure.ac: Fixed typo with fatal warnings support, the
1316         variable name was not correct
1317
1318 2008-09-29  Alberto Garcia  <agarcia@igalia.com>
1319
1320         * src/hildon-app-menu.c
1321         * src/hildon-program.c: Update documentation.
1322
1323 2008-09-29  Claudio Saavedra  <csaavedra@igalia.com>
1324
1325         * configure.ac: Post-release version bump.
1326
1327 2008-09-29  Claudio Saavedra  <csaavedra@igalia.com>
1328
1329         [Release 2.1.12]
1330
1331         * NEWS: Update.
1332         * configure.ac: Pre-release version bump.
1333         * debian/changelog: Updates.
1334
1335 2008-09-29  Claudio Saavedra  <csaavedra@igalia.com>
1336
1337         * NEWS: Update news for previous releases.
1338
1339 2008-09-26  Claudio Saavedra  <csaavedra@igalia.com>
1340
1341         * examples/hildon-touch-selector-multi-cells-example.c:
1342         (create_selector): Update the example to use
1343         hildon_touch_selector_append_column() with a NULL renderer and set
1344         the renderers later.
1345         * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
1346         passed a NULL renderer. This is documented behavior now.
1347
1348         Allow passing a NULL renderer to hildon_touch_selector_append_column().
1349         This must be used if the developer wants full control on the layout of
1350         the renderers to be added to the column.
1351
1352         Fixes: NB#88680 (Limiting API in HildonTouchSelector)
1353
1354 2008-09-26  Claudio Saavedra  <csaavedra@igalia.com>
1355
1356         * src/hildon-touch-selector.c: Documentation fixes.
1357
1358 2008-09-26  Claudio Saavedra  <csaavedra@igalia.com>
1359
1360         * src/hildon-wizard-dialog-private.h: Remove image and box.
1361         * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
1362         (hildon_wizard_dialog_set_property), (response): Completely remove
1363         image/icon support, and the containers required for the layout.
1364
1365         Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
1366
1367 2008-09-25  Alberto Garcia  <agarcia@igalia.com>
1368
1369         * src/hildon-app-menu.c: Updated documentation.
1370
1371         * src/hildon-stackable-window.c
1372         (hildon_stackable_window_set_main_menu): Unref the old menu after
1373         ref'ing the new one.
1374
1375 2008-09-25  Alberto Garcia  <agarcia@igalia.com>
1376
1377         * src/hildon-stackable-window.c
1378         (hildon_stackable_window_set_main_menu): Unref the previous menu
1379         instead of destroying it.
1380
1381         * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
1382         floating reference and set has_user_ref_count to FALSE to make
1383         HildonAppMenu act like a normal ref-counted widget and not a
1384         toplevel widget.
1385
1386         Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
1387         changed)
1388
1389 2008-09-25  Alejandro Pinheiro  <apinheiro@igalia.com>
1390
1391         * src/hildon-touch-selector-column.h: new file
1392         * src/hildon-touch-selector.h
1393         * src/hildon-touch-selector.c
1394         Implemented GtkCellLayout interface, in order to allow to configure
1395         the cell layout on each individual selector column
1396         (hildon_touch_selector_set_column_attributes): marked as deprecated
1397         * examples/hildon-touch-selector-multi-cells-example.c
1398         Example of how to use the GtkCellLayout interface on the selector
1399
1400         Fixes: NB#88680 (Limiting API in HildonTouchSelector)
1401
1402 2008-09-24  Alberto Garcia  <agarcia@igalia.com>
1403
1404         * src/hildon-app-menu.h
1405         * src/hildon-app-menu.c
1406         (hildon_app_menu_insert, hildon_app_menu_reorder_child)
1407         (hildon_app_menu_append, hildon_app_menu_prepend):
1408         New methods to prepend, insert and move items in the menu.
1409
1410 2008-09-24  Claudio Saavedra  <csaavedra@igalia.com>
1411
1412         * src/hildon-wizard-dialog.c:
1413
1414         (hildon_wizard_dialog_init): Update logical IDs and remove cancel
1415         button.
1416         (create_title): Update logical IDs and related code.
1417         (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
1418
1419         * src/hildon-wizard-dialog.h: Note that
1420         HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
1421         point, as it is not used anymore.
1422
1423         Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
1424
1425 2008-09-24  Claudio Saavedra  <csaavedra@igalia.com>
1426
1427         * src/hildon-note.c:
1428         (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
1429         shown.  Do not display an icon in confirmation notes nor information
1430         notes.
1431         (hildon_note_set_button_text): Update logical ID for cancel button.
1432
1433         Fixes: NB#88850 (Update HildonNote button strings + signals)
1434
1435 2008-09-24  Alberto Garcia  <agarcia@igalia.com>
1436
1437         * src/hildon-stackable-window.c
1438         (hildon_stackable_window_set_main_menu): Fix compilation warning.
1439
1440 2008-09-24  Alberto Garcia  <agarcia@igalia.com>
1441
1442         * src/hildon-app-menu-private.h
1443         * src/hildon-app-menu.c (hildon_app_menu_set_columns)
1444         (hildon_app_menu_set_property, hildon_app_menu_construct_child)
1445         (hildon_app_menu_init, hildon_app_menu_class_init): Added
1446         temporary property 'columns' to change the number of columns.
1447
1448 2008-09-24  Claudio Saavedra  <csaavedra@igalia.com>
1449
1450         Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
1451
1452         * examples/hildon-note-example.c: (on_information_clicked),
1453         (on_confirmation_clicked), (on_progress_clicked), (main): Add
1454         debugging information.
1455         * src/hildon-note-private.h: Remove close_if_pressed_outside,
1456         not needed anymore.
1457         * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
1458         (hildon_note_rebuild): Remove special handling of tapping outside/inside
1459         in order to close: this will be handled by the WM from now on.
1460
1461         Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
1462
1463 2008-09-24  Alberto Garcia  <agarcia@igalia.com>
1464
1465         * src/hildon-app-menu-private.h
1466         * src/hildon-app-menu.c
1467         (hildon_app_menu_append, hildon_app_menu_add_filter)
1468         (button_visibility_changed, hildon_app_menu_apply_style)
1469         (hildon_app_menu_style_set, hildon_app_menu_construct_child)
1470         (hildon_app_menu_init, hildon_app_menu_finalize): Update the
1471         layout everytime a button (item or filter) is shown or hidden.
1472
1473         * src/hildon-stackable-window.c
1474         (hildon_stackable_window_set_main_menu): Destroy the old menu when
1475         setting a new one.
1476
1477 2008-09-22  Alejandro Pinheiro <apinheiro@igalia.com>
1478
1479         * src/hildon-touch-selector.c:
1480         (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
1481         that the treeview inside the touch selector is in fremantle hildon mode
1482         * examples/hildon-date-button-example.c
1483         * examples/hildon-picker-button-multicolumn-example.c
1484         * examples/hildon-touch-selector-entry-example.c
1485         * examples/hildon-touch-selector-example.c
1486         * examples/hildon-time-button-example.c
1487         * examples/hildon-picker-button-example.c:
1488         (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
1489
1490 2008-09-22  Claudio Saavedra  <csaavedra@igalia.com>
1491
1492         * examples/hildon-text-view-example.c: (main): Remove the
1493         gtkrc bits, now handled by the theme.
1494
1495 2008-09-22  Alberto Garcia  <agarcia@igalia.com>
1496
1497         * src/hildon-picker-button.c (hildon_picker_button_set_active):
1498         Fix memory leak
1499
1500 2008-09-19  Claudio Saavedra  <csaavedra@igalia.com>
1501
1502         * po/Makefile.am: Install properly the mo files.
1503         * po/en_GB.po: Update translation, to ease testing purposes.
1504
1505 2008-09-19  Claudio Saavedra  <csaavedra@igalia.com>
1506
1507         * examples/hildon-picker-button-example.c: (main): Select an item
1508         in the selector before setting it to the button.
1509
1510 2008-09-19  Claudio Saavedra  <csaavedra@igalia.com>
1511
1512         * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
1513         Update button's value if the selector has an item active.
1514
1515         Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
1516         'value' with the selector)
1517
1518 2008-09-19  Claudio Saavedra  <csaavedra@igalia.com>
1519
1520         * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
1521         the HildonTouchSelector and destroy the underlying HildonPickerDialog.
1522         (hildon_picker_button_class_init): Plug the finalize method.
1523         (hildon_picker_button_set_selector): If there's a previously set
1524         selector, unref'it before setting a new one.
1525
1526         Fixes: NB#88720 (HildonPickerButton leaks a reference to the
1527         HildonTouchSelector)
1528
1529 2008-09-16  Claudio Saavedra  <csaavedra@igalia.com>
1530
1531         * src/hildon-touch-selector-entry.c:
1532         (hildon_touch_selector_entry_changed): Check if there is no text
1533         selected before setting the entry text.
1534         Fixes: NB#88576
1535
1536 2008-09-15  Alberto Garcia  <agarcia@igalia.com>
1537
1538         * src/hildon-touch-selector.h
1539         * src/hildon-touch-selector.c
1540         (hildon_touch_selector_get_active)
1541         (hildon_touch_selector_set_active): New methods to set/get the
1542         index of the selected item.
1543
1544         * src/hildon-picker-button.h
1545         * src/hildon-picker-button.c
1546         (hildon_picker_button_get_active)
1547         (hildon_picker_button_set_active): New methods to set/get the
1548         index of the selected item.
1549
1550 2008-09-15  Claudio Saavedra  <csaavedra@igalia.com>
1551
1552         * configure.ac: post-release version bump.
1553
1554 2008-09-15  Claudio Saavedra  <csaavedra@igalia.com>
1555
1556         Release 2.1.10-1.
1557
1558         * configure.ac: Pre-release version bump.
1559         * debian/changelog: Updates.
1560         * debian/control: Add myself as maintainer and depend on l10n
1561         packages.
1562
1563 2008-09-15  Alberto Garcia  <agarcia@igalia.com>
1564
1565         * src/hildon-window.c
1566         (hildon_window_set_main_menu)
1567         * src/hildon-stackable-window.c
1568         (hildon_stackable_window_set_main_menu):
1569         Updated documentation.
1570
1571 2008-09-15  Alberto Garcia  <agarcia@igalia.com>
1572
1573         * src/hildon-date-selector.c (hildon_date_selector_finalize):
1574         Don't free selector->priv manually.
1575         Fixes: NB#88414
1576
1577 2008-09-12  Alejandro G. Castro  <alex@igalia.com>
1578
1579         * src/hildon-gtk.c,
1580         (hildon_gtk_window_set_progress_indicator):
1581         * src/hildon-gtk.h: Added the new API
1582         hildon_gtk_window_set_progress_indicator, it changes the state of
1583         the window progress hint.
1584
1585 2008-09-12  Alberto Garcia  <agarcia@igalia.com>
1586
1587         * src/hildon-button.c
1588         * src/hildon-stackable-window.c: Minor documentation updates.
1589
1590 2008-09-12  Alberto Garcia  <agarcia@igalia.com>
1591
1592         * src/hildon-stackable-window.c: Updated documentation.
1593
1594 2008-09-12  Claudio Saavedra  <csaavedra@igalia.com>
1595
1596         * src/hildon-defines.h: Update margins definitions
1597         to the Fremantle sizes.
1598         Fixes: NB#88364
1599
1600 2008-09-12  Alejandro G. Castro  <alex@igalia.com>
1601
1602         * src/hildon-touch-selector.c,
1603         (_hildon_touch_selector_set_model): Cleaning the code after
1604         review, removed g_print and #if 0 from the code.
1605
1606 2008-09-11  Alberto Garcia  <agarcia@igalia.com>
1607
1608         * src/hildon-edit-toolbar.c: Update documentation.
1609
1610 2008-09-11  Alberto Garcia  <agarcia@igalia.com>
1611
1612         * src/hildon-check-button.h
1613         * src/hildon-check-button.c
1614         (hildon_check_button_set_label, hildon_check_button_get_label)
1615         * examples/hildon-check-button-example.c
1616         (button_clicked_cb):
1617         Removed deprecated methods.
1618
1619 2008-09-11  Alberto Garcia  <agarcia@igalia.com>
1620
1621         * src/hildon-text-view.c:
1622         Add sample code to the documentation.
1623
1624         * src/hildon-entry.h
1625         * src/hildon-text-view.h:
1626         Minor cosmetic changes.
1627
1628         * src/hildon-entry.c:
1629         Add sample code to the documentation.
1630         (hildon_entry_init, hildon_entry_refresh_contents):
1631         Don't allow NULL values in the placeholder.
1632
1633 2008-09-10  Alberto Garcia  <agarcia@igalia.com>
1634
1635         * doc/hildon-docs.sgml
1636         * doc/hildon.types
1637         * examples/Makefile.am
1638         * examples/hildon-text-view-example.c
1639         * src/Makefile.am
1640         * src/hildon-text-view.c
1641         * src/hildon-text-view.h
1642         * src/hildon.h:
1643         New HildonTextView widget, with example.
1644
1645 2008-09-10  Claudio Saavedra  <csaavedra@igalia.com>
1646
1647         * po/POTFILES.in: Add missing files with translatable strings.
1648         Partially fixes NB#88287.
1649
1650 2008-09-10  Claudio Saavedra  <csaavedra@igalia.com>
1651
1652         * examples/hildon-pannable-area-example-2.c: (main): No need to
1653         set the cellrenderer height inside hildon touch lists, the theme does
1654         that for us.
1655
1656 2008-09-10  Claudio Saavedra  <csaavedra@igalia.com>
1657
1658         * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
1659         they are integrated in the theme.
1660
1661 2008-09-09  Alberto Garcia  <agarcia@igalia.com>
1662
1663         * examples/hildon-entry-example.c: Update the example adding
1664         widgets to modify the text and the placeholder of the HildonEntry.
1665
1666         * src/hildon-entry.c: Show the placeholder everytime the widget
1667         is empty and loses the focus.
1668
1669 2008-09-09  Alejandro G. Castro  <alex@igalia.com>
1670
1671         Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
1672
1673         * src/hildon-pannable-area.c,
1674         (hildon_pannable_area_size_request): Fixed bug in height
1675         requisition, avoid increasing size and add border twice.
1676
1677 2008-09-09  Claudio Saavedra  <csaavedra@igalia.com>
1678
1679         * configure.ac: postrelease version bump.
1680
1681 2008-09-09  Claudio Saavedra  <csaavedra@igalia.com>
1682
1683         Release 2.1.8-1.
1684
1685         * configure.ac: Prerelease version bump.
1686         * debian/changelog: update.
1687         * debian/rules: make -dbg package contain useful debugging symbols.
1688
1689 2008-09-08  Alberto Garcia  <agarcia@igalia.com>
1690
1691         * src/hildon-dialog.h
1692         * src/hildon-dialog.c
1693         (hildon_dialog_add_button, hildon_dialog_add_buttons):
1694         New methods to add buttons with finger size.
1695         (hildon_dialog_new_with_buttons):
1696         Create buttons with finger size.
1697
1698         * examples/hildon-dialog-example.c (main): Use HildonDialog
1699         methods to add buttons.
1700
1701 2008-09-08  Alberto Garcia  <agarcia@igalia.com>
1702
1703         * src/hildon-entry.c: Updated HildonButton documentation.
1704
1705 2008-09-08  Alberto Garcia  <agarcia@igalia.com>
1706
1707         * src/hildon-button.c (hildon_button_set_arrangement): Pack the
1708         button value label with (FALSE, FALSE) to prevent NB#88126 from
1709         being triggered.
1710
1711 2008-09-08  Alejandro G. Castro  <alex@igalia.com>
1712
1713         * examples/hildon-pannable-area-example.c,
1714         (main): Removed examples panning a vbox inside a pannable
1715         area. Check bug NB#87965
1716
1717 2008-09-08  Alejandro G. Castro  <alex@igalia.com>
1718
1719         Patch contributed by Kris Rietveld (kris@imendio.com)
1720
1721         * src/hildon-pannable-area.c,
1722         (hildon_pannable_area_get_topmost): replaced the get_geometry with
1723         get_size and get_position, this saves an X server roundtrip.
1724
1725 2008-09-05  Alberto Garcia  <agarcia@igalia.com>
1726
1727         * doc/hildon-docs.sgml
1728         * doc/hildon.types
1729         * examples/Makefile.am
1730         * examples/hildon-entry-example.c
1731         * src/Makefile.am
1732         * src/hildon-entry.c
1733         * src/hildon-entry.h
1734         * src/hildon.h:
1735         New HildonEntry widget, with example.
1736
1737 2008-09-05  Alberto Garcia  <agarcia@igalia.com>
1738
1739         * src/hildon-button.c (hildon_button_construct_child): Pack the
1740         image with expand == fill == FALSE. This is a workaround for a bug
1741         in GtkBox.
1742
1743 2008-09-05  Claudio Saavedra  <csaavedra@igalia.com>
1744
1745         * examples/hildon-pannable-area-example-2.c: (main): Use the stock
1746         labels for the text column, to make it more look more dynamic.
1747
1748 2008-09-04  Alejandro Pinheiro  <apinheiro@igalia.com>
1749
1750         * src/hildon-time-selector.c
1751         Define gettext auxiliar macro N_
1752         (_create_minutes_model)
1753         (_create_hours_model)
1754         (_create_ampm_model): use of strftime in order to fill the model
1755         * src/hildon-date-selector.c
1756         (hildon_date_selector_finalize):
1757         (_locales_init): remove the logic related to get the name of the months
1758         using nl_langinfo, as it is not required anymore
1759         (_create_day_model)
1760         (_create_year_model)
1761         (_create_month_model)
1762         (_update_day_model): use of strftime in order to fill the model properly
1763
1764
1765 2008-09-04  Alberto Garcia  <agarcia@igalia.com>
1766
1767         * src/hildon-button.h
1768         * src/hildon-button.c (hildon_button_get_image): New method to
1769         retrieve the image.
1770
1771 2008-09-04  Claudio Saavedra  <csaavedra@igalia.com>
1772
1773         * src/hildon-touch-selector.c:
1774         (hildon_touch_selector_remove_column): Remove from the correct parent
1775         and also remove the list element and free it.
1776         Fixes: NB#88049
1777
1778 2008-09-04  Alejandro Pinheiro  <apinheiro@igalia.com>
1779
1780         * src/hildon-time-selector.c
1781         (_create_hours_model): change the range on 12h ampm format in order to use
1782         a 12-11 range instead of previous 01-12 range
1783         (hildon_time_selector_set_time): change the way to select the current time
1784         on 12h ampm format, due the change on the range
1785         (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
1786         Fixes: NB#88036
1787
1788 2008-09-03  Alejandro Pinheiro  <apinheiro@igalia.com>
1789
1790         * src/hildon-touch-selector.c
1791         (hildon_date_touch_selector_get_selected): fix the selection mode check,
1792         in order to allow use this function on multiple row selection mode if
1793         the column is different that the first one
1794         Fixes: NB#88047
1795
1796 2008-09-03  Claudio Saavedra  <csaavedra@igalia.com>
1797
1798         * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
1799         to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
1800
1801 2008-09-02  Alejandro Pinheiro  <apinheiro@igalia.com>
1802
1803         * src/hildon-date-selector.h: clean some comments, now on the .c
1804         * src/hildon-date-selector.c
1805         (hildon_date_selector_select_month): first implementation
1806         (hildon_date_selector_select_day): added documentation, reimplemented
1807         using hildon_date_selector_select_current_date to avoid repeat code
1808         Fixes: NB#88027
1809
1810 2008-09-02  Alejandro G. Castro  <alex@igalia.com>
1811
1812         Reviewed interaction logic based on device experiences, refactored
1813         code.
1814
1815         * src/hildon-pannable-area.c,
1816         (hildon_pannable_area_class_init): Updated default vmax speed.
1817         (hildon_pannable_area_calculate_velocity): Added this function, it
1818         avoids duplicate valocity calculation. Adjusted calculation to
1819         avoid problems with zero dist events.
1820
1821         (hildon_pannable_area_motion_notify_cb): Now we use the
1822         calculate_velocity function.
1823
1824 2008-09-02  Alejandro Pinheiro  <apinheiro@igalia.com>
1825
1826         * src/hildon-date-selector.c
1827         (hildon_date_selector_select_current_date): fix the day range check
1828         as it failed using the last day of the current month
1829         Fixes NB#88023
1830
1831 2008-09-02  Alejandro Pinheiro  <apinheiro@igalia.com>
1832
1833         * src/hildon-touch-selector.c
1834         (hildon_touch_selector_get_num_columns): added a parameter validation
1835         Fixes: NB#88022
1836
1837 2008-08-29  Alberto Garcia  <agarcia@igalia.com>
1838
1839         * examples/Makefile.am
1840         * examples/hildon-edit-toolbar-example.c: Example of the
1841         HildonEditToolbar widget.
1842
1843 2008-08-29  Claudio Saavedra  <csaavedra@igalia.com>
1844
1845         * configure.ac: postrelease version bump.
1846
1847 2008-08-29  Claudio Saavedra  <csaavedra@igalia.com>
1848
1849         Release 2.1.6-1.
1850
1851         * configure.ac: prerelease version bump.
1852         * debian/changelog: update.
1853
1854 2008-08-29  Claudio Saavedra  <csaavedra@igalia.com>
1855
1856         * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
1857         renderer to display stock icons in the touch list. Also, set the sizes
1858         to the recommended in the style guide.
1859
1860 2008-08-28  Alejandro Pinheiro  <apinheiro@igalia.com>
1861         * src/hildon-touch-selector.h
1862         (hildon_touch_selector_set_active_iter): renamed, now is
1863         hildon_touch_selector_select_iter
1864         (hildon_touch_selector_get_active_iter): renamed, now is
1865         hildon_touch_selector_get_selected
1866         (hildon_touch_selector_unselect_iter): added
1867         * src/hildon-touch-selector.c
1868         Update after API modification (methods renamed)
1869         (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
1870         order to avoid problems selecting multiple elements on the column
1871         (hildon_touch_selector_unselect_iter): added the implementation
1872         * src/hildon-time-selector.c
1873         * src/hildon-date-selector.c
1874         * src/hildon-touch-selector-entry.c
1875         Update methods calls after hildon-touch-selector.h API modification (methods
1876         renamed)
1877
1878 2008-08-29  Alberto Garcia  <agarcia@igalia.com>
1879
1880         * src/hildon-stackable-window.c
1881         (hildon_stackable_window_finalize): Call the parent class's finalize.
1882
1883 2008-08-29  Claudio Saavedra  <csaavedra@igalia.com>
1884
1885         * examples/hildon-touch-selector-example.c: (create_selector): Use
1886         gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
1887         cell height.
1888
1889 2008-08-29  Claudio Saavedra  <csaavedra@igalia.com>
1890
1891         * examples/hildon-touch-selector-example.c: (create_selector): Do not
1892         set a cell background color, to respect theming.
1893
1894 2008-08-28  Alberto Garcia  <agarcia@igalia.com>
1895
1896         * doc/hildon-docs.sgml
1897         * doc/hildon.types
1898         * src/Makefile.am
1899         * src/hildon-edit-toolbar.c
1900         * src/hildon-edit-toolbar.h
1901         * src/hildon.h: New HildonEditToolbar widget.
1902
1903 2008-08-28  Claudio Saavedra  <csaavedra@igalia.com>
1904
1905         * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
1906         extra GtkVBox.
1907
1908 2008-08-28  Alejandro Pinheiro  <apinheiro@igalia.com>
1909         * src/hildon-touch-selector.c
1910         (_create_new_column): use g_object_set instead of two g_object_set_property
1911
1912 2008-08-28  Alejandro Pinheiro  <apinheiro@igalia.com>
1913         * src/hildon-touch-selector.c
1914         (_create_new_column): use of hildon_gtk_tree_view_new to create
1915         the treeview, instead of use directly g_object_new
1916         (_create_new_column): update the property name "vindicator-mode" for the
1917         new one "vscrollbar-policy"
1918         * examples/hildon-date-button-example.c
1919         * examples/hildon-picker-button-multicolumn-example.c
1920         * examples/hildon-touch-selector-entry-example.c
1921         * examples/hildon-touch-selector-example.c
1922         * examples/hildon-time-button-example.c
1923         * examples/hildon-picker-button-example.c
1924         Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
1925         to all the treeviews inside a pannable area.
1926
1927 2008-08-27  Alberto Garcia  <agarcia@igalia.com>
1928
1929         * src/hildon-button.h
1930         * src/hildon-button.c (hildon_button_init)
1931         (hildon_button_set_arrangement, hildon_button_set_alignment)
1932         (hildon_button_set_title_alignment)
1933         (hildon_button_set_value_alignment)
1934         (hildon_button_set_image_alignment)
1935         (hildon_button_construct_child): New methods to set the alignment
1936         of the individual components of the button (title, value,
1937         image). Also, new method to alter the xscale and yscale properties
1938         of the GtkAlignment inside the button, so more complex layouts can
1939         be created.
1940
1941 2008-08-27  Alberto Garcia  <agarcia@igalia.com>
1942
1943         * src/hildon-button.c (hildon_button_style_set)
1944         (hildon_button_class_init, hildon_button_set_arrangement)
1945         (hildon_button_construct_child): Apply style properties
1946         correctly. Use the 'image-spacing' style property too.
1947
1948 2008-08-26  Alberto Garcia  <agarcia@igalia.com>
1949
1950         * src/hildon-app-menu.c (hildon_app_menu_style_set)
1951         (hildon_app_menu_init, hildon_app_menu_class_init): Set style
1952         correctly.
1953
1954 2008-08-26  Alejandro G. Castro  <alex@igalia.com>
1955
1956         * src/hildon-pannable-area.c,
1957         (hildon_pannable_area_size_request): Fixed problem with
1958         pannable-area size_request.
1959
1960 2008-08-26  Alejandro G. Castro  <alex@igalia.com>
1961
1962         Added management for the grab-focus to a child widget, like a
1963         range, we need to fade out the scrollbar when releasing.
1964
1965         * src/hildon-pannable-area.c,
1966         (hildon_pannable_area_init): Connected the grab-focus signal to
1967         the callback.
1968         (hildon_pannable_area_grab_notify): Added this function in order
1969         to manage the situation when the grab-focus ends. We have to
1970         fade-out the scrollbar.
1971
1972 2008-08-25  Alberto Garcia  <agarcia@igalia.com>
1973
1974         * src/hildon-app-menu.c: Minor documentation update.
1975
1976 2008-08-25  Alberto Garcia  <agarcia@igalia.com>
1977
1978         * src/hildon-app-menu.c
1979         * examples/hildon-app-menu-example.c (create_menu): Update
1980         examples and documentation to explain how to connect callbacks.
1981
1982 2008-08-25  Alejandro Pinheiro <apinheiro@igalia.com>
1983
1984         * examples/hildon-button-example.c
1985         (vertical_buttons_window) (horizontal_buttons_window) (main): use of
1986         hildon_stackable_window_new instead of gtk_window_new
1987
1988 2008-08-22  Alejandro G. Castro  <alex@igalia.com>
1989
1990         * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
1991         (hildon_pannable_area_init), (hildon_pannable_area_get_property),
1992         (hildon_pannable_area_set_property),
1993         (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
1994         (hildon_pannable_area_unrealize),
1995         (hildon_pannable_area_size_request),
1996         (hildon_pannable_area_size_allocate),
1997         (hildon_pannable_area_style_set), (hildon_pannable_area_map),
1998         (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
1999         (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
2000         (hildon_pannable_area_initial_effect),
2001         (hildon_pannable_area_redraw),
2002         (hildon_pannable_area_scroll_indicator_fade),
2003         (hildon_pannable_area_expose_event),
2004         (hildon_pannable_area_get_topmost), (synth_crossing),
2005         (hildon_pannable_area_button_press_cb),
2006         (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
2007         (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
2008         (hildon_pannable_area_motion_notify_cb),
2009         (hildon_pannable_area_button_release_cb),
2010         (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
2011         (hildon_pannable_area_remove),
2012         (hildon_pannable_calculate_vel_factor): Widget refactorization,
2013         chage the code layout to a more GtkWidget like. Review the use of
2014         variables.
2015
2016 2008-08-21  Alejandro G. Castro  <alex@igalia.com>
2017
2018         * examples/hildon-pannable-area-example-4.c,
2019         (main): Modified the name of the hindicator_mode to
2020         hscrollbar_visible
2021
2022         * src/hildon-pannable-area.c,
2023         (hildon_pannable_area_class_init),
2024         (hildon_pannable_area_motion_notify_cb),
2025         (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
2026         we have reduced the amount of signals and managed reviewed its
2027         rationale. Changed the default decelerate value.
2028
2029         (hildon_pannable_area_add),
2030         (hildon_pannable_area_redraw): Refactored functions.
2031
2032         (hildon_pannable_area_init),
2033         (hildon_pannable_area_get_property),
2034         (hildon_pannable_area_set_property):
2035         (hildon_pannable_draw_vscroll),
2036         (hildon_pannable_draw_hscroll),
2037         (hildon_pannable_area_initial_effect),
2038         (hildon_pannable_area_expose_event),
2039         (hildon_pannable_area_scroll),
2040         (hildon_pannable_area_button_press_cb),
2041         (hildon_pannable_area_realize): Replaced the names hindicator_mode
2042         and vindicator_mode with hscrollbar_policy and
2043         vscrollbar_policy. Replaced hscroll and vscroll with
2044         hscroll_visible and vscroll_visible.
2045
2046         (hildon_pannable_area_refresh): Refactor the function, remove
2047         variables and check the calls to this function, added resize
2048         conditions in case the children change their layout.
2049
2050         (hildon_pannable_area_size_request): Added more detailed
2051         size_request calculation.
2052
2053
2054 2008-08-21  Alejandro Pinheiro <apinheiro@igalia.com>
2055
2056         * src/hildon-color-chooser.c
2057         (init_borders): use the correct gtk_border_free instead of g_free, to
2058         avoid a crash when this widget is used (ie: the three color selection
2059         examples)
2060
2061 2008-08-20  Alejandro G. Castro  <alex@igalia.com>
2062
2063         * src/hildon-check-button.c,
2064         (hildon_check_button_set_active): Fixed problem when setting the
2065         active value, the widget was not redrawn.
2066
2067 2008-08-20  Alejandro G. Castro  <alex@igalia.com>
2068
2069         * src/hildon-pannable-area.c,
2070         (hildon_pannable_area_refresh),
2071         (hildon_pannable_area_scroll),
2072         (hildon_pannable_area_motion_notify_cb): Small code style change.
2073
2074         (hildon_pannable_area_class_init): Default initial_hint set to
2075         FALSE, it is not in the specs.
2076
2077         (hildon_pannable_area_initial_effect),
2078         (hildon_pannable_area_expose_event),
2079         (hildon_pannable_area_map),
2080         (hildon_pannable_area_init): Moved the launching point of the
2081         initial effect, it was in map but the sizes where not correct in
2082         that method so we do not know if we have the reproduce it. Now it
2083         is placed in the expose_event method and uses a variable to
2084         reproduce it just once.
2085
2086 2008-08-19  Alejandro G. Castro  <alex@igalia.com>
2087
2088         * src/hildon-pannable-area.c,
2089         (hildon_pannable_draw_vscroll),
2090         (hildon_pannable_draw_hscroll): Fix error calculating the maximum
2091         position allowed for the scrollbars.
2092
2093         (hildon_pannable_area_size_allocate): Small style change.
2094
2095 2008-08-19  Alejandro G. Castro  <alex@igalia.com>
2096
2097         * src/hildon-pannable-area.c,
2098         (hildon_pannable_area_scroll_indicator_fade),
2099         (hildon_pannable_area_button_press_cb),
2100         (hildon_pannable_area_button_release_cb),
2101         (hildon_pannable_area_scroll_cb),
2102         (hildon_pannable_area_expose_event),
2103         (hildon_pannable_area_init): Added the define parameter
2104         SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
2105         and refactor the fade variable.
2106
2107 2008-08-19  Alejandro G. Castro  <alex@igalia.com>
2108
2109         * src/hildon-pannable-area.c,
2110         (hildon_pannable_area_redraw),
2111         (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
2112         lines, we were reimplemeting the redraw code.
2113
2114 2008-08-18  Alejandro G. Castro  <alex@igalia.com>
2115
2116         * src/hildon-pannable-area.c,
2117         (hildon_pannable_area_scroll_cb),
2118         (hildon_pannable_area_realize),
2119         (hildon_pannable_area_class_init): Added scroll_event management
2120         for pannable area, now we can scroll the usual desktop method.
2121
2122         (hildon_pannable_area_jump_to): Fixed the logic of the method, the
2123         initialization of the parameters should depend on idle_id.
2124
2125         (hildon_pannable_area_init),
2126         (hildon_pannable_area_map): Small code style modifications
2127
2128 2008-08-18  Alejandro G. Castro  <alex@igalia.com>
2129
2130         * src/hildon-pannable-area.c
2131         (hildon_pannable_area_button_press_cb),
2132         (hildon_pannable_area_motion_notify_cb),
2133         (hildon_pannable_area_button_release_cb),
2134         (hildon_pannable_area_size_allocate),
2135         (hildon_pannable_area_scroll_to): Improved the timeouts
2136         management, we avoid creating them each time.
2137
2138 2008-08-14  Alejandro G. Castro  <alex@igalia.com>
2139
2140         * src/hildon-pannable-area.c:
2141         (hildon_pannable_area_refresh),
2142         (hildon_pannable_area_motion_notify_cb),
2143         (hildon_pannable_area_class_init):
2144         * src/hildon-pannable-area.h:
2145         * src/hildon-touch-selector.c
2146         (_create_new_column):
2147         * examples/hildon-pannable-area-example-4.c:
2148         (horizontal_movement),
2149         (vertical_movement),
2150         (main):
2151         Replaced the names of enums in the HildonPannableArea:
2152            -  HILDON_PANNABLE_AREA_MOV_MODE_* ->
2153               HILDON_MOVEMENT_MODE_*
2154            -  HILDON_PANNABLE_AREA_MOV_* ->
2155               HILDON_MOVEMENT_*
2156            - Removed HildonPannableAreaIndicatorMode, now we
2157              use GtkPolicyType
2158
2159 2008-08-14  Alberto Garcia  <agarcia@igalia.com>
2160
2161         * examples/hildon-pannable-area-touch-grid-example.c
2162         * examples/hildon-pannable-area-touch-list-example.c: Fix
2163         compilation warnings.
2164
2165 2008-08-14  Alberto Garcia  <agarcia@igalia.com>
2166
2167         * src/hildon-gtk.c (hildon_gtk_button_new)
2168         (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
2169         (hildon_gtk_radio_button_new_from_widget): Make buttons show their
2170         images overriding the value of the "gtk-button-images" setting.
2171
2172 2008-08-14  Alberto Garcia  <agarcia@igalia.com>
2173
2174         * src/hildon-check-button.c (hildon_check_button_new):
2175         Instead of using a custom container, display the label and the
2176         checkbox using the standard GtkButton API.
2177
2178         * examples/hildon-check-button-example.c (main): Don't use
2179         hildon_check_button_set_label() anymore
2180
2181         * src/hildon-check-button.h
2182         * src/hildon-check-button.c
2183         (hildon_check_button_set_label, hildon_check_button_get_label):
2184         Set as deprecated, now we're using gtk_button_{get,set}_label()
2185
2186 2008-08-14  Alejandro G. Castro  <alex@igalia.com>
2187
2188         * src/hildon-pannable-area.c,
2189         (hildon_pannable_area_get_topmost): Fixed bug with click in the
2190         GtkTreeview first line we detected it after the inclusion of the
2191         GtkWindowImpl in gtk+. We now check if the window is visible, not
2192         just if the pointer is over the window.
2193         (hildon_pannable_axis_scroll),
2194         (hildon_pannable_area_expose_event): Small style changes.
2195
2196 2008-08-13  Alberto Garcia  <agarcia@igalia.com>
2197
2198         * src/hildon-button.c: Update documentation.
2199
2200 2008-08-13  Alberto Garcia  <agarcia@igalia.com>
2201
2202         * examples/hildon-button-example.c: Add a switch to show images in
2203         the buttons.
2204
2205 2008-08-12  Claudio Saavedra  <csaavedra@igalia.com>
2206
2207         * doc/hildon-docs.sgml: Some docs reorganization.
2208
2209 2008-08-12  Alberto Garcia  <agarcia@igalia.com>
2210
2211         * examples/hildon-pannable-area-touch-list-example.c
2212         (create_tree_view)
2213         * examples/hildon-pannable-area-touch-grid-example.c
2214         (create_icon_view): Use gtk_{tree,icon}_view_new() and
2215         hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
2216         Fix memory leak when setting the tree model.
2217
2218 2008-08-12  Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
2219
2220         Released 2.1.4
2221
2222 2008-08-12  Claudio Saavedra  <csaavedra@igalia.com>
2223
2224         * doc/hildon.types: Remove duplicated hildon_window_get_type
2225         * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
2226         documentation comment.
2227
2228 2008-08-12  Alberto Garcia  <agarcia@igalia.com>
2229
2230         * doc/Makefile.am: Complete list of private headers.
2231
2232 2008-08-12  Alberto Garcia  <agarcia@igalia.com>
2233
2234         * doc/hildon-docs.sgml
2235         * src/hildon-app-menu.c
2236         * src/hildon-bread-crumb.c
2237         * src/hildon-button.c
2238         * src/hildon-gtk.c
2239         * src/hildon-program.c
2240         * src/hildon-stackable-window.c
2241         * src/hildon-window.c: Lots of documentation updates.
2242
2243 2008-08-12  Alberto Garcia  <agarcia@igalia.com>
2244
2245         * debian/control: Depend on Gtk 2:2.12.9-0osso3
2246
2247         * configure.ac: Require Gtk+ 2.12.9 at least
2248
2249 2008-08-12  Alejandro G. Castro  <alex@igalia.com>
2250
2251         * src/hildon-pannable-area.c
2252         (hildon_pannable_area_scroll_indicator_fade),
2253         (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
2254         to protect the return of this timeout callbacks, avoiding deadlocks.
2255
2256 2008-08-12  Christian Dywan  <christian@imendio.com>
2257
2258         * src/hildon-*.c
2259         * src/hildon-*.h: Ensure a consistent include order,
2260         include <gtk/gtk.h> instead of particular files and
2261         only include the topmost header in the gtk stack. See NB #39857
2262
2263 2008-08-12  Christian Dywan  <christian@imendio.com>
2264
2265         * src/hildon-picker-dialog.c
2266         * src/hildon-touch-selector.c: Fix warnings about unused and
2267         uninitialized variables.
2268
2269 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
2270
2271         * examples/Makefile.am
2272         * examples/hildon-check-button-example.c: Example of the hildon
2273         check button.
2274
2275 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
2276
2277         * src/hildon-window.h
2278         * src/hildon-window.c (hildon_window_class_init)
2279         (hildon_window_unset_program): Don't make
2280         hildon_window_unset_program a virtual function anymore.
2281
2282         * src/hildon-stackable-window.c: Update documentation
2283
2284 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
2285
2286         * doc/Makefile.am
2287         * doc/hildon-docs.sgml
2288         * doc/visual_index.xml
2289         * src/hildon-defines.c
2290         * src/hildon-gtk.c
2291         * src/hildon-helper.c
2292         * src/hildon-range-editor.c: Lots of documentation fixes.
2293
2294 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
2295
2296         * examples/hildon-picker-button-multicolumn-example.c
2297         (create_touch_selector): Fix compilation warning.
2298
2299 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
2300
2301         * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
2302         (hildon_pannable_area_button_release_cb)
2303         (hildon_pannable_get_child_widget_at): Fix compilation warnings.
2304
2305 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
2306
2307         * src/hildon-button.c (hildon_button_add_image_size_group): Fix
2308         assertion.
2309
2310 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
2311
2312         * src/hildon-bread-crumb-trail.h
2313         * src/hildon-date-editor.c
2314         * src/hildon-date-selector.c
2315         * src/hildon-pannable-area.c
2316         * src/hildon-picker-dialog.c
2317         * src/hildon-time-selector.c
2318         * src/hildon-touch-selector-entry.c
2319         * src/hildon-touch-selector.c
2320         * src/hildon-touch-selector.h: Misc documentation fixes
2321
2322 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
2323
2324         * examples/hildon-date-editor-example.c (main): Updated date
2325         editor example.
2326
2327         * examples/hildon-note-example.c (on_confirmation_clicked):
2328         Updated confirmation note example.
2329
2330         * src/hildon-date-editor.c
2331         * src/hildon-note.c: Updated sample programs in documentation.
2332         Fixes: NB#87437
2333
2334 2008-08-08  Claudio Saavedra  <csaavedra@igalia.com>
2335
2336         * src/hildon-date-button.h:
2337         * src/hildon-picker-button.h:
2338         * src/hildon-time-button.c:
2339         * src/hildon-time-button.h:
2340
2341         Some declarations changes to allow gtk-doc to document the widgets
2342         properly.
2343
2344 2008-08-08  Claudio Saavedra  <csaavedra@igalia.com>
2345
2346         * src/hildon-date-button.c: Document the widget.
2347         * src/hildon-time-button.c: Document the widget.
2348
2349 2008-08-08  Claudio Saavedra  <csaavedra@igalia.com>
2350
2351         * src/hildon-picker-button.c: Document the widget.
2352         * src/hildon-touch-selector-entry.c: Document the widget.
2353
2354 2008-08-08  Alberto Garcia  <agarcia@igalia.com>
2355
2356         * doc/hildon-docs.sgml
2357         * src/Makefile.am
2358         * src/hildon.h
2359         * src/hildon-check-button.h
2360         * src/hildon-check-button.c: New functions to create the Hildon
2361         Touch Checkbox.
2362
2363         * src/hildon-gtk.h
2364         * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
2365
2366 2008-08-08  Alberto Garcia  <agarcia@igalia.com>
2367
2368         * src/hildon-button.h
2369         * src/hildon-button.c
2370         (hildon_button_add_title_size_group)
2371         (hildon_button_add_value_size_group)
2372         (hildon_button_add_image_size_group)
2373         (hildon_button_add_size_groups): New functions to set size groups
2374         for the button labels and image.
2375         (hildon_button_new_full): Removed
2376
2377 2008-08-08  Alejandro Pinheiro <apinheiro@igalia.com>
2378
2379         * src/hildon-time-selector.c
2380         (_check_ampm_format): use of g_warning instead of g_error with a gconf error
2381         in order to avoid a crash if gconf is not available
2382
2383 2008-08-08  Alberto Garcia  <agarcia@igalia.com>
2384
2385         * src/hildon-button.c (hildon_button_set_arrangement)
2386         (hildon_button_construct_child): Don't construct the button child
2387         before setting the arrangement.
2388
2389 2008-08-08  Alberto Garcia  <agarcia@igalia.com>
2390
2391         * src/hildon-program-private.h
2392         * src/hildon-program.c
2393         * src/hildon-program.h
2394         (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
2395         (hildon_program_peek_window_stack)
2396         (hildon_program_pop_window_stack)
2397         (hildon_program_go_to_root_window): HildonProgram now has a
2398         separate list for stackable windows. Functions are provided to
2399         manage that list with a stack-like API.
2400
2401         * src/hildon-stackable-window.c: Stackable window management is
2402         now much simpler with the new HildonProgram API. Windows no
2403         longer need to be manually added to the program, they're
2404         automatically pushed to the top of the stack when shown.
2405
2406         * examples/hildon-stackable-window-example.c: Updated example to
2407         reflect the API changes.
2408
2409 2008-08-07  Claudio Saavedra  <csaavedra@igalia.com>
2410
2411         * src/hildon-touch-selector.c: Comment out unimplemented
2412         hildon_touch_selector_insert_column() to avoid a compile warning.
2413
2414 2008-08-07  Claudio Saavedra  <csaavedra@igalia.com>
2415
2416         * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
2417         (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
2418         (hildon_touch_selector_set_column_selection_mode),
2419         (_hildon_touch_selector_set_model),
2420         (hildon_touch_selector_set_model):
2421
2422         Complete review of HildonTouchSelector documentation.
2423
2424 2008-08-08  Alberto Garcia  <agarcia@igalia.com>
2425
2426         * doc/hildon-docs.sgml
2427         * src/Makefile.am
2428         * src/hildon.h
2429         * src/hildon-gtk.h
2430         * src/hildon-gtk.c: Convenience functions for standard Gtk
2431         widgets, used to easily perform frequent operations.
2432
2433         * src/hildon-button-helpers.h
2434         * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
2435
2436         * src/hildon-helper.h
2437         * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
2438         hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
2439
2440         * src/hildon-button.h
2441         * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
2442
2443 2008-08-07  Alberto Garcia  <agarcia@igalia.com>
2444
2445         * src/hildon-button.c (hildon_button_init)
2446         (hildon_button_set_arrangement, hildon_button_construct_child):
2447         Pack the image and the labels inside the same GtkAlignment so
2448         gtk_button_set_alignment() can be used
2449
2450 2008-08-07  Alberto Garcia  <agarcia@igalia.com>
2451
2452         * src/hildon-button.h
2453         * src/hildon-button.c
2454         (hildon_button_init, hildon_button_set_image)
2455         (hildon_button_set_image_position)
2456         (hildon_button_construct_child): New functions to add an image to
2457         the HildonButton.
2458
2459 2008-08-07  Alberto Garcia  <agarcia@igalia.com>
2460
2461         * src/hildon-date-button.c
2462         * src/hildon-picker-button.c
2463         * src/hildon-time-button.c
2464         * src/hildon-button.c:
2465         (hildon_button_class_init): "size-flags" renamed to "size"
2466         (hildon_button_set_title): Hide the title label if set to NULL.
2467
2468 2008-08-07  Alberto Garcia  <agarcia@igalia.com>
2469
2470         HildonButtonFlags split into HildonButtonArrangement (to set the
2471         button layout) and HildonSizeType (which can be used for any
2472         widget).
2473
2474         * src/hildon-button.h
2475         * src/hildon-button.c
2476         (hildon_button_class_init)
2477         (hildon_button_set_arrangement)
2478         (hildon_button_set_property): New "size-flags"
2479         property. "arrangement-flags" renamed to "arrangement".
2480         (hildon_button_new, hildon_button_new_with_text)
2481         (hildon_button_new_full): Constructors updated to reflect type changes.
2482
2483         * src/hildon-helper.h
2484         * src/hildon-helper.c (hildon_helper_set_theme_size): New function
2485         to set the size of a widget.
2486
2487         * src/Makefile.am
2488         * src/hildon.h
2489         * src/hildon-button-helpers.c
2490         * src/hildon-button-helpers.h: New hildon-button-helpers module.
2491
2492         * src/hildon-date-button.c
2493         * src/hildon-date-button.h
2494         * src/hildon-picker-button.c
2495         * src/hildon-picker-button.h
2496         * src/hildon-time-button.c
2497         * src/hildon-time-button.h: Updated widgets to reflect
2498         HildonButton API changes.
2499
2500         * examples/hildon-button-example.c
2501         * examples/hildon-date-button-example.c
2502         * examples/hildon-picker-button-example.c
2503         * examples/hildon-picker-button-multicolumn-example.c
2504         * examples/hildon-time-button-example.c
2505         * examples/hildon-touch-selector-entry-example.c
2506         * examples/hildon-touch-selector-example.c: Updated examples to
2507         reflect HildonButton API changes.
2508
2509 2008-08-06  Claudio Saavedra  <csaavedra@igalia.com>
2510
2511         * doc/hildon-docs.sgml:
2512         * doc/hildon.types:
2513         * examples/Makefile.am:
2514         * examples/hildon-touch-selector-entry-example.c:
2515         * src/Makefile.am:
2516         * src/hildon-touch-selector-entry.c:
2517         * src/hildon-touch-selector-entry.h:
2518         * src/hildon.h:
2519
2520         Moved HildonTouchSelectorEntry from sandbox. Added its
2521         documentation and examples.
2522
2523 2008-08-06  Claudio Saavedra  <csaavedra@igalia.com>
2524
2525         * src/hildon-touch-selector.h:
2526         * examples/hildon-picker-button-multicolumn-example.c:
2527         (hildon_touch_selector_append_text_column): Add a gboolean
2528         parameter to determine if text must be centered in the column.
2529
2530         * src/hildon-date-selector.c: (hildon_date_selector_init):
2531         * src/hildon-time-selector.c: (hildon_time_selector_init):
2532         * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
2533         (create_touch_selector): Update widgets and example to reflect
2534         the API change.
2535
2536 2008-08-06  Claudio Saavedra  <csaavedra@igalia.com>
2537
2538         * src/hildon-touch-selector.c:
2539         (hildon_touch_selector_set_active_iter): Set also the cursor in
2540         the active row.
2541
2542 2008-08-06  Alberto Garcia  <agarcia@igalia.com>
2543
2544         * doc/hildon-docs.sgml
2545         * doc/hildon.types
2546         * src/Makefile.am
2547         * src/hildon-toggle-button.c
2548         * src/hildon-toggle-button.h
2549         * src/hildon.h: Removed HildonToggleButton widget, a derived
2550         class is not necessary for this.
2551
2552 2008-08-06  Alejandro G. Castro  <alex@igalia.com>
2553
2554         * src/hildon-pannable-area.c,
2555         (hildon_pannable_area_realize),
2556         (hildon_pannable_area_size_allocate): Code refactoring, add tests
2557         for negative sizes.
2558
2559 2008-08-05  Claudio Saavedra  <csaavedra@igalia.com>
2560
2561         * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
2562         "done" button the default widget for the dialog.
2563
2564 2008-08-04  Claudio Saavedra  <csaavedra@igalia.com>
2565
2566         * src/hildon-touch-selector.c:
2567         (hildon_touch_selector_class_init),
2568         (hildon_touch_selector_get_property),
2569         (_hildon_touch_selector_set_model),
2570         (_hildon_touch_selector_has_multiple_selection),
2571         (hildon_touch_selector_has_multiple_selection):
2572         Add a "has-multiple-selection" property with a virtual
2573         has_multiple_selection() method to allow derived classes to
2574         override the default value for it. See the method and property
2575         documentation for details.
2576
2577         * src/hildon-touch-selector.h: Add the new API.
2578
2579         * src/hildon-picker-dialog.c: (requires_done_button): Call
2580         hildon_touch_selector_has_multiple_selection() instead of
2581         determining the need for a button itself.
2582
2583 2008-08-04  Claudio Saavedra  <csaavedra@igalia.com>
2584
2585         * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
2586         (_hildon_touch_selector_set_model),
2587         (hildon_touch_selector_set_model): Move working code to
2588         _hildon_touch_selector_set_mode(). Call the class method instead.
2589
2590         * src/hildon-touch-selector.h: Add (*set_model) to
2591         HildonTouchSelectorClass.
2592
2593         Make hildon_touch_selector_set_model() a virtual method, so that
2594         derived classes can extend it and do fancy stuff with the model.
2595
2596 2008-08-04  Claudio Saavedra  <csaavedra@igalia.com>
2597
2598         * configure.ac: Set back the tarname in AC_INIT to hildon.
2599
2600 2008-08-04  Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
2601
2602         Release 2.1.3
2603
2604         * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
2605         instead of libesd (NB#86876). Volume handling is still an open issue.
2606
2607         * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
2608         cleanups.
2609
2610 2008-08-01  Claudio Saavedra  <csaavedra@igalia.com>
2611
2612         * src/hildon-touch-selector.c: (hildon_touch_selector_init),
2613         (hildon_touch_selector_append_column): Make the widget a GtkVBox
2614         derived class to ease placement of an entry widget in
2615         HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
2616         end, where the selector columns are packed now.
2617
2618 2008-08-01  Claudio Saavedra  <csaavedra@igalia.com>
2619
2620         * src/hildon-picker-button.c: Removed the simple _text() API.
2621         * src/hildon-picker-button.h: Likewise.
2622
2623         * src/hildon-touch-selector.h:
2624         * src/hildon-touch-selector.c:
2625         (hildon_touch_selector_new_text),
2626         (hildon_touch_selector_append_text),
2627         (hildon_touch_selector_prepend_text),
2628         (hildon_touch_selector_insert_text):
2629
2630         Moved the simple _text() API from HildonPickerButton to
2631         HildonTouchPicker, to provide better escalability and not to tie
2632         that API to HildonPickerButton.
2633
2634         * examples/hildon-picker-button-example.c: (main): Example updated.
2635
2636 2008-07-31  Alberto Garcia  <agarcia@igalia.com>
2637
2638         * src/hildon-button.c: Updated documentation.
2639
2640         * examples/hildon-button-example.c: Add the posibility to create
2641         the buttons using horizontal layout for title and value.
2642
2643 2008-07-31  Alberto Garcia  <agarcia@igalia.com>
2644
2645         * src/hildon-app-menu-private.h
2646         * src/hildon-app-menu.c (hildon_app_menu_add_filter)
2647         (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
2648         GtkSizeGroup for the filters, use the 'homogeneous' property of
2649         the box instead.
2650
2651 2008-07-31  Alberto Garcia  <agarcia@igalia.com>
2652
2653         * examples/hildon-button-example.c: Updated example.
2654
2655 2008-07-30  Claudio Saavedra  <csaavedra@igalia.com>
2656
2657         * doc/hildon-docs.sgml:
2658         * doc/hildon.types:
2659
2660         Update documentation.
2661
2662         * examples/Makefile.am: Update renamed examples.
2663
2664         * examples/hildon-picker-button-multicolumn-example.c:
2665         (create_touch_selector), (main): Update after the rename.
2666
2667         * examples/hildon-touch-picker-example.c: Removed.
2668         * examples/hildon-touch-selector-example.c: (value_changed),
2669         (create_selector), (get_visible_content), (main): Renamed from
2670         hildon-touch-picker-example.c
2671
2672         * src/Makefile.am: Updated renamed files.
2673
2674         * src/hildon-date-button.c: (hildon_date_button_init),
2675         (hildon_date_button_get_date), (hildon_date_button_set_date):
2676         * src/hildon-date-selector.c: (hildon_date_selector_init),
2677         (_custom_print_func), (_update_day_model),
2678         (_manage_selector_change_cb),
2679         (hildon_date_selector_select_current_date),
2680         (hildon_date_selector_get_date), (hildon_date_selector_select_day):
2681         * src/hildon-date-selector.h:
2682         * src/hildon-picker-button.c: (hildon_picker_button_get_property),
2683         (hildon_picker_button_set_property),
2684         (hildon_picker_button_clicked), (hildon_picker_button_class_init),
2685         (hildon_picker_button_init), (hildon_picker_button_new_text),
2686         (hildon_picker_button_append_text),
2687         (hildon_picker_button_prepend_text),
2688         (hildon_picker_button_insert_text),
2689         (hildon_picker_button_set_selector),
2690         (hildon_picker_button_get_selector):
2691         * src/hildon-picker-button.h:
2692         * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
2693         (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
2694         (_update_title_on_selector_changed_cb), (requires_done_button),
2695         (_hildon_picker_dialog_set_selector),
2696         (hildon_picker_dialog_set_selector),
2697         (hildon_picker_dialog_get_selector):
2698         * src/hildon-picker-dialog.h:
2699         * src/hildon-time-button.c: (hildon_time_button_init),
2700         (hildon_time_button_get_time), (hildon_time_button_set_time):
2701         * src/hildon-time-selector.c: (hildon_time_selector_init),
2702         (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
2703         (hildon_time_selector_set_time), (hildon_time_selector_get_time):
2704         * src/hildon-time-selector.h:
2705         * src/hildon.h:
2706
2707         Massive code updates after the rename.
2708
2709         * src/hildon-touch-picker.c: Removed.
2710         * src/hildon-touch-picker.h: Removed.
2711
2712         * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
2713         (hildon_touch_selector_init), (hildon_touch_selector_map),
2714         (hildon_touch_selector_remove), (_default_print_func),
2715         (_selection_changed_cb), (_create_new_column),
2716         (hildon_touch_selector_new), (hildon_touch_selector_append_column),
2717         (hildon_touch_selector_append_text_column),
2718         (hildon_touch_selector_remove_column),
2719         (hildon_touch_selector_set_column_attributes),
2720         (hildon_touch_selector_insert_column),
2721         (hildon_touch_selector_get_num_columns),
2722         (hildon_touch_selector_get_column_selection_mode),
2723         (hildon_touch_selector_set_column_selection_mode),
2724         (hildon_touch_selector_set_print_func),
2725         (hildon_touch_selector_get_print_func),
2726         (hildon_touch_selector_get_active_iter),
2727         (hildon_touch_selector_set_active_iter),
2728         (hildon_touch_selector_get_selected_rows),
2729         (hildon_touch_selector_get_model),
2730         (hildon_touch_selector_set_model),
2731         (hildon_touch_selector_get_current_text),
2732         (_hildon_touch_selector_center_on_selected_items):
2733         * src/hildon-touch-selector.h: Renamed from
2734         hildon-touch-picker.[ch]
2735
2736         Rename HildonTouchPicker to HildonTouchSelector. Updated all the
2737         references, code examples, and related documentation.
2738
2739 2008-07-30  Alberto Garcia  <agarcia@igalia.com>
2740
2741         * doc/hildon-docs.sgml
2742         * doc/hildon.types
2743         * src/Makefile.am
2744         * src/hildon-toggle-button.c
2745         * src/hildon-toggle-button.h
2746         * src/hildon.h: New HildonToggleButton widget.
2747
2748 2008-07-30  Alberto Garcia  <agarcia@igalia.com>
2749
2750         * src/hildon-button.c: Add API documentation.
2751         (hildon_button_set_size_groups): Check input parameters
2752
2753 2008-07-30  Alejandro G. Castro  <alex@igalia.com>
2754
2755         * src/hildon-pannable-area.c
2756         (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
2757         effect after reaching the movement thredshold. This way we start
2758         using the distance after passing the thredshold.
2759
2760 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
2761
2762         * src/hildon-button.c: (hildon_button_set_property): Use the
2763         appropriate g_value_get_flags() method.
2764
2765 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
2766
2767         * doc/hildon-docs.sgml:
2768         * doc/hildon.types:
2769
2770          Add the touch pickers, picker dialogs, and picker button widgets
2771         to the documentation.
2772
2773 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
2774
2775         * src/hildon-button.c: (hildon_button_set_property),
2776         (hildon_button_class_init): Make "arrangement-flags" a proper
2777         G_TYPE_FLAGS derived property.
2778
2779 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
2780
2781         * examples/Makefile.am: Add below examples.
2782         * examples/hildon-date-button-example.c:
2783         * examples/hildon-picker-button-example.c:
2784         * examples/hildon-picker-button-multicolumn-example.c:
2785         * examples/hildon-time-button-example.c:
2786         * examples/hildon-touch-picker-example.c:
2787
2788         Add examples for the recently added touch pickers,
2789         picker dialogs, and picker button widgets.
2790
2791 2008-07-29  Alberto Garcia  <agarcia@igalia.com>
2792
2793         * src/hildon-button.c: Add some API documentation
2794
2795 2008-07-29  Alberto Garcia  <agarcia@igalia.com>
2796
2797         * src/hildon-button.h
2798         * src/hildon-button.c
2799         (hildon_button_new)
2800         (hildon_button_new_with_text): New constructor to create a button
2801         with no text at all.
2802         (hildon_button_init, hildon_button_set_arrangement)
2803         (hildon_button_set_title, hildon_button_set_value)
2804         (hildon_button_set_text)
2805         (hildon_button_construct_child): Hide the value when it's not used
2806         so the rest of the text is properly aligned.
2807         Allow creating buttons with arbitrary widgets inside (not just
2808         title/value labels).
2809
2810         * examples/hildon-button-example.c (vertical_buttons_window)
2811         (horizontal_buttons_window): Update example to use new API.
2812
2813 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
2814
2815         * src/Makefile.am: Added HildonTimeButton.
2816         * src/hildon-time-button.c: Added missing LGPL header.
2817         * src/hildon-time-button.h: Added missing LGPL header.
2818         * src/hildon.h: Add hildon-time-button.h
2819
2820         Copied HildonTimeButton from sandbox to trunk. Future work on this
2821         widget must take place in trunk.
2822
2823 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
2824
2825         * src/Makefile.am: Added HildonDateButton.
2826         * src/hildon-date-button.c: Update includes.
2827         * src/hildon.h: Add hildon-date-button.h
2828
2829         Copied HildonDateButton from sandbox to trunk. Future work on this
2830         widget must take place in trunk.
2831
2832 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
2833
2834         * src/Makefile.am: Added HildonPickerButton.
2835         * src/hildon-picker-button.h: Update includes.
2836         * src/hildon.h: Add hildon-picker-button.h
2837
2838         Copied HildonPickerButton from sandbox to trunk. Future work on
2839         this widget must take place in trunk.
2840
2841 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
2842
2843         * src/Makefile.am: Added HildonPickerDialog.
2844         * src/hildon-picker-dialog.c: Update includes.
2845         * src/hildon.h: Add hildon-picker-dialog.h
2846
2847         Copied HildonPickerDialog from sandbox to trunk. Future work
2848         on this widget must take place in trunk.
2849
2850 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
2851
2852         * src/Makefile.am: Added HildonTimeSelector.
2853         * src/hildon.h: Add hildon-time-selector.h
2854
2855         Copied HildonTimeSelector widget from sandbox to trunk. Future
2856         work on this widget must happen in trunk.
2857
2858 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
2859
2860         * src/Makefile.am: Added HildonDateSelector.
2861         * src/hildon.h: Add hildon-date-selector.h
2862
2863         Copied HildonDateSelector widget from sandbox to trunk.  Future
2864         work on this widget must happen in trunk.
2865
2866 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
2867
2868         * src/Makefile.am: Added HildonTouchPicker.
2869         * src/hildon-touch-picker.c: Update includes.
2870         * src/hildon.h: Add hildon-touch-picker.h
2871
2872         Copied HildonTouchPicker widget from sandbox to trunk. Future work
2873         on this widget must happen in trunk.
2874
2875 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
2876
2877         * src/hildon-pannable-area.c:
2878         (hildon_pannable_area_motion_notify_cb): Fix a typo.
2879
2880 2008-07-29  Alberto Garcia  <agarcia@igalia.com>
2881
2882         * examples/hildon-app-menu-example.c (main): Let the window
2883         destroy the menu.
2884
2885 2008-07-29  Alejandro G. Castro  <alex@igalia.com>
2886
2887         * src/hildon-pannable-area.c
2888         (hildon_pannable_area_class_init): Set the min value of the
2889         overshoot properties to zero, which points out that not
2890         overshooting allowed.
2891
2892 2008-07-29  Alejandro G. Castro  <alex@igalia.com>
2893
2894         Modified the procedure to get the widget at a point inside the
2895         pannable area when using the movement type signals. Now the user
2896         has to call a function to get the child, that way we just
2897         calculate the child in case the user really want to use it and not
2898         all the time.
2899
2900         * src/hildon-marshalers.list: Modified the marshallers, now we do
2901         not have the widget as a parameter.
2902
2903         * src/hildon-pannable-area.c
2904         (hildon_pannable_area_motion_notify_cb),
2905         (hildon_pannable_area_class_init),
2906         (hildon_pannable_get_child_widget_at):  Removed the widget
2907         parameter from the signal callback. We have also refactored the
2908         emission of the signals.
2909
2910         * src/hildon-pannable-area.h: Added a new method to the API to
2911         calculate a widget at a point inside the pannable area,
2912         hildon_pannable_get_child_widget_at.
2913
2914         * examples/hildon-pannable-area-example-4.c
2915         (horizontal_movement): Modified the example to use the new API,
2916         added condition to control which widget is under the event. This
2917         way we can avoid scrolling laterally over other widgets.
2918
2919 2008-07-29  Alejandro G. Castro  <alex@igalia.com>
2920
2921         * src/hildon-pannable-area.c
2922         (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
2923         modes, we stop getting the pointer events due to returning the
2924         callback without properly calling the get pointer again. Fixed
2925         also an error using the hscroll and vscroll.
2926
2927 2008-07-28  Alberto Garcia  <agarcia@igalia.com>
2928
2929         * src/hildon-app-menu-private.h
2930         * src/hildon-app-menu.c (hildon_app_menu_button_press)
2931         (hildon_app_menu_button_release, hildon_app_menu_init)
2932         (hildon_app_menu_class_init): Don't hide the menu on button
2933         release if the user didn't press outside first.
2934
2935         * src/hildon-window.h
2936         * src/hildon-window.c (hildon_window_toggle_menu)
2937         (hildon_window_toggle_menu_real, hildon_window_class_init): Make
2938         hildon_window_toggle_menu a virtual function for the stackable
2939         window to override it.
2940
2941         * src/hildon-stackable-window.h
2942         * src/hildon-stackable-window-private.h
2943         * src/hildon-stackable-window.c
2944         (hildon_stackable_window_realize)
2945         (hildon_stackable_window_finalize)
2946         (hildon_stackable_window_class_init)
2947         (hildon_stackable_window_init)
2948         (hildon_stackable_window_set_main_menu): New function to set the
2949         app menu of a HildonStackableWindow.
2950
2951         * examples/hildon-app-menu-example.c: Remove the button to show
2952         the app menu, now it'll be shown when clicking on the title bar
2953         instead.
2954
2955 2008-07-22  Claudio Saavedra  <csaavedra@igalia.com>
2956
2957         * src/hildon-button.c: (hildon_button_set_arrangement): Do not
2958         set the widget name if the arrangement flags do not specify
2959         a particular size.
2960
2961 2008-07-22  Claudio Saavedra  <csaavedra@igalia.com>
2962
2963         * src/hildon-button.c: (hildon_button_set_property),
2964         (hildon_button_class_init), (hildon_button_new_full),
2965         (hildon_button_set_arrangement): Added "arrangement-flags"
2966         property.
2967
2968         Make the HildonButtonFlags a construction-only property, to allow
2969         subclasses to set them properly.
2970
2971 2008-07-21 Tim Janik  <timj@imendio.com>
2972
2973         * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
2974         insertion position after backspace, so additional digits are appended,
2975         fixes Bug #85874.
2976
2977 2008-07-17  Alejandro G. Castro  <alex@igalia.com>
2978
2979         * src/hildon-pannable-area.c,
2980         (hildon_pannable_area_get_topmost): Cleaned the code, removed the
2981         TODO list, it was complete and removed the g_debug and g_print
2982         lines.
2983
2984 2008-07-17  Alejandro G. Castro  <alex@igalia.com>
2985
2986         Added the movement modes to the hildon-pannable-area, with this
2987         modes the developers can control in which directions the widget
2988         can scroll. They can also connect to signals in order to do
2989         something when that happens, allowing applications scroll. There
2990         is an example uploaded showing how to use it.
2991
2992         * examples/Makefile.am:
2993         * examples/hildon-pannable-area-example-4.c: Added this example of
2994         an application using the modes.
2995
2996         * src/hildon-marshalers.list: Added a new marshaller for the new
2997         signals.
2998
2999         * src/hildon-pannable-area.h: Added new enumerations and flags in
3000         order to control the movement modes and the new signals to warn
3001         about the movements in the area.
3002
3003         * src/hildon-pannable-area.c:
3004         (hildon_pannable_axis_scroll),
3005         (hildon_pannable_area_scroll),
3006         (hildon_pannable_area_motion_notify_cb),
3007         (hildon_pannable_area_get_property),
3008         (hildon_pannable_area_set_property),
3009         (hildon_pannable_area_map),
3010         (hildon_pannable_area_class_init),
3011         (hildon_pannable_area_init),
3012         (hildon_pannable_area_jump_to): Added the modes to control the
3013         movement in the widget. We have added properties to control it,
3014         signals to warn about the movements and refactored some code.
3015
3016 2008-07-15  Alejandro G. Castro  <alex@igalia.com>
3017
3018         Changes required in order to allow vfast_factor set to zero to
3019         work properly.
3020
3021         * src/hildon-pannable-area.c:
3022         (hildon_pannable_area_button_press_cb): Changed the condition, it
3023         is required for not allowing click when vfast_factor is zero.
3024         (hildon_pannable_area_timeout): Initialized velocity variables
3025         when we stop moving, it was less than 1 but not zero and we need
3026         to check zero in some situations.
3027         (hildon_pannable_area_class_init): Changed the default value of
3028         the speed factor, now the button_press is just sent in case the
3029         speed is 2 per cent of the max speed.
3030         (hildon_pannable_area_init): Initialization with 0.
3031
3032 2008-07-04  Alejandro G. Castro  <alex@igalia.com>
3033
3034         * src/hildon-pannable-area.c,
3035         (hildon_pannable_area_get_topmost): replaced
3036         gdk_window_get_children with gdk_window_peek_children, this way we
3037         do not have to free the list because it is not a copy.
3038
3039         (hildon_pannable_axis_scroll),
3040         (hildon_pannable_area_scroll),
3041         (hildon_pannable_area_timeout),
3042         (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
3043         two parameters that were only used inside the
3044         hildon_pannable_area_scroll function.
3045
3046         * examples/hildon-pannable-area-example.c,
3047         (get_sawtooth_label): Fixed small memory leak.
3048
3049 2008-07-03  Alejandro G. Castro  <alex@igalia.com>
3050
3051         More checks for the case where the overshoot is bigger than the
3052         size of the widget.
3053
3054         * src/hildon-pannable-area.c:
3055         (hildon_pannable_draw_vscroll),
3056         (hildon_pannable_draw_hscroll): with this new calculation we avoid
3057         to draw the slider of the scrollbar under the other scrollbar.
3058         (hildon_pannable_area_expose_event): added new checks to control
3059         the drawing of the overshooting area rectangle, in case it is too
3060         big for the area of the widget.
3061         (hildon_pannable_area_size_allocate): add more checks to avoid
3062         setting a position to the child widget outside the area.
3063
3064 2008-07-03  Alejandro G. Castro  <alex@igalia.com>
3065
3066         * src/hildon-pannable-area.c
3067         (hildon_pannable_area_size_allocate): Added conditions to control
3068         when overshooting is bigger than the allocated space for the
3069         children, this avoids negative allocations.
3070
3071 2008-07-02  Alberto Garcia  <agarcia@igalia.com>
3072
3073         * doc/hildon-docs.sgml
3074         * doc/hildon.types
3075         * examples/Makefile.am
3076         * examples/hildon-button-example.c
3077         * src/Makefile.am
3078         * src/hildon-button.c
3079         * src/hildon-button.h
3080         * src/hildon.h: Initial version of the new HildonButton widget,
3081         with examples.
3082
3083 2008-07-02  Claudio Saavedra  <csaavedra@igalia.com>
3084
3085         * src/hildon-pannable-area.c:
3086         (hildon_pannable_area_button_press_cb),
3087         (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
3088         (hildon_pannable_area_motion_notify_cb),
3089         (hildon_pannable_area_button_release_cb),
3090         (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
3091         (hildon_pannable_area_jump_to_child):
3092
3093         Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
3094
3095 2008-07-01  Alberto Garcia  <agarcia@igalia.com>
3096
3097         * examples/Makefile.am
3098         * examples/hildon-pannable-area-touch-grid-example.c
3099         * examples/hildon-pannable-area-touch-list-example.c: Examples of
3100         the Hildon Touch List and Hildon Touch Grid using the
3101         HildonPannableArea widget.
3102
3103 2008-06-27  Alejandro G. Castro <alex@igalia.com>
3104
3105         * src/hildon-pannable-area.c,
3106         (hildon_pannable_area_button_press_cb),
3107         (hildon_pannable_area_refresh),
3108         (hildon_pannable_area_scroll),
3109         (hildon_pannable_area_motion_notify_cb),
3110         (hildon_pannable_area_button_release_cb),
3111         (hildon_pannable_area_expose_event),
3112         (hildon_pannable_area_add),
3113         (hildon_pannable_area_remove),
3114         (hildon_pannable_area_realize),
3115         (hildon_pannable_area_size_allocate),
3116         (hildon_pannable_area_class_init),
3117         (hildon_pannable_area_init),
3118         (hildon_pannable_area_scroll_to_child),
3119         (hildon_pannable_area_jump_to_child): Fixed the problem of
3120         removing the child from the GtkBin, we have rearranged the widget
3121         hierarchy, now there is no GtkAlignment which was not doing
3122         anything interesting but breaking some of the assumptions of
3123         GtkContainer. Now developers if they want to add a GtkAlignment
3124         they could, but it is not inside the area.
3125
3126         We had to review the whole allocation/expose process, now it is
3127         improved and we save at least three signals which would be saving
3128         some time when rendering the widget. The allocation of the
3129         scrollbars is now made in the allocate method as usual.
3130
3131         We have also added some conditions in order to control when there
3132         is no child of the pannable area. Maybe we will need more work
3133         here.
3134
3135 2008-06-27  Alejandro G. Castro <alex@igalia.com>
3136
3137         * src/hildon-pannable-area.c,
3138         (hildon_pannable_area_dispose): Released the fade-out timeout when
3139         disposing the widget.
3140
3141 2008-06-27  Alejandro G. Castro <alex@igalia.com>
3142
3143         * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
3144         zero, we are going to use that property in order to deactivate the
3145         overshooting
3146         (hildon_pannable_axis_scroll),
3147         (hildon_pannable_area_size_allocate): Added conditions to control
3148         when overshoot_max is zero. Moved the gtk_adjustment_set_value
3149         call, now it is called in all situations and we can remove calls
3150         in the allocate method.
3151         (hildon_pannable_area_map): Control the situation when
3152         overshoot_max is zero, we do not need the timeout.
3153         (hildon_pannable_area_class_init): Added documentation in order to
3154         point out that setting zero to overshoot_max means deactivate
3155         overshooting.
3156
3157         NOTE: removed trailing whitespaces from my previous comments of
3158         the Changelog.
3159
3160 2008-06-26  Claudio Saavedra  <csaavedra@igalia.com>
3161
3162         * src/hildon-pannable-area.c
3163         (hildon_pannable_area_get_property),
3164         (hildon_pannable_area_set_property),
3165         (hildon_pannable_area_map),
3166         (hildon_pannable_area_class_init),
3167         (hildon_pannable_area_init): Add a boolean "initial-hint" property
3168         to cause the widget give a hint about its panning abilities upon
3169         realization.
3170
3171 2008-06-26  Claudio Saavedra  <csaavedra@igalia.com>
3172
3173         * src/hildon-pannable-area.c: Several documentation improvements.
3174
3175 2008-06-26  Alberto Garcia  <agarcia@igalia.com>
3176
3177         * src/hildon-program.c
3178         * src/hildon-stackable-window.c: Update documentation.
3179
3180 2008-06-26  Alberto Garcia  <agarcia@igalia.com>
3181
3182         * src/hildon-stackable-window.c (get_previous_window_if_last):
3183         Renamed get_last_window()
3184         (hildon_stackable_window_map, hildon_stackable_window_unmap)
3185         (hildon_stackable_window_unset_program):
3186         Simplified code.
3187         (get_previous_window_if_last):
3188         Detect if the window hasn't been added to a HildonProgram.
3189
3190 2008-06-26  Alejandro G. Castro <alex@igalia.com>
3191
3192         contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
3193
3194         * src/hildon-pannable-area.c
3195         (hildon_pannable_area_button_press_cb),
3196         (hildon_pannable_axis_scroll),
3197         (hildon_pannable_area_scroll),
3198         (hildon_pannable_area_timeout),
3199         (hildon_pannable_calculate_vel_factor),
3200         (hildon_pannable_area_get_property),
3201         (hildon_pannable_area_set_property),
3202         (hildon_pannable_area_class_init),
3203         (hildon_pannable_area_init),
3204         (hildon_pannable_area_scroll_to),
3205         (hildon_pannable_area_jump_to),
3206         (hildon_pannable_area_scroll_to_child),
3207         (hildon_pannable_area_jump_to_child):
3208         * src/hildon-pannable-area.h: Added the new API functions:
3209         hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
3210         hildon_pannable_area_scroll_to_child,
3211         hildon_pannable_area_jump_to_child
3212
3213
3214         * examples/Makefile.am
3215         * examples/hildon-pannable-area-example-2.c
3216         * examples/hildon-pannable-area-example-3.c: Added these two new
3217         examples in order to test and show how the new APIs work.
3218
3219 2008-06-25  Alberto Garcia  <agarcia@igalia.com>
3220
3221         * examples/hildon-stackable-window-example.c (new_window):
3222         * src/Makefile.am (noinst_HEADERS):
3223         * src/hildon-program.c (hildon_program_go_to_root_window):
3224         * src/hildon-program.h:
3225         * src/hildon-stackable-window-private.h:
3226         * src/hildon-stackable-window.c:
3227         * src/hildon-stackable-window.h:
3228         Create hildon-stackable-window-private.h
3229         Move hildon_stackable_window_go_to_root_window() to HildonProgram
3230
3231         * examples/hildon-app-menu-example.c (create_menu):
3232         * examples/hildon-hvolumebar-insensitive-example.c (main):
3233         * examples/hildon-hvolumebar-timer-example.c (on_idle):
3234         * examples/hildon-toolbar-seekbar-example.c (main):
3235         * src/hildon-app-menu.c (hildon_app_menu_add_filter):
3236         * src/hildon-banner.c (hildon_banner_set_property):
3237         * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
3238         Fix compilation warnings
3239
3240         * src/hildon-window.c:
3241         Fix typo in doc
3242
3243 2008-06-24  Alberto Garcia  <agarcia@igalia.com>
3244
3245         * src/hildon-stackable-window.c
3246         (hildon_stackable_window_unset_program):
3247         Calculate correctly whether to show the previous window if the
3248         last one is removed from the stack.
3249         (hildon_stackable_window_go_to_root_window):
3250         Send delete events starting from the topmost window.
3251         Stop if one of the windows is not destroyed.
3252         Update doc.
3253         (hildon_stackable_window_delete_event)
3254         (hildon_stackable_window_class_init):
3255         Ignore the delete event if the window is not the topmost one.
3256
3257 2008-06-24  Alejandro G. Castro <alex@igalia.com>
3258
3259         * src/hildon-pannable-area.c
3260         (hildon_pannable_area_expose_event): Fixed a problem when
3261         selecting the background color of the scrollbars.
3262
3263 2008-06-23  Alberto Garcia  <agarcia@igalia.com>
3264
3265         * examples/hildon-stackable-window-example.c
3266         * src/hildon-stackable-window.c
3267         * src/hildon-stackable-window.h
3268         hildon_stackable_window_go_home() renamed to
3269         hildon_stackable_window_go_to_root_window()
3270         Send delete events to windows rather than closing them with
3271         gtk_widget_destroy()
3272
3273 2008-06-19  Alberto Garcia  <agarcia@igalia.com>
3274
3275         * src/hildon-pannable-area.c
3276         (hildon_pannable_area_button_release_cb): Fix overshooting in
3277         accel mode.
3278
3279 2008-06-19  Claudio Saavedra  <csaavedra@igalia.com>
3280
3281         * src/hildon-pannable-area.c
3282         (hildon_pannable_area_init): Initially show the scroll indicators.
3283         (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
3284
3285         Add initial effect showing the widget is pannable.
3286
3287 2008-06-19  Alberto Garcia  <agarcia@igalia.com>
3288
3289         * src/hildon-pannable-area.c
3290         (hildon_pannable_area_class_init)
3291         (hildon_pannable_area_set_property)
3292         (hildon_pannable_area_get_property)
3293         (hildon_pannable_area_button_press_cb):
3294         New 'velocity_fast_factor' property to decide which velocity is
3295         considered fast.
3296
3297 2008-06-19  Claudio Saavedra  <csaavedra@igalia.com>
3298
3299         * src/hildon-pannable-area.c
3300         (hildon_pannable_draw_hscroll)
3301         (hildon_pannable_draw_vscroll):
3302         Use float variables to calculate the size of the scrollbars to
3303         avoid error propagation and resizing during scrolling.
3304
3305 2008-06-19  Alberto Garcia  <agarcia@igalia.com>
3306
3307         * src/hildon-pannable-area.c
3308         (hildon_pannable_draw_vscroll)
3309         (hildon_pannable_draw_hscroll):
3310         Define a minimum size for the scroll bars
3311
3312         * src/hildon-stackable-window.c
3313         (hildon_stackable_window_go_home): Fix compilation warning
3314         (get_last_window): Minor optimizations
3315         (hildon_stackable_window_class_init): Fix initialization of
3316         private structure.
3317
3318 2008-06-18  Alberto Garcia  <agarcia@igalia.com>
3319
3320         * src/hildon-stackable-window.c: Fixed typos in doc
3321
3322 2008-06-18  Claudio Saavedra  <csaavedra@igalia.com>
3323
3324         * src/hildon-pannable-area.c
3325         (hildon_pannable_area_scroll):
3326         Calculate here whether we need to scroll instead of using the booleans
3327         that tell us whether to /draw/ the scrolling bars.
3328
3329 2008-06-17  Claudio Saavedra  <csaavedra@igalia.com>
3330
3331         * src/hildon-app-menu.h
3332         Update API.
3333         * src/hildon-app-menu.c
3334         (hildon_app_menu_init, hildon_app_menu_class_init): Remove
3335         multiple filter groups related code and API. Now we support only
3336         one filter group.
3337         * examples/hildon-app-menu-example.c:
3338         (create_menu):
3339         Update to reflect API changes.
3340
3341 2008-06-16  Claudio Saavedra  <csaavedra@igalia.com>
3342
3343         * src/hildon-stackable-window.c
3344         (hildon_stackable_window_class_init):
3345         Add hildon_stackable_window_realize.
3346         (hildon_stackable_window_realize):
3347         Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
3348         the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
3349         to apply theming and behavior specific to HildonStackableWindow
3350         windows.
3351
3352 2008-06-12  Alberto Garcia  <agarcia@igalia.com>
3353
3354         * src/hildon-note.c (hildon_note_button_release):
3355         Close information notes also when tapping on them
3356
3357 2008-06-12  Alejandro G. Castro <alex@igalia.com>
3358
3359         Added BOUNCE_STEPS define to control the overshoot effect. Removed
3360         ELASTICITY, refactor and review, fix some issues with drawing
3361         scrollbars.
3362
3363         * src/hildon-pannable-area.c:
3364         (hildon_pannable_area_button_press_cb): removed the conditions to
3365         avoid clicks when overshooting. It is not required
3366
3367         (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
3368         define. Refatored and reviewed the code, now we do not need to
3369         manage velocity in motion_notify.
3370
3371         (hildon_pannable_area_motion_notify_cb): We have moved the code
3372         that controls the area_scroll to the axis_scroll function and get
3373         rid of duplicated code.
3374
3375         (hildon_pannable_area_scroll): Remove the ELASTICITY define.
3376
3377         (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
3378
3379         (hildon_pannable_draw_vscroll),
3380         (hildon_pannable_draw_hscroll): Fixed the problems with the
3381         scrollbar drawing, now we do not use two surfaces, it is easier
3382         and saves resources.
3383
3384         (hildon_pannable_area_get_property): Style modification.
3385
3386         (hildon_pannable_area_class_init): Changed some default values.
3387
3388 2008-06-12  Claudio Saavedra  <csaavedra@igalia.com>
3389
3390         * src/hildon-stackable-window.c: Fix some typos in the
3391         documentation.
3392
3393 2008-06-12  Alberto Garcia  <agarcia@igalia.com>
3394
3395         * src/hildon-dialog.c:
3396         Change indentation style
3397
3398         * src/hildon-note.c
3399         (hildon_note_button_release):
3400         Use root coordinates to check if the release event happened
3401         outside the widget.
3402
3403         * src/hildon-app-menu.c
3404         (hildon_app_menu_button_release):
3405         Remove unnecessary check
3406
3407         * examples/hildon-app-menu-example.c
3408         (button_clicked):
3409         Add cast to fix warning
3410
3411         * src/hildon-app-menu.c
3412         (hildon_app_menu_class_init):
3413         New inner-border style property.
3414         Set all default spacings to 16
3415         (hildon_app_menu_init):
3416         Use vertical-spacing to set the space between filter buttons and
3417         regular menu buttons.
3418         Set the default container border using the inner-border value.
3419
3420         * examples/hildon-app-menu-example.c
3421         (create_menu):
3422         Don't set the menu border explicitly, now we have the inner-border
3423         style property for that.
3424
3425 2008-06-11  Alberto Garcia  <agarcia@igalia.com>
3426
3427         * src/hildon-app-menu.c (hildon_app_menu_init):
3428         Make the window modal
3429
3430         * src/hildon-note.c (hildon_note_map)
3431         * src/hildon-app-menu.c (hildon_app_menu_map):
3432         Destroy the grab window if we're unable to grab the pointer
3433
3434         * src/hildon-app-menu-private.h
3435         * src/hildon-app-menu.c
3436         (hildon_app_menu_init, hildon_app_menu_finalize)
3437         (hildon_app_menu_map, hildon_app_menu_unmap)
3438         (hildon_app_menu_button_release)
3439         (grab_transfer_window_get):
3440         Bring back the grab window
3441         (hildon_app_menu_realize):
3442         Decorate the window, set WM hint for Matchbox
3443
3444         * src/hildon-note.c (hildon_note_realize):
3445         * src/hildon-banner.c (hildon_banner_realize):
3446         Add WM hints for Matchbox
3447
3448 2008-06-10  Alberto Garcia  <agarcia@igalia.com>
3449
3450         * src/hildon-app-menu-private.h
3451         * src/hildon-app-menu.c
3452         (hildon_app_menu_init, hildon_app_menu_finalize)
3453         (hildon_app_menu_map, hildon_app_menu_unmap)
3454         (hildon_app_menu_button_release):
3455         Remove the grab window, it's not needed anymore
3456
3457         * src/hildon-program.c
3458         Fixed typo in documentation
3459
3460         * src/hildon-app-menu.h
3461         * src/hildon-app-menu.c
3462         * examples/hildon-app-menu-example.c
3463         Remove hildon_app_menu_popup(), use gtk_widget_show() instead
3464
3465 2008-06-09  Alberto Garcia  <agarcia@igalia.com>
3466
3467         * src/hildon-note.c
3468         Added new transfer_window and close_if_pressed_outside private
3469         attributes.
3470         (hildon_note_rebuild):
3471         Don't add a cancel button to the information note. It will be
3472         closed when tapping outside
3473         Remove the comment about the OK button in the documentation
3474         (hildon_note_realize):
3475         Set the notification type hint
3476         (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
3477         Grab/ungrab pointer and keyboard if the note has to be closed when
3478         tapping outside
3479         (hildon_note_button_release):
3480         Close the note when tapping outside (if applicable)
3481
3482         * src/hildon-app-menu.c
3483         Grab/ungrab pointer and keyboard on map/unmap
3484         (hildon_app_menu_button_release, hildon_app_menu_class_init):
3485         Close the menu on button release, not button press
3486
3487         * src/hildon-banner.c
3488         (hildon_banner_set_property)
3489         (hildon_banner_check_position):
3490         Make the banner use the full width of the screen
3491         (hildon_banner_show_information)
3492         (hildon_banner_show_information_with_markup):
3493         Don't display an icon by default
3494
3495 2008-06-09  Alejandro G. Castro <alex@igalia.com>
3496
3497         Added fading scrollbars and adapted all the overshooting code to
3498         horizontal scrolling. We have also fixed bugs with overshooting
3499         and current fading implementation.
3500
3501         * src/hildon-pannable-area.c
3502         (hildon_pannable_area_scroll_indicator_fade): Time out function
3503         used to change the transparency of the scrollbars.
3504
3505         (hildon_pannable_area_button_press_cb): Added horizontal overshot
3506         control and fixed a problem with fading, we now remove the fade
3507         timeout before adding a new one.
3508
3509         (hildon_pannable_axis_scroll):
3510         (hildon_pannable_area_scroll):
3511         (hildon_pannable_area_timeout): Added this functions so we can use
3512         the scroll code both for vertical and horizontal.
3513
3514         (hildon_pannable_area_motion_notify_cb):
3515         (hildon_pannable_area_button_release_cb): Added the horizontal
3516         scrolling control, fixed a problem with the overshooting timeout.
3517
3518         (rgb_from_gdkcolor): Added this function, it is used in the cairo
3519         painting of the scrolls.
3520
3521         (hildon_pannable_draw_vscroll):
3522         (hildon_pannable_draw_hscroll):
3523         (hildon_pannable_area_expose_event):
3524         Draw both scrollbars and rectangles in the overshooting area.
3525
3526         (hildon_pannable_area_get_property):
3527         (hildon_pannable_area_set_property):
3528         Modified the overshoot property to overshoot_max
3529
3530         (hildon_pannable_area_map):
3531         Replaced the comments symbols.
3532
3533         (hildon_pannable_area_size_allocate):
3534         (hildon_pannable_area_class_init):
3535         (hildon_pannable_area_init): Added horizontal scroll, fading
3536         effect properties, fixed a problem when overshooting in the bottom
3537         of the widget.
3538
3539         * examples/hildon-pannable-area-example.c:
3540         (get_sawtooth_label): Now we use smaller sawtooths, the effect
3541         looks better in the example.
3542
3543 2008-06-03  Alberto Garcia  <agarcia@igalia.com>
3544
3545         * src/hildon-window.c
3546         * src/hildon-window.h
3547         (hildon_window_class_init)
3548         (hildon_window_unset_program)
3549         (hildon_window_unset_program_real):
3550         Make unset_program a virtual function
3551
3552         * src/hildon-stackable-window.c
3553         * src/hildon-stackable-window.h
3554         Added hildon_stackable_window_go_home()
3555
3556         * examples/Makefile.am
3557         * examples/hildon-stackable-window-example.c
3558         HildonStackableWindow example
3559
3560 2008-06-03 Alejandro G. Castro <alex@igalia.com>
3561
3562         * hildon-pannable-area.c: Added the overshoot property and removed
3563         the OVERSHOOT define. Fixed an indent style error.
3564         (hildon_pannable_area_motion_notify_cb):
3565         (hildon_pannable_area_get_property):
3566         (hildon_pannable_area_set_property): Add overshoot property.
3567
3568         (hildon_pannable_area_scroll): replaced OVERSHOOT define with
3569         overshoot property.
3570
3571         (hildon_pannable_area_class_init): Installed the new property.
3572
3573         * hildon-pannable-area-example.c: Added a sawtooth function, this
3574         way it is easier to check the movement in the pannable.
3575         (get_sawtooth_label): Added this function.
3576         (main): Now we get the labels from the new get_sawtooth_label
3577         function.
3578
3579 2008-05-26  Alberto Garcia  <agarcia@igalia.com>
3580
3581         * src/hildon-app-menu.h
3582         * src/hildon-app-menu.c
3583         Renamed API variables for consistency
3584
3585         (hildon_app_menu_popup): Use also the default window size to
3586         decide where to place the menu
3587
3588         (hildon_app_menu_init, hildon_app_menu_class_init): New
3589         external-border style property
3590
3591 2008-05-26  Michael Natterer  <mitch@imendio.com>
3592
3593         * src/hildon-time-editor.c (hildon_time_editor_class_init): The
3594         widget_class->tap_and_hold_setup signal slot doesn't exist any
3595         longer, stop overriding it.
3596
3597         (hildon_time_editor_init): g_signal_connect() to the
3598         tap-and-hold-setup signal instead.
3599
3600         (hildon_time_editor_entry_keypress): add cast to fix warning.
3601
3602 2008-05-23  Alberto Garcia  <agarcia@igalia.com>
3603
3604         * doc/hildon-docs.sgml
3605         * doc/hildon.types
3606         * examples/Makefile.am
3607         * examples/hildon-app-menu-example.c
3608         * src/Makefile.am
3609         * src/hildon-app-menu-private.h
3610         * src/hildon-app-menu.c
3611         * src/hildon-app-menu.h
3612         * src/hildon.h
3613         New HildonAppMenu widget
3614
3615 2008-05-21 Alejandro G. Castro <alex@igalia.com>
3616
3617         Rearranged the inheritance of the pannable area, now it inherits
3618         from GtkBin. This will allow us to control the event_window and
3619         the allocation process of the widget, required for some effects.
3620
3621         * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
3622         GtkBin structures.  * src/hildon-pannable-area.c: Added the
3623         event_window variable.
3624         (hildon_pannable_area_button_press_cb):
3625         (hildon_pannable_area_button_release_cb):
3626         (hildon_pannable_area_motion_notify_cb):
3627         Changed the signature of the method, now we override the event
3628         callback instead of connecting to the signal.
3629
3630         (hildon_pannable_area_realize):
3631         (hildon_pannable_area_unrealize):
3632         (hildon_pannable_area_map):
3633         (hildon_pannable_area_unmap):
3634         (hildon_pannable_area_size_allocate):
3635         Added functions to control the widget construction. We add a
3636         INPUT_ONLY window and we put it over the widgets inside the
3637         container, this event_window handles the events.
3638
3639         (hildon_pannable_area_class_init):
3640         Replaced the signal connections with overrides of the event
3641         callbacks.
3642
3643 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3644
3645         Bouncing effect added when touching the borders, you can change
3646         the elasticity of the border changing the ELASTICITY define.
3647
3648         * src/hildon-pannable-area.c: Added ELASTICITY define.
3649         (hildon_pannable_area_timeout): Added inverse velocity when
3650         touching the border of the child widget, that causes a bounce.
3651
3652 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3653
3654         Improved performance, we now do not go to the X server in order to
3655         get the list of window children. Apparently the effect is the
3656         same, we have to be careful and check if this breaks something in
3657         any corner case.
3658
3659         * src/hildon-pannable-area.c:
3660         (get_ordered_children): Removed this function.
3661         (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
3662         the children windows function with gdk_window_get_children.
3663
3664 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3665
3666         * src/hildon-pannable-area.c:
3667         (hildon_pannable_area_dispose): Fixed a crash when closing the
3668         window and kinetics is activated.
3669
3670 2008-05-19  Alberto Garcia  <agarcia@igalia.com>
3671
3672         * src/hildon-pannable-area.h
3673         * src/hildon-pannable-area.c
3674         Changed indentation style to meet the one used in Hildon
3675
3676 2008-05-19 Alejandro G. Castro <alex@igalia.com>
3677
3678         Reviewed the interaction of the AUTO mode, now we use the time
3679         attribute of the events and calculate the velocity in the motion,
3680         doing a gimp like calculation. The velocity is calculated in each
3681         motion event using the last velocity and the current one, the
3682         SMOOTH_FACTOR controls the percentage of the new velocity we use.
3683
3684         * src/hildon-pannable-area.c: Replaced the time based algorithm
3685         for the AUTO mode.
3686         (hildon_pannable_area_motion_notify_cb): now we do not launch the
3687         timeout for the AUTO mode when we are still moving the cursor. We
3688         added also the velocity calculation in this function.
3689         (hildon_pannable_area_button_release_cb): launch the timeout in
3690         case we are in AUTO mode. There are still some constants here that
3691         come from the old implementation that should be reviewed and
3692         handled properly.
3693
3694 2008-05-15  Alberto Garcia  <agarcia@igalia.com>
3695
3696         * doc/hildon-docs.sgml
3697         * doc/hildon.types
3698         * src/Makefile.am
3699         * src/hildon-stackable-window.c
3700         * src/hildon-stackable-window.h
3701         * src/hildon.h
3702         New HildonStackableWindow widget
3703
3704         * examples/hildon-dialog-example.c
3705         * examples/hildon-pannable-area-example.c
3706         Updated copyright
3707
3708 2008-05-14  Alberto Garcia  <agarcia@igalia.com>
3709
3710         * src/hildon-dialog.c
3711         (hildon_dialog_new_with_buttons): New constructor.
3712
3713         * examples/hildon-dialog-example.c
3714         (main): Update the example to use the new
3715         hildon_dialog_new_with_buttons().
3716
3717         * examples/hildon-pannable-area-example.c
3718         (main): Update example.
3719
3720 2008-05-13 Alberto Garcia <agarcia@igalia.com>
3721
3722         * doc/hildon-docs.sgml
3723         * doc/hildon.types
3724         Added HildonPannableArea to the documentation.
3725
3726 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
3727
3728         * doc/visual_index.xml
3729         Fix reference to HildonLoginDialog in documentation
3730
3731         * doc/hildon-docs.sgml
3732         * doc/hildon.types
3733         * examples/Makefile.am
3734         * examples/hildon-dialog-example.c
3735         * src/Makefile.am
3736         * src/hildon-dialog.c
3737         * src/hildon-dialog.h
3738         * src/hildon.h
3739         New HildonDialog widget.
3740
3741 2008-05-09 Alberto Garcia <agarcia@igalia.com>
3742
3743         * src/hildon-pannable-area.c
3744         Merge latest changes (r4318, r4342) from libmokoui trunk
3745
3746 2008-05-09 Alberto Garcia <agarcia@igalia.com>
3747
3748         * examples/Makefile.am
3749         * examples/hildon-pannable-area-example.c
3750         * src/Makefile.am
3751         * src/hildon-pannable-area.c
3752         * src/hildon-pannable-area.h
3753         * src/hildon.h
3754         New HildonPannableArea widget.
3755
3756 2008-04-15 18:05:19    <timj@imendio.com>
3757
3758         * src/hildon-banner.c: revert the recent change, that introduced
3759         gtk_window_present() calls. this reopens:
3760           Bug 78481 - [freetest] information banners are hidden under browser menu
3761         But resolves another variant of:
3762           Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3763
3764 2008-04-15 13:21:13    <timj@imendio.com>
3765
3766         * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
3767         recreated its layout, spotted by Kris. this fixes all remaining
3768         artefacts and stability issues with the banner code. in particular:
3769         Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3770
3771 2008-04-14 16:52:59    <timj@imendio.com>
3772
3773         * src/hildon-banner.c: guard force_to_wrap_truncated() against
3774         operating on unrealized widgets, fixes:
3775         Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3776
3777         * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
3778
3779 2008-04-09  Kristian Rietveld  <kris@imendio.com>
3780
3781         Fixes: NB#77775: Media Player, Save Now playing list, too long name
3782         makes banner disappear.
3783         Fixes: NB#79182: info banner flickering with certain message lengts.
3784
3785         * src/hildon-banner.c (hildon_banner_constructor),
3786         (hildon_banner_init), (hildon_banner_set_text),
3787         (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
3788         (hildon_banner_reset_wrap_state): new function: reset wrap flags to
3789         FALSE, reset size requests of label and banner,
3790         (force_to_wrap_truncated): when the text is too wide, always enforce
3791         the maximum possible width instead of recalculating it from the
3792         layout; enforce the maximum banner height of 3 lines,
3793         (hildon_banner_init): set WORD_CHAR wrapping, this will result in
3794         nicer wrapping and no truncated chars if space gets tight.
3795
3796         * src/hildon-banner-private.h: add has_been_wrapped and
3797         has_been_truncated fields.
3798
3799 2008-04-07  Sven Herzberg  <sven@imendio.com>
3800
3801         Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
3802         local values in hildon_date_editor_size_allocate
3803
3804         * src/hildon-date-editor.c: moved the real allocation code into the
3805         if() branch
3806
3807 2008-04-07  Sven Herzberg  <sven@imendio.com>
3808
3809         Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3810         local values in hildon_date_editor_size_allocate
3811
3812         * src/hildon-date-editor.c: merged the two if() branches together
3813
3814 2008-04-07  Sven Herzberg  <sven@imendio.com>
3815
3816         Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3817         local values in hildon_date_editor_size_allocate
3818
3819         * src/hildon-date-editor.c: changed the arguments of the if()
3820         conditions
3821
3822 2008-04-07  Sven Herzberg  <sven@imendio.com>
3823
3824         Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3825         local values in hildon_date_editor_size_allocate
3826
3827         * src/hildon-date-editor.c: split the calculation of the allocation
3828         from the real allocation
3829
3830 2008-03-27  Michael Natterer  <mitch@imendio.com>
3831
3832         Fixes: NB#81696: The passcode is not overwritten even after
3833         selecting
3834
3835         * src/hildon-code-dialog.c
3836         (hildon_code_dialog_button_clicked)
3837         (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
3838         because that doesn't overwrite selected text. Instead, emit the
3839         "commit" signal on the entry's im_context so the entry's normal
3840         insert logic is triggered. Set the cursor to the end of the entry
3841         after each insert operation so that we *only* insert in the middle
3842         of the text if something was selected.
3843
3844 2008-03-27  Michael Natterer  <mitch@imendio.com>
3845
3846         Enable fixing: NB#79916 and NB#79918: The help topic for Color
3847         selector cannot be opened
3848
3849         * src/hildon-color-button.c: add signal "setup-dialog" and emit it
3850         when the popup color selector is created. Please connect to this
3851         signal in order to set the dialog's help ID.
3852
3853 2008-03-25  Sven Herzberg  <sven@imendio.com>
3854
3855         Fixes: MB#1212: Hide info banners (infoprints) on click
3856
3857         * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
3858         extracted the close event simulation into an extra function
3859         (hildon_banner_button_press_event): simulate a close event and destroy
3860         the widget if the event wasn't handled
3861         (hildon_banner_class_init): added the button_press_event handler
3862         (hildon_banner_init): added button-press events to the widget
3863
3864 2008-03-25  Sven Herzberg  <sven@imendio.com>
3865
3866         Fixes: MB:#924: Hildon widgets doesn't support RTL mode
3867         Patch from: Mohammad Anwari  <mdamt@maemo.org>
3868
3869         * src/hildon-banner.c: let the HildonBanners pop up on the left side
3870         instead of the right in RTL mode
3871         * src/hildon-bread-crumb-trail.c: mirror the appearance of the
3872         breadcrumb button list in RTL mode
3873         * src/hildon-caption.c: mirror the appearance of the caption widget in
3874         RTL mode
3875         * src/hildon-date-editor.c: mirror appearance of the date editor in
3876         RTL mode
3877         * src/hildon-time-editor.c: mirror appearance of the time editor in
3878         RTL mode
3879         * src/hildon-window.c: fix the position of the popup in RTL mode
3880
3881 2008-03-25  Sven Herzberg  <sven@imendio.com>
3882
3883         Amendment to the fix of NB#22072. Fix compilation.
3884
3885         * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
3886
3887 2008-03-19  Sven Herzberg  <sven@imendio.com>
3888
3889         Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
3890         in Info Banner" bug
3891
3892         * src/hildon-banner.c: (hildon_banner_timeout): reset the current
3893         timeout id properly when the timeout will disappear this leaves no
3894         artifacts around in the destroy(); there will only be the timeout
3895         created by hildon_banner_ensure_timeout() and adding a new timeout
3896         will also work if the timeout gets removed because the timeout_handler
3897         returned FALSE
3898
3899 2008-03-19  Michael Natterer  <mitch@imendio.com>
3900
3901         Fixes: NB#79791: Cannot set focus to Master volume using stylus
3902
3903         * src/hildon-volumebar.c
3904         * src/hildon-vvolumebar.c
3905         * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
3906         the widget becomes focussable at all.
3907
3908         * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
3909         set the focus to wither the mute button or the volumebar.
3910
3911         Remove own "can-focus" property and instead listen to
3912         notify::can-focus in order to update the widget's state.
3913
3914         Implement GtkWidget::focus() and make sure we can also *leave* the
3915         widget, not only enter it, depending on volumebar orientation and
3916         requested focus direction.
3917
3918         Clean up set_mute() to cooperate nicely with all the above.
3919
3920 2008-03-04  Michael Natterer  <mitch@imendio.com>
3921
3922         Fixes: NB#78481: information banners are hidden under browser menu
3923
3924         * src/hildon-banner.c: call gtk_window_present() on the banners so
3925         they are risen if they are already visible.
3926
3927 2008-03-03  Sven Herzberg  <sven@imendio.com>
3928
3929         Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
3930
3931         * examples/hildon-window-menu-example.c: (main): extended the window
3932         menu example to serve as a testcase for automatically added
3933         accelerator groups, too
3934         * src/hildon-window.c: (hildon_window_add_accel_group),
3935         (hildon_window_set_menu): added patch by Tommi Komulainen
3936
3937 2008-03-03  Sven Herzberg  <sven@imendio.com>
3938
3939         Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
3940
3941         * src/hildon-window.c: (hildon_window_get_borders): don't imply any
3942         knowledge about the border allocators used within GTK+
3943
3944 2008-02-26  Sven Herzberg  <sven@imendio.com>
3945
3946         Fixes: MB#2981: Build with asserts broken
3947
3948         * src/hildon-date-editor.c,
3949         * src/hildon-number-editor.c,
3950         * src/hildon-time-editor.c,
3951         * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
3952         the proper GType instance check
3953
3954 2008-02-25  Sven Herzberg  <sven@imendio.com>
3955
3956         Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
3957
3958         * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
3959         * examples/hildon-window-menu-example.c: (main): explicitly show
3960         the menu item
3961         * src/hildon-window.c:
3962         (hildon_window_set_main_menu): moved most of the code from set_menu()
3963         to this place; skipped the call to gtk_widget_show_all(); also didn't
3964         introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
3965         (hildon_window_set_menu): removed most of the code, just keep the
3966         questionable gtk_widget_show_all()
3967         * src/hildon-window.h: added the new function and deprecate the old
3968         one
3969
3970 2008-01-10  Xan Lopez  <xan.lopez@nokia.com>
3971
3972         [2.0.1-1 release]
3973
3974         * NEWS:
3975         * configure.ac:
3976         * debian/changelog: Updating.
3977
3978 2008-01-10  Xan Lopez  <xan.lopez@nokia.com>
3979
3980         * configure.ac:
3981         * pkgconfig/Makefile.am:
3982         * pkgconfig/hildon.pc.in:
3983         * src/Makefile.am:
3984
3985         Do not use PACKAGE_VERSION_MAJOR as the API revision,
3986         use newly created API_MAJOR_VERSION.
3987
3988 2008-01-09  Xan Lopez  <xan.lopez@nokia.com>
3989
3990         [2.0.0-1 release]
3991
3992         * NEWS:
3993         * configure.ac:
3994         * debian/changelog: Updating.
3995
3996 2008-01-09  Xan Lopez  <xan.lopez@nokia.com>
3997
3998         * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
3999
4000         Add outer_border style property, we use it but don't define it (!).
4001
4002         Fixes NB#75310
4003
4004 2007-12-21  Xan Lopez  <xan.lopez@nokia.com>
4005
4006         * examples/hildon-bread-crumb-trail-example.c (main):
4007
4008         Add clear button.
4009
4010         * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
4011
4012         Fix logic for the bread crumb trail node removal.
4013
4014         Fixes: NB#78616
4015
4016 2007-12-14  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4017
4018         [1.99.1-1 release]
4019
4020         * NEWS:
4021         * configure.ac:
4022         * debian/changelog: Updating.
4023
4024 2007-11-08  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4025
4026         Patch by Alejandro to get/set passwords dialogs accesibility.
4027
4028         * hildon-1/src/hildon-get-password-dialog.c:
4029         * hildon-1/src/hildon-set-password-dialog.c:
4030         Set atk_set_name to the passwd entries in order to allow
4031         accessibility by name on this entries.
4032
4033 2007-10-11  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4034
4035         [1.99.0-2 release]
4036
4037         * debian/changelog:
4038         * debian/control: Updating gtk dep.
4039
4040 2007-10-10  Mohammad Anwari  <Mohammad.Anwari@nokia.com>
4041
4042         * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
4043         USE_MAEMO_GTK is enabled.
4044
4045 2007-10-10  Xan Lopez  <xan.lopez@nokia.com>
4046
4047         * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
4048         MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
4049
4050 2007-10-10  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4051
4052         [1.99.0-1 release]
4053
4054         * NEWS:
4055         * configure.ac:
4056         * debian/changelog: Updating.
4057
4058 2007-10-10  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4059
4060         * examples/Makefile.am:
4061         * examples/hildon-logical-color-example.c:
4062         * src/hildon-helper.c: Fixing the way logical colors/fonts are being
4063         applied + adding a test case. Fixes: NB#71660.
4064
4065 2007-10-08  Xan Lopez  <xan.lopez@nokia.com>
4066
4067         * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
4068         to be visible, fixes warning on map for windows without toolbars.
4069
4070 2007-10-02  Xan Lopez  <xan.lopez@nokia.com>
4071
4072         * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
4073         2.11.0, add a check for that besides the MAEMO_GTK check.
4074
4075 2007-09-28  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4076
4077         [1.0.17-1 release]
4078
4079         * NEWS:
4080         * configure.ac:
4081         * debian/changelog: Updating.
4082
4083 2007-09-26  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4084
4085         * src/hildon-window.c: Applying patches by Xan to fix the toolbar
4086         visibility. Fixes: NB#70842 and MB#615.
4087
4088 2007-09-25  Xan Lopez  <xan.lopez@nokia.com>
4089
4090         * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
4091         set the separator as no-show-all so it doesn't unintentionally appear when
4092         someone does a show_all.
4093
4094 2007-09-25  Xan Lopez  <xan.lopez@nokia.com>
4095
4096         * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
4097         (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
4098         toplevel item. Fixes: NB#62031
4099
4100 2007-09-24  Xan Lopez  <xan.lopez@nokia.com>
4101
4102         * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
4103         fix the name of the function in the docs.
4104
4105 2007-09-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4106
4107         [1.0.16-1 release]
4108
4109         * NEWS:
4110         * configure.ac:
4111         * debian/changelog: Updating.
4112
4113 2007-09-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4114
4115         * examples/hildon-banner-long-example.c: Adding a test-case for long
4116         hildon banner.
4117
4118         * src/hildon-find-toolbar.c: Fixing the get_last_index function.
4119
4120 2007-09-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4121
4122         * src/hildon-color-chooser-dialog.c:
4123         * src/hildon-color-chooser.c:
4124         * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
4125         memory leaks in font selector and color selector. Fixes: NB#70499 and
4126         NB#70474.
4127
4128 2007-09-20  Johan Bilien  <johan.bilien@nokia.com>
4129
4130         * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
4131
4132 2007-09-18  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4133
4134         * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
4135         little bit bigger. Fixes: #NB63694.
4136
4137 2007-09-17  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4138
4139         [1.0.15-1 release]
4140
4141         * NEWS:
4142         * configure.ac:
4143         * debian/changelog: Updating.
4144
4145 2007-09-14  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4146
4147         * doc/Makefile.am:
4148         * doc/hildon-docs.sgml:
4149         * doc/images/bread-crumb-trail.png:
4150         * doc/images/calendar-popup.png:
4151         * doc/images/caption.png:
4152         * doc/images/code-dialog.png:
4153         * doc/images/color-button.png:
4154         * doc/images/color-chooser-dialog.png:
4155         * doc/images/color-chooser.png:
4156         * doc/images/controlbar.png:
4157         * doc/images/date-editor.png:
4158         * doc/images/font-selection-dialog.png:
4159         * doc/images/get-password-dialog.png:
4160         * doc/images/hvolumebar.png:
4161         * doc/images/login-dialog.png:
4162         * doc/images/note.png:
4163         * doc/images/number-editor.png:
4164         * doc/images/range-editor.png:
4165         * doc/images/seekbar.png:
4166         * doc/images/set-password-dialog.png:
4167         * doc/images/sort-dialog.png:
4168         * doc/images/time-editor.png:
4169         * doc/images/time-picker.png:
4170         * doc/images/vvolumebar.png:
4171         * doc/images/weekday-picker.png: Adding the new generated widget shots.
4172         Adding the bread-crumb-trial and helpers to the documentation.
4173
4174 2007-09-14  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4175
4176         * examples/hildon-find-toolbar-example.c:
4177         * src/hildon-find-toolbar.c:
4178         * src/hildon-find-toolbar.h: FIxing the default history-append handler to
4179         actually continue firing the other handlers if connected. Adding a new
4180         function:
4181         hildon_find_toolbar_get_last_index that gets the index of the most
4182         recently added (last) item. Fixes: NB#52301.
4183
4184 2007-09-10  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4185
4186         * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
4187         behaviour. Fixes: NB#68610.
4188
4189 2007-09-10  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4190
4191         * src/hildon-banner.c: Actually reverting the previous change. It somehow
4192         looks a bit worse.
4193
4194 2007-09-06  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4195
4196         * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
4197         when realizing the banner. Should make the infonbanner effect a bit more
4198         bearable.
4199
4200 2007-09-05  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4201
4202         * src/hildon-volumebar.c:
4203         * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
4204         hildon_volumebar_set_range_insensitive_message and
4205         hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
4206
4207 2007-09-05  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4208
4209         * src/hildon-window.c: Fixing the border freeing on destroy.
4210
4211 2007-09-05  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4212
4213         * src/hildon-code-dialog-private.h:
4214         * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
4215         kw keyboard support in HildonCodeDialog.
4216
4217 2007-08-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4218
4219         [1.0.14-1 release]
4220
4221         * NEWS:
4222         * configure.ac:
4223         * debian/changelog: Updating.
4224
4225 2007-08-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4226
4227         * src/hildon-date-editor.c:
4228         * src/hildon-number-editor.c:
4229         * src/hildon-private.c:
4230         * src/hildon-private.h:
4231         * src/hildon-time-editor.c:
4232         * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
4233         handling in subclassed composite widgets. Fixes: NB#66628.
4234
4235 2007-08-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4236
4237         * src/hildon-window.c: Removing extra gtk_main_iteration () processing
4238         from destroy_ callback as it introduces problems in async dbus signal
4239         handlers. Fixes NB#66673.
4240
4241 2007-08-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4242
4243         * examples/hildon-hvolumebar-example.c:
4244         * src/hildon-volumebar.c: Improving the focus handling in the
4245         volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
4246         set_property accessor so that "mute" property can be actually set. I'm
4247         scared that nobody noticed it's totally broken.
4248
4249 2007-08-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4250
4251         * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
4252         Fixes NB#66548.
4253
4254 2007-08-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4255
4256         * src/hildon-calendar.c:
4257         * src/hildon-number-editor.c:
4258         * src/hildon-time-picker.c: Changing the timeout repeat so that it
4259         matches the spec of 6 chars per second. Fixes: NB#60489.
4260
4261 2007-08-22  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4262
4263         * src/hildon-helper.c: Really fixing NB#58352. Looks like
4264         gtk_style_lookup_color sometime returns FALSE even though color was
4265         found and values were filled properly. Weird. Removing the warning for the
4266         time being.
4267
4268 2007-08-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4269
4270         * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
4271         expand vertically. Adding some extra space to the find toolbar buttons to
4272         make them thumbable. Fixes NB#66060.
4273
4274 2007-08-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4275
4276         * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
4277         popup with "Ok" and "Cancel". Fixes NB#59299.
4278
4279 2007-08-20  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4280
4281         * src/hildon-calendar.c: Process all window updates before executing next
4282         timeout. Fixes: NB#54146.
4283
4284 2007-08-17  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4285
4286         [1.0.13-1 release]
4287
4288         * NEWS:
4289         * configure.ac:
4290         * debian/changelog: Updating.
4291
4292 2007-08-16  Xan Lopez  <xan.lopez@nokia.com>
4293
4294         * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
4295         the client event and ignore it, since we use the delete event to close
4296         after timeouts.
4297
4298 2007-08-16  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4299
4300         * src/hildon-helper.c: Remove the bogus warning about color not being
4301         found. Fixes NB#58352.
4302
4303 2007-08-16  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4304
4305         * examples/Makefile.am:
4306         * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
4307         HildonSeekbar widget inside a toolbar.
4308
4309 2007-08-16  Xan Lopez  <xan.lopez@nokia.com>
4310
4311         * src/hildon-banner.c (hildon_banner_init): mark the banners as
4312         temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
4313         delete event that will come from _GTK_DELETE_TEMPORARIES, as we
4314         don't want to be closed by non-temporary windows on map.
4315
4316         Also use G_DEFINE_TYPE instead of manually typed code.
4317
4318 2007-08-06  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4319
4320         [1.0.12-1 release]
4321
4322         * NEWS:
4323         * configure.ac:
4324         * debian/changelog:
4325         * debian/rules: Updating.
4326
4327 2007-08-01  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4328
4329         * examples/Makefile.am:
4330         * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
4331         bug NB#61128. Strangely it works.
4332
4333 2007-08-01  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4334
4335         * src/hildon-date-editor.c: When the date editor entry has been changed
4336         but the numbers of characters < max, turn off the skip validation flag.
4337         Prevents a situation when we enter first a valid year and later re-write
4338         it with an invalid one. Fixes NB#60154.
4339
4340 2007-07-26  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4341
4342         * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
4343         code dialog. Fixes NB#64355.
4344
4345 2007-07-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4346
4347         * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
4348         switching the page. Fixes NB#49374.
4349
4350         * examples/Makefile.am:
4351         * examples/hildon-wizard-dialog-example.c: Adding an example for
4352         HildonWizardDialog that shows how to handle manual sensitivity setting on
4353         the wizard dialog.
4354
4355 2007-07-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4356
4357         * configure.ac:
4358         * src/Makefile.am:
4359         * src/hildon-version.h.in:
4360         * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
4361
4362 2007-07-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4363
4364         * src/hildon-volumebar.c: Updating the docs.
4365
4366 2007-07-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4367
4368         [1.0.11-1 release]
4369
4370         * NEWS:
4371         * configure.ac:
4372         * debian/changelog: Updating.
4373
4374 2007-07-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4375
4376         * src/hildon-find-toolbar.c:
4377         * src/hildon-find-toolbar.h: Adding a few new functions to control the
4378         selected item: hildon_find_toolbar_set_active,
4379         hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
4380         hildon_find_toolbar_get_active_iter . They correspond to respective
4381         GtkComboBox functions.
4382
4383         * examples/Makefile.am:
4384         * examples/hildon-find-toolbar-example.c: Adding the example to test the
4385         new functionality.
4386
4387 2007-07-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4388
4389         * examples/Makefile.am:
4390         * examples/hildon-seekbar-example.c: Adding the seekbar example to check
4391         theming easily.
4392
4393         * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
4394         when font size > 32 and we pack a focusable widget inside. Actually using
4395         the default response would work too, but since we don't show default
4396         response state in any way (no theming) it would not be visible to the
4397         user. Fixes NB#63430.
4398
4399 2007-07-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4400
4401         * src/hildon-date-editor.c: Adding the missing variable setter in the
4402         set_property handler. Fixes NB#54182.
4403
4404 2007-07-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4405
4406         * src/hildon-window.h: Changing the long key press time from 1500ms to
4407         800ms as requested in NB#63700. I have a bad feeling about this, let's
4408         see... Fixes NB#63700.
4409
4410 2007-07-12  Tommi Komulainen  <tommi.komulainen@nokia.com>
4411
4412         * src/hildon-time-picker.c (hildon_time_picker_class_init,
4413         hildon_time_picker_map, hildon_time_picker_realize,
4414         hildon_time_picker_style_set): Split the contents of map to more
4415         appropriate functions; set window decorations on realize and update
4416         arrows' size requisitions on style-set. Avoids unnecessary resizing.
4417
4418 2007-07-02  Xan Lopez <xan.lopez@nokia.com>
4419
4420         [1.0.10-2 release]
4421
4422         * NEWS:
4423         * debian/changelog: Updating.
4424
4425 2007-07-02  Johan Bilien  <johan.bilien@nokia.com>
4426
4427         * src/Makefile.am: fixed installation of the header files
4428
4429 2007-06-29  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4430
4431         [1.0.10-1 release]
4432
4433         * NEWS:
4434         * configure.ac:
4435         * debian/changelog: Updating.
4436
4437 2007-06-27  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4438
4439         * configure.ac: Removing some remaining of --enable-xan.
4440
4441 2007-06-26  Xan Lopez  <xan.lopez@nokia.com>
4442
4443         * src/hildon-date-editor.c: (hildon_date_editor_keypress):
4444         * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
4445
4446         Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
4447         2.10.12-osso6 because the move-focus signal needs to be available in
4448         GtkWidget.
4449
4450 2007-06-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4451
4452         * examples/Makefile.am:
4453         * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
4454         that makes a HildonVolumebar insensitive before mapping it. Seems to work
4455         fine. Prolly NB#61128 is fixed now.
4456
4457 2007-06-19  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4458
4459         * src/hildon-volumebar.c:
4460         * src/hildon-volumebar.h: Adding the
4461         hildon_volumebar_set_range_insensitive_message and
4462         hildon_volumebar_set_range_insensitive_messagef functions to set
4463         insensitive message on the slider of the volumebar. Fixes NB#61129.
4464
4465         * examples/Makefile.am:
4466         * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
4467         test the new insensitive messsage functionality on HildonVolumebar.
4468
4469 2007-06-14  Xan Lopez  <xan.lopez@nokia.com>
4470
4471         * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
4472         work again.
4473
4474 2007-06-13  Xan Lopez  <xan.lopez@nokia.com>
4475
4476         * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
4477         http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
4478         button on after clearing the trail.
4479
4480 2007-06-13  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4481
4482         * src/hildon-code-dialog.c: Removing the separator from the dialog.
4483
4484 2007-06-12  Xan Lopez  <xan.lopez@nokia.com>
4485
4486         * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
4487         by splitting the installed headers in generated and non-generated groups. Use
4488         only the non-generated headers to create the hildon-enum-types.h file.
4489
4490         * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
4491
4492 2007-06-12  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4493
4494         * src/hildon-window.c: Hide the window before performing the destroy.
4495         Should make the app closing a little tiny bit more snappy.
4496
4497 2007-06-12  Xan Lopez  <xan.lopez@nokia.com>
4498
4499         * src/hildon-seekbar.c: add gtkrange.h header
4500         * src/hildon-caption.c: remove unused variable
4501
4502 2007-06-08  Tommi Komulainen  <tommi.komulainen@nokia.com>
4503
4504         * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
4505         Loic Minier.
4506
4507 2007-06-07  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4508
4509         [1.0.9-1 release]
4510
4511         * NEWS:
4512         * configure.ac:
4513         * debian/changelog: Updating.
4514
4515 2007-06-07  Tommi Komulainen  <tommi.komulainen@nokia.com>
4516
4517         * src/hildon-window.c (hildon_window_window_state_event,
4518         hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
4519         escape timeout on focus-out-event rather than notify::is-topmost; the
4520         latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
4521
4522 2007-06-07  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4523
4524         * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
4525         correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
4526
4527 2007-06-07  Xan Lopez  <xan.lopez@nokia.com>
4528
4529         * src/hildon-window: actually, you need to use the macro always, there's
4530         no private pointer in the instance structure. We should have cleaned this up
4531         when we had the chance...
4532
4533 2007-06-07  Xan Lopez  <xan.lopez@nokia.com>
4534
4535         * src/hildon-window.c: do not get the private date from HildonWindow before
4536         it passes the g_return_if_fail check. Once it's passed the test, there's no
4537         need to g_assert that it exists. Do not create a HildonWindowPrivate variable
4538         if you are only going to access the data once. Whitespace cleanups.
4539
4540 2007-06-04  Xan Lopez  <xan.lopez@nokia.com>
4541
4542         * src/hildon-bread-crumb-trail.c: set children visible before allocation.
4543         * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
4544
4545 2007-06-01  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4546
4547         [1.0.8-1 release]
4548
4549         * NEWS:
4550         * configure.ac:
4551         * debian/changelog: Updating.
4552
4553 2007-06-01  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4554
4555         * src/hildon-window.c: When destroying the window, remove (if exists) the
4556         escape timeout handler. Fixes #NB59276.
4557
4558 2007-06-01  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4559
4560         * src/hildon-banner.c: When realizing the widget, set the window
4561         transiency. Setting the transiency in the gobject constructor is not
4562         good, as the widget is not realized at that point. Fixes: #NB56624.
4563
4564 2007-05-30  Xan Lopez  <xan.lopez@nokia.com>
4565
4566         * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
4567         Add padding for future expansions.
4568
4569 2007-05-30  Xan Lopez  <xan.lopez@nokia.com>
4570
4571         * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
4572         Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
4573         will fake an activation on the previous to the last item of the trail, so
4574         the effect can be overrided by the developer as usual.
4575         Also change the callback for the back button to do the same thing, so its
4576         effect can be overrided too. Fixes: NB#58982
4577
4578 2007-05-30  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4579
4580         * src/hildon-caption.c: Implementing the proper focus grabbing in the
4581         HildonCaption. Fixes NB#52379.
4582
4583 2007-05-30  Xan Lopez  <xan.lopez@nokia.com>
4584
4585         * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
4586         the internal state of the trail after the user has had the chance of executing
4587         his handler for the signal. Specifically, it may happen that the activated button
4588         is removed and the user still lets the default handler run. This would segfault
4589         previously.
4590
4591 2007-05-28  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4592
4593         * src/hildon-font-selection-dialog.c: When the font is really big, add the
4594         scrollbar to the preview dialog. Fixes NB#54147.
4595
4596 2007-05-28  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4597
4598         * src/hildon-date-editor.c: Changing the default max year to 2037. The
4599         max/min year properties can be altered, so the client can modify it
4600         anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
4601
4602 2007-05-28  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4603
4604         * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
4605         hildonlike by default. Fixing a problem with disappearing arrows when
4606         scrolling through months and years. Fixes NB#54127.
4607
4608 2007-05-28  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4609
4610         * examples/hildon-date-editor-example.c: Adding error callback to the date
4611         editor example.
4612
4613 2007-05-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4614
4615         [1.0.7-1 release]
4616
4617         * NEWS:
4618         * debian/changelog:
4619         * configure.ac: Updating.
4620
4621 2007-05-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4622
4623         * configure.ac: Adding a special '--enable-xan' configure option that
4624         turns off the -Werror compilation setting. Usefull for development.
4625
4626         * src/hildon-calendar.c:
4627         * src/hildon-number-editor.c:
4628         * src/hildon-time-picker.c: Adding the 5* multiplier to
4629         gtk-timeout-update.
4630
4631 2007-05-24  Xan Lopez  <xan.lopez@nokia.com>
4632
4633         * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
4634         instead of g_object_ref + gtk_object_sink.
4635
4636 2007-05-22  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4637
4638         [1.0.6-1 release]
4639
4640         * NEWS:
4641         * configure.ac:
4642         * debian/changelog: Updating.
4643
4644 2007-05-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4645
4646         * src/hildon-color-chooser-dialog.c:
4647         * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
4648         straight from Tommi labs.
4649
4650 2007-05-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4651
4652         * examples/hildon-finger-example.c: Correcting the header file path.
4653
4654         * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
4655         the changed signal. Fixes a small memory leak.
4656
4657 2007-05-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4658
4659         * autogen.sh:
4660         * debian/rules:
4661         * src/hildon-banner.c: Importing several usefull fixes from the
4662         ubuntu-mobile branch.
4663
4664 2007-05-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4665
4666         * examples/Makefile.am:
4667         * examples/hildon-finger-example.c: Adding a finger-checking code
4668         example.
4669
4670         * src/hildon-font-selection-dialog.c: Do not allocate the color
4671         structure using the g_new. Fixes NB#54061.
4672
4673 2007-05-09  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4674
4675         * src/hildon-helper.c: Correcting tabs in file.
4676
4677 2007-05-08  Xan Lopez  <xan.lopez@nokia.com>
4678
4679         * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
4680         control the visibility of the children.
4681
4682         * examples/hildon-bread-crumb-trail-example.c: Plug leak.
4683
4684 2007-05-07  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4685
4686         [1.0.5-1 release]
4687
4688         * NEWS:
4689         * configure.ac:
4690         * debian/changelog: Updating.
4691
4692 2007-05-04  Xan Lopez  <xan.lopez@nokia.com>
4693
4694         * src/hildon-bread-crumb-trail.c:
4695         (hildon_bread_crumb_trail_size_allocate):
4696
4697         Make the back button always a square.
4698
4699 2007-05-04  Xan Lopez  <xan.lopez@nokia.com>
4700
4701         * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
4702         from the .c file as it's a private file.
4703
4704 2007-05-03  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4705
4706         * examples/hildon-vvolumebar-example.c: The VVolumebar example now
4707         uses slightly bigger height.
4708
4709         * src/hildon-font-selection-dialog.c: Adding some checks before
4710         freeing memory in the font selection dialog.
4711
4712 2007-05-02  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4713
4714         * src/hildon-font-selection-dialog.c: Adding a small check when
4715         freeing memory.
4716
4717         * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
4718         buttons sensitivity on page switching.
4719
4720 2007-04-27  Xan Lopez  <xan.lopez@nokia.com>
4721
4722         * src/hildon-bread-crumb-trail.c: make the add method handle all the
4723         internal details of adding a bread crumb to the trail.
4724
4725 2007-04-26  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4726
4727         [1.0.4-1 release]
4728
4729         * README:
4730         * configure.ac:
4731         * debian/changelog: Updating.
4732
4733         * src/hildon-bread-crumb-trail.h:
4734         * src/hildon-bread-crumb.h: Changing the API guard to
4735         HILDON_ENABLE_UNSTABLE_API.
4736
4737 2007-04-26  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4738
4739         [1.0.3-1 release]
4740
4741         * NEWS:
4742         * configure.ac:
4743         * debian/changelog:
4744         * debian/rules:
4745         * src/hildon-helper.h: Updating.
4746
4747 2007-04-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4748
4749         [1.0.2-1 release]
4750
4751         * NEWS:
4752         * configure.ac:
4753         * debian/changelog:
4754
4755 2007-04-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4756
4757         * README:
4758         * configure.ac:
4759         * src/hildon-helper.h: Small fix to make the package actually compile.
4760
4761 2007-04-25  Xan Lopez  <xan.lopez@nokia.com>
4762
4763         * src/hildon-bread-crumb-trail.h:
4764         * src/hildon-bread-crumb.h:
4765
4766         Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
4767         to define ENABLE_UNSTABLE_API in the code that includes these headers.
4768
4769 2007-04-25  Xan Lopez  <xan.lopez@nokia.com>
4770
4771         * examples/hildon-bread-crumb-trail-example.c:
4772         * src/Makefile.am:
4773         * src/hildon-bread-crumb-trail.c:
4774         * src/hildon-bread-crumb-trail.h:
4775         * src/hildon-bread-crumb.c:
4776         * src/hildon-bread-crumb.h:
4777         * src/hildon-marshalers.list:
4778         * src/hildon-bread-crumb-widget.c:
4779         * src/hildon-bread-crumb-widget.h:
4780
4781         Slight change in the widget design. The bread crumb trail API is
4782         unchanged, but HildonBreadCrumb is now an interface. A *private*
4783         implementation, hildon-bread-crumb-widget, is provided and used
4784         internally by the trail for the push_text/push_icon functions.
4785
4786         The generic push API is still available, so anyone can implement
4787         and use its own bread crumb widget.
4788
4789 2007-04-19  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4790
4791         * debian/rules: Fixing the shlibs.
4792
4793 2007-04-19  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4794
4795         * src/hildon-banner.c: Fixing a problem with timed banners having
4796         their parrent destroyed before they are.
4797
4798 2007-04-17  Xan Lopez  <xan.lopez@nokia.com>
4799
4800         * src/hildon-bread-crumb.c:
4801         * src/hildon-bread-crumb.h:
4802
4803         Make the get_natural_size function a vfunc.
4804
4805 2007-04-16  Xan Lopez  <xan.lopez@nokia.com>
4806
4807         * src/hildon-bread-crumb.c:
4808         * src/hildon-bread-crumb-trail.c:
4809
4810         Some cleanups.
4811
4812 2007-04-16  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4813
4814         [1.0.1-1 release]
4815
4816         * AUTHORS:
4817         * NEWS:
4818         * configure.ac:
4819         * debian/changelog: Updating for release.
4820
4821 2007-04-16  Xan Lopez  <xan.lopez@nokia.com>
4822
4823         * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
4824         don't leak the pango layout.
4825
4826 2007-04-16  Xan Lopez  <xan.lopez@nokia.com>
4827
4828         * src/hildon.h:
4829         * examples/hildon-bread-crumb-trail-example.c:
4830
4831         Fix example.
4832
4833 2007-04-16  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4834
4835         * debian/changelog: Removing the bug-fixed entries that were actually
4836         resolved as WONTFIX.
4837
4838         * src/hildon-date-editor.c: Removing a redundant check. Fixes
4839         NB#54182.
4840
4841 2007-04-13  Xan Lopez  <xan.lopez@nokia.com>
4842
4843         * src/hildon-bread-crumb-trail.c:
4844         * src/hildon-bread-crumb-trail.h:
4845         * src/hildon-bread-crumb.c:
4846         * src/hildon-bread-crumb.h:
4847
4848         Untabify.
4849
4850 2007-04-13  Xan Lopez  <xan.lopez@nokia.com>
4851
4852         * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
4853         until it's passed the type check.
4854
4855 2007-04-12  Xan Lopez  <xan.lopez@nokia.com>
4856
4857         * examples/hildon-bread-crumb-trail-example.c
4858
4859         Add license.
4860
4861 2007-04-12  Xan Lopez  <xan.lopez@nokia.com>
4862
4863         * examples/Makefile.am
4864         * examples/hildon-bread-crumb-trail-example.c
4865         * src/Makefile.am
4866         * src/hildon-bread-crumb-trail.c
4867         * src/hildon-bread-crumb-trail.h
4868         * src/hildon-bread-crumb.c
4869         * src/hildon-bread-crumb.h
4870
4871         New HildonBreadCrumbTrail widget.
4872
4873 2007-04-02  Lucas Rocha  <lucas.rocha@nokia.com>
4874
4875         * src/hildon-range-editor.c (hildon_range_editor_init),
4876         src/hildon-seekbar.c (hildon_seekbar_get_fraction,
4877         hildon_seekbar_set_fraction, hildon_seekbar_set_position),
4878         src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
4879         hildon_time_editor_class_init, hildon_time_editor_init),
4880         src/hildon-get-password-dialog.c (invalid_input,
4881         hildon_get_password_set_property, hildon_get_password_get_property,
4882         create_contents, hildon_get_password_dialog_set_max_characters),
4883         src/hildon-set-password-dialog.c (create_contents),
4884         src/hildon-date-editor.c (hildon_date_editor_init),
4885         src/hildon-login-dialog.c (hildon_login_dialog_init),
4886         src/hildon-number-editor.c (hildon_number_editor_init),
4887         src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
4888         hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
4889         the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
4890          configure option and adding the respective checks in the code.
4891         * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
4892         hildon_calendar_drag_data_received): fixed some build warnings.
4893
4894 2007-03-29  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
4895
4896         * debian/changelog: A 1.0.0 release notes.
4897