~ubuntu-branches/ubuntu/maverick/almanah/maverick

« back to all changes in this revision

Viewing changes to ChangeLog

  • Committer: Bazaar Package Importer
  • Author(s): Stefan Ebner
  • Date: 2009-05-16 15:49:21 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20090516154921-2uhvlj8btb4qygmd
Tags: 0.6.1-0ubuntu1
* New upstream release (LP: #368078)
* debian/control:
  - Bump Standards-Version to 3.8.1
  - Add intltool, libedataserver1.2-dev, libedataserverui1.2-dev, 
    libecal1.2-dev, libcryptui-dev as build dependency
  - Remove build dependency on autotools-dev and chrpath
* debian/{control/compat/rules}: Move to mimalistic dh7 style
* Update debian/watch
* Update copyright information

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
============ Version 0.6.1
 
2
 
 
3
2009-06-01  Philip Withnall  <philip@tecnocode.co.uk>
 
4
 
 
5
        * INSTALL:
 
6
        * po/Makefile.in.in:
 
7
        * NEWS:
 
8
        * configure.ac: Bump to version 0.6.1.
 
9
 
 
10
2009-04-23  Philip Withnall  <philip@tecnocode.co.uk>
 
11
 
 
12
        * src/storage-manager.c (database_idle_cb): Add more debugging on
 
13
        failure to encrypt the database.
 
14
 
 
15
2009-04-10  Philip Withnall  <philip@tecnocode.co.uk>
 
16
 
 
17
        * src/interface.c (almanah_interface_create_text_tags):
 
18
        * src/main-window.c (almanah_main_window_new),
 
19
        (almanah_main_window_enable_spell_checking),
 
20
        (almanah_main_window_disable_spell_checking): Ensure we only enable
 
21
        spell checking once, and tidy up handling of spelling errors once
 
22
        spell checking has been disabled. (Closes: #578559)
 
23
 
 
24
2009-03-01  Philip Withnall  <philip@tecnocode.co.uk>
 
25
 
 
26
        * src/main-window.c: Added some missing #includes.
 
27
        * src/storage-manager.c (back_up_file),
 
28
        (almanah_storage_manager_connect): Make an automatic backup of the
 
29
        database before opening it just to be safe. (Closes: #572926)
 
30
 
 
31
2009-01-29  Philip Withnall  <philip@tecnocode.co.uk>
 
32
 
 
33
        * src/storage-manager.c (database_idle_cb), (encrypt_database):
 
34
        Only delete the plaintext database file if the encrypted database
 
35
        file's size is greater than 0B, to try and prevent data loss in
 
36
        odd situations.
 
37
 
 
38
============ Version 0.6.0
 
39
 
 
40
2009-01-27  Philip Withnall  <philip@tecnocode.co.uk>
 
41
 
 
42
        * NEWS:
 
43
        * configure.ac: Bump to version 0.6.0.
 
44
 
 
45
2009-01-27  Philip Withnall  <philip@tecnocode.co.uk>
 
46
 
 
47
        * src/definitions/note.c (note_view): Ensure that the main window
 
48
        doesn't steal the focus when viewing a note from the definition
 
49
        manager.
 
50
        * src/definition-manager-window.c
 
51
        (almanah_definition_manager_window_init):
 
52
        * src/interface.c:
 
53
        * src/interface.h:
 
54
        * src/main-window.c (add_definition_to_current_entry),
 
55
        (mw_search_activate_cb), (mw_preferences_activate_cb),
 
56
        (mw_view_definitions_activate_cb):
 
57
        * src/main.c (almanah_quit), (main):
 
58
        * src/main.h: Rearrange how dialogues and windows are opened such
 
59
        that they aren't resident in memory until first opened, which should
 
60
        speed up Almanah on startup, and reduce initial memory consumption.
 
61
 
 
62
2009-01-27  Philip Withnall  <philip@tecnocode.co.uk>
 
63
 
 
64
        * src/event-factories/calendar-sources.c: Updated from gnome-panel
 
65
        trunk.
 
66
        * src/main.c:
 
67
        * src/main.h: Fixed copyright headers to update the year.
 
68
 
 
69
2009-01-27  Philip Withnall  <philip@tecnocode.co.uk>
 
70
 
 
71
        * src/link-factories/:
 
72
        * src/links/: Remove directories which should've been removed when
 
73
        renaming links to events.
 
74
 
 
75
2009-01-27  Philip Withnall  <philip@tecnocode.co.uk>
 
76
 
 
77
        * src/main.c:
 
78
        * src/main.h: Fix a compilation error when compiling with -fno-common.
 
79
 
 
80
2009-01-14  Philip Withnall  <philip@tecnocode.co.uk>
 
81
 
 
82
        * data/almanah.schemas.in:
 
83
        * src/main-window.c (almanah_main_window_new),
 
84
        (mw_preferences_activate_cb),
 
85
        (almanah_main_window_enable_spell_checking),
 
86
        (almanah_main_window_disable_spell_checking):
 
87
        * src/main-window.h:
 
88
        * src/main.c (main):
 
89
        * src/preferences-dialog.c (almanah_preferences_dialog_init),
 
90
        (almanah_preferences_dialog_dispose),
 
91
        (almanah_preferences_dialog_new),
 
92
        (spell_checking_enabled_notify_cb),
 
93
        (pd_spell_checking_enabled_check_button_toggled_cb):
 
94
        Allow spell checking to be disabled at runtime with a GConf option.
 
95
        (Closes: #567359)
 
96
 
 
97
2008-12-24  Philip Withnall  <philip@tecnocode.co.uk>
 
98
 
 
99
        * src/printing.c (print_entry): Add a default margin of 20px when
 
100
        printing. (Closes: #564706)
 
101
 
 
102
2008-12-20  Philip Withnall  <philip@tecnocode.co.uk>
 
103
 
 
104
        * data/almanah.ui:
 
105
        * src/main-window.c (mw_page_setup_activate_cb),
 
106
        (mw_print_preview_activate_cb), (mw_print_activate_cb):
 
107
        * src/main.c (storage_manager_disconnected_cb), (main):
 
108
        * src/main.h:
 
109
        * src/printing.c (custom_widget_apply_cb), (almanah_print_entries),
 
110
        (almanah_print_page_setup):
 
111
        * src/printing.h: Add Page Setup and Print Preview menu entries,
 
112
        and improve the print settings code. (Helps: #564706)
 
113
 
 
114
2008-12-13  Philip Withnall  <philip@tecnocode.co.uk>
 
115
 
 
116
        * data/almanah.ui:
 
117
        * src/Makefile.am:
 
118
        * src/definition-manager-window.c
 
119
        (almanah_definition_manager_window_class_init),
 
120
        (almanah_definition_manager_window_init), (definitions_dispose_cb),
 
121
        (almanah_definition_manager_window_dispose),
 
122
        (almanah_definition_manager_window_new),
 
123
        (dmw_definition_tree_view_row_activated_cb),
 
124
        (dmw_view_button_clicked_cb), (dmw_remove_button_clicked_cb),
 
125
        (definition_selection_changed_cb), (definition_added_cb),
 
126
        (definition_removed_cb), (populate_definition_store):
 
127
        * src/definition-manager-window.h:
 
128
        * src/definition.c (almanah_definition_get_blurb):
 
129
        * src/definition.h:
 
130
        * src/definitions/file.c (almanah_file_definition_class_init),
 
131
        (file_get_blurb):
 
132
        * src/definitions/note.c (almanah_note_definition_class_init),
 
133
        (note_get_blurb):
 
134
        * src/definitions/uri.c (almanah_uri_definition_class_init),
 
135
        (uri_get_blurb):
 
136
        * src/interface.c (definition_tag_event_cb):
 
137
        * src/main-window.c (almanah_main_window_dispose),
 
138
        (almanah_main_window_new), (mw_entry_buffer_apply_tag_cb),
 
139
        (mw_view_definitions_activate_cb), (mw_definition_removed_cb):
 
140
        * src/main-window.h:
 
141
        * src/storage-manager.c: Added a "Definition Manager" interface, which
 
142
        allows the user to list all their definitions and manage them.
 
143
 
 
144
2008-12-13  Philip Withnall  <philip@tecnocode.co.uk>
 
145
 
 
146
        * data/almanah.ui:
 
147
        * src/add-definition-dialog.c (almanah_add_definition_dialog_new):
 
148
        * src/main-window.c (almanah_main_window_new):
 
149
        * src/preferences-dialog.c (almanah_preferences_dialog_new):
 
150
        * src/search-dialog.c (almanah_search_dialog_new):
 
151
        * src/storage-manager.c (almanah_storage_manager_class_init),
 
152
        (almanah_storage_manager_add_definition),
 
153
        (almanah_storage_manager_remove_definition): Replace the "dry_" UI
 
154
        prefix with "almanah_" for consistency.
 
155
 
 
156
2008-12-13  Philip Withnall  <philip@tecnocode.co.uk>
 
157
 
 
158
        * data/almanah.ui:
 
159
        * src/Makefile.am:
 
160
        * src/event-factories/calendar.c
 
161
        (almanah_calendar_event_factory_class_init),
 
162
        (almanah_calendar_event_factory_init),
 
163
        (almanah_calendar_event_factory_dispose), (query_events),
 
164
        (events_changed_cb), (get_events):
 
165
        * src/event-factories/calendar.h:
 
166
        * src/event-factory.c (almanah_event_factory_class_init),
 
167
        (almanah_event_factory_init), (almanah_event_factory_get_property),
 
168
        (almanah_event_factory_get_type_id),
 
169
        (almanah_event_factory_query_events),
 
170
        (almanah_event_factory_get_events):
 
171
        * src/event-factory.h:
 
172
        * src/event-manager.c (almanah_event_manager_class_init),
 
173
        (almanah_event_manager_init), (almanah_event_manager_dispose),
 
174
        (almanah_event_manager_new), (events_updated_cb),
 
175
        (almanah_event_manager_query_events),
 
176
        (almanah_event_manager_get_events):
 
177
        * src/event-manager.h:
 
178
        * src/event.c (almanah_event_class_init), (almanah_event_init),
 
179
        (almanah_event_get_property), (almanah_event_format_value),
 
180
        (almanah_event_view), (almanah_event_get_name),
 
181
        (almanah_event_get_description), (almanah_event_get_icon_name):
 
182
        * src/event.h:
 
183
        * src/events/calendar-appointment.c
 
184
        (almanah_calendar_appointment_event_class_init),
 
185
        (almanah_calendar_appointment_event_init),
 
186
        (almanah_calendar_appointment_event_finalize),
 
187
        (almanah_calendar_appointment_event_new),
 
188
        (almanah_calendar_appointment_event_format_value),
 
189
        (almanah_calendar_appointment_event_view):
 
190
        * src/events/calendar-appointment.h:
 
191
        * src/events/calendar-task.c
 
192
        (almanah_calendar_task_event_class_init),
 
193
        (almanah_calendar_task_event_init),
 
194
        (almanah_calendar_task_event_finalize),
 
195
        (almanah_calendar_task_event_new),
 
196
        (almanah_calendar_task_event_format_value),
 
197
        (almanah_calendar_task_event_view):
 
198
        * src/events/calendar-task.h:
 
199
        * src/link-factory.c:
 
200
        * src/link-factory.h:
 
201
        * src/link-manager.c:
 
202
        * src/link-manager.h:
 
203
        * src/link.c:
 
204
        * src/link.h:
 
205
        * src/main-window.c (almanah_main_window_new),
 
206
        (save_current_entry), (clear_factory_events),
 
207
        (mw_events_updated_cb), (mw_calendar_day_selected_cb),
 
208
        (mw_events_selection_changed_cb), (mw_events_value_data_cb),
 
209
        (mw_events_tree_view_row_activated_cb),
 
210
        (mw_view_button_clicked_cb):
 
211
        * src/main.c (almanah_quit), (main):
 
212
        * src/main.h:
 
213
        * src/storage-manager.h: Renamed "links" to "events", a name which
 
214
        slightly better reflects what they are.
 
215
 
 
216
2008-12-07  Philip Withnall  <philip@tecnocode.co.uk>
 
217
 
 
218
        * src/entry.c (almanah_entry_get_editability):
 
219
        * src/main-window.c (save_current_entry):
 
220
        * src/main.c (main):
 
221
        * src/main.h: Added a command-line --import-mode option to allow
 
222
        entries to be edited, regardless of their status and the current date.
 
223
        This allows for old entries to easily be one-time imported into
 
224
        Almanah from previous diaries. (Closes: #561106)
 
225
 
 
226
2008-12-06  Philip Withnall  <philip@tecnocode.co.uk>
 
227
 
 
228
        * src/link-factories/calendar.c (get_links):
 
229
        * src/links/calendar-appointment.c
 
230
        (almanah_calendar_appointment_link_finalize),
 
231
        (almanah_calendar_appointment_link_new),
 
232
        (almanah_calendar_appointment_link_format_value),
 
233
        (almanah_calendar_appointment_link_view):
 
234
        * src/links/calendar-appointment.h:
 
235
        * src/links/calendar-task.c
 
236
        (almanah_calendar_task_link_format_value),
 
237
        (almanah_calendar_task_link_view): Allow appointment and task links to
 
238
        be viewed by spawning Evolution.
 
239
        * src/main-window.c (clear_factory_links), (mw_links_updated_cb):
 
240
        Fix a memory leak caused by not unreffing some links.
 
241
 
 
242
2008-12-06  Philip Withnall  <philip@tecnocode.co.uk>
 
243
 
 
244
        * configure.ac:
 
245
        * data/almanah.ui:
 
246
        * src/Makefile.am:
 
247
        * src/add-definition-dialog.c
 
248
        (almanah_add_definition_dialog_class_init),
 
249
        (almanah_add_definition_dialog_init),
 
250
        (almanah_add_definition_dialog_dispose),
 
251
        (almanah_add_definition_dialog_finalize),
 
252
        (almanah_add_definition_dialog_get_property),
 
253
        (almanah_add_definition_dialog_set_property),
 
254
        (almanah_add_definition_dialog_new), (destroy_extra_widgets),
 
255
        (response_cb), (add_type_combo_box_changed_cb),
 
256
        (almanah_add_definition_dialog_get_text),
 
257
        (almanah_add_definition_dialog_set_text),
 
258
        (almanah_add_definition_dialog_get_definition):
 
259
        * src/add-definition-dialog.h:
 
260
        * src/add-link-dialog.c:
 
261
        * src/add-link-dialog.h:
 
262
        * src/definition.c (almanah_definition_class_init),
 
263
        (almanah_definition_init), (almanah_definition_finalize),
 
264
        (almanah_definition_get_property),
 
265
        (almanah_definition_set_property), (almanah_definition_new),
 
266
        (almanah_definition_get_type_id), (almanah_definition_get_name),
 
267
        (almanah_definition_get_description),
 
268
        (almanah_definition_get_icon_name), (almanah_definition_view),
 
269
        (almanah_definition_build_dialog),
 
270
        (almanah_definition_close_dialog), (almanah_definition_parse_text),
 
271
        (almanah_definition_get_text), (almanah_definition_set_text),
 
272
        (almanah_definition_get_value), (almanah_definition_set_value),
 
273
        (almanah_definition_get_value2), (almanah_definition_set_value2),
 
274
        (almanah_definition_populate_model):
 
275
        * src/definition.h:
 
276
        * src/definitions/file.c (almanah_file_definition_class_init),
 
277
        (almanah_file_definition_init), (file_view), (file_build_dialog),
 
278
        (file_close_dialog), (file_parse_text):
 
279
        * src/definitions/file.h:
 
280
        * src/definitions/note.c (almanah_note_definition_class_init),
 
281
        (almanah_note_definition_init), (note_view), (note_build_dialog),
 
282
        (note_close_dialog), (note_parse_text):
 
283
        * src/definitions/note.h:
 
284
        * src/definitions/uri.c (almanah_uri_definition_class_init),
 
285
        (almanah_uri_definition_init), (uri_view), (uri_build_dialog),
 
286
        (uri_close_dialog), (uri_parse_text):
 
287
        * src/definitions/uri.h:
 
288
        * src/entry.h:
 
289
        * src/interface.c (almanah_create_interface),
 
290
        (definition_tag_event_cb), (almanah_interface_create_text_tags):
 
291
        * src/interface.h:
 
292
        * src/link-factories/calendar-client.c (calendar_client_get_type),
 
293
        (calendar_client_class_init),
 
294
        (calendar_client_config_get_timezone),
 
295
        (calendar_client_config_get_icaltimezone),
 
296
        (calendar_client_set_timezone),
 
297
        (calendar_client_timezone_changed_cb), (cal_opened_cb),
 
298
        (load_calendars), (calendar_client_init),
 
299
        (calendar_client_finalize), (calendar_client_set_property),
 
300
        (calendar_client_get_property), (calendar_client_new),
 
301
        (make_time_for_day_begin), (make_isodate_for_day_begin),
 
302
        (get_time_from_property), (get_ical_uid), (get_ical_rid),
 
303
        (get_ical_summary), (get_ical_description), (get_ical_start_time),
 
304
        (get_ical_end_time), (get_ical_is_all_day), (get_ical_due_time),
 
305
        (get_ical_percent_complete), (get_ical_completed_time),
 
306
        (get_ical_priority), (get_source_color), (get_source_uri),
 
307
        (null_safe_strcmp), (calendar_appointment_equal),
 
308
        (calendar_appointment_copy), (calendar_appointment_finalize),
 
309
        (calendar_appointment_init), (resolve_timezone_id),
 
310
        (calendar_appointment_collect_occurrence),
 
311
        (calendar_appointment_generate_ocurrences), (calendar_task_equal),
 
312
        (calendar_task_copy), (calendar_task_finalize),
 
313
        (calendar_task_init), (calendar_event_free), (calendar_event_new),
 
314
        (calendar_event_copy), (calendar_event_get_uid),
 
315
        (calendar_event_equal), (calendar_event_generate_ocurrences),
 
316
        (calendar_event_debug_dump), (goddamn_this_is_crack),
 
317
        (calendar_client_handle_query_completed),
 
318
        (calendar_client_handle_query_result), (check_object_remove),
 
319
        (calendar_client_handle_objects_removed),
 
320
        (calendar_client_query_finalize), (calendar_client_stop_query),
 
321
        (calendar_client_start_query),
 
322
        (calendar_client_update_appointments),
 
323
        (calendar_client_update_tasks), (calendar_client_source_finalize),
 
324
        (compare_calendar_sources), (calendar_client_update_sources_list),
 
325
        (calendar_client_appointment_sources_changed),
 
326
        (calendar_client_task_sources_changed), (calendar_client_get_date),
 
327
        (calendar_client_select_month), (calendar_client_select_day),
 
328
        (filter_appointment), (filter_task),
 
329
        (calendar_client_filter_events), (calendar_client_get_events),
 
330
        (day_from_time_t), (calendar_client_foreach_appointment_day),
 
331
        (calendar_client_set_task_completed):
 
332
        * src/link-factories/calendar-client.h:
 
333
        * src/link-factories/calendar-debug.h:
 
334
        * src/link-factories/calendar-sources.c
 
335
        (calendar_sources_get_type), (calendar_sources_class_init),
 
336
        (calendar_sources_init), (calendar_sources_finalize_source_data),
 
337
        (calendar_sources_finalize), (calendar_sources_get),
 
338
        (is_source_selected), (auth_func_cb), (get_ecal_from_source),
 
339
        (compare_ecal_lists), (debug_dump_selected_sources),
 
340
        (debug_dump_ecal_list), (backend_restart), (backend_died_cb),
 
341
        (calendar_sources_load_esource_list),
 
342
        (calendar_sources_esource_list_changed),
 
343
        (calendar_sources_selected_sources_notify),
 
344
        (calendar_sources_load_sources),
 
345
        (calendar_sources_get_appointment_sources),
 
346
        (calendar_sources_get_task_sources):
 
347
        * src/link-factories/calendar-sources.h:
 
348
        * src/link-factories/calendar.c
 
349
        (almanah_calendar_link_factory_class_init),
 
350
        (almanah_calendar_link_factory_init),
 
351
        (almanah_calendar_link_factory_dispose), (query_links),
 
352
        (events_changed_cb), (date_to_time), (get_links):
 
353
        * src/link-factories/calendar.h:
 
354
        * src/link-factory.c (almanah_link_factory_class_init),
 
355
        (almanah_link_factory_init), (almanah_link_factory_get_property),
 
356
        (almanah_link_factory_get_type_id),
 
357
        (almanah_link_factory_query_links),
 
358
        (almanah_link_factory_get_links):
 
359
        * src/link-factory.h:
 
360
        * src/link-manager.c (almanah_link_manager_class_init),
 
361
        (almanah_link_manager_init), (almanah_link_manager_dispose),
 
362
        (almanah_link_manager_new), (links_updated_cb),
 
363
        (almanah_link_manager_query_links),
 
364
        (almanah_link_manager_get_links):
 
365
        * src/link-manager.h:
 
366
        * src/link.c (almanah_link_class_init), (almanah_link_init),
 
367
        (almanah_link_get_property), (almanah_link_view),
 
368
        (almanah_link_get_icon_name):
 
369
        * src/link.h:
 
370
        * src/links/calendar-appointment.c
 
371
        (almanah_calendar_appointment_link_class_init),
 
372
        (almanah_calendar_appointment_link_init),
 
373
        (almanah_calendar_appointment_link_finalize),
 
374
        (almanah_calendar_appointment_link_new),
 
375
        (almanah_calendar_appointment_link_format_value),
 
376
        (almanah_calendar_appointment_link_view):
 
377
        * src/links/calendar-appointment.h:
 
378
        * src/links/calendar-task.c
 
379
        (almanah_calendar_task_link_class_init),
 
380
        (almanah_calendar_task_link_init),
 
381
        (almanah_calendar_task_link_finalize),
 
382
        (almanah_calendar_task_link_new),
 
383
        (almanah_calendar_task_link_format_value),
 
384
        (almanah_calendar_task_link_view):
 
385
        * src/links/calendar-task.h:
 
386
        * src/links/file.c:
 
387
        * src/links/file.h:
 
388
        * src/links/note.c:
 
389
        * src/links/note.h:
 
390
        * src/links/uri.c:
 
391
        * src/links/uri.h:
 
392
        * src/main-window.c (almanah_main_window_new),
 
393
        (save_current_entry), (add_definition_to_current_entry),
 
394
        (remove_definition_from_current_entry),
 
395
        (mw_entry_buffer_cursor_position_cb), (apply_formatting),
 
396
        (mw_about_activate_cb), (mw_add_definition_activate_cb),
 
397
        (mw_remove_definition_activate_cb), (clear_factory_links),
 
398
        (mw_links_updated_cb), (mw_calendar_day_selected_cb),
 
399
        (mw_links_selection_changed_cb), (mw_links_value_data_cb),
 
400
        (mw_links_tree_view_row_activated_cb), (mw_view_button_clicked_cb):
 
401
        * src/main.c (almanah_quit), (main):
 
402
        * src/main.h:
 
403
        * src/printing.c (almanah_print_entries):
 
404
        * src/storage-manager.c (create_tables),
 
405
        (almanah_storage_manager_get_statistics),
 
406
        (almanah_storage_manager_set_entry),
 
407
        (almanah_storage_manager_get_definitions),
 
408
        (almanah_storage_manager_get_definition),
 
409
        (almanah_storage_manager_add_definition),
 
410
        (almanah_storage_manager_remove_definition):
 
411
        * src/storage-manager.h: Radically rearrange the "links" system so
 
412
        that "links" are now dynamic objects listed per-day, and immutable by
 
413
        the user. To replace the old "links", "definitions" have been added,
 
414
        whereby the user can define some information to be associated with a
 
415
        string across all the entries in the diary. For example, a person or
 
416
        project could be defined, and then the same associated data referenced
 
417
        from multiple entries.
 
418
        There isn't currently an interface for viewing a list of definitions,
 
419
        but one is planned.
 
420
        The old "link" types have been ported to being definition types, and
 
421
        two *new* link types have been added to complement the new system of
 
422
        link factories, which allow for dynamic link listing. The new link
 
423
        types are calendar appointments and tasks, via Evolution. Some of the
 
424
        code for this (src/link-factories/calendar-*.[ch]) is taken from the
 
425
        clock applet in gnome-panel, under the GPLv2+. It hasn't been
 
426
        modified, and should be kept in sync with the originals in
 
427
        gnome-panel.
 
428
 
 
429
2008-11-16  Philip Withnall  <philip@tecnocode.co.uk>
 
430
 
 
431
        * src/preferences-dialog.c (almanah_preferences_dialog_new):
 
432
        Fix a crash caused by dereferencing a NULL pointer.
 
433
 
 
434
2008-11-16  Philip Withnall  <philip@tecnocode.co.uk>
 
435
 
 
436
        Fix file permissions.
 
437
 
 
438
2008-11-16  Philip Withnall  <philip@tecnocode.co.uk>
 
439
 
 
440
        * configure.ac:
 
441
        * data/almanah.ui:
 
442
        * src/links/uri.c (uri_build_dialog):
 
443
        * src/preferences-dialog.c (almanah_preferences_dialog_new):
 
444
        Add accessibility information to the UI, so that it is navigable in
 
445
        both Accerciser and GOK. Note: adds a dependency on ATK.
 
446
 
 
447
============ Version 0.5.0
 
448
 
 
449
2008-11-16  Philip Withnall  <philip@tecnocode.co.uk>
 
450
 
 
451
        * NEWS:
 
452
        * configure.ac: Bump to version 0.5.0.
 
453
        * src/Makefile.am:
 
454
        * src/link.c: Fix a build error where the link type headers
 
455
        weren't being found.
 
456
 
 
457
2008-11-16  Philip Withnall  <philip@tecnocode.co.uk>
 
458
 
 
459
        * data/almanah.schemas.in:
 
460
        * src/main-window.c (almanah_main_window_new): Allow the spelling
 
461
        language to be set with a GConf key.
 
462
 
 
463
2008-11-16  Philip Withnall  <philip@tecnocode.co.uk>
 
464
 
 
465
        * README:
 
466
        * configure.ac: Updated GTK+ dependency to 2.14 for gtk_show_uri().
 
467
        * src/link.c (almanah_link_get_value), (almanah_link_get_value2):
 
468
        * src/link.h:
 
469
        * src/links/file.c (file_format_value), (file_view):
 
470
        * src/links/note.c (note_format_value), (note_view):
 
471
        * src/links/uri.c (uri_format_value), (uri_view):
 
472
        * src/main-window.c (mw_calendar_day_selected_cb):
 
473
        * src/storage-manager.c (almanah_storage_manager_add_entry_link):
 
474
        Clean up the link API a little to reduce the number of string
 
475
        duplications, and also clean up the code for viewing URIs and files.
 
476
 
 
477
2008-11-13  Philip Withnall  <philip@tecnocode.co.uk>
 
478
 
 
479
        * src/link.c: Remove an unnecessary comment.
 
480
        * src/main-window.c (get_selected_date),
 
481
        (add_link_to_current_entry), (remove_link_from_current_entry),
 
482
        (mw_calendar_day_selected_cb), (mw_links_value_data_cb):
 
483
        Refactor some of the date handling code into a separate function.
 
484
        * src/interface.c (almanah_calendar_month_changed_cb):
 
485
        * src/storage-manager.c
 
486
        (almanah_storage_manager_get_month_marked_days):
 
487
        * src/storage-manager.h: Use a variable-length array for the
 
488
        mark data for each month.
 
489
 
 
490
2008-11-13  Philip Withnall  <philip@tecnocode.co.uk>
 
491
 
 
492
        * configure.ac: Use AC_HELP_STRING.
 
493
 
 
494
2008-11-13  Philip Withnall  <philip@tecnocode.co.uk>
 
495
 
 
496
        * src/entry.c (almanah_entry_get_content):
 
497
        * src/entry.h:
 
498
        * src/main-window.c (mw_calendar_day_selected_cb):
 
499
        * src/printing.c (print_entry):
 
500
        * src/storage-manager.c (almanah_storage_manager_search_entries):
 
501
        Fix problems with automatically creating tags when deserialising an
 
502
        entry into a GtkTextBuffer.
 
503
        * src/search-dialog.c (sd_search_button_clicked_cb): Make sure the
 
504
        result list is cleared before doing a new search.
 
505
 
 
506
2008-11-13  Philip Withnall  <philip@tecnocode.co.uk>
 
507
 
 
508
        * src/storage-manager.c (almanah_storage_manager_disconnect): Fixed
 
509
        string ("s/almanah/diary/").
 
510
 
 
511
2008-11-13  Philip Withnall  <philip@tecnocode.co.uk>
 
512
 
 
513
        * src/interface.c (almanah_calendar_month_changed_cb):
 
514
        * src/main-window.c (mw_entry_buffer_cursor_position_cb):
 
515
        * src/storage-manager.c (almanah_storage_manager_query),
 
516
        (almanah_storage_manager_free_results),
 
517
        (almanah_storage_manager_get_statistics),
 
518
        (almanah_storage_manager_get_month_marked_days): Changed from GSlice
 
519
        allocation to the more-appropriate g_malloc and g_new.
 
520
        May fix some slice-related crashes on quitting.
 
521
 
 
522
2008-10-28  Philip Withnall  <philip@tecnocode.co.uk>
 
523
 
 
524
        * src/Makefile.am:
 
525
        * src/entry.c (almanah_entry_get_content):
 
526
        * src/interface.c (almanah_create_interface):
 
527
        * src/main-window.c (almanah_main_window_new),
 
528
        (mw_preferences_activate_cb):
 
529
        * src/main.c (storage_manager_disconnected_cb), (almanah_quit),
 
530
        (main):
 
531
        * src/main.h: Only allow the Preferences dialogue to be opened if
 
532
        encryption support is compiled in.
 
533
        * src/storage-manager.c (almanah_storage_manager_get_statistics):
 
534
        Fix a crasher when getting database statistics.
 
535
 
 
536
2008-10-28  Philip Withnall  <philip@tecnocode.co.uk>
 
537
 
 
538
        Updated svn:ignore lists.
 
539
 
 
540
2008-10-26  Philip Withnall  <philip@tecnocode.co.uk>
 
541
 
 
542
        * configure.ac:
 
543
        * data/Makefile.am:
 
544
        * data/almanah.schemas.in:
 
545
        * src/main-window.c (almanah_main_window_dispose),
 
546
        (almanah_main_window_new), (save_window_state),
 
547
        (restore_window_state), (mw_delete_event_cb): Save the window
 
548
        dimensions and position upon exiting, and restore them when starting
 
549
        the program. Promotes the dependency on GConf to be mandatory (was
 
550
        previously dependent on compiling with encryption support).
 
551
        * src/links/file.c (file_view): Fix a compilation error about
 
552
        mismatched pointer types.
 
553
 
 
554
2008-10-23  Philip Withnall  <philip@tecnocode.co.uk>
 
555
 
 
556
        * src/add-link-dialog.c (almanah_add_link_dialog_new):
 
557
        * src/interface.c:
 
558
        * src/interface.h:
 
559
        * src/links/file.c (file_view):
 
560
        * src/links/note.c:
 
561
        * src/links/uri.c (uri_view):
 
562
        * src/main-window.c (almanah_main_window_new),
 
563
        (save_current_entry), (mw_calendar_day_selected_cb):
 
564
        * src/main.c (almanah_quit), (main):
 
565
        * src/preferences-dialog.c (almanah_preferences_dialog_new),
 
566
        (pd_key_combo_changed_cb), (pd_new_key_button_clicked_cb):
 
567
        * src/search-dialog.c (almanah_search_dialog_new):
 
568
        Kill almanah_interface_error.
 
569
 
 
570
2008-10-22  Philip Withnall  <philip@tecnocode.co.uk>
 
571
 
 
572
        * data/almanah.ui: Fix one missing rename from the previous commit.
 
573
        * src/entry.c (almanah_entry_get_content):
 
574
        * src/search-dialog.c (sd_search_button_clicked_cb):
 
575
        * src/storage-manager.c (almanah_storage_manager_search_entries):
 
576
        * src/storage-manager.h: Rewrite the method to search for an entry
 
577
        so that it now works with the new serialised entry format.
 
578
 
 
579
2008-10-22  Philip Withnall  <philip@tecnocode.co.uk>
 
580
 
 
581
        * src/add-link-dialog.c (almanah_add_link_dialog_new):
 
582
        * src/interface.c (almanah_get_interface_filename),
 
583
        (almanah_create_interface), (almanah_interface_embolden_label),
 
584
        (almanah_interface_error), (almanah_calendar_month_changed_cb):
 
585
        * src/interface.h:
 
586
        * src/link.c (almanah_link_view):
 
587
        * src/links/file.c (file_view):
 
588
        * src/links/note.c (note_view):
 
589
        * src/links/uri.c (uri_view):
 
590
        * src/main-window.c (almanah_main_window_new),
 
591
        (save_current_entry), (add_link_to_current_entry),
 
592
        (remove_link_from_current_entry), (mw_delete_event_cb),
 
593
        (mw_print_activate_cb), (mw_quit_activate_cb),
 
594
        (mw_search_activate_cb), (mw_preferences_activate_cb),
 
595
        (mw_about_activate_cb), (mw_calendar_day_selected_cb):
 
596
        * src/main.c (storage_manager_disconnected_cb), (almanah_quit),
 
597
        (main):
 
598
        * src/main.h:
 
599
        * src/preferences-dialog.c (almanah_preferences_dialog_new),
 
600
        (pd_key_combo_changed_cb), (pd_new_key_button_clicked_cb):
 
601
        * src/printing.c (print_entry), (paginate_cb), (draw_page_cb),
 
602
        (create_custom_widget_cb), (custom_widget_apply_cb),
 
603
        (almanah_print_entries):
 
604
        * src/printing.h:
 
605
        * src/search-dialog.c (almanah_search_dialog_new),
 
606
        (sd_search_button_clicked_cb), (select_date):
 
607
        * src/storage-manager.c (get_encryption_key),
 
608
        (almanah_storage_manager_query),
 
609
        (almanah_storage_manager_query_async): Rewrite the API to consistently
 
610
        use the "almanah" namespace, rather than "diary".
 
611
 
 
612
2008-10-22  Philip Withnall  <philip@tecnocode.co.uk>
 
613
 
 
614
        * src/main-window.c (almanah_main_window_new),
 
615
        (mw_entry_buffer_cursor_position_cb),
 
616
        (mw_entry_buffer_insert_text_cb),
 
617
        (mw_entry_buffer_insert_text_after_cb), (apply_formatting),
 
618
        (mw_bold_toggled_cb), (mw_italic_toggled_cb),
 
619
        (mw_underline_toggled_cb): Fix some corner case problems with text
 
620
        formatting, especially when adding text to the end of a formatted
 
621
        range.
 
622
 
 
623
2008-10-22  Philip Withnall  <philip@tecnocode.co.uk>
 
624
 
 
625
        * data/almanah.ui:
 
626
        * src/main-window.c (almanah_main_window_new),
 
627
        (mw_entry_buffer_cursor_position_cb),
 
628
        (mw_entry_buffer_has_selection_cb): Ensure the Cut/Copy/Delete actions
 
629
        are only sensitive when a text range is selected in the current entry.
 
630
        Also ensure that the entry text view has the default focus.
 
631
 
 
632
2008-10-19  Philip Withnall  <philip@tecnocode.co.uk>
 
633
 
 
634
        * src/entry.c (almanah_entry_class_init), (almanah_entry_init),
 
635
        (almanah_entry_finalize), (almanah_entry_get_property),
 
636
        (almanah_entry_set_property), (almanah_entry_get_data),
 
637
        (almanah_entry_set_data), (almanah_entry_get_content),
 
638
        (almanah_entry_set_content), (almanah_entry_is_empty):
 
639
        * src/entry.h:
 
640
        * src/main-window.c (save_current_entry), (mw_about_activate_cb),
 
641
        (mw_calendar_day_selected_cb):
 
642
        * src/printing.c (get_iter_attrs), (is_empty_line),
 
643
        (lay_out_entry), (print_entry), (custom_widget_apply_cb),
 
644
        (diary_print_entries):
 
645
        * src/storage-manager.c (almanah_storage_manager_get_statistics),
 
646
        (almanah_storage_manager_get_entry),
 
647
        (almanah_storage_manager_set_entry),
 
648
        (almanah_storage_manager_search_entries):
 
649
        * src/storage-manager.h: Serialise and deserialise entries when
 
650
        writing them to/from the database to enable persistence of formatting
 
651
        tags. Modify the printing code to also be able to deal with
 
652
        formatting tags.
 
653
 
 
654
2008-10-18  Philip Withnall  <philip@tecnocode.co.uk>
 
655
 
 
656
        * src/search-dialog.c (almanah_search_dialog_new): Make the "Search"
 
657
        button the default so that it is activated when enter is pressed in
 
658
        the search entry.
 
659
 
 
660
2008-10-15  Philip Withnall  <philip@tecnocode.co.uk>
 
661
 
 
662
        * data/almanah.ui:
 
663
        * src/preferences-dialog.c (almanah_preferences_dialog_new),
 
664
        (pd_new_key_button_clicked_cb): Add a button to launch Seahorse
 
665
        to enable creation of new keys from the preferences dialogue.
 
666
        (Closes: #539792)
 
667
 
 
668
2008-10-14  Philip Withnall  <philip@tecnocode.co.uk>
 
669
 
 
670
        * configure.ac:
 
671
        * data/Makefile.am:
 
672
        * data/almanah.schemas.in:
 
673
        * data/almanah.ui:
 
674
        * src/Makefile.am:
 
675
        * src/interface.c (diary_create_interface):
 
676
        * src/main-window.c (almanah_main_window_new),
 
677
        (mw_preferences_activate_cb):
 
678
        * src/main.c (diary_quit):
 
679
        * src/main.h:
 
680
        * src/preferences-dialog.c (almanah_preferences_dialog_class_init),
 
681
        (almanah_preferences_dialog_init),
 
682
        (almanah_preferences_dialog_dispose),
 
683
        (almanah_preferences_dialog_new), (pd_key_combo_changed_cb),
 
684
        (pd_response_cb):
 
685
        * src/preferences-dialog.h:
 
686
        * src/storage-manager.c (get_encryption_key): Add a preferences
 
687
        dialogue, with the ability to choose the encryption key, but not
 
688
        yet the ability to create new keys. (Helps: #539792)
 
689
 
 
690
2008-10-12  Philip Withnall  <philip@tecnocode.co.uk>
 
691
 
 
692
        * src/main.c (storage_manager_disconnected_cb), (diary_quit),
 
693
        (main):
 
694
        * src/main.h:
 
695
        * src/storage-manager.c (almanah_storage_manager_class_init),
 
696
        (create_tables), (cipher_operation_free), (database_idle_cb),
 
697
        (decrypt_database), (encrypt_database),
 
698
        (almanah_storage_manager_connect),
 
699
        (almanah_storage_manager_disconnect),
 
700
        (almanah_storage_manager_query),
 
701
        (almanah_storage_manager_query_async),
 
702
        (almanah_storage_manager_get_statistics),
 
703
        (almanah_storage_manager_entry_exists),
 
704
        (almanah_storage_manager_get_entry),
 
705
        (almanah_storage_manager_set_entry),
 
706
        (almanah_storage_manager_search_entries),
 
707
        (almanah_storage_manager_get_month_marked_days),
 
708
        (almanah_storage_manager_get_entry_links),
 
709
        (almanah_storage_manager_add_entry_link),
 
710
        (almanah_storage_manager_remove_entry_link):
 
711
        * src/storage-manager.h: Cleaned up AlmanahStorageManager, removing
 
712
        all GUI code from it, and replacing it with signals and GErrors.
 
713
        Also improved recovery from database corruption, with better logic in
 
714
        place for handling missing or empty plaintext/encrypted database
 
715
        files.
 
716
 
 
717
2008-10-11  Philip Withnall  <philip@tecnocode.co.uk>
 
718
 
 
719
        * Makefile.am:
 
720
        * configure.ac:
 
721
        * src/Makefile.am:
 
722
        * src/main-window.c (almanah_main_window_new),
 
723
        (mw_calendar_day_selected_cb): Make spell checking optional at
 
724
        compile time.
 
725
 
 
726
2008-10-10  Philip Withnall  <philip@tecnocode.co.uk>
 
727
 
 
728
        * src/main-window.c (save_current_entry),
 
729
        (add_link_to_current_entry), (remove_link_from_current_entry):
 
730
        * src/storage-manager.c (almanah_storage_manager_set_entry):
 
731
        Remove any GTK+ code from the storage manager, moving it to the
 
732
        main window instead. Ensure that links aren't orphaned when an entry
 
733
        is deleted. Similarly, ensure the links treeview is cleared when an
 
734
        entry is deleted.
 
735
 
 
736
2008-10-10  Philip Withnall  <philip@tecnocode.co.uk>
 
737
 
 
738
        * data/almanah.ui:
 
739
        * src/Makefile.am:
 
740
        * src/add-link-dialog.c (almanah_add_link_dialog_class_init),
 
741
        (almanah_add_link_dialog_init), (almanah_add_link_dialog_dispose),
 
742
        (almanah_add_link_dialog_new), (destroy_extra_widgets),
 
743
        (ald_response_cb), (ald_type_combo_box_changed_cb), (ald_show_cb),
 
744
        (almanah_add_link_dialog_get_link):
 
745
        * src/add-link-dialog.h:
 
746
        * src/entry.c (almanah_entry_class_init), (almanah_entry_init),
 
747
        (almanah_entry_finalize), (almanah_entry_get_property),
 
748
        (almanah_entry_set_property), (almanah_entry_new),
 
749
        (almanah_entry_set_content), (almanah_entry_get_content),
 
750
        (almanah_entry_get_date), (almanah_entry_get_editability),
 
751
        (almanah_entry_is_empty):
 
752
        * src/entry.h:
 
753
        * src/interface.c (diary_get_interface_filename),
 
754
        (diary_create_interface), (diary_interface_error),
 
755
        (diary_calendar_month_changed_cb):
 
756
        * src/interface.h:
 
757
        * src/link.c (almanah_link_class_init), (almanah_link_init),
 
758
        (almanah_link_finalize), (almanah_link_get_property),
 
759
        (almanah_link_set_property), (almanah_link_new),
 
760
        (almanah_link_format_value), (almanah_link_view),
 
761
        (almanah_link_build_dialog), (almanah_link_get_values),
 
762
        (almanah_link_populate_model), (almanah_link_get_type_id),
 
763
        (almanah_link_get_name), (almanah_link_get_description),
 
764
        (almanah_link_get_icon_name), (almanah_link_get_value),
 
765
        (almanah_link_set_value), (almanah_link_get_value2),
 
766
        (almanah_link_set_value2):
 
767
        * src/link.h:
 
768
        * src/links/file.c (almanah_file_link_class_init),
 
769
        (almanah_file_link_init), (file_format_value), (file_view),
 
770
        (file_build_dialog), (file_get_values):
 
771
        * src/links/file.h:
 
772
        * src/links/note.c (almanah_note_link_class_init),
 
773
        (almanah_note_link_init), (note_format_value), (note_view),
 
774
        (note_build_dialog), (note_get_values):
 
775
        * src/links/note.h:
 
776
        * src/links/uri.c (almanah_uri_link_class_init),
 
777
        (almanah_uri_link_init), (uri_format_value), (uri_view),
 
778
        (uri_build_dialog), (uri_get_values):
 
779
        * src/links/uri.h:
 
780
        * src/main-window.c (almanah_main_window_class_init),
 
781
        (almanah_main_window_init), (almanah_main_window_dispose),
 
782
        (almanah_main_window_new), (save_current_entry),
 
783
        (add_link_to_current_entry), (remove_link_from_current_entry),
 
784
        (almanah_main_window_select_date),
 
785
        (mw_entry_buffer_cursor_position_changed_cb), (mw_delete_event_cb),
 
786
        (mw_quit_activate_cb), (mw_cut_activate_cb), (mw_copy_activate_cb),
 
787
        (mw_paste_activate_cb), (mw_delete_activate_cb),
 
788
        (mw_search_activate_cb), (apply_formatting), (mw_bold_toggled_cb),
 
789
        (mw_italic_toggled_cb), (mw_underline_toggled_cb),
 
790
        (mw_about_activate_cb), (mw_jump_to_today_activate_cb),
 
791
        (mw_add_link_activate_cb), (mw_remove_link_activate_cb),
 
792
        (mw_calendar_day_selected_cb), (mw_links_selection_changed_cb),
 
793
        (mw_links_value_data_cb), (mw_links_tree_view_row_activated_cb),
 
794
        (mw_entry_view_focus_out_event_cb), (mw_add_button_clicked_cb),
 
795
        (mw_remove_button_clicked_cb), (mw_view_button_clicked_cb):
 
796
        * src/main-window.h:
 
797
        * src/main.c (diary_quit), (main):
 
798
        * src/main.h:
 
799
        * src/printing.c (print_entry):
 
800
        * src/search-dialog.c (almanah_search_dialog_class_init),
 
801
        (almanah_search_dialog_init), (almanah_search_dialog_new),
 
802
        (sd_results_selection_changed_cb), (sd_response_cb),
 
803
        (sd_search_button_clicked_cb), (select_date),
 
804
        (sd_view_button_clicked_cb):
 
805
        * src/search-dialog.h:
 
806
        * src/storage-manager.c (almanah_storage_manager_error_quark),
 
807
        (almanah_storage_manager_class_init),
 
808
        (almanah_storage_manager_init), (almanah_storage_manager_new),
 
809
        (almanah_storage_manager_finalize),
 
810
        (almanah_storage_manager_get_property),
 
811
        (almanah_storage_manager_set_property), (create_tables),
 
812
        (prepare_gpgme), (open_db_files), (decrypt_database),
 
813
        (encrypt_database), (almanah_storage_manager_connect),
 
814
        (almanah_storage_manager_disconnect),
 
815
        (almanah_storage_manager_query),
 
816
        (almanah_storage_manager_free_results),
 
817
        (almanah_storage_manager_query_async),
 
818
        (almanah_storage_manager_get_statistics),
 
819
        (almanah_storage_manager_entry_exists),
 
820
        (almanah_storage_manager_get_entry),
 
821
        (almanah_storage_manager_set_entry),
 
822
        (almanah_storage_manager_search_entries),
 
823
        (almanah_storage_manager_get_month_marked_days),
 
824
        (almanah_storage_manager_get_entry_links),
 
825
        (almanah_storage_manager_add_entry_link),
 
826
        (almanah_storage_manager_remove_entry_link):
 
827
        * src/storage-manager.h: Major architectural update, moving a lot of
 
828
        things to GObject, and adding basic text formatting support.
 
829
 
 
830
2008-09-24  Philip Withnall  <philip@tecnocode.co.uk>
 
831
 
 
832
        * data/almanah.desktop.in:
 
833
        * src/main-window.c (mw_about_activate_cb): Update the Bugzilla
 
834
        details and fix a few incorrect and stubbornly-remaining instances
 
835
        of the old application name.
 
836
 
 
837
2008-08-27  Philip Withnall  <philip@tecnocode.co.uk>
 
838
 
 
839
        * src/main-window.c: (mw_calendar_day_selected_cb): Force GtkSpell to
 
840
        re-check the text view for spelling errors when the day changes.
 
841
        (Closes: #546789)
 
842
 
 
843
2008-08-26  Philip Withnall  <philip@tecnocode.co.uk>
 
844
 
 
845
        * src/main-window.c: (mw_calendar_day_selected_cb):
 
846
        * src/storage-manager.c: (diary_storage_manager_entry_exists),
 
847
        (diary_storage_manager_entry_is_editable),
 
848
        (diary_storage_manager_set_entry):
 
849
        * src/storage-manager.h: Tidy up handling past and future diary
 
850
        entries. Past entries can now be edited, but the user is warned if the
 
851
        entries are older than a certain age.
 
852
        * src/printing.c: (print_entry): Fix printing some Pango markup.
 
853
 
 
854
2008-08-16  Philip Withnall  <philip@tecnocode.co.uk>
 
855
 
 
856
        * src/main.c: (main): Ensure the user's data directory exists before
 
857
        creating the database file. (Closes: #543963)
 
858
 
 
859
2008-08-16  Philip Withnall  <philip@tecnocode.co.uk>
 
860
 
 
861
        * data/almanah.desktop.in:
 
862
        * src/main-window.c: (mw_about_activate_cb): Patch from Mikel
 
863
        Olasagasti <hey_neken@mundurat.net> to fix icons in the about dialogue
 
864
        and main window. (Closes: #543739)
 
865
 
1
866
============ Version 0.4.0
2
867
 
3
868
2008-07-10  Philip Withnall  <philip@tecnocode.co.uk>