2008-07-21 Tim Janik <timj@imendio.com>
[hildon] / ChangeLog
1 2008-07-21 Tim Janik  <timj@imendio.com>
2
3         * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
4         insertion position after backspace, so additional digits are appended,
5         fixes Bug #85874.
6
7 2008-07-04  Johannes Schmid  <johannes.schmid@openismus.com>
8
9         * src/hildon-color-chooser.h
10         * src/hildon-color-chooser-dialog.h:
11
12         Add G_BEGIN_DECLS and G_END_DECLS to allow linking against C++
13
14 2008-06-10  Michael Natterer  <mitch@imendio.com>
15
16         Merge change from hildon-widgets which makes hildon-1 build
17         against latest GTK+ in order to help the migration process from
18         diablo to fremantle. This change is 100% backward compatible and
19         also builds fine against old GTK+ on diablo.
20
21         * src/hildon-time-editor.c (hildon_time_editor_class_init): The
22         widget_class->tap_and_hold_setup signal slot doesn't exist any
23         longer, stop overriding it.
24
25         (hildon_time_editor_init): g_signal_connect() to the
26         tap-and-hold-setup signal instead.
27
28         (hildon_time_editor_entry_keypress): add cast to fix warning.
29
30 2008-04-15 18:05:19    <timj@imendio.com>
31
32         * src/hildon-banner.c: revert the recent change, that introduced
33         gtk_window_present() calls. this reopens:
34           Bug 78481 - [freetest] information banners are hidden under browser menu
35         But resolves another variant of:
36           Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
37
38 2008-04-15 13:21:13    <timj@imendio.com>
39
40         * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
41         recreated its layout, spotted by Kris. this fixes all remaining
42         artefacts and stability issues with the banner code. in particular:
43         Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
44
45 2008-04-14 16:52:59    <timj@imendio.com>
46
47         * src/hildon-banner.c: guard force_to_wrap_truncated() against
48         operating on unrealized widgets, fixes:
49         Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
50
51         * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
52
53 2008-04-09  Kristian Rietveld  <kris@imendio.com>
54
55         Fixes: NB#77775: Media Player, Save Now playing list, too long name
56         makes banner disappear.
57         Fixes: NB#79182: info banner flickering with certain message lengts.
58
59         * src/hildon-banner.c (hildon_banner_constructor),
60         (hildon_banner_init), (hildon_banner_set_text),
61         (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
62         (hildon_banner_reset_wrap_state): new function: reset wrap flags to
63         FALSE, reset size requests of label and banner,
64         (force_to_wrap_truncated): when the text is too wide, always enforce
65         the maximum possible width instead of recalculating it from the
66         layout; enforce the maximum banner height of 3 lines,
67         (hildon_banner_init): set WORD_CHAR wrapping, this will result in
68         nicer wrapping and no truncated chars if space gets tight.
69
70         * src/hildon-banner-private.h: add has_been_wrapped and
71         has_been_truncated fields.
72
73 2008-04-07  Sven Herzberg  <sven@imendio.com>
74
75         Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
76         local values in hildon_date_editor_size_allocate
77
78         * src/hildon-date-editor.c: moved the real allocation code into the
79         if() branch
80
81 2008-04-07  Sven Herzberg  <sven@imendio.com>
82
83         Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
84         local values in hildon_date_editor_size_allocate
85
86         * src/hildon-date-editor.c: merged the two if() branches together
87
88 2008-04-07  Sven Herzberg  <sven@imendio.com>
89
90         Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
91         local values in hildon_date_editor_size_allocate
92
93         * src/hildon-date-editor.c: changed the arguments of the if()
94         conditions
95
96 2008-04-07  Sven Herzberg  <sven@imendio.com>
97
98         Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
99         local values in hildon_date_editor_size_allocate
100
101         * src/hildon-date-editor.c: split the calculation of the allocation
102         from the real allocation
103
104 2008-03-27  Michael Natterer  <mitch@imendio.com>
105
106         Fixes: NB#81696: The passcode is not overwritten even after
107         selecting
108
109         * src/hildon-code-dialog.c
110         (hildon_code_dialog_button_clicked)
111         (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
112         because that doesn't overwrite selected text. Instead, emit the
113         "commit" signal on the entry's im_context so the entry's normal
114         insert logic is triggered. Set the cursor to the end of the entry
115         after each insert operation so that we *only* insert in the middle
116         of the text if something was selected.
117
118 2008-03-27  Michael Natterer  <mitch@imendio.com>
119
120         Enable fixing: NB#79916 and NB#79918: The help topic for Color
121         selector cannot be opened
122
123         * src/hildon-color-button.c: add signal "setup-dialog" and emit it
124         when the popup color selector is created. Please connect to this
125         signal in order to set the dialog's help ID.
126
127 2008-03-25  Sven Herzberg  <sven@imendio.com>
128
129         Fixes: MB#1212: Hide info banners (infoprints) on click
130
131         * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
132         extracted the close event simulation into an extra function
133         (hildon_banner_button_press_event): simulate a close event and destroy
134         the widget if the event wasn't handled
135         (hildon_banner_class_init): added the button_press_event handler
136         (hildon_banner_init): added button-press events to the widget
137
138 2008-03-25  Sven Herzberg  <sven@imendio.com>
139
140         Fixes: MB:#924: Hildon widgets doesn't support RTL mode
141         Patch from: Mohammad Anwari  <mdamt@maemo.org>
142
143         * src/hildon-banner.c: let the HildonBanners pop up on the left side
144         instead of the right in RTL mode
145         * src/hildon-bread-crumb-trail.c: mirror the appearance of the
146         breadcrumb button list in RTL mode
147         * src/hildon-caption.c: mirror the appearance of the caption widget in
148         RTL mode
149         * src/hildon-date-editor.c: mirror appearance of the date editor in
150         RTL mode
151         * src/hildon-time-editor.c: mirror appearance of the time editor in
152         RTL mode
153         * src/hildon-window.c: fix the position of the popup in RTL mode
154
155 2008-03-25  Sven Herzberg  <sven@imendio.com>
156
157         Amendment to the fix of NB#22072. Fix compilation.
158
159         * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
160
161 2008-03-19  Sven Herzberg  <sven@imendio.com>
162
163         Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
164         in Info Banner" bug
165
166         * src/hildon-banner.c: (hildon_banner_timeout): reset the current
167         timeout id properly when the timeout will disappear this leaves no
168         artifacts around in the destroy(); there will only be the timeout
169         created by hildon_banner_ensure_timeout() and adding a new timeout
170         will also work if the timeout gets removed because the timeout_handler
171         returned FALSE
172
173 2008-03-19  Michael Natterer  <mitch@imendio.com>
174
175         Fixes: NB#79791: Cannot set focus to Master volume using stylus
176
177         * src/hildon-volumebar.c
178         * src/hildon-vvolumebar.c
179         * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
180         the widget becomes focussable at all.
181
182         * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
183         set the focus to wither the mute button or the volumebar.
184
185         Remove own "can-focus" property and instead listen to
186         notify::can-focus in order to update the widget's state.
187
188         Implement GtkWidget::focus() and make sure we can also *leave* the
189         widget, not only enter it, depending on volumebar orientation and
190         requested focus direction.
191
192         Clean up set_mute() to cooperate nicely with all the above.
193
194 2008-03-04  Michael Natterer  <mitch@imendio.com>
195
196         Fixes: NB#78481: information banners are hidden under browser menu
197
198         * src/hildon-banner.c: call gtk_window_present() on the banners so
199         they are risen if they are already visible.
200
201 2008-03-03  Sven Herzberg  <sven@imendio.com>
202
203         Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
204
205         * examples/hildon-window-menu-example.c: (main): extended the window
206         menu example to serve as a testcase for automatically added
207         accelerator groups, too
208         * src/hildon-window.c: (hildon_window_add_accel_group),
209         (hildon_window_set_menu): added patch by Tommi Komulainen
210
211 2008-03-03  Sven Herzberg  <sven@imendio.com>
212
213         Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
214
215         * src/hildon-window.c: (hildon_window_get_borders): don't imply any
216         knowledge about the border allocators used within GTK+
217
218 2008-02-26  Sven Herzberg  <sven@imendio.com>
219
220         Fixes: MB#2981: Build with asserts broken
221
222         * src/hildon-date-editor.c,
223         * src/hildon-number-editor.c,
224         * src/hildon-time-editor.c,
225         * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
226         the proper GType instance check
227
228 2008-02-25  Sven Herzberg  <sven@imendio.com>
229
230         Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
231
232         * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
233         * examples/hildon-window-menu-example.c: (main): explicitly show
234         the menu item
235         * src/hildon-window.c:
236         (hildon_window_set_main_menu): moved most of the code from set_menu()
237         to this place; skipped the call to gtk_widget_show_all(); also didn't
238         introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
239         (hildon_window_set_menu): removed most of the code, just keep the
240         questionable gtk_widget_show_all()
241         * src/hildon-window.h: added the new function and deprecate the old
242         one
243
244 2008-01-10  Xan Lopez  <xan.lopez@nokia.com>
245
246         [2.0.1-1 release]
247
248         * NEWS:
249         * configure.ac:
250         * debian/changelog: Updating.
251
252 2008-01-10  Xan Lopez  <xan.lopez@nokia.com>
253
254         * configure.ac:
255         * pkgconfig/Makefile.am:
256         * pkgconfig/hildon.pc.in:
257         * src/Makefile.am:
258
259         Do not use PACKAGE_VERSION_MAJOR as the API revision,
260         use newly created API_MAJOR_VERSION.
261         
262 2008-01-09  Xan Lopez  <xan.lopez@nokia.com>
263
264         [2.0.0-1 release]
265
266         * NEWS:
267         * configure.ac:
268         * debian/changelog: Updating.
269
270 2008-01-09  Xan Lopez  <xan.lopez@nokia.com>
271
272         * src/hildon-color-chooser.c (hildon_color_chooser_class_init): 
273
274         Add outer_border style property, we use it but don't define it (!).
275
276         Fixes NB#75310
277
278 2007-12-21  Xan Lopez  <xan.lopez@nokia.com>
279
280         * examples/hildon-bread-crumb-trail-example.c (main): 
281
282         Add clear button.
283
284         * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove): 
285
286         Fix logic for the bread crumb trail node removal.
287
288         Fixes: NB#78616
289
290 2007-12-14  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
291
292         [1.99.1-1 release]
293
294         * NEWS:
295         * configure.ac:
296         * debian/changelog: Updating.
297
298 2007-11-08  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
299
300         Patch by Alejandro to get/set passwords dialogs accesibility.
301
302         * hildon-1/src/hildon-get-password-dialog.c:
303         * hildon-1/src/hildon-set-password-dialog.c: 
304         Set atk_set_name to the passwd entries in order to allow 
305         accessibility by name on this entries.
306         
307 2007-10-11  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
308
309         [1.99.0-2 release]
310
311         * debian/changelog:
312         * debian/control: Updating gtk dep.
313
314 2007-10-10  Mohammad Anwari  <Mohammad.Anwari@nokia.com>
315
316         * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
317         USE_MAEMO_GTK is enabled.
318
319 2007-10-10  Xan Lopez  <xan.lopez@nokia.com>
320
321         * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
322         MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
323
324 2007-10-10  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
325
326         [1.99.0-1 release]
327
328         * NEWS:
329         * configure.ac:
330         * debian/changelog: Updating.
331
332 2007-10-10  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
333
334         * examples/Makefile.am:
335         * examples/hildon-logical-color-example.c:
336         * src/hildon-helper.c: Fixing the way logical colors/fonts are being
337         applied + adding a test case. Fixes: NB#71660.
338
339 2007-10-08  Xan Lopez  <xan.lopez@nokia.com>
340
341         * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
342         to be visible, fixes warning on map for windows without toolbars.
343
344 2007-10-02  Xan Lopez  <xan.lopez@nokia.com>
345
346         * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
347         2.11.0, add a check for that besides the MAEMO_GTK check.
348
349 2007-09-28  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
350
351         [1.0.17-1 release]
352
353         * NEWS:
354         * configure.ac:
355         * debian/changelog: Updating.
356
357 2007-09-26  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
358
359         * src/hildon-window.c: Applying patches by Xan to fix the toolbar
360         visibility. Fixes: NB#70842 and MB#615.
361
362 2007-09-25  Xan Lopez  <xan.lopez@nokia.com>
363
364         * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
365         set the separator as no-show-all so it doesn't unintentionally appear when
366         someone does a show_all.
367
368 2007-09-25  Xan Lopez  <xan.lopez@nokia.com>
369
370         * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
371         (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
372         toplevel item. Fixes: NB#62031
373
374 2007-09-24  Xan Lopez  <xan.lopez@nokia.com>
375
376         * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
377         fix the name of the function in the docs.
378
379 2007-09-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
380
381         [1.0.16-1 release]
382
383         * NEWS:
384         * configure.ac:
385         * debian/changelog: Updating.
386
387 2007-09-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
388
389         * examples/hildon-banner-long-example.c: Adding a test-case for long
390         hildon banner.
391
392         * src/hildon-find-toolbar.c: Fixing the get_last_index function.
393
394 2007-09-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
395
396         * src/hildon-color-chooser-dialog.c:
397         * src/hildon-color-chooser.c:
398         * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
399         memory leaks in font selector and color selector. Fixes: NB#70499 and
400         NB#70474.
401
402 2007-09-20  Johan Bilien  <johan.bilien@nokia.com> 
403
404         * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
405
406 2007-09-18  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
407
408         * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
409         little bit bigger. Fixes: #NB63694.
410
411 2007-09-17  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
412
413         [1.0.15-1 release]
414
415         * NEWS:
416         * configure.ac:
417         * debian/changelog: Updating.
418
419 2007-09-14  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
420
421         * doc/Makefile.am:
422         * doc/hildon-docs.sgml:
423         * doc/images/bread-crumb-trail.png:
424         * doc/images/calendar-popup.png:
425         * doc/images/caption.png:
426         * doc/images/code-dialog.png:
427         * doc/images/color-button.png:
428         * doc/images/color-chooser-dialog.png:
429         * doc/images/color-chooser.png:
430         * doc/images/controlbar.png:
431         * doc/images/date-editor.png:
432         * doc/images/font-selection-dialog.png:
433         * doc/images/get-password-dialog.png:
434         * doc/images/hvolumebar.png:
435         * doc/images/login-dialog.png:
436         * doc/images/note.png:
437         * doc/images/number-editor.png:
438         * doc/images/range-editor.png:
439         * doc/images/seekbar.png:
440         * doc/images/set-password-dialog.png:
441         * doc/images/sort-dialog.png:
442         * doc/images/time-editor.png:
443         * doc/images/time-picker.png:
444         * doc/images/vvolumebar.png:
445         * doc/images/weekday-picker.png: Adding the new generated widget shots.
446         Adding the bread-crumb-trial and helpers to the documentation.
447
448 2007-09-14  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
449
450         * examples/hildon-find-toolbar-example.c:
451         * src/hildon-find-toolbar.c:
452         * src/hildon-find-toolbar.h: FIxing the default history-append handler to
453         actually continue firing the other handlers if connected. Adding a new
454         function:
455         hildon_find_toolbar_get_last_index that gets the index of the most
456         recently added (last) item. Fixes: NB#52301.
457
458 2007-09-10  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
459
460         * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
461         behaviour. Fixes: NB#68610. 
462
463 2007-09-10  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
464
465         * src/hildon-banner.c: Actually reverting the previous change. It somehow
466         looks a bit worse.
467
468 2007-09-06  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
469
470         * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
471         when realizing the banner. Should make the infonbanner effect a bit more
472         bearable.
473
474 2007-09-05  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
475
476         * src/hildon-volumebar.c:
477         * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
478         hildon_volumebar_set_range_insensitive_message and
479         hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
480
481 2007-09-05  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
482
483         * src/hildon-window.c: Fixing the border freeing on destroy.
484
485 2007-09-05  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
486
487         * src/hildon-code-dialog-private.h:
488         * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
489         kw keyboard support in HildonCodeDialog.
490
491 2007-08-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
492
493         [1.0.14-1 release]
494
495         * NEWS:
496         * configure.ac:
497         * debian/changelog: Updating.
498
499 2007-08-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
500
501         * src/hildon-date-editor.c:
502         * src/hildon-number-editor.c:
503         * src/hildon-private.c:
504         * src/hildon-private.h:
505         * src/hildon-time-editor.c:
506         * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
507         handling in subclassed composite widgets. Fixes: NB#66628.
508
509 2007-08-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
510
511         * src/hildon-window.c: Removing extra gtk_main_iteration () processing
512         from destroy_ callback as it introduces problems in async dbus signal
513         handlers. Fixes NB#66673.
514
515 2007-08-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
516
517         * examples/hildon-hvolumebar-example.c:
518         * src/hildon-volumebar.c: Improving the focus handling in the
519         volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
520         set_property accessor so that "mute" property can be actually set. I'm
521         scared that nobody noticed it's totally broken.
522
523 2007-08-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
524
525         * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
526         Fixes NB#66548.
527
528 2007-08-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
529
530         * src/hildon-calendar.c:
531         * src/hildon-number-editor.c:
532         * src/hildon-time-picker.c: Changing the timeout repeat so that it
533         matches the spec of 6 chars per second. Fixes: NB#60489.
534
535 2007-08-22  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
536
537         * src/hildon-helper.c: Really fixing NB#58352. Looks like
538         gtk_style_lookup_color sometime returns FALSE even though color was
539         found and values were filled properly. Weird. Removing the warning for the
540         time being.
541
542 2007-08-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
543
544         * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
545         expand vertically. Adding some extra space to the find toolbar buttons to
546         make them thumbable. Fixes NB#66060.
547
548 2007-08-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
549
550         * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
551         popup with "Ok" and "Cancel". Fixes NB#59299.
552
553 2007-08-20  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
554
555         * src/hildon-calendar.c: Process all window updates before executing next
556         timeout. Fixes: NB#54146.
557
558 2007-08-17  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
559
560         [1.0.13-1 release]
561
562         * NEWS:
563         * configure.ac:
564         * debian/changelog: Updating.
565
566 2007-08-16  Xan Lopez  <xan.lopez@nokia.com>
567
568         * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
569         the client event and ignore it, since we use the delete event to close
570         after timeouts.
571
572 2007-08-16  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
573
574         * src/hildon-helper.c: Remove the bogus warning about color not being
575         found. Fixes NB#58352.
576
577 2007-08-16  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
578
579         * examples/Makefile.am:
580         * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
581         HildonSeekbar widget inside a toolbar.
582
583 2007-08-16  Xan Lopez  <xan.lopez@nokia.com>
584
585         * src/hildon-banner.c (hildon_banner_init): mark the banners as
586         temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
587         delete event that will come from _GTK_DELETE_TEMPORARIES, as we
588         don't want to be closed by non-temporary windows on map.
589
590         Also use G_DEFINE_TYPE instead of manually typed code.
591
592 2007-08-06  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
593
594         [1.0.12-1 release]
595
596         * NEWS:
597         * configure.ac:
598         * debian/changelog:
599         * debian/rules: Updating.
600
601 2007-08-01  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
602
603         * examples/Makefile.am:
604         * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
605         bug NB#61128. Strangely it works.
606
607 2007-08-01  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
608
609         * src/hildon-date-editor.c: When the date editor entry has been changed
610         but the numbers of characters < max, turn off the skip validation flag.
611         Prevents a situation when we enter first a valid year and later re-write
612         it with an invalid one. Fixes NB#60154.
613
614 2007-07-26  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
615
616         * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
617         code dialog. Fixes NB#64355.
618
619 2007-07-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
620
621         * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
622         switching the page. Fixes NB#49374.
623
624         * examples/Makefile.am:
625         * examples/hildon-wizard-dialog-example.c: Adding an example for
626         HildonWizardDialog that shows how to handle manual sensitivity setting on
627         the wizard dialog.
628
629 2007-07-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
630
631         * configure.ac:
632         * src/Makefile.am:
633         * src/hildon-version.h.in:
634         * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
635
636 2007-07-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
637
638         * src/hildon-volumebar.c: Updating the docs.
639
640 2007-07-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
641
642         [1.0.11-1 release]
643
644         * NEWS:
645         * configure.ac:
646         * debian/changelog: Updating.
647
648 2007-07-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
649
650         * src/hildon-find-toolbar.c:
651         * src/hildon-find-toolbar.h: Adding a few new functions to control the
652         selected item: hildon_find_toolbar_set_active,
653         hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active, 
654         hildon_find_toolbar_get_active_iter . They correspond to respective
655         GtkComboBox functions. 
656
657         * examples/Makefile.am:
658         * examples/hildon-find-toolbar-example.c: Adding the example to test the
659         new functionality.
660
661 2007-07-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
662
663         * examples/Makefile.am:
664         * examples/hildon-seekbar-example.c: Adding the seekbar example to check
665         theming easily.
666
667         * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
668         when font size > 32 and we pack a focusable widget inside. Actually using
669         the default response would work too, but since we don't show default
670         response state in any way (no theming) it would not be visible to the
671         user. Fixes NB#63430.
672
673 2007-07-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
674
675         * src/hildon-date-editor.c: Adding the missing variable setter in the
676         set_property handler. Fixes NB#54182.
677
678 2007-07-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
679
680         * src/hildon-window.h: Changing the long key press time from 1500ms to
681         800ms as requested in NB#63700. I have a bad feeling about this, let's
682         see... Fixes NB#63700.
683
684 2007-07-12  Tommi Komulainen  <tommi.komulainen@nokia.com>
685
686         * src/hildon-time-picker.c (hildon_time_picker_class_init,
687         hildon_time_picker_map, hildon_time_picker_realize,
688         hildon_time_picker_style_set): Split the contents of map to more
689         appropriate functions; set window decorations on realize and update
690         arrows' size requisitions on style-set. Avoids unnecessary resizing.
691
692 2007-07-02  Xan Lopez <xan.lopez@nokia.com>
693
694         [1.0.10-2 release]
695
696         * NEWS:
697         * debian/changelog: Updating.
698
699 2007-07-02  Johan Bilien  <johan.bilien@nokia.com>
700
701         * src/Makefile.am: fixed installation of the header files
702
703 2007-06-29  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
704
705         [1.0.10-1 release]
706
707         * NEWS:
708         * configure.ac:
709         * debian/changelog: Updating.
710
711 2007-06-27  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
712
713         * configure.ac: Removing some remaining of --enable-xan.
714
715 2007-06-26  Xan Lopez  <xan.lopez@nokia.com>
716
717         * src/hildon-date-editor.c: (hildon_date_editor_keypress):
718         * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
719
720         Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
721         2.10.12-osso6 because the move-focus signal needs to be available in
722         GtkWidget.
723
724 2007-06-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
725
726         * examples/Makefile.am:
727         * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
728         that makes a HildonVolumebar insensitive before mapping it. Seems to work
729         fine. Prolly NB#61128 is fixed now.
730
731 2007-06-19  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
732
733         * src/hildon-volumebar.c:
734         * src/hildon-volumebar.h: Adding the
735         hildon_volumebar_set_range_insensitive_message and
736         hildon_volumebar_set_range_insensitive_messagef functions to set
737         insensitive message on the slider of the volumebar. Fixes NB#61129.
738
739         * examples/Makefile.am:
740         * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
741         test the new insensitive messsage functionality on HildonVolumebar.
742
743 2007-06-14  Xan Lopez  <xan.lopez@nokia.com>
744
745         * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
746         work again.
747
748 2007-06-13  Xan Lopez  <xan.lopez@nokia.com>
749
750         * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
751         http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
752         button on after clearing the trail.
753
754 2007-06-13  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
755
756         * src/hildon-code-dialog.c: Removing the separator from the dialog.
757
758 2007-06-12  Xan Lopez  <xan.lopez@nokia.com>
759
760         * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
761         by splitting the installed headers in generated and non-generated groups. Use
762         only the non-generated headers to create the hildon-enum-types.h file.
763
764         * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
765
766 2007-06-12  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
767
768         * src/hildon-window.c: Hide the window before performing the destroy.
769         Should make the app closing a little tiny bit more snappy. 
770
771 2007-06-12  Xan Lopez  <xan.lopez@nokia.com>
772
773         * src/hildon-seekbar.c: add gtkrange.h header
774         * src/hildon-caption.c: remove unused variable
775
776 2007-06-08  Tommi Komulainen  <tommi.komulainen@nokia.com>
777
778         * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
779         Loic Minier.
780
781 2007-06-07  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
782
783         [1.0.9-1 release]
784
785         * NEWS:
786         * configure.ac:
787         * debian/changelog: Updating.
788
789 2007-06-07  Tommi Komulainen  <tommi.komulainen@nokia.com>
790
791         * src/hildon-window.c (hildon_window_window_state_event,
792         hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
793         escape timeout on focus-out-event rather than notify::is-topmost; the
794         latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
795
796 2007-06-07  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
797
798         * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
799         correct timestamp and button to gtk_menu_popup. Fixes MB#1466. 
800
801 2007-06-07  Xan Lopez  <xan.lopez@nokia.com>
802
803         * src/hildon-window: actually, you need to use the macro always, there's
804         no private pointer in the instance structure. We should have cleaned this up
805         when we had the chance...
806         
807 2007-06-07  Xan Lopez  <xan.lopez@nokia.com>
808
809         * src/hildon-window.c: do not get the private date from HildonWindow before
810         it passes the g_return_if_fail check. Once it's passed the test, there's no
811         need to g_assert that it exists. Do not create a HildonWindowPrivate variable
812         if you are only going to access the data once. Whitespace cleanups.
813
814 2007-06-04  Xan Lopez  <xan.lopez@nokia.com>
815
816         * src/hildon-bread-crumb-trail.c: set children visible before allocation.
817         * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
818
819 2007-06-01  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
820
821         [1.0.8-1 release]
822
823         * NEWS:
824         * configure.ac:
825         * debian/changelog: Updating.
826
827 2007-06-01  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
828
829         * src/hildon-window.c: When destroying the window, remove (if exists) the
830         escape timeout handler. Fixes #NB59276.
831
832 2007-06-01  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
833
834         * src/hildon-banner.c: When realizing the widget, set the window
835         transiency. Setting the transiency in the gobject constructor is not
836         good, as the widget is not realized at that point. Fixes: #NB56624.
837
838 2007-05-30  Xan Lopez  <xan.lopez@nokia.com>
839
840         * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
841         Add padding for future expansions.
842
843 2007-05-30  Xan Lopez  <xan.lopez@nokia.com>
844
845         * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
846         Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
847         will fake an activation on the previous to the last item of the trail, so
848         the effect can be overrided by the developer as usual.
849         Also change the callback for the back button to do the same thing, so its
850         effect can be overrided too. Fixes: NB#58982
851
852 2007-05-30  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
853
854         * src/hildon-caption.c: Implementing the proper focus grabbing in the
855         HildonCaption. Fixes NB#52379. 
856
857 2007-05-30  Xan Lopez  <xan.lopez@nokia.com>
858
859         * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
860         the internal state of the trail after the user has had the chance of executing
861         his handler for the signal. Specifically, it may happen that the activated button
862         is removed and the user still lets the default handler run. This would segfault
863         previously.
864
865 2007-05-28  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
866
867         * src/hildon-font-selection-dialog.c: When the font is really big, add the
868         scrollbar to the preview dialog. Fixes NB#54147.
869
870 2007-05-28  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
871
872         * src/hildon-date-editor.c: Changing the default max year to 2037. The
873         max/min year properties can be altered, so the client can modify it
874         anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
875
876 2007-05-28  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
877
878         * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
879         hildonlike by default. Fixing a problem with disappearing arrows when
880         scrolling through months and years. Fixes NB#54127. 
881
882 2007-05-28  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
883
884         * examples/hildon-date-editor-example.c: Adding error callback to the date
885         editor example. 
886
887 2007-05-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
888
889         [1.0.7-1 release]
890
891         * NEWS:
892         * debian/changelog:
893         * configure.ac: Updating.
894
895 2007-05-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
896
897         * configure.ac: Adding a special '--enable-xan' configure option that
898         turns off the -Werror compilation setting. Usefull for development.
899
900         * src/hildon-calendar.c:
901         * src/hildon-number-editor.c:
902         * src/hildon-time-picker.c: Adding the 5* multiplier to
903         gtk-timeout-update.
904
905 2007-05-24  Xan Lopez  <xan.lopez@nokia.com>
906
907         * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
908         instead of g_object_ref + gtk_object_sink.
909
910 2007-05-22  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
911
912         [1.0.6-1 release]
913
914         * NEWS:
915         * configure.ac:
916         * debian/changelog: Updating.
917
918 2007-05-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
919
920         * src/hildon-color-chooser-dialog.c:
921         * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
922         straight from Tommi labs.
923
924 2007-05-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
925
926         * examples/hildon-finger-example.c: Correcting the header file path.
927
928         * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for 
929         the changed signal. Fixes a small memory leak.
930
931 2007-05-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
932
933         * autogen.sh:
934         * debian/rules:
935         * src/hildon-banner.c: Importing several usefull fixes from the
936         ubuntu-mobile branch.
937
938 2007-05-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
939
940         * examples/Makefile.am:
941         * examples/hildon-finger-example.c: Adding a finger-checking code
942         example. 
943
944         * src/hildon-font-selection-dialog.c: Do not allocate the color
945         structure using the g_new. Fixes NB#54061.
946
947 2007-05-09  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
948
949         * src/hildon-helper.c: Correcting tabs in file.
950
951 2007-05-08  Xan Lopez  <xan.lopez@nokia.com>
952
953         * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
954         control the visibility of the children.
955
956         * examples/hildon-bread-crumb-trail-example.c: Plug leak.
957
958 2007-05-07  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
959
960         [1.0.5-1 release]
961
962         * NEWS:
963         * configure.ac:
964         * debian/changelog: Updating.
965
966 2007-05-04  Xan Lopez  <xan.lopez@nokia.com>
967
968         * src/hildon-bread-crumb-trail.c:
969         (hildon_bread_crumb_trail_size_allocate): 
970
971         Make the back button always a square.
972
973 2007-05-04  Xan Lopez  <xan.lopez@nokia.com>
974
975         * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
976         from the .c file as it's a private file. 
977
978 2007-05-03  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
979
980         * examples/hildon-vvolumebar-example.c: The VVolumebar example now
981         uses slightly bigger height.
982
983         * src/hildon-font-selection-dialog.c: Adding some checks before
984         freeing memory in the font selection dialog.
985
986 2007-05-02  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
987
988         * src/hildon-font-selection-dialog.c: Adding a small check when
989         freeing memory. 
990
991         * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
992         buttons sensitivity on page switching.
993
994 2007-04-27  Xan Lopez  <xan.lopez@nokia.com>
995
996         * src/hildon-bread-crumb-trail.c: make the add method handle all the
997         internal details of adding a bread crumb to the trail.
998
999 2007-04-26  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1000
1001         [1.0.4-1 release]
1002
1003         * README:
1004         * configure.ac:
1005         * debian/changelog: Updating.
1006
1007         * src/hildon-bread-crumb-trail.h:
1008         * src/hildon-bread-crumb.h: Changing the API guard to
1009         HILDON_ENABLE_UNSTABLE_API.
1010
1011 2007-04-26  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1012
1013         [1.0.3-1 release]
1014
1015         * NEWS:
1016         * configure.ac:
1017         * debian/changelog:
1018         * debian/rules:
1019         * src/hildon-helper.h: Updating.
1020
1021 2007-04-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1022
1023         [1.0.2-1 release]
1024
1025         * NEWS:
1026         * configure.ac:
1027         * debian/changelog:
1028
1029 2007-04-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1030
1031         * README:
1032         * configure.ac:
1033         * src/hildon-helper.h: Small fix to make the package actually compile.
1034
1035 2007-04-25  Xan Lopez  <xan.lopez@nokia.com>
1036
1037         * src/hildon-bread-crumb-trail.h:
1038         * src/hildon-bread-crumb.h:
1039
1040         Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
1041         to define ENABLE_UNSTABLE_API in the code that includes these headers.
1042         
1043 2007-04-25  Xan Lopez  <xan.lopez@nokia.com>
1044         
1045         * examples/hildon-bread-crumb-trail-example.c:
1046         * src/Makefile.am:
1047         * src/hildon-bread-crumb-trail.c:
1048         * src/hildon-bread-crumb-trail.h:
1049         * src/hildon-bread-crumb.c:
1050         * src/hildon-bread-crumb.h:
1051         * src/hildon-marshalers.list:
1052         * src/hildon-bread-crumb-widget.c:
1053         * src/hildon-bread-crumb-widget.h:
1054
1055         Slight change in the widget design. The bread crumb trail API is
1056         unchanged, but HildonBreadCrumb is now an interface. A *private*
1057         implementation, hildon-bread-crumb-widget, is provided and used
1058         internally by the trail for the push_text/push_icon functions.
1059
1060         The generic push API is still available, so anyone can implement
1061         and use its own bread crumb widget.
1062         
1063 2007-04-19  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1064
1065         * debian/rules: Fixing the shlibs.
1066
1067 2007-04-19  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1068
1069         * src/hildon-banner.c: Fixing a problem with timed banners having
1070         their parrent destroyed before they are.
1071
1072 2007-04-17  Xan Lopez  <xan.lopez@nokia.com>
1073
1074         * src/hildon-bread-crumb.c:
1075         * src/hildon-bread-crumb.h:
1076
1077         Make the get_natural_size function a vfunc.
1078
1079 2007-04-16  Xan Lopez  <xan.lopez@nokia.com>
1080
1081         * src/hildon-bread-crumb.c:
1082         * src/hildon-bread-crumb-trail.c:
1083
1084         Some cleanups.
1085
1086 2007-04-16  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1087
1088         [1.0.1-1 release]
1089
1090         * AUTHORS:
1091         * NEWS:
1092         * configure.ac:
1093         * debian/changelog: Updating for release.
1094
1095 2007-04-16  Xan Lopez  <xan.lopez@nokia.com>
1096
1097         * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
1098         don't leak the pango layout.
1099
1100 2007-04-16  Xan Lopez  <xan.lopez@nokia.com>
1101
1102         * src/hildon.h:
1103         * examples/hildon-bread-crumb-trail-example.c:
1104
1105         Fix example.
1106
1107 2007-04-16  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1108
1109         * debian/changelog: Removing the bug-fixed entries that were actually
1110         resolved as WONTFIX.
1111
1112         * src/hildon-date-editor.c: Removing a redundant check. Fixes
1113         NB#54182.
1114
1115 2007-04-13  Xan Lopez  <xan.lopez@nokia.com>
1116
1117         * src/hildon-bread-crumb-trail.c:
1118         * src/hildon-bread-crumb-trail.h:
1119         * src/hildon-bread-crumb.c:
1120         * src/hildon-bread-crumb.h:
1121
1122         Untabify.
1123         
1124 2007-04-13  Xan Lopez  <xan.lopez@nokia.com>
1125
1126         * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
1127         until it's passed the type check.
1128
1129 2007-04-12  Xan Lopez  <xan.lopez@nokia.com>
1130
1131         * examples/hildon-bread-crumb-trail-example.c
1132
1133         Add license.
1134         
1135 2007-04-12  Xan Lopez  <xan.lopez@nokia.com>
1136
1137         * examples/Makefile.am
1138         * examples/hildon-bread-crumb-trail-example.c
1139         * src/Makefile.am
1140         * src/hildon-bread-crumb-trail.c
1141         * src/hildon-bread-crumb-trail.h
1142         * src/hildon-bread-crumb.c
1143         * src/hildon-bread-crumb.h
1144
1145         New HildonBreadCrumbTrail widget.
1146
1147 2007-04-02  Lucas Rocha  <lucas.rocha@nokia.com>
1148
1149         * src/hildon-range-editor.c (hildon_range_editor_init),
1150         src/hildon-seekbar.c (hildon_seekbar_get_fraction,
1151         hildon_seekbar_set_fraction, hildon_seekbar_set_position),
1152         src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
1153         hildon_time_editor_class_init, hildon_time_editor_init),
1154         src/hildon-get-password-dialog.c (invalid_input,
1155         hildon_get_password_set_property, hildon_get_password_get_property,
1156         create_contents, hildon_get_password_dialog_set_max_characters),
1157         src/hildon-set-password-dialog.c (create_contents),
1158         src/hildon-date-editor.c (hildon_date_editor_init),
1159         src/hildon-login-dialog.c (hildon_login_dialog_init),
1160         src/hildon-number-editor.c (hildon_number_editor_init),
1161         src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
1162         hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
1163         the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
1164          configure option and adding the respective checks in the code.
1165         * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
1166         hildon_calendar_drag_data_received): fixed some build warnings.
1167
1168 2007-03-29  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1169
1170         * debian/changelog: A 1.0.0 release notes.
1171