1 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
3 * src/hildon-touch-selector.c:
4 (hildon_touch_selector_remove_column): Remove from the correct parent
5 and also remove the list element and free it.
8 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
10 * src/hildon-time-selector.c
11 (_create_hours_model): change the range on 12h ampm format in order to use
12 a 12-11 range instead of previous 01-12 range
13 (hildon_time_selector_set_time): change the way to select the current time
14 on 12h ampm format, due the change on the range
15 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
18 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
20 * src/hildon-touch-selector.c
21 (hildon_date_touch_selector_get_selected): fix the selection mode check,
22 in order to allow use this function on multiple row selection mode if
23 the column is different that the first one
26 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
28 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
29 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
31 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
33 * src/hildon-date-selector.h: clean some comments, now on the .c
34 * src/hildon-date-selector.c
35 (hildon_date_selector_select_month): first implementation
36 (hildon_date_selector_select_day): added documentation, reimplemented
37 using hildon_date_selector_select_current_date to avoid repeat code
40 2008-09-02 Alejandro G. Castro <alex@igalia.com>
42 Reviewed interaction logic based on device experiences, refactored
45 * src/hildon-pannable-area.c,
46 (hildon_pannable_area_class_init): Updated default vmax speed.
47 (hildon_pannable_area_calculate_velocity): Added this function, it
48 avoids duplicate valocity calculation. Adjusted calculation to
49 avoid problems with zero dist events.
51 (hildon_pannable_area_motion_notify_cb): Now we use the
52 calculate_velocity function.
54 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
56 * src/hildon-date-selector.c
57 (hildon_date_selector_select_current_date): fix the day range check
58 as it failed using the last day of the current month
61 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
63 * src/hildon-touch-selector.c
64 (hildon_touch_selector_get_num_columns): added a parameter validation
67 2008-08-29 Alberto Garcia <agarcia@igalia.com>
69 * examples/Makefile.am
70 * examples/hildon-edit-toolbar-example.c: Example of the
71 HildonEditToolbar widget.
73 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
75 * configure.ac: postrelease version bump.
77 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
81 * configure.ac: prerelease version bump.
82 * debian/changelog: update.
84 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
86 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
87 renderer to display stock icons in the touch list. Also, set the sizes
88 to the recommended in the style guide.
90 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
91 * src/hildon-touch-selector.h
92 (hildon_touch_selector_set_active_iter): renamed, now is
93 hildon_touch_selector_select_iter
94 (hildon_touch_selector_get_active_iter): renamed, now is
95 hildon_touch_selector_get_selected
96 (hildon_touch_selector_unselect_iter): added
97 * src/hildon-touch-selector.c
98 Update after API modification (methods renamed)
99 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
100 order to avoid problems selecting multiple elements on the column
101 (hildon_touch_selector_unselect_iter): added the implementation
102 * src/hildon-time-selector.c
103 * src/hildon-date-selector.c
104 * src/hildon-touch-selector-entry.c
105 Update methods calls after hildon-touch-selector.h API modification (methods
108 2008-08-29 Alberto Garcia <agarcia@igalia.com>
110 * src/hildon-stackable-window.c
111 (hildon_stackable_window_finalize): Call the parent class's finalize.
113 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
115 * examples/hildon-touch-selector-example.c: (create_selector): Use
116 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
119 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
121 * examples/hildon-touch-selector-example.c: (create_selector): Do not
122 set a cell background color, to respect theming.
124 2008-08-28 Alberto Garcia <agarcia@igalia.com>
126 * doc/hildon-docs.sgml
129 * src/hildon-edit-toolbar.c
130 * src/hildon-edit-toolbar.h
131 * src/hildon.h: New HildonEditToolbar widget.
133 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
135 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
138 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
139 * src/hildon-touch-selector.c
140 (_create_new_column): use g_object_set instead of two g_object_set_property
142 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
143 * src/hildon-touch-selector.c
144 (_create_new_column): use of hildon_gtk_tree_view_new to create
145 the treeview, instead of use directly g_object_new
146 (_create_new_column): update the property name "vindicator-mode" for the
147 new one "vscrollbar-policy"
148 * examples/hildon-date-button-example.c
149 * examples/hildon-picker-button-multicolumn-example.c
150 * examples/hildon-touch-selector-entry-example.c
151 * examples/hildon-touch-selector-example.c
152 * examples/hildon-time-button-example.c
153 * examples/hildon-picker-button-example.c
154 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
155 to all the treeviews inside a pannable area.
157 2008-08-27 Alberto Garcia <agarcia@igalia.com>
159 * src/hildon-button.h
160 * src/hildon-button.c (hildon_button_init)
161 (hildon_button_set_arrangement, hildon_button_set_alignment)
162 (hildon_button_set_title_alignment)
163 (hildon_button_set_value_alignment)
164 (hildon_button_set_image_alignment)
165 (hildon_button_construct_child): New methods to set the alignment
166 of the individual components of the button (title, value,
167 image). Also, new method to alter the xscale and yscale properties
168 of the GtkAlignment inside the button, so more complex layouts can
171 2008-08-27 Alberto Garcia <agarcia@igalia.com>
173 * src/hildon-button.c (hildon_button_style_set)
174 (hildon_button_class_init, hildon_button_set_arrangement)
175 (hildon_button_construct_child): Apply style properties
176 correctly. Use the 'image-spacing' style property too.
178 2008-08-26 Alberto Garcia <agarcia@igalia.com>
180 * src/hildon-app-menu.c (hildon_app_menu_style_set)
181 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
184 2008-08-26 Alejandro G. Castro <alex@igalia.com>
186 * src/hildon-pannable-area.c,
187 (hildon_pannable_area_size_request): Fixed problem with
188 pannable-area size_request.
190 2008-08-26 Alejandro G. Castro <alex@igalia.com>
192 Added management for the grab-focus to a child widget, like a
193 range, we need to fade out the scrollbar when releasing.
195 * src/hildon-pannable-area.c,
196 (hildon_pannable_area_init): Connected the grab-focus signal to
198 (hildon_pannable_area_grab_notify): Added this function in order
199 to manage the situation when the grab-focus ends. We have to
200 fade-out the scrollbar.
202 2008-08-25 Alberto Garcia <agarcia@igalia.com>
204 * src/hildon-app-menu.c: Minor documentation update.
206 2008-08-25 Alberto Garcia <agarcia@igalia.com>
208 * src/hildon-app-menu.c
209 * examples/hildon-app-menu-example.c (create_menu): Update
210 examples and documentation to explain how to connect callbacks.
212 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
214 * examples/hildon-button-example.c
215 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
216 hildon_stackable_window_new instead of gtk_window_new
218 2008-08-22 Alejandro G. Castro <alex@igalia.com>
220 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
221 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
222 (hildon_pannable_area_set_property),
223 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
224 (hildon_pannable_area_unrealize),
225 (hildon_pannable_area_size_request),
226 (hildon_pannable_area_size_allocate),
227 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
228 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
229 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
230 (hildon_pannable_area_initial_effect),
231 (hildon_pannable_area_redraw),
232 (hildon_pannable_area_scroll_indicator_fade),
233 (hildon_pannable_area_expose_event),
234 (hildon_pannable_area_get_topmost), (synth_crossing),
235 (hildon_pannable_area_button_press_cb),
236 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
237 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
238 (hildon_pannable_area_motion_notify_cb),
239 (hildon_pannable_area_button_release_cb),
240 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
241 (hildon_pannable_area_remove),
242 (hildon_pannable_calculate_vel_factor): Widget refactorization,
243 chage the code layout to a more GtkWidget like. Review the use of
246 2008-08-21 Alejandro G. Castro <alex@igalia.com>
248 * examples/hildon-pannable-area-example-4.c,
249 (main): Modified the name of the hindicator_mode to
252 * src/hildon-pannable-area.c,
253 (hildon_pannable_area_class_init),
254 (hildon_pannable_area_motion_notify_cb),
255 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
256 we have reduced the amount of signals and managed reviewed its
257 rationale. Changed the default decelerate value.
259 (hildon_pannable_area_add),
260 (hildon_pannable_area_redraw): Refactored functions.
262 (hildon_pannable_area_init),
263 (hildon_pannable_area_get_property),
264 (hildon_pannable_area_set_property):
265 (hildon_pannable_draw_vscroll),
266 (hildon_pannable_draw_hscroll),
267 (hildon_pannable_area_initial_effect),
268 (hildon_pannable_area_expose_event),
269 (hildon_pannable_area_scroll),
270 (hildon_pannable_area_button_press_cb),
271 (hildon_pannable_area_realize): Replaced the names hindicator_mode
272 and vindicator_mode with hscrollbar_policy and
273 vscrollbar_policy. Replaced hscroll and vscroll with
274 hscroll_visible and vscroll_visible.
276 (hildon_pannable_area_refresh): Refactor the function, remove
277 variables and check the calls to this function, added resize
278 conditions in case the children change their layout.
280 (hildon_pannable_area_size_request): Added more detailed
281 size_request calculation.
284 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
286 * src/hildon-color-chooser.c
287 (init_borders): use the correct gtk_border_free instead of g_free, to
288 avoid a crash when this widget is used (ie: the three color selection
291 2008-08-20 Alejandro G. Castro <alex@igalia.com>
293 * src/hildon-check-button.c,
294 (hildon_check_button_set_active): Fixed problem when setting the
295 active value, the widget was not redrawn.
297 2008-08-20 Alejandro G. Castro <alex@igalia.com>
299 * src/hildon-pannable-area.c,
300 (hildon_pannable_area_refresh),
301 (hildon_pannable_area_scroll),
302 (hildon_pannable_area_motion_notify_cb): Small code style change.
304 (hildon_pannable_area_class_init): Default initial_hint set to
305 FALSE, it is not in the specs.
307 (hildon_pannable_area_initial_effect),
308 (hildon_pannable_area_expose_event),
309 (hildon_pannable_area_map),
310 (hildon_pannable_area_init): Moved the launching point of the
311 initial effect, it was in map but the sizes where not correct in
312 that method so we do not know if we have the reproduce it. Now it
313 is placed in the expose_event method and uses a variable to
314 reproduce it just once.
316 2008-08-19 Alejandro G. Castro <alex@igalia.com>
318 * src/hildon-pannable-area.c,
319 (hildon_pannable_draw_vscroll),
320 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
321 position allowed for the scrollbars.
323 (hildon_pannable_area_size_allocate): Small style change.
325 2008-08-19 Alejandro G. Castro <alex@igalia.com>
327 * src/hildon-pannable-area.c,
328 (hildon_pannable_area_scroll_indicator_fade),
329 (hildon_pannable_area_button_press_cb),
330 (hildon_pannable_area_button_release_cb),
331 (hildon_pannable_area_scroll_cb),
332 (hildon_pannable_area_expose_event),
333 (hildon_pannable_area_init): Added the define parameter
334 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
335 and refactor the fade variable.
337 2008-08-19 Alejandro G. Castro <alex@igalia.com>
339 * src/hildon-pannable-area.c,
340 (hildon_pannable_area_redraw),
341 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
342 lines, we were reimplemeting the redraw code.
344 2008-08-18 Alejandro G. Castro <alex@igalia.com>
346 * src/hildon-pannable-area.c,
347 (hildon_pannable_area_scroll_cb),
348 (hildon_pannable_area_realize),
349 (hildon_pannable_area_class_init): Added scroll_event management
350 for pannable area, now we can scroll the usual desktop method.
352 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
353 initialization of the parameters should depend on idle_id.
355 (hildon_pannable_area_init),
356 (hildon_pannable_area_map): Small code style modifications
358 2008-08-18 Alejandro G. Castro <alex@igalia.com>
360 * src/hildon-pannable-area.c
361 (hildon_pannable_area_button_press_cb),
362 (hildon_pannable_area_motion_notify_cb),
363 (hildon_pannable_area_button_release_cb),
364 (hildon_pannable_area_size_allocate),
365 (hildon_pannable_area_scroll_to): Improved the timeouts
366 management, we avoid creating them each time.
368 2008-08-14 Alejandro G. Castro <alex@igalia.com>
370 * src/hildon-pannable-area.c:
371 (hildon_pannable_area_refresh),
372 (hildon_pannable_area_motion_notify_cb),
373 (hildon_pannable_area_class_init):
374 * src/hildon-pannable-area.h:
375 * src/hildon-touch-selector.c
376 (_create_new_column):
377 * examples/hildon-pannable-area-example-4.c:
378 (horizontal_movement),
381 Replaced the names of enums in the HildonPannableArea:
382 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
383 HILDON_MOVEMENT_MODE_*
384 - HILDON_PANNABLE_AREA_MOV_* ->
386 - Removed HildonPannableAreaIndicatorMode, now we
389 2008-08-14 Alberto Garcia <agarcia@igalia.com>
391 * examples/hildon-pannable-area-touch-grid-example.c
392 * examples/hildon-pannable-area-touch-list-example.c: Fix
393 compilation warnings.
395 2008-08-14 Alberto Garcia <agarcia@igalia.com>
397 * src/hildon-gtk.c (hildon_gtk_button_new)
398 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
399 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
400 images overriding the value of the "gtk-button-images" setting.
402 2008-08-14 Alberto Garcia <agarcia@igalia.com>
404 * src/hildon-check-button.c (hildon_check_button_new):
405 Instead of using a custom container, display the label and the
406 checkbox using the standard GtkButton API.
408 * examples/hildon-check-button-example.c (main): Don't use
409 hildon_check_button_set_label() anymore
411 * src/hildon-check-button.h
412 * src/hildon-check-button.c
413 (hildon_check_button_set_label, hildon_check_button_get_label):
414 Set as deprecated, now we're using gtk_button_{get,set}_label()
416 2008-08-14 Alejandro G. Castro <alex@igalia.com>
418 * src/hildon-pannable-area.c,
419 (hildon_pannable_area_get_topmost): Fixed bug with click in the
420 GtkTreeview first line we detected it after the inclusion of the
421 GtkWindowImpl in gtk+. We now check if the window is visible, not
422 just if the pointer is over the window.
423 (hildon_pannable_axis_scroll),
424 (hildon_pannable_area_expose_event): Small style changes.
426 2008-08-13 Alberto Garcia <agarcia@igalia.com>
428 * src/hildon-button.c: Update documentation.
430 2008-08-13 Alberto Garcia <agarcia@igalia.com>
432 * examples/hildon-button-example.c: Add a switch to show images in
435 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
437 * doc/hildon-docs.sgml: Some docs reorganization.
439 2008-08-12 Alberto Garcia <agarcia@igalia.com>
441 * examples/hildon-pannable-area-touch-list-example.c
443 * examples/hildon-pannable-area-touch-grid-example.c
444 (create_icon_view): Use gtk_{tree,icon}_view_new() and
445 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
446 Fix memory leak when setting the tree model.
448 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
452 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
454 * doc/hildon.types: Remove duplicated hildon_window_get_type
455 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
456 documentation comment.
458 2008-08-12 Alberto Garcia <agarcia@igalia.com>
460 * doc/Makefile.am: Complete list of private headers.
462 2008-08-12 Alberto Garcia <agarcia@igalia.com>
464 * doc/hildon-docs.sgml
465 * src/hildon-app-menu.c
466 * src/hildon-bread-crumb.c
467 * src/hildon-button.c
469 * src/hildon-program.c
470 * src/hildon-stackable-window.c
471 * src/hildon-window.c: Lots of documentation updates.
473 2008-08-12 Alberto Garcia <agarcia@igalia.com>
475 * debian/control: Depend on Gtk 2:2.12.9-0osso3
477 * configure.ac: Require Gtk+ 2.12.9 at least
479 2008-08-12 Alejandro G. Castro <alex@igalia.com>
481 * src/hildon-pannable-area.c
482 (hildon_pannable_area_scroll_indicator_fade),
483 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
484 to protect the return of this timeout callbacks, avoiding deadlocks.
486 2008-08-12 Christian Dywan <christian@imendio.com>
489 * src/hildon-*.h: Ensure a consistent include order,
490 include <gtk/gtk.h> instead of particular files and
491 only include the topmost header in the gtk stack. See NB #39857
493 2008-08-12 Christian Dywan <christian@imendio.com>
495 * src/hildon-picker-dialog.c
496 * src/hildon-touch-selector.c: Fix warnings about unused and
497 uninitialized variables.
499 2008-08-11 Alberto Garcia <agarcia@igalia.com>
501 * examples/Makefile.am
502 * examples/hildon-check-button-example.c: Example of the hildon
505 2008-08-11 Alberto Garcia <agarcia@igalia.com>
507 * src/hildon-window.h
508 * src/hildon-window.c (hildon_window_class_init)
509 (hildon_window_unset_program): Don't make
510 hildon_window_unset_program a virtual function anymore.
512 * src/hildon-stackable-window.c: Update documentation
514 2008-08-11 Alberto Garcia <agarcia@igalia.com>
517 * doc/hildon-docs.sgml
518 * doc/visual_index.xml
519 * src/hildon-defines.c
521 * src/hildon-helper.c
522 * src/hildon-range-editor.c: Lots of documentation fixes.
524 2008-08-11 Alberto Garcia <agarcia@igalia.com>
526 * examples/hildon-picker-button-multicolumn-example.c
527 (create_touch_selector): Fix compilation warning.
529 2008-08-11 Alberto Garcia <agarcia@igalia.com>
531 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
532 (hildon_pannable_area_button_release_cb)
533 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
535 2008-08-11 Alberto Garcia <agarcia@igalia.com>
537 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
540 2008-08-11 Alberto Garcia <agarcia@igalia.com>
542 * src/hildon-bread-crumb-trail.h
543 * src/hildon-date-editor.c
544 * src/hildon-date-selector.c
545 * src/hildon-pannable-area.c
546 * src/hildon-picker-dialog.c
547 * src/hildon-time-selector.c
548 * src/hildon-touch-selector-entry.c
549 * src/hildon-touch-selector.c
550 * src/hildon-touch-selector.h: Misc documentation fixes
552 2008-08-11 Alberto Garcia <agarcia@igalia.com>
554 * examples/hildon-date-editor-example.c (main): Updated date
557 * examples/hildon-note-example.c (on_confirmation_clicked):
558 Updated confirmation note example.
560 * src/hildon-date-editor.c
561 * src/hildon-note.c: Updated sample programs in documentation.
564 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
566 * src/hildon-date-button.h:
567 * src/hildon-picker-button.h:
568 * src/hildon-time-button.c:
569 * src/hildon-time-button.h:
571 Some declarations changes to allow gtk-doc to document the widgets
574 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
576 * src/hildon-date-button.c: Document the widget.
577 * src/hildon-time-button.c: Document the widget.
579 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
581 * src/hildon-picker-button.c: Document the widget.
582 * src/hildon-touch-selector-entry.c: Document the widget.
584 2008-08-08 Alberto Garcia <agarcia@igalia.com>
586 * doc/hildon-docs.sgml
589 * src/hildon-check-button.h
590 * src/hildon-check-button.c: New functions to create the Hildon
594 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
596 2008-08-08 Alberto Garcia <agarcia@igalia.com>
598 * src/hildon-button.h
599 * src/hildon-button.c
600 (hildon_button_add_title_size_group)
601 (hildon_button_add_value_size_group)
602 (hildon_button_add_image_size_group)
603 (hildon_button_add_size_groups): New functions to set size groups
604 for the button labels and image.
605 (hildon_button_new_full): Removed
607 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
609 * src/hildon-time-selector.c
610 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
611 in order to avoid a crash if gconf is not available
613 2008-08-08 Alberto Garcia <agarcia@igalia.com>
615 * src/hildon-button.c (hildon_button_set_arrangement)
616 (hildon_button_construct_child): Don't construct the button child
617 before setting the arrangement.
619 2008-08-08 Alberto Garcia <agarcia@igalia.com>
621 * src/hildon-program-private.h
622 * src/hildon-program.c
623 * src/hildon-program.h
624 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
625 (hildon_program_peek_window_stack)
626 (hildon_program_pop_window_stack)
627 (hildon_program_go_to_root_window): HildonProgram now has a
628 separate list for stackable windows. Functions are provided to
629 manage that list with a stack-like API.
631 * src/hildon-stackable-window.c: Stackable window management is
632 now much simpler with the new HildonProgram API. Windows no
633 longer need to be manually added to the program, they're
634 automatically pushed to the top of the stack when shown.
636 * examples/hildon-stackable-window-example.c: Updated example to
637 reflect the API changes.
639 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
641 * src/hildon-touch-selector.c: Comment out unimplemented
642 hildon_touch_selector_insert_column() to avoid a compile warning.
644 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
646 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
647 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
648 (hildon_touch_selector_set_column_selection_mode),
649 (_hildon_touch_selector_set_model),
650 (hildon_touch_selector_set_model):
652 Complete review of HildonTouchSelector documentation.
654 2008-08-08 Alberto Garcia <agarcia@igalia.com>
656 * doc/hildon-docs.sgml
660 * src/hildon-gtk.c: Convenience functions for standard Gtk
661 widgets, used to easily perform frequent operations.
663 * src/hildon-button-helpers.h
664 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
666 * src/hildon-helper.h
667 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
668 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
670 * src/hildon-button.h
671 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
673 2008-08-07 Alberto Garcia <agarcia@igalia.com>
675 * src/hildon-button.c (hildon_button_init)
676 (hildon_button_set_arrangement, hildon_button_construct_child):
677 Pack the image and the labels inside the same GtkAlignment so
678 gtk_button_set_alignment() can be used
680 2008-08-07 Alberto Garcia <agarcia@igalia.com>
682 * src/hildon-button.h
683 * src/hildon-button.c
684 (hildon_button_init, hildon_button_set_image)
685 (hildon_button_set_image_position)
686 (hildon_button_construct_child): New functions to add an image to
689 2008-08-07 Alberto Garcia <agarcia@igalia.com>
691 * src/hildon-date-button.c
692 * src/hildon-picker-button.c
693 * src/hildon-time-button.c
694 * src/hildon-button.c:
695 (hildon_button_class_init): "size-flags" renamed to "size"
696 (hildon_button_set_title): Hide the title label if set to NULL.
698 2008-08-07 Alberto Garcia <agarcia@igalia.com>
700 HildonButtonFlags split into HildonButtonArrangement (to set the
701 button layout) and HildonSizeType (which can be used for any
704 * src/hildon-button.h
705 * src/hildon-button.c
706 (hildon_button_class_init)
707 (hildon_button_set_arrangement)
708 (hildon_button_set_property): New "size-flags"
709 property. "arrangement-flags" renamed to "arrangement".
710 (hildon_button_new, hildon_button_new_with_text)
711 (hildon_button_new_full): Constructors updated to reflect type changes.
713 * src/hildon-helper.h
714 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
715 to set the size of a widget.
719 * src/hildon-button-helpers.c
720 * src/hildon-button-helpers.h: New hildon-button-helpers module.
722 * src/hildon-date-button.c
723 * src/hildon-date-button.h
724 * src/hildon-picker-button.c
725 * src/hildon-picker-button.h
726 * src/hildon-time-button.c
727 * src/hildon-time-button.h: Updated widgets to reflect
728 HildonButton API changes.
730 * examples/hildon-button-example.c
731 * examples/hildon-date-button-example.c
732 * examples/hildon-picker-button-example.c
733 * examples/hildon-picker-button-multicolumn-example.c
734 * examples/hildon-time-button-example.c
735 * examples/hildon-touch-selector-entry-example.c
736 * examples/hildon-touch-selector-example.c: Updated examples to
737 reflect HildonButton API changes.
739 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
741 * doc/hildon-docs.sgml:
743 * examples/Makefile.am:
744 * examples/hildon-touch-selector-entry-example.c:
746 * src/hildon-touch-selector-entry.c:
747 * src/hildon-touch-selector-entry.h:
750 Moved HildonTouchSelectorEntry from sandbox. Added its
751 documentation and examples.
753 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
755 * src/hildon-touch-selector.h:
756 * examples/hildon-picker-button-multicolumn-example.c:
757 (hildon_touch_selector_append_text_column): Add a gboolean
758 parameter to determine if text must be centered in the column.
760 * src/hildon-date-selector.c: (hildon_date_selector_init):
761 * src/hildon-time-selector.c: (hildon_time_selector_init):
762 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
763 (create_touch_selector): Update widgets and example to reflect
766 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
768 * src/hildon-touch-selector.c:
769 (hildon_touch_selector_set_active_iter): Set also the cursor in
772 2008-08-06 Alberto Garcia <agarcia@igalia.com>
774 * doc/hildon-docs.sgml
777 * src/hildon-toggle-button.c
778 * src/hildon-toggle-button.h
779 * src/hildon.h: Removed HildonToggleButton widget, a derived
780 class is not necessary for this.
782 2008-08-06 Alejandro G. Castro <alex@igalia.com>
784 * src/hildon-pannable-area.c,
785 (hildon_pannable_area_realize),
786 (hildon_pannable_area_size_allocate): Code refactoring, add tests
789 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
791 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
792 "done" button the default widget for the dialog.
794 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
796 * src/hildon-touch-selector.c:
797 (hildon_touch_selector_class_init),
798 (hildon_touch_selector_get_property),
799 (_hildon_touch_selector_set_model),
800 (_hildon_touch_selector_has_multiple_selection),
801 (hildon_touch_selector_has_multiple_selection):
802 Add a "has-multiple-selection" property with a virtual
803 has_multiple_selection() method to allow derived classes to
804 override the default value for it. See the method and property
805 documentation for details.
807 * src/hildon-touch-selector.h: Add the new API.
809 * src/hildon-picker-dialog.c: (requires_done_button): Call
810 hildon_touch_selector_has_multiple_selection() instead of
811 determining the need for a button itself.
813 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
815 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
816 (_hildon_touch_selector_set_model),
817 (hildon_touch_selector_set_model): Move working code to
818 _hildon_touch_selector_set_mode(). Call the class method instead.
820 * src/hildon-touch-selector.h: Add (*set_model) to
821 HildonTouchSelectorClass.
823 Make hildon_touch_selector_set_model() a virtual method, so that
824 derived classes can extend it and do fancy stuff with the model.
826 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
828 * configure.ac: Set back the tarname in AC_INIT to hildon.
830 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
834 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
835 instead of libesd (NB#86876). Volume handling is still an open issue.
837 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
840 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
842 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
843 (hildon_touch_selector_append_column): Make the widget a GtkVBox
844 derived class to ease placement of an entry widget in
845 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
846 end, where the selector columns are packed now.
848 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
850 * src/hildon-picker-button.c: Removed the simple _text() API.
851 * src/hildon-picker-button.h: Likewise.
853 * src/hildon-touch-selector.h:
854 * src/hildon-touch-selector.c:
855 (hildon_touch_selector_new_text),
856 (hildon_touch_selector_append_text),
857 (hildon_touch_selector_prepend_text),
858 (hildon_touch_selector_insert_text):
860 Moved the simple _text() API from HildonPickerButton to
861 HildonTouchPicker, to provide better escalability and not to tie
862 that API to HildonPickerButton.
864 * examples/hildon-picker-button-example.c: (main): Example updated.
866 2008-07-31 Alberto Garcia <agarcia@igalia.com>
868 * src/hildon-button.c: Updated documentation.
870 * examples/hildon-button-example.c: Add the posibility to create
871 the buttons using horizontal layout for title and value.
873 2008-07-31 Alberto Garcia <agarcia@igalia.com>
875 * src/hildon-app-menu-private.h
876 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
877 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
878 GtkSizeGroup for the filters, use the 'homogeneous' property of
881 2008-07-31 Alberto Garcia <agarcia@igalia.com>
883 * examples/hildon-button-example.c: Updated example.
885 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
887 * doc/hildon-docs.sgml:
890 Update documentation.
892 * examples/Makefile.am: Update renamed examples.
894 * examples/hildon-picker-button-multicolumn-example.c:
895 (create_touch_selector), (main): Update after the rename.
897 * examples/hildon-touch-picker-example.c: Removed.
898 * examples/hildon-touch-selector-example.c: (value_changed),
899 (create_selector), (get_visible_content), (main): Renamed from
900 hildon-touch-picker-example.c
902 * src/Makefile.am: Updated renamed files.
904 * src/hildon-date-button.c: (hildon_date_button_init),
905 (hildon_date_button_get_date), (hildon_date_button_set_date):
906 * src/hildon-date-selector.c: (hildon_date_selector_init),
907 (_custom_print_func), (_update_day_model),
908 (_manage_selector_change_cb),
909 (hildon_date_selector_select_current_date),
910 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
911 * src/hildon-date-selector.h:
912 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
913 (hildon_picker_button_set_property),
914 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
915 (hildon_picker_button_init), (hildon_picker_button_new_text),
916 (hildon_picker_button_append_text),
917 (hildon_picker_button_prepend_text),
918 (hildon_picker_button_insert_text),
919 (hildon_picker_button_set_selector),
920 (hildon_picker_button_get_selector):
921 * src/hildon-picker-button.h:
922 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
923 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
924 (_update_title_on_selector_changed_cb), (requires_done_button),
925 (_hildon_picker_dialog_set_selector),
926 (hildon_picker_dialog_set_selector),
927 (hildon_picker_dialog_get_selector):
928 * src/hildon-picker-dialog.h:
929 * src/hildon-time-button.c: (hildon_time_button_init),
930 (hildon_time_button_get_time), (hildon_time_button_set_time):
931 * src/hildon-time-selector.c: (hildon_time_selector_init),
932 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
933 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
934 * src/hildon-time-selector.h:
937 Massive code updates after the rename.
939 * src/hildon-touch-picker.c: Removed.
940 * src/hildon-touch-picker.h: Removed.
942 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
943 (hildon_touch_selector_init), (hildon_touch_selector_map),
944 (hildon_touch_selector_remove), (_default_print_func),
945 (_selection_changed_cb), (_create_new_column),
946 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
947 (hildon_touch_selector_append_text_column),
948 (hildon_touch_selector_remove_column),
949 (hildon_touch_selector_set_column_attributes),
950 (hildon_touch_selector_insert_column),
951 (hildon_touch_selector_get_num_columns),
952 (hildon_touch_selector_get_column_selection_mode),
953 (hildon_touch_selector_set_column_selection_mode),
954 (hildon_touch_selector_set_print_func),
955 (hildon_touch_selector_get_print_func),
956 (hildon_touch_selector_get_active_iter),
957 (hildon_touch_selector_set_active_iter),
958 (hildon_touch_selector_get_selected_rows),
959 (hildon_touch_selector_get_model),
960 (hildon_touch_selector_set_model),
961 (hildon_touch_selector_get_current_text),
962 (_hildon_touch_selector_center_on_selected_items):
963 * src/hildon-touch-selector.h: Renamed from
964 hildon-touch-picker.[ch]
966 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
967 references, code examples, and related documentation.
969 2008-07-30 Alberto Garcia <agarcia@igalia.com>
971 * doc/hildon-docs.sgml
974 * src/hildon-toggle-button.c
975 * src/hildon-toggle-button.h
976 * src/hildon.h: New HildonToggleButton widget.
978 2008-07-30 Alberto Garcia <agarcia@igalia.com>
980 * src/hildon-button.c: Add API documentation.
981 (hildon_button_set_size_groups): Check input parameters
983 2008-07-30 Alejandro G. Castro <alex@igalia.com>
985 * src/hildon-pannable-area.c
986 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
987 effect after reaching the movement thredshold. This way we start
988 using the distance after passing the thredshold.
990 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
992 * src/hildon-button.c: (hildon_button_set_property): Use the
993 appropriate g_value_get_flags() method.
995 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
997 * doc/hildon-docs.sgml:
1000 Add the touch pickers, picker dialogs, and picker button widgets
1001 to the documentation.
1003 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
1005 * src/hildon-button.c: (hildon_button_set_property),
1006 (hildon_button_class_init): Make "arrangement-flags" a proper
1007 G_TYPE_FLAGS derived property.
1009 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
1011 * examples/Makefile.am: Add below examples.
1012 * examples/hildon-date-button-example.c:
1013 * examples/hildon-picker-button-example.c:
1014 * examples/hildon-picker-button-multicolumn-example.c:
1015 * examples/hildon-time-button-example.c:
1016 * examples/hildon-touch-picker-example.c:
1018 Add examples for the recently added touch pickers,
1019 picker dialogs, and picker button widgets.
1021 2008-07-29 Alberto Garcia <agarcia@igalia.com>
1023 * src/hildon-button.c: Add some API documentation
1025 2008-07-29 Alberto Garcia <agarcia@igalia.com>
1027 * src/hildon-button.h
1028 * src/hildon-button.c
1030 (hildon_button_new_with_text): New constructor to create a button
1031 with no text at all.
1032 (hildon_button_init, hildon_button_set_arrangement)
1033 (hildon_button_set_title, hildon_button_set_value)
1034 (hildon_button_set_text)
1035 (hildon_button_construct_child): Hide the value when it's not used
1036 so the rest of the text is properly aligned.
1037 Allow creating buttons with arbitrary widgets inside (not just
1038 title/value labels).
1040 * examples/hildon-button-example.c (vertical_buttons_window)
1041 (horizontal_buttons_window): Update example to use new API.
1043 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
1045 * src/Makefile.am: Added HildonTimeButton.
1046 * src/hildon-time-button.c: Added missing LGPL header.
1047 * src/hildon-time-button.h: Added missing LGPL header.
1048 * src/hildon.h: Add hildon-time-button.h
1050 Copied HildonTimeButton from sandbox to trunk. Future work on this
1051 widget must take place in trunk.
1053 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
1055 * src/Makefile.am: Added HildonDateButton.
1056 * src/hildon-date-button.c: Update includes.
1057 * src/hildon.h: Add hildon-date-button.h
1059 Copied HildonDateButton from sandbox to trunk. Future work on this
1060 widget must take place in trunk.
1062 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
1064 * src/Makefile.am: Added HildonPickerButton.
1065 * src/hildon-picker-button.h: Update includes.
1066 * src/hildon.h: Add hildon-picker-button.h
1068 Copied HildonPickerButton from sandbox to trunk. Future work on
1069 this widget must take place in trunk.
1071 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
1073 * src/Makefile.am: Added HildonPickerDialog.
1074 * src/hildon-picker-dialog.c: Update includes.
1075 * src/hildon.h: Add hildon-picker-dialog.h
1077 Copied HildonPickerDialog from sandbox to trunk. Future work
1078 on this widget must take place in trunk.
1080 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
1082 * src/Makefile.am: Added HildonTimeSelector.
1083 * src/hildon.h: Add hildon-time-selector.h
1085 Copied HildonTimeSelector widget from sandbox to trunk. Future
1086 work on this widget must happen in trunk.
1088 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
1090 * src/Makefile.am: Added HildonDateSelector.
1091 * src/hildon.h: Add hildon-date-selector.h
1093 Copied HildonDateSelector widget from sandbox to trunk. Future
1094 work on this widget must happen in trunk.
1096 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
1098 * src/Makefile.am: Added HildonTouchPicker.
1099 * src/hildon-touch-picker.c: Update includes.
1100 * src/hildon.h: Add hildon-touch-picker.h
1102 Copied HildonTouchPicker widget from sandbox to trunk. Future work
1103 on this widget must happen in trunk.
1105 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
1107 * src/hildon-pannable-area.c:
1108 (hildon_pannable_area_motion_notify_cb): Fix a typo.
1110 2008-07-29 Alberto Garcia <agarcia@igalia.com>
1112 * examples/hildon-app-menu-example.c (main): Let the window
1115 2008-07-29 Alejandro G. Castro <alex@igalia.com>
1117 * src/hildon-pannable-area.c
1118 (hildon_pannable_area_class_init): Set the min value of the
1119 overshoot properties to zero, which points out that not
1120 overshooting allowed.
1122 2008-07-29 Alejandro G. Castro <alex@igalia.com>
1124 Modified the procedure to get the widget at a point inside the
1125 pannable area when using the movement type signals. Now the user
1126 has to call a function to get the child, that way we just
1127 calculate the child in case the user really want to use it and not
1130 * src/hildon-marshalers.list: Modified the marshallers, now we do
1131 not have the widget as a parameter.
1133 * src/hildon-pannable-area.c
1134 (hildon_pannable_area_motion_notify_cb),
1135 (hildon_pannable_area_class_init),
1136 (hildon_pannable_get_child_widget_at): Removed the widget
1137 parameter from the signal callback. We have also refactored the
1138 emission of the signals.
1140 * src/hildon-pannable-area.h: Added a new method to the API to
1141 calculate a widget at a point inside the pannable area,
1142 hildon_pannable_get_child_widget_at.
1144 * examples/hildon-pannable-area-example-4.c
1145 (horizontal_movement): Modified the example to use the new API,
1146 added condition to control which widget is under the event. This
1147 way we can avoid scrolling laterally over other widgets.
1149 2008-07-29 Alejandro G. Castro <alex@igalia.com>
1151 * src/hildon-pannable-area.c
1152 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
1153 modes, we stop getting the pointer events due to returning the
1154 callback without properly calling the get pointer again. Fixed
1155 also an error using the hscroll and vscroll.
1157 2008-07-28 Alberto Garcia <agarcia@igalia.com>
1159 * src/hildon-app-menu-private.h
1160 * src/hildon-app-menu.c (hildon_app_menu_button_press)
1161 (hildon_app_menu_button_release, hildon_app_menu_init)
1162 (hildon_app_menu_class_init): Don't hide the menu on button
1163 release if the user didn't press outside first.
1165 * src/hildon-window.h
1166 * src/hildon-window.c (hildon_window_toggle_menu)
1167 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
1168 hildon_window_toggle_menu a virtual function for the stackable
1169 window to override it.
1171 * src/hildon-stackable-window.h
1172 * src/hildon-stackable-window-private.h
1173 * src/hildon-stackable-window.c
1174 (hildon_stackable_window_realize)
1175 (hildon_stackable_window_finalize)
1176 (hildon_stackable_window_class_init)
1177 (hildon_stackable_window_init)
1178 (hildon_stackable_window_set_main_menu): New function to set the
1179 app menu of a HildonStackableWindow.
1181 * examples/hildon-app-menu-example.c: Remove the button to show
1182 the app menu, now it'll be shown when clicking on the title bar
1185 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
1187 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
1188 set the widget name if the arrangement flags do not specify
1191 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
1193 * src/hildon-button.c: (hildon_button_set_property),
1194 (hildon_button_class_init), (hildon_button_new_full),
1195 (hildon_button_set_arrangement): Added "arrangement-flags"
1198 Make the HildonButtonFlags a construction-only property, to allow
1199 subclasses to set them properly.
1201 2008-07-21 Tim Janik <timj@imendio.com>
1203 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
1204 insertion position after backspace, so additional digits are appended,
1207 2008-07-17 Alejandro G. Castro <alex@igalia.com>
1209 * src/hildon-pannable-area.c,
1210 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
1211 TODO list, it was complete and removed the g_debug and g_print
1214 2008-07-17 Alejandro G. Castro <alex@igalia.com>
1216 Added the movement modes to the hildon-pannable-area, with this
1217 modes the developers can control in which directions the widget
1218 can scroll. They can also connect to signals in order to do
1219 something when that happens, allowing applications scroll. There
1220 is an example uploaded showing how to use it.
1222 * examples/Makefile.am:
1223 * examples/hildon-pannable-area-example-4.c: Added this example of
1224 an application using the modes.
1226 * src/hildon-marshalers.list: Added a new marshaller for the new
1229 * src/hildon-pannable-area.h: Added new enumerations and flags in
1230 order to control the movement modes and the new signals to warn
1231 about the movements in the area.
1233 * src/hildon-pannable-area.c:
1234 (hildon_pannable_axis_scroll),
1235 (hildon_pannable_area_scroll),
1236 (hildon_pannable_area_motion_notify_cb),
1237 (hildon_pannable_area_get_property),
1238 (hildon_pannable_area_set_property),
1239 (hildon_pannable_area_map),
1240 (hildon_pannable_area_class_init),
1241 (hildon_pannable_area_init),
1242 (hildon_pannable_area_jump_to): Added the modes to control the
1243 movement in the widget. We have added properties to control it,
1244 signals to warn about the movements and refactored some code.
1246 2008-07-15 Alejandro G. Castro <alex@igalia.com>
1248 Changes required in order to allow vfast_factor set to zero to
1251 * src/hildon-pannable-area.c:
1252 (hildon_pannable_area_button_press_cb): Changed the condition, it
1253 is required for not allowing click when vfast_factor is zero.
1254 (hildon_pannable_area_timeout): Initialized velocity variables
1255 when we stop moving, it was less than 1 but not zero and we need
1256 to check zero in some situations.
1257 (hildon_pannable_area_class_init): Changed the default value of
1258 the speed factor, now the button_press is just sent in case the
1259 speed is 2 per cent of the max speed.
1260 (hildon_pannable_area_init): Initialization with 0.
1262 2008-07-04 Alejandro G. Castro <alex@igalia.com>
1264 * src/hildon-pannable-area.c,
1265 (hildon_pannable_area_get_topmost): replaced
1266 gdk_window_get_children with gdk_window_peek_children, this way we
1267 do not have to free the list because it is not a copy.
1269 (hildon_pannable_axis_scroll),
1270 (hildon_pannable_area_scroll),
1271 (hildon_pannable_area_timeout),
1272 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
1273 two parameters that were only used inside the
1274 hildon_pannable_area_scroll function.
1276 * examples/hildon-pannable-area-example.c,
1277 (get_sawtooth_label): Fixed small memory leak.
1279 2008-07-03 Alejandro G. Castro <alex@igalia.com>
1281 More checks for the case where the overshoot is bigger than the
1284 * src/hildon-pannable-area.c:
1285 (hildon_pannable_draw_vscroll),
1286 (hildon_pannable_draw_hscroll): with this new calculation we avoid
1287 to draw the slider of the scrollbar under the other scrollbar.
1288 (hildon_pannable_area_expose_event): added new checks to control
1289 the drawing of the overshooting area rectangle, in case it is too
1290 big for the area of the widget.
1291 (hildon_pannable_area_size_allocate): add more checks to avoid
1292 setting a position to the child widget outside the area.
1294 2008-07-03 Alejandro G. Castro <alex@igalia.com>
1296 * src/hildon-pannable-area.c
1297 (hildon_pannable_area_size_allocate): Added conditions to control
1298 when overshooting is bigger than the allocated space for the
1299 children, this avoids negative allocations.
1301 2008-07-02 Alberto Garcia <agarcia@igalia.com>
1303 * doc/hildon-docs.sgml
1305 * examples/Makefile.am
1306 * examples/hildon-button-example.c
1308 * src/hildon-button.c
1309 * src/hildon-button.h
1310 * src/hildon.h: Initial version of the new HildonButton widget,
1313 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
1315 * src/hildon-pannable-area.c:
1316 (hildon_pannable_area_button_press_cb),
1317 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
1318 (hildon_pannable_area_motion_notify_cb),
1319 (hildon_pannable_area_button_release_cb),
1320 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
1321 (hildon_pannable_area_jump_to_child):
1323 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
1325 2008-07-01 Alberto Garcia <agarcia@igalia.com>
1327 * examples/Makefile.am
1328 * examples/hildon-pannable-area-touch-grid-example.c
1329 * examples/hildon-pannable-area-touch-list-example.c: Examples of
1330 the Hildon Touch List and Hildon Touch Grid using the
1331 HildonPannableArea widget.
1333 2008-06-27 Alejandro G. Castro <alex@ig\alia.com>
1335 * src/hildon-pannable-area.c,
1336 (hildon_pannable_area_button_press_cb),
1337 (hildon_pannable_area_refresh),
1338 (hildon_pannable_area_scroll),
1339 (hildon_pannable_area_motion_notify_cb),
1340 (hildon_pannable_area_button_release_cb),
1341 (hildon_pannable_area_expose_event),
1342 (hildon_pannable_area_add),
1343 (hildon_pannable_area_remove),
1344 (hildon_pannable_area_realize),
1345 (hildon_pannable_area_size_allocate),
1346 (hildon_pannable_area_class_init),
1347 (hildon_pannable_area_init),
1348 (hildon_pannable_area_scroll_to_child),
1349 (hildon_pannable_area_jump_to_child): Fixed the problem of
1350 removing the child from the GtkBin, we have rearranged the widget
1351 hierarchy, now there is no GtkAlignment which was not doing
1352 anything interesting but breaking some of the assumptions of
1353 GtkContainer. Now developers if they want to add a GtkAlignment
1354 they could, but it is not inside the area.
1356 We had to review the whole allocation/expose process, now it is
1357 improved and we save at least three signals which would be saving
1358 some time when rendering the widget. The allocation of the
1359 scrollbars is now made in the allocate method as usual.
1361 We have also added some conditions in order to control when there
1362 is no child of the pannable area. Maybe we will need more work
1365 2008-06-27 Alejandro G. Castro <alex@ig\alia.com>
1367 * src/hildon-pannable-area.c,
1368 (hildon_pannable_area_dispose): Released the fade-out timeout when
1369 disposing the widget.
1371 2008-06-27 Alejandro G. Castro <alex@ig\alia.com>
1373 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
1374 zero, we are going to use that property in order to deactivate the
1376 (hildon_pannable_axis_scroll),
1377 (hildon_pannable_area_size_allocate): Added conditions to control
1378 when overshoot_max is zero. Moved the gtk_adjustment_set_value
1379 call, now it is called in all situations and we can remove calls
1380 in the allocate method.
1381 (hildon_pannable_area_map): Control the situation when
1382 overshoot_max is zero, we do not need the timeout.
1383 (hildon_pannable_area_class_init): Added documentation in order to
1384 point out that setting zero to overshoot_max means deactivate
1387 NOTE: removed trailing whitespaces from my previous comments of
1390 2008-06-26 Claudio Saavedra <csaavedra@ig\alia.com>
1392 * src/hildon-pannable-area.c
1393 (hildon_pannable_area_get_property),
1394 (hildon_pannable_area_set_property),
1395 (hildon_pannable_area_map),
1396 (hildon_pannable_area_class_init),
1397 (hildon_pannable_area_init): Add a boolean "initial-hint" property
1398 to cause the widget give a hint about its panning abilities upon
1401 2008-06-26 Claudio Saavedra <csaavedra@ig\alia.com>
1403 * src/hildon-pannable-area.c: Several documentation improvements.
1405 2008-06-26 Alberto Garcia <agarcia@ig\alia.com>
1407 * src/hildon-program.c
1408 * src/hildon-stackable-window.c: Update documentation.
1410 2008-06-26 Alberto Garcia <agarcia@ig\alia.com>
1412 * src/hildon-stackable-window.c (get_previous_window_if_last):
1413 Renamed get_last_window()
1414 (hildon_stackable_window_map, hildon_stackable_window_unmap)
1415 (hildon_stackable_window_unset_program):
1417 (get_previous_window_if_last):
1418 Detect if the window hasn't been added to a HildonProgram.
1420 2008-06-26 Alejandro G. Castro <alex@ig\alia.com>
1422 contributed and reviewed by: Claudio Saavedra <csaavedra@ig\alia.com>
1424 * src/hildon-pannable-area.c
1425 (hildon_pannable_area_button_press_cb),
1426 (hildon_pannable_axis_scroll),
1427 (hildon_pannable_area_scroll),
1428 (hildon_pannable_area_timeout),
1429 (hildon_pannable_calculate_vel_factor),
1430 (hildon_pannable_area_get_property),
1431 (hildon_pannable_area_set_property),
1432 (hildon_pannable_area_class_init),
1433 (hildon_pannable_area_init),
1434 (hildon_pannable_area_scroll_to),
1435 (hildon_pannable_area_jump_to),
1436 (hildon_pannable_area_scroll_to_child),
1437 (hildon_pannable_area_jump_to_child):
1438 * src/hildon-pannable-area.h: Added the new API functions:
1439 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
1440 hildon_pannable_area_scroll_to_child,
1441 hildon_pannable_area_jump_to_child
1444 * examples/Makefile.am
1445 * examples/hildon-pannable-area-example-2.c
1446 * examples/hildon-pannable-area-example-3.c: Added these two new
1447 examples in order to test and show how the new APIs work.
1449 2008-06-25 Alberto Garcia <agarcia@ig\alia.com>
1451 * examples/hildon-stackable-window-example.c (new_window):
1452 * src/Makefile.am (noinst_HEADERS):
1453 * src/hildon-program.c (hildon_program_go_to_root_window):
1454 * src/hildon-program.h:
1455 * src/hildon-stackable-window-private.h:
1456 * src/hildon-stackable-window.c:
1457 * src/hildon-stackable-window.h:
1458 Create hildon-stackable-window-private.h
1459 Move hildon_stackable_window_go_to_root_window() to HildonProgram
1461 * examples/hildon-app-menu-example.c (create_menu):
1462 * examples/hildon-hvolumebar-insensitive-example.c (main):
1463 * examples/hildon-hvolumebar-timer-example.c (on_idle):
1464 * examples/hildon-toolbar-seekbar-example.c (main):
1465 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
1466 * src/hildon-banner.c (hildon_banner_set_property):
1467 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
1468 Fix compilation warnings
1470 * src/hildon-window.c:
1473 2008-06-24 Alberto Garcia <agarcia@ig\alia.com>
1475 * src/hildon-stackable-window.c
1476 (hildon_stackable_window_unset_program):
1477 Calculate correctly whether to show the previous window if the
1478 last one is removed from the stack.
1479 (hildon_stackable_window_go_to_root_window):
1480 Send delete events starting from the topmost window.
1481 Stop if one of the windows is not destroyed.
1483 (hildon_stackable_window_delete_event)
1484 (hildon_stackable_window_class_init):
1485 Ignore the delete event if the window is not the topmost one.
1487 2008-06-24 Alejandro G. Castro <alex@ig\alia.com>
1489 * src/hildon-pannable-area.c
1490 (hildon_pannable_area_expose_event): Fixed a problem when
1491 selecting the background color of the scrollbars.
1493 2008-06-23 Alberto Garcia <agarcia@ig\alia.com>
1495 * examples/hildon-stackable-window-example.c
1496 * src/hildon-stackable-window.c
1497 * src/hildon-stackable-window.h
1498 hildon_stackable_window_go_home() renamed to
1499 hildon_stackable_window_go_to_root_window()
1500 Send delete events to windows rather than closing them with
1501 gtk_widget_destroy()
1503 2008-06-19 Alberto Garcia <agarcia@ig\alia.com>
1505 * src/hildon-pannable-area.c
1506 (hildon_pannable_area_button_release_cb): Fix overshooting in
1509 2008-06-19 Claudio Saavedra <csaavedra@ig\alia.com>
1511 * src/hildon-pannable-area.c
1512 (hildon_pannable_area_init): Initially show the scroll indicators.
1513 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
1515 Add initial effect showing the widget is pannable.
1517 2008-06-19 Alberto Garcia <agarcia@ig\alia.com>
1519 * src/hildon-pannable-area.c
1520 (hildon_pannable_area_class_init)
1521 (hildon_pannable_area_set_property)
1522 (hildon_pannable_area_get_property)
1523 (hildon_pannable_area_button_press_cb):
1524 New 'velocity_fast_factor' property to decide which velocity is
1527 2008-06-19 Claudio Saavedra <csaavedra@ig\alia.com>
1529 * src/hildon-pannable-area.c
1530 (hildon_pannable_draw_hscroll)
1531 (hildon_pannable_draw_vscroll):
1532 Use float variables to calculate the size of the scrollbars to
1533 avoid error propagation and resizing during scrolling.
1535 2008-06-19 Alberto Garcia <agarcia@ig\alia.com>
1537 * src/hildon-pannable-area.c
1538 (hildon_pannable_draw_vscroll)
1539 (hildon_pannable_draw_hscroll):
1540 Define a minimum size for the scroll bars
1542 * src/hildon-stackable-window.c
1543 (hildon_stackable_window_go_home): Fix compilation warning
1544 (get_last_window): Minor optimizations
1545 (hildon_stackable_window_class_init): Fix initialization of
1548 2008-06-18 Alberto Garcia <agarcia@ig\alia.com>
1550 * src/hildon-stackable-window.c: Fixed typos in doc
1552 2008-06-18 Claudio Saavedra <csaavedra@ig\alia.com>
1554 * src/hildon-pannable-area.c
1555 (hildon_pannable_area_scroll):
1556 Calculate here whether we need to scroll instead of using the booleans
1557 that tell us whether to /draw/ the scrolling bars.
1559 2008-06-17 Claudio Saavedra <csaavedra@ig\alia.com>
1561 * src/hildon-app-menu.h
1563 * src/hildon-app-menu.c
1564 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
1565 multiple filter groups related code and API. Now we support only
1567 * examples/hildon-app-menu-example.c:
1569 Update to reflect API changes.
1571 2008-06-16 Claudio Saavedra <csaavedra@ig\alia.com>
1573 * src/hildon-stackable-window.c
1574 (hildon_stackable_window_class_init):
1575 Add hildon_stackable_window_realize.
1576 (hildon_stackable_window_realize):
1577 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
1578 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
1579 to apply theming and behavior specific to HildonStackableWindow
1582 2008-06-12 Alberto Garcia <agarcia@ig\alia.com>
1584 * src/hildon-note.c (hildon_note_button_release):
1585 Close information notes also when tapping on them
1587 2008-06-12 Alejandro G. Castro <alex@ig\alia.com>
1589 Added BOUNCE_STEPS define to control the overshoot effect. Removed
1590 ELASTICITY, refactor and review, fix some issues with drawing
1593 * src/hildon-pannable-area.c:
1594 (hildon_pannable_area_button_press_cb): removed the conditions to
1595 avoid clicks when overshooting. It is not required
1597 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
1598 define. Refatored and reviewed the code, now we do not need to
1599 manage velocity in motion_notify.
1601 (hildon_pannable_area_motion_notify_cb): We have moved the code
1602 that controls the area_scroll to the axis_scroll function and get
1603 rid of duplicated code.
1605 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
1607 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
1609 (hildon_pannable_draw_vscroll),
1610 (hildon_pannable_draw_hscroll): Fixed the problems with the
1611 scrollbar drawing, now we do not use two surfaces, it is easier
1612 and saves resources.
1614 (hildon_pannable_area_get_property): Style modification.
1616 (hildon_pannable_area_class_init): Changed some default values.
1618 2008-06-12 Claudio Saavedra <csaavedra@ig\alia.com>
1620 * src/hildon-stackable-window.c: Fix some typos in the
1623 2008-06-12 Alberto Garcia <agarcia@ig\alia.com>
1625 * src/hildon-dialog.c:
1626 Change indentation style
1629 (hildon_note_button_release):
1630 Use root coordinates to check if the release event happened
1633 * src/hildon-app-menu.c
1634 (hildon_app_menu_button_release):
1635 Remove unnecessary check
1637 * examples/hildon-app-menu-example.c
1639 Add cast to fix warning
1641 * src/hildon-app-menu.c
1642 (hildon_app_menu_class_init):
1643 New inner-border style property.
1644 Set all default spacings to 16
1645 (hildon_app_menu_init):
1646 Use vertical-spacing to set the space between filter buttons and
1647 regular menu buttons.
1648 Set the default container border using the inner-border value.
1650 * examples/hildon-app-menu-example.c
1652 Don't set the menu border explicitly, now we have the inner-border
1653 style property for that.
1655 2008-06-11 Alberto Garcia <agarcia@ig\alia.com>
1657 * src/hildon-app-menu.c (hildon_app_menu_init):
1658 Make the window modal
1660 * src/hildon-note.c (hildon_note_map)
1661 * src/hildon-app-menu.c (hildon_app_menu_map):
1662 Destroy the grab window if we're unable to grab the pointer
1664 * src/hildon-app-menu-private.h
1665 * src/hildon-app-menu.c
1666 (hildon_app_menu_init, hildon_app_menu_finalize)
1667 (hildon_app_menu_map, hildon_app_menu_unmap)
1668 (hildon_app_menu_button_release)
1669 (grab_transfer_window_get):
1670 Bring back the grab window
1671 (hildon_app_menu_realize):
1672 Decorate the window, set WM hint for Matchbox
1674 * src/hildon-note.c (hildon_note_realize):
1675 * src/hildon-banner.c (hildon_banner_realize):
1676 Add WM hints for Matchbox
1678 2008-06-10 Alberto Garcia <agarcia@ig\alia.com>
1680 * src/hildon-app-menu-private.h
1681 * src/hildon-app-menu.c
1682 (hildon_app_menu_init, hildon_app_menu_finalize)
1683 (hildon_app_menu_map, hildon_app_menu_unmap)
1684 (hildon_app_menu_button_release):
1685 Remove the grab window, it's not needed anymore
1687 * src/hildon-program.c
1688 Fixed typo in documentation
1690 * src/hildon-app-menu.h
1691 * src/hildon-app-menu.c
1692 * examples/hildon-app-menu-example.c
1693 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
1695 2008-06-09 Alberto Garcia <agarcia@ig\alia.com>
1698 Added new transfer_window and close_if_pressed_outside private
1700 (hildon_note_rebuild):
1701 Don't add a cancel button to the information note. It will be
1702 closed when tapping outside
1703 Remove the comment about the OK button in the documentation
1704 (hildon_note_realize):
1705 Set the notification type hint
1706 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
1707 Grab/ungrab pointer and keyboard if the note has to be closed when
1709 (hildon_note_button_release):
1710 Close the note when tapping outside (if applicable)
1712 * src/hildon-app-menu.c
1713 Grab/ungrab pointer and keyboard on map/unmap
1714 (hildon_app_menu_button_release, hildon_app_menu_class_init):
1715 Close the menu on button release, not button press
1717 * src/hildon-banner.c
1718 (hildon_banner_set_property)
1719 (hildon_banner_check_position):
1720 Make the banner use the full width of the screen
1721 (hildon_banner_show_information)
1722 (hildon_banner_show_information_with_markup):
1723 Don't display an icon by default
1725 2008-06-09 Alejandro G. Castro <alex@ig\alia.com>
1727 Added fading scrollbars and adapted all the overshooting code to
1728 horizontal scrolling. We have also fixed bugs with overshooting
1729 and current fading implementation.
1731 * src/hildon-pannable-area.c
1732 (hildon_pannable_area_scroll_indicator_fade): Time out function
1733 used to change the transparency of the scrollbars.
1735 (hildon_pannable_area_button_press_cb): Added horizontal overshot
1736 control and fixed a problem with fading, we now remove the fade
1737 timeout before adding a new one.
1739 (hildon_pannable_axis_scroll):
1740 (hildon_pannable_area_scroll):
1741 (hildon_pannable_area_timeout): Added this functions so we can use
1742 the scroll code both for vertical and horizontal.
1744 (hildon_pannable_area_motion_notify_cb):
1745 (hildon_pannable_area_button_release_cb): Added the horizontal
1746 scrolling control, fixed a problem with the overshooting timeout.
1748 (rgb_from_gdkcolor): Added this function, it is used in the cairo
1749 painting of the scrolls.
1751 (hildon_pannable_draw_vscroll):
1752 (hildon_pannable_draw_hscroll):
1753 (hildon_pannable_area_expose_event):
1754 Draw both scrollbars and rectangles in the overshooting area.
1756 (hildon_pannable_area_get_property):
1757 (hildon_pannable_area_set_property):
1758 Modified the overshoot property to overshoot_max
1760 (hildon_pannable_area_map):
1761 Replaced the comments symbols.
1763 (hildon_pannable_area_size_allocate):
1764 (hildon_pannable_area_class_init):
1765 (hildon_pannable_area_init): Added horizontal scroll, fading
1766 effect properties, fixed a problem when overshooting in the bottom
1769 * examples/hildon-pannable-area-example.c:
1770 (get_sawtooth_label): Now we use smaller sawtooths, the effect
1771 looks better in the example.
1773 2008-06-03 Alberto Garcia <agarcia@ig\alia.com>
1775 * src/hildon-window.c
1776 * src/hildon-window.h
1777 (hildon_window_class_init)
1778 (hildon_window_unset_program)
1779 (hildon_window_unset_program_real):
1780 Make unset_program a virtual function
1782 * src/hildon-stackable-window.c
1783 * src/hildon-stackable-window.h
1784 Added hildon_stackable_window_go_home()
1786 * examples/Makefile.am
1787 * examples/hildon-stackable-window-example.c
1788 HildonStackableWindow example
1790 2008-06-03 Alejandro G. Castro <alex@ig\alia.com>
1792 * hildon-pannable-area.c: Added the overshoot property and removed
1793 the OVERSHOOT define. Fixed an indent style error.
1794 (hildon_pannable_area_motion_notify_cb):
1795 (hildon_pannable_area_get_property):
1796 (hildon_pannable_area_set_property): Add overshoot property.
1798 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
1801 (hildon_pannable_area_class_init): Installed the new property.
1803 * hildon-pannable-area-example.c: Added a sawtooth function, this
1804 way it is easier to check the movement in the pannable.
1805 (get_sawtooth_label): Added this function.
1806 (main): Now we get the labels from the new get_sawtooth_label
1809 2008-05-26 Alberto Garcia <agarcia@ig\alia.com>
1811 * src/hildon-app-menu.h
1812 * src/hildon-app-menu.c
1813 Renamed API variables for consistency
1815 (hildon_app_menu_popup): Use also the default window size to
1816 decide where to place the menu
1818 (hildon_app_menu_init, hildon_app_menu_class_init): New
1819 external-border style property
1821 2008-05-26 Michael Natterer <mitch@imendio.com>
1823 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
1824 widget_class->tap_and_hold_setup signal slot doesn't exist any
1825 longer, stop overriding it.
1827 (hildon_time_editor_init): g_signal_connect() to the
1828 tap-and-hold-setup signal instead.
1830 (hildon_time_editor_entry_keypress): add cast to fix warning.
1832 2008-05-23 Alberto Garcia <agarcia@ig\alia.com>
1834 * doc/hildon-docs.sgml
1836 * examples/Makefile.am
1837 * examples/hildon-app-menu-example.c
1839 * src/hildon-app-menu-private.h
1840 * src/hildon-app-menu.c
1841 * src/hildon-app-menu.h
1843 New HildonAppMenu widget
1845 2008-05-21 Alejandro G. Castro <alex@ig\alia.com>
1847 Rearranged the inheritance of the pannable area, now it inherits
1848 from GtkBin. This will allow us to control the event_window and
1849 the allocation process of the widget, required for some effects.
1851 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
1852 GtkBin structures. * src/hildon-pannable-area.c: Added the
1853 event_window variable.
1854 (hildon_pannable_area_button_press_cb):
1855 (hildon_pannable_area_button_release_cb):
1856 (hildon_pannable_area_motion_notify_cb):
1857 Changed the signature of the method, now we override the event
1858 callback instead of connecting to the signal.
1860 (hildon_pannable_area_realize):
1861 (hildon_pannable_area_unrealize):
1862 (hildon_pannable_area_map):
1863 (hildon_pannable_area_unmap):
1864 (hildon_pannable_area_size_allocate):
1865 Added functions to control the widget construction. We add a
1866 INPUT_ONLY window and we put it over the widgets inside the
1867 container, this event_window handles the events.
1869 (hildon_pannable_area_class_init):
1870 Replaced the signal connections with overrides of the event
1873 2008-05-20 Alejandro G. Castro <alex@ig\alia.com>
1875 Bouncing effect added when touching the borders, you can change
1876 the elasticity of the border changing the ELASTICITY define.
1878 * src/hildon-pannable-area.c: Added ELASTICITY define.
1879 (hildon_pannable_area_timeout): Added inverse velocity when
1880 touching the border of the child widget, that causes a bounce.
1882 2008-05-20 Alejandro G. Castro <alex@ig\alia.com>
1884 Improved performance, we now do not go to the X server in order to
1885 get the list of window children. Apparently the effect is the
1886 same, we have to be careful and check if this breaks something in
1889 * src/hildon-pannable-area.c:
1890 (get_ordered_children): Removed this function.
1891 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
1892 the children windows function with gdk_window_get_children.
1894 2008-05-20 Alejandro G. Castro <alex@ig\alia.com>
1896 * src/hildon-pannable-area.c:
1897 (hildon_pannable_area_dispose): Fixed a crash when closing the
1898 window and kinetics is activated.
1900 2008-05-19 Alberto Garcia <agarcia@ig\alia.com>
1902 * src/hildon-pannable-area.h
1903 * src/hildon-pannable-area.c
1904 Changed indentation style to meet the one used in Hildon
1906 2008-05-19 Alejandro G. Castro <alex@ig\alia.com>
1908 Reviewed the interaction of the AUTO mode, now we use the time
1909 attribute of the events and calculate the velocity in the motion,
1910 doing a gimp like calculation. The velocity is calculated in each
1911 motion event using the last velocity and the current one, the
1912 SMOOTH_FACTOR controls the percentage of the new velocity we use.
1914 * src/hildon-pannable-area.c: Replaced the time based algorithm
1916 (hildon_pannable_area_motion_notify_cb): now we do not launch the
1917 timeout for the AUTO mode when we are still moving the cursor. We
1918 added also the velocity calculation in this function.
1919 (hildon_pannable_area_button_release_cb): launch the timeout in
1920 case we are in AUTO mode. There are still some constants here that
1921 come from the old implementation that should be reviewed and
1924 2008-05-15 Alberto Garcia <agarcia@ig\alia.com>
1926 * doc/hildon-docs.sgml
1929 * src/hildon-stackable-window.c
1930 * src/hildon-stackable-window.h
1932 New HildonStackableWindow widget
1934 * examples/hildon-dialog-example.c
1935 * examples/hildon-pannable-area-example.c
1938 2008-05-14 Alberto Garcia <agarcia@ig\alia.com>
1940 * src/hildon-dialog.c
1941 (hildon_dialog_new_with_buttons): New constructor.
1943 * examples/hildon-dialog-example.c
1944 (main): Update the example to use the new
1945 hildon_dialog_new_with_buttons().
1947 * examples/hildon-pannable-area-example.c
1948 (main): Update example.
1950 2008-05-13 Alberto Garcia <agarcia@ig\alia.com>
1952 * doc/hildon-docs.sgml
1954 Added HildonPannableArea to the documentation.
1956 2008-05-13 Victor Jaquez <vjaquez@ig\alia.com>
1958 * doc/visual_index.xml
1959 Fix reference to HildonLoginDialog in documentation
1961 * doc/hildon-docs.sgml
1963 * examples/Makefile.am
1964 * examples/hildon-dialog-example.c
1966 * src/hildon-dialog.c
1967 * src/hildon-dialog.h
1969 New HildonDialog widget.
1971 2008-05-09 Alberto Garcia <agarcia@ig\alia.com>
1973 * src/hildon-pannable-area.c
1974 Merge latest changes (r4318, r4342) from libmokoui trunk
1976 2008-05-09 Alberto Garcia <agarcia@ig\alia.com>
1978 * examples/Makefile.am
1979 * examples/hildon-pannable-area-example.c
1981 * src/hildon-pannable-area.c
1982 * src/hildon-pannable-area.h
1984 New HildonPannableArea widget.
1986 2008-04-15 18:05:19 <timj@imendio.com>
1988 * src/hildon-banner.c: revert the recent change, that introduced
1989 gtk_window_present() calls. this reopens:
1990 Bug 78481 - [freetest] information banners are hidden under browser menu
1991 But resolves another variant of:
1992 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
1994 2008-04-15 13:21:13 <timj@imendio.com>
1996 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
1997 recreated its layout, spotted by Kris. this fixes all remaining
1998 artefacts and stability issues with the banner code. in particular:
1999 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
2001 2008-04-14 16:52:59 <timj@imendio.com>
2003 * src/hildon-banner.c: guard force_to_wrap_truncated() against
2004 operating on unrealized widgets, fixes:
2005 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
2007 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
2009 2008-04-09 Kristian Rietveld <kris@imendio.com>
2011 Fixes: NB#77775: Media Player, Save Now playing list, too long name
2012 makes banner disappear.
2013 Fixes: NB#79182: info banner flickering with certain message lengts.
2015 * src/hildon-banner.c (hildon_banner_constructor),
2016 (hildon_banner_init), (hildon_banner_set_text),
2017 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
2018 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
2019 FALSE, reset size requests of label and banner,
2020 (force_to_wrap_truncated): when the text is too wide, always enforce
2021 the maximum possible width instead of recalculating it from the
2022 layout; enforce the maximum banner height of 3 lines,
2023 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
2024 nicer wrapping and no truncated chars if space gets tight.
2026 * src/hildon-banner-private.h: add has_been_wrapped and
2027 has_been_truncated fields.
2029 2008-04-07 Sven Herzberg <sven@imendio.com>
2031 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
2032 local values in hildon_date_editor_size_allocate
2034 * src/hildon-date-editor.c: moved the real allocation code into the
2037 2008-04-07 Sven Herzberg <sven@imendio.com>
2039 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
2040 local values in hildon_date_editor_size_allocate
2042 * src/hildon-date-editor.c: merged the two if() branches together
2044 2008-04-07 Sven Herzberg <sven@imendio.com>
2046 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
2047 local values in hildon_date_editor_size_allocate
2049 * src/hildon-date-editor.c: changed the arguments of the if()
2052 2008-04-07 Sven Herzberg <sven@imendio.com>
2054 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
2055 local values in hildon_date_editor_size_allocate
2057 * src/hildon-date-editor.c: split the calculation of the allocation
2058 from the real allocation
2060 2008-03-27 Michael Natterer <mitch@imendio.com>
2062 Fixes: NB#81696: The passcode is not overwritten even after
2065 * src/hildon-code-dialog.c
2066 (hildon_code_dialog_button_clicked)
2067 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
2068 because that doesn't overwrite selected text. Instead, emit the
2069 "commit" signal on the entry's im_context so the entry's normal
2070 insert logic is triggered. Set the cursor to the end of the entry
2071 after each insert operation so that we *only* insert in the middle
2072 of the text if something was selected.
2074 2008-03-27 Michael Natterer <mitch@imendio.com>
2076 Enable fixing: NB#79916 and NB#79918: The help topic for Color
2077 selector cannot be opened
2079 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
2080 when the popup color selector is created. Please connect to this
2081 signal in order to set the dialog's help ID.
2083 2008-03-25 Sven Herzberg <sven@imendio.com>
2085 Fixes: MB#1212: Hide info banners (infoprints) on click
2087 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
2088 extracted the close event simulation into an extra function
2089 (hildon_banner_button_press_event): simulate a close event and destroy
2090 the widget if the event wasn't handled
2091 (hildon_banner_class_init): added the button_press_event handler
2092 (hildon_banner_init): added button-press events to the widget
2094 2008-03-25 Sven Herzberg <sven@imendio.com>
2096 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
2097 Patch from: Mohammad Anwari <mdamt@maemo.org>
2099 * src/hildon-banner.c: let the HildonBanners pop up on the left side
2100 instead of the right in RTL mode
2101 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
2102 breadcrumb button list in RTL mode
2103 * src/hildon-caption.c: mirror the appearance of the caption widget in
2105 * src/hildon-date-editor.c: mirror appearance of the date editor in
2107 * src/hildon-time-editor.c: mirror appearance of the time editor in
2109 * src/hildon-window.c: fix the position of the popup in RTL mode
2111 2008-03-25 Sven Herzberg <sven@imendio.com>
2113 Amendment to the fix of NB#22072. Fix compilation.
2115 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
2117 2008-03-19 Sven Herzberg <sven@imendio.com>
2119 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
2122 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
2123 timeout id properly when the timeout will disappear this leaves no
2124 artifacts around in the destroy(); there will only be the timeout
2125 created by hildon_banner_ensure_timeout() and adding a new timeout
2126 will also work if the timeout gets removed because the timeout_handler
2129 2008-03-19 Michael Natterer <mitch@imendio.com>
2131 Fixes: NB#79791: Cannot set focus to Master volume using stylus
2133 * src/hildon-volumebar.c
2134 * src/hildon-vvolumebar.c
2135 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
2136 the widget becomes focussable at all.
2138 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
2139 set the focus to wither the mute button or the volumebar.
2141 Remove own "can-focus" property and instead listen to
2142 notify::can-focus in order to update the widget's state.
2144 Implement GtkWidget::focus() and make sure we can also *leave* the
2145 widget, not only enter it, depending on volumebar orientation and
2146 requested focus direction.
2148 Clean up set_mute() to cooperate nicely with all the above.
2150 2008-03-04 Michael Natterer <mitch@imendio.com>
2152 Fixes: NB#78481: information banners are hidden under browser menu
2154 * src/hildon-banner.c: call gtk_window_present() on the banners so
2155 they are risen if they are already visible.
2157 2008-03-03 Sven Herzberg <sven@imendio.com>
2159 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
2161 * examples/hildon-window-menu-example.c: (main): extended the window
2162 menu example to serve as a testcase for automatically added
2163 accelerator groups, too
2164 * src/hildon-window.c: (hildon_window_add_accel_group),
2165 (hildon_window_set_menu): added patch by Tommi Komulainen
2167 2008-03-03 Sven Herzberg <sven@imendio.com>
2169 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
2171 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
2172 knowledge about the border allocators used within GTK+
2174 2008-02-26 Sven Herzberg <sven@imendio.com>
2176 Fixes: MB#2981: Build with asserts broken
2178 * src/hildon-date-editor.c,
2179 * src/hildon-number-editor.c,
2180 * src/hildon-time-editor.c,
2181 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
2182 the proper GType instance check
2184 2008-02-25 Sven Herzberg <sven@imendio.com>
2186 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
2188 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
2189 * examples/hildon-window-menu-example.c: (main): explicitly show
2191 * src/hildon-window.c:
2192 (hildon_window_set_main_menu): moved most of the code from set_menu()
2193 to this place; skipped the call to gtk_widget_show_all(); also didn't
2194 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
2195 (hildon_window_set_menu): removed most of the code, just keep the
2196 questionable gtk_widget_show_all()
2197 * src/hildon-window.h: added the new function and deprecate the old
2200 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
2206 * debian/changelog: Updating.
2208 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
2211 * pkgconfig/Makefile.am:
2212 * pkgconfig/hildon.pc.in:
2215 Do not use PACKAGE_VERSION_MAJOR as the API revision,
2216 use newly created API_MAJOR_VERSION.
2218 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
2224 * debian/changelog: Updating.
2226 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
2228 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
2230 Add outer_border style property, we use it but don't define it (!).
2234 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
2236 * examples/hildon-bread-crumb-trail-example.c (main):
2240 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
2242 Fix logic for the bread crumb trail node removal.
2246 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2252 * debian/changelog: Updating.
2254 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2256 Patch by Alejandro to get/set passwords dialogs accesibility.
2258 * hildon-1/src/hildon-get-password-dialog.c:
2259 * hildon-1/src/hildon-set-password-dialog.c:
2260 Set atk_set_name to the passwd entries in order to allow
2261 accessibility by name on this entries.
2263 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2268 * debian/control: Updating gtk dep.
2270 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
2272 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
2273 USE_MAEMO_GTK is enabled.
2275 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
2277 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
2278 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
2280 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2286 * debian/changelog: Updating.
2288 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2290 * examples/Makefile.am:
2291 * examples/hildon-logical-color-example.c:
2292 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
2293 applied + adding a test case. Fixes: NB#71660.
2295 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
2297 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
2298 to be visible, fixes warning on map for windows without toolbars.
2300 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
2302 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
2303 2.11.0, add a check for that besides the MAEMO_GTK check.
2305 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2311 * debian/changelog: Updating.
2313 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2315 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
2316 visibility. Fixes: NB#70842 and MB#615.
2318 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
2320 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
2321 set the separator as no-show-all so it doesn't unintentionally appear when
2322 someone does a show_all.
2324 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
2326 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
2327 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
2328 toplevel item. Fixes: NB#62031
2330 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
2332 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
2333 fix the name of the function in the docs.
2335 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2341 * debian/changelog: Updating.
2343 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2345 * examples/hildon-banner-long-example.c: Adding a test-case for long
2348 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
2350 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2352 * src/hildon-color-chooser-dialog.c:
2353 * src/hildon-color-chooser.c:
2354 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
2355 memory leaks in font selector and color selector. Fixes: NB#70499 and
2358 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
2360 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
2362 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2364 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
2365 little bit bigger. Fixes: #NB63694.
2367 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2373 * debian/changelog: Updating.
2375 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2378 * doc/hildon-docs.sgml:
2379 * doc/images/bread-crumb-trail.png:
2380 * doc/images/calendar-popup.png:
2381 * doc/images/caption.png:
2382 * doc/images/code-dialog.png:
2383 * doc/images/color-button.png:
2384 * doc/images/color-chooser-dialog.png:
2385 * doc/images/color-chooser.png:
2386 * doc/images/controlbar.png:
2387 * doc/images/date-editor.png:
2388 * doc/images/font-selection-dialog.png:
2389 * doc/images/get-password-dialog.png:
2390 * doc/images/hvolumebar.png:
2391 * doc/images/login-dialog.png:
2392 * doc/images/note.png:
2393 * doc/images/number-editor.png:
2394 * doc/images/range-editor.png:
2395 * doc/images/seekbar.png:
2396 * doc/images/set-password-dialog.png:
2397 * doc/images/sort-dialog.png:
2398 * doc/images/time-editor.png:
2399 * doc/images/time-picker.png:
2400 * doc/images/vvolumebar.png:
2401 * doc/images/weekday-picker.png: Adding the new generated widget shots.
2402 Adding the bread-crumb-trial and helpers to the documentation.
2404 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2406 * examples/hildon-find-toolbar-example.c:
2407 * src/hildon-find-toolbar.c:
2408 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
2409 actually continue firing the other handlers if connected. Adding a new
2411 hildon_find_toolbar_get_last_index that gets the index of the most
2412 recently added (last) item. Fixes: NB#52301.
2414 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2416 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
2417 behaviour. Fixes: NB#68610.
2419 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2421 * src/hildon-banner.c: Actually reverting the previous change. It somehow
2424 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2426 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
2427 when realizing the banner. Should make the infonbanner effect a bit more
2430 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2432 * src/hildon-volumebar.c:
2433 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
2434 hildon_volumebar_set_range_insensitive_message and
2435 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
2437 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2439 * src/hildon-window.c: Fixing the border freeing on destroy.
2441 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2443 * src/hildon-code-dialog-private.h:
2444 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
2445 kw keyboard support in HildonCodeDialog.
2447 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2453 * debian/changelog: Updating.
2455 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2457 * src/hildon-date-editor.c:
2458 * src/hildon-number-editor.c:
2459 * src/hildon-private.c:
2460 * src/hildon-private.h:
2461 * src/hildon-time-editor.c:
2462 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
2463 handling in subclassed composite widgets. Fixes: NB#66628.
2465 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2467 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
2468 from destroy_ callback as it introduces problems in async dbus signal
2469 handlers. Fixes NB#66673.
2471 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2473 * examples/hildon-hvolumebar-example.c:
2474 * src/hildon-volumebar.c: Improving the focus handling in the
2475 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
2476 set_property accessor so that "mute" property can be actually set. I'm
2477 scared that nobody noticed it's totally broken.
2479 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2481 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
2484 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2486 * src/hildon-calendar.c:
2487 * src/hildon-number-editor.c:
2488 * src/hildon-time-picker.c: Changing the timeout repeat so that it
2489 matches the spec of 6 chars per second. Fixes: NB#60489.
2491 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2493 * src/hildon-helper.c: Really fixing NB#58352. Looks like
2494 gtk_style_lookup_color sometime returns FALSE even though color was
2495 found and values were filled properly. Weird. Removing the warning for the
2498 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2500 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
2501 expand vertically. Adding some extra space to the find toolbar buttons to
2502 make them thumbable. Fixes NB#66060.
2504 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2506 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
2507 popup with "Ok" and "Cancel". Fixes NB#59299.
2509 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2511 * src/hildon-calendar.c: Process all window updates before executing next
2512 timeout. Fixes: NB#54146.
2514 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2520 * debian/changelog: Updating.
2522 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
2524 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
2525 the client event and ignore it, since we use the delete event to close
2528 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2530 * src/hildon-helper.c: Remove the bogus warning about color not being
2531 found. Fixes NB#58352.
2533 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2535 * examples/Makefile.am:
2536 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
2537 HildonSeekbar widget inside a toolbar.
2539 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
2541 * src/hildon-banner.c (hildon_banner_init): mark the banners as
2542 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
2543 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
2544 don't want to be closed by non-temporary windows on map.
2546 Also use G_DEFINE_TYPE instead of manually typed code.
2548 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2555 * debian/rules: Updating.
2557 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2559 * examples/Makefile.am:
2560 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
2561 bug NB#61128. Strangely it works.
2563 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2565 * src/hildon-date-editor.c: When the date editor entry has been changed
2566 but the numbers of characters < max, turn off the skip validation flag.
2567 Prevents a situation when we enter first a valid year and later re-write
2568 it with an invalid one. Fixes NB#60154.
2570 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2572 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
2573 code dialog. Fixes NB#64355.
2575 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2577 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
2578 switching the page. Fixes NB#49374.
2580 * examples/Makefile.am:
2581 * examples/hildon-wizard-dialog-example.c: Adding an example for
2582 HildonWizardDialog that shows how to handle manual sensitivity setting on
2585 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2589 * src/hildon-version.h.in:
2590 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
2592 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2594 * src/hildon-volumebar.c: Updating the docs.
2596 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2602 * debian/changelog: Updating.
2604 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2606 * src/hildon-find-toolbar.c:
2607 * src/hildon-find-toolbar.h: Adding a few new functions to control the
2608 selected item: hildon_find_toolbar_set_active,
2609 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
2610 hildon_find_toolbar_get_active_iter . They correspond to respective
2611 GtkComboBox functions.
2613 * examples/Makefile.am:
2614 * examples/hildon-find-toolbar-example.c: Adding the example to test the
2617 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2619 * examples/Makefile.am:
2620 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
2623 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
2624 when font size > 32 and we pack a focusable widget inside. Actually using
2625 the default response would work too, but since we don't show default
2626 response state in any way (no theming) it would not be visible to the
2627 user. Fixes NB#63430.
2629 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2631 * src/hildon-date-editor.c: Adding the missing variable setter in the
2632 set_property handler. Fixes NB#54182.
2634 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2636 * src/hildon-window.h: Changing the long key press time from 1500ms to
2637 800ms as requested in NB#63700. I have a bad feeling about this, let's
2638 see... Fixes NB#63700.
2640 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
2642 * src/hildon-time-picker.c (hildon_time_picker_class_init,
2643 hildon_time_picker_map, hildon_time_picker_realize,
2644 hildon_time_picker_style_set): Split the contents of map to more
2645 appropriate functions; set window decorations on realize and update
2646 arrows' size requisitions on style-set. Avoids unnecessary resizing.
2648 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
2653 * debian/changelog: Updating.
2655 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
2657 * src/Makefile.am: fixed installation of the header files
2659 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2665 * debian/changelog: Updating.
2667 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2669 * configure.ac: Removing some remaining of --enable-xan.
2671 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
2673 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
2674 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
2676 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
2677 2.10.12-osso6 because the move-focus signal needs to be available in
2680 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2682 * examples/Makefile.am:
2683 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
2684 that makes a HildonVolumebar insensitive before mapping it. Seems to work
2685 fine. Prolly NB#61128 is fixed now.
2687 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2689 * src/hildon-volumebar.c:
2690 * src/hildon-volumebar.h: Adding the
2691 hildon_volumebar_set_range_insensitive_message and
2692 hildon_volumebar_set_range_insensitive_messagef functions to set
2693 insensitive message on the slider of the volumebar. Fixes NB#61129.
2695 * examples/Makefile.am:
2696 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
2697 test the new insensitive messsage functionality on HildonVolumebar.
2699 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
2701 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
2704 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
2706 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
2707 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
2708 button on after clearing the trail.
2710 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2712 * src/hildon-code-dialog.c: Removing the separator from the dialog.
2714 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
2716 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
2717 by splitting the installed headers in generated and non-generated groups. Use
2718 only the non-generated headers to create the hildon-enum-types.h file.
2720 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
2722 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2724 * src/hildon-window.c: Hide the window before performing the destroy.
2725 Should make the app closing a little tiny bit more snappy.
2727 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
2729 * src/hildon-seekbar.c: add gtkrange.h header
2730 * src/hildon-caption.c: remove unused variable
2732 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
2734 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
2737 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2743 * debian/changelog: Updating.
2745 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
2747 * src/hildon-window.c (hildon_window_window_state_event,
2748 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
2749 escape timeout on focus-out-event rather than notify::is-topmost; the
2750 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
2752 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2754 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
2755 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
2757 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
2759 * src/hildon-window: actually, you need to use the macro always, there's
2760 no private pointer in the instance structure. We should have cleaned this up
2761 when we had the chance...
2763 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
2765 * src/hildon-window.c: do not get the private date from HildonWindow before
2766 it passes the g_return_if_fail check. Once it's passed the test, there's no
2767 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
2768 if you are only going to access the data once. Whitespace cleanups.
2770 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
2772 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
2773 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
2775 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2781 * debian/changelog: Updating.
2783 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2785 * src/hildon-window.c: When destroying the window, remove (if exists) the
2786 escape timeout handler. Fixes #NB59276.
2788 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2790 * src/hildon-banner.c: When realizing the widget, set the window
2791 transiency. Setting the transiency in the gobject constructor is not
2792 good, as the widget is not realized at that point. Fixes: #NB56624.
2794 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
2796 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
2797 Add padding for future expansions.
2799 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
2801 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
2802 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
2803 will fake an activation on the previous to the last item of the trail, so
2804 the effect can be overrided by the developer as usual.
2805 Also change the callback for the back button to do the same thing, so its
2806 effect can be overrided too. Fixes: NB#58982
2808 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2810 * src/hildon-caption.c: Implementing the proper focus grabbing in the
2811 HildonCaption. Fixes NB#52379.
2813 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
2815 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
2816 the internal state of the trail after the user has had the chance of executing
2817 his handler for the signal. Specifically, it may happen that the activated button
2818 is removed and the user still lets the default handler run. This would segfault
2821 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2823 * src/hildon-font-selection-dialog.c: When the font is really big, add the
2824 scrollbar to the preview dialog. Fixes NB#54147.
2826 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2828 * src/hildon-date-editor.c: Changing the default max year to 2037. The
2829 max/min year properties can be altered, so the client can modify it
2830 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
2832 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2834 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
2835 hildonlike by default. Fixing a problem with disappearing arrows when
2836 scrolling through months and years. Fixes NB#54127.
2838 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2840 * examples/hildon-date-editor-example.c: Adding error callback to the date
2843 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2849 * configure.ac: Updating.
2851 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2853 * configure.ac: Adding a special '--enable-xan' configure option that
2854 turns off the -Werror compilation setting. Usefull for development.
2856 * src/hildon-calendar.c:
2857 * src/hildon-number-editor.c:
2858 * src/hildon-time-picker.c: Adding the 5* multiplier to
2861 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
2863 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
2864 instead of g_object_ref + gtk_object_sink.
2866 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2872 * debian/changelog: Updating.
2874 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2876 * src/hildon-color-chooser-dialog.c:
2877 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
2878 straight from Tommi labs.
2880 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2882 * examples/hildon-finger-example.c: Correcting the header file path.
2884 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
2885 the changed signal. Fixes a small memory leak.
2887 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2891 * src/hildon-banner.c: Importing several usefull fixes from the
2892 ubuntu-mobile branch.
2894 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2896 * examples/Makefile.am:
2897 * examples/hildon-finger-example.c: Adding a finger-checking code
2900 * src/hildon-font-selection-dialog.c: Do not allocate the color
2901 structure using the g_new. Fixes NB#54061.
2903 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2905 * src/hildon-helper.c: Correcting tabs in file.
2907 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
2909 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
2910 control the visibility of the children.
2912 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
2914 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2920 * debian/changelog: Updating.
2922 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
2924 * src/hildon-bread-crumb-trail.c:
2925 (hildon_bread_crumb_trail_size_allocate):
2927 Make the back button always a square.
2929 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
2931 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
2932 from the .c file as it's a private file.
2934 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2936 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
2937 uses slightly bigger height.
2939 * src/hildon-font-selection-dialog.c: Adding some checks before
2940 freeing memory in the font selection dialog.
2942 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2944 * src/hildon-font-selection-dialog.c: Adding a small check when
2947 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
2948 buttons sensitivity on page switching.
2950 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
2952 * src/hildon-bread-crumb-trail.c: make the add method handle all the
2953 internal details of adding a bread crumb to the trail.
2955 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2961 * debian/changelog: Updating.
2963 * src/hildon-bread-crumb-trail.h:
2964 * src/hildon-bread-crumb.h: Changing the API guard to
2965 HILDON_ENABLE_UNSTABLE_API.
2967 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2975 * src/hildon-helper.h: Updating.
2977 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2985 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2989 * src/hildon-helper.h: Small fix to make the package actually compile.
2991 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
2993 * src/hildon-bread-crumb-trail.h:
2994 * src/hildon-bread-crumb.h:
2996 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
2997 to define ENABLE_UNSTABLE_API in the code that includes these headers.
2999 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
3001 * examples/hildon-bread-crumb-trail-example.c:
3003 * src/hildon-bread-crumb-trail.c:
3004 * src/hildon-bread-crumb-trail.h:
3005 * src/hildon-bread-crumb.c:
3006 * src/hildon-bread-crumb.h:
3007 * src/hildon-marshalers.list:
3008 * src/hildon-bread-crumb-widget.c:
3009 * src/hildon-bread-crumb-widget.h:
3011 Slight change in the widget design. The bread crumb trail API is
3012 unchanged, but HildonBreadCrumb is now an interface. A *private*
3013 implementation, hildon-bread-crumb-widget, is provided and used
3014 internally by the trail for the push_text/push_icon functions.
3016 The generic push API is still available, so anyone can implement
3017 and use its own bread crumb widget.
3019 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3021 * debian/rules: Fixing the shlibs.
3023 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3025 * src/hildon-banner.c: Fixing a problem with timed banners having
3026 their parrent destroyed before they are.
3028 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
3030 * src/hildon-bread-crumb.c:
3031 * src/hildon-bread-crumb.h:
3033 Make the get_natural_size function a vfunc.
3035 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
3037 * src/hildon-bread-crumb.c:
3038 * src/hildon-bread-crumb-trail.c:
3042 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3049 * debian/changelog: Updating for release.
3051 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
3053 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
3054 don't leak the pango layout.
3056 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
3059 * examples/hildon-bread-crumb-trail-example.c:
3063 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3065 * debian/changelog: Removing the bug-fixed entries that were actually
3066 resolved as WONTFIX.
3068 * src/hildon-date-editor.c: Removing a redundant check. Fixes
3071 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
3073 * src/hildon-bread-crumb-trail.c:
3074 * src/hildon-bread-crumb-trail.h:
3075 * src/hildon-bread-crumb.c:
3076 * src/hildon-bread-crumb.h:
3080 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
3082 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
3083 until it's passed the type check.
3085 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
3087 * examples/hildon-bread-crumb-trail-example.c
3091 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
3093 * examples/Makefile.am
3094 * examples/hildon-bread-crumb-trail-example.c
3096 * src/hildon-bread-crumb-trail.c
3097 * src/hildon-bread-crumb-trail.h
3098 * src/hildon-bread-crumb.c
3099 * src/hildon-bread-crumb.h
3101 New HildonBreadCrumbTrail widget.
3103 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
3105 * src/hildon-range-editor.c (hildon_range_editor_init),
3106 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
3107 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
3108 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
3109 hildon_time_editor_class_init, hildon_time_editor_init),
3110 src/hildon-get-password-dialog.c (invalid_input,
3111 hildon_get_password_set_property, hildon_get_password_get_property,
3112 create_contents, hildon_get_password_dialog_set_max_characters),
3113 src/hildon-set-password-dialog.c (create_contents),
3114 src/hildon-date-editor.c (hildon_date_editor_init),
3115 src/hildon-login-dialog.c (hildon_login_dialog_init),
3116 src/hildon-number-editor.c (hildon_number_editor_init),
3117 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
3118 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
3119 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
3120 configure option and adding the respective checks in the code.
3121 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
3122 hildon_calendar_drag_data_received): fixed some build warnings.
3124 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3126 * debian/changelog: A 1.0.0 release notes.