Remove implementation of LinkedHashSet.list_iterator()
[platform/upstream/folks.git] / NEWS
1 Overview of changes from libfolks 0.5.0 to libfolks 0.5.1
2 =========================================================
3
4 Bugs fixed:
5 * Bug 645388 — Group channels are leaked
6 * Bug 647562 — Don't crash on duplicate group channels
7 * Bug 647121 — Crash in individual_store_contact_sort at
8   empathy-individual-store.c line 1387
9
10 API changes:
11 * LinkedHashSet.list_iterator() is now disallowed (causes an assertion failure)
12
13 Overview of changes from libfolks 0.4.0 to libfolks 0.5.0
14 =========================================================
15
16 Major changes:
17 * Add support to change primary (writeable) store either via
18   GConf or an env variable (bug 645441).
19 * Bumped Vala dependency to 0.12.0 for bug #646345
20
21 Bugs fixed:
22 * Bug 644968 - _update_phone_numbers() needs to create copies
23   of each List<FieldDetails>
24 * Bug 644966 - _update_emails () needs to create copies of each
25   List<FieldDetails>
26 * Bug 644527 - Add a Tracker backend
27 * Bug 645430 - folks-inspect: Use LinkedHashSet to access im-addresses
28 * Bug 645411 - folks-import segfaults on startup
29 * Crasher when removing Personas
30 * Crasher when reconnecting a Telepathy account
31 * Bug 645680 — Use random integer IDs for Kf.Personas
32 * Bug 645475 — Linker warnings for Tracker backend tests
33 * Bug 645570 — Fix checks for empty and equal StructuredNames
34 * Bug 645989 — Ensure add_persona_from_details handles the basic attribute
35 * Bug 645413 — Write support for Tracker
36 * Bug 645441 — Mechanism to specify primary backend
37 * Bug 638280 — Add a libsocialweb backend
38 * Deal with duplicated phones/e-mails in Tracker
39 * Bug 646944 — Fix libsocialweb updates and removals of contacts
40 * Bug 644867 — add interface for linkable web service contact UIDs
41 * Bug 647168 — print the "web-service-addresses" property correctly
42 * Bug 646831 — Setting an existing phone number or e-mail address on a
43   Trf.Persona fails
44 * Bug 647298 — folks-inspect gets SIGSEGV when trying to auto-complete
45   parameters
46 * Bug 646948 — Support for potential matches
47
48 API changes:
49 * Add equal () to StructuredName
50 * Add detail_key () along with an enum PersonaDetail to PersonaStore
51   which together define the basic attributes that should be supported
52   by add_persona_from_details ().
53 * Add public primary_store to IndividualAggregator
54 * Add LocalIdDetails interface for linking Personas based on local address book
55   IDs (such as for the Tracker backend Personas)
56 * Add WebServiceDetails interface for linking Personas based on web service
57   accounts (such as for the libsocialweb backend Personas)
58 * Add PotentialMatch class and IndividualAggregator.get_potential_matches() and
59   IndividualAggregator.get_all_potential_matches() to suggest Individuals that
60   may match the given Individual or all potential matches, respectively.
61
62 Overview of changes from libfolks 0.3.6 to libfolks 0.4.0
63 =========================================================
64
65 Bugs fixed:
66 * Bug 642351 — BACKEND_STORE_KEY_FILE format should support a wildcard entry
67 * Bug 643241 — _update_urls () needs to create copies of each
68   List<FieldDetails>
69 * Bug 643247 — Folks needs C API documentation
70 * Bug 643201 — folks-inspect can't handle properties which are
71   List<FieldDetails>
72 * Bug 642866 — tp-lowlevel leaks TpChannel
73 * Bug 642861 — FolksLinkedHashSet still alive when exiting Empathy
74 * Bug 642493 — Folks needs API for specifying a contact's organisation
75 * Bug 642500 — Folks needs API for specifying a contact's birthday
76 * Bug 642501 — Folks needs API for attaching notes to a Contact
77 * Bug 641210 — Add interface for postal addresses
78 * Bug 643956 — Use the correct signal name for postal addresses
79 * Bug 643954 — Add to_string () to PostalAddress class
80 * Bug 643955 — Add to_string () to RoleOwner class
81 * Bug 643957 — Deal handle birthday and postal-addresses.
82 * Bug 644457 — Handle structured names
83 * Bug 644165 — An individual's avatar shouldn't be replaced by a null avatar
84
85 API changes:
86 * Add RoleDetails interface
87 * Add BirthdayDetails interface
88 * Add NoteDetails interface
89 * Add PostalAddressDetails interface
90 * Rename Aliasable -> AliasDetails
91 * Rename AvatarOwner -> AvatarDetails
92 * Rename Emailable -> EmailDetails
93 * Rename Favouritable -> FavouriteDetails
94 * Rename GenderOwner -> GenderDetails
95 * Rename Groupable -> GroupDetails
96 * Rename IMable -> ImDetails
97 * Rename NameOwner -> NameDetails
98 * Rename Phoneable -> PhoneDetails
99 * Rename PresenceOwner -> PresenceDetails
100 * Rename Urlable -> UrlDetails
101
102 Overview of changes from libfolks 0.3.5 to libfolks 0.3.6
103 =========================================================
104
105 This is just a repackaging of libfolks 0.3.5 with some documentation comment
106 version numbers fixed.
107
108 Overview of changes from libfolks 0.3.4 to libfolks 0.3.5
109 =========================================================
110
111 Major changes:
112 * Various API breaks and improvements, especially in the IndividualAggregator
113 * Add various new interfaces: NameOwner, FieldDetails, Urlable, GenderOwner,
114   Phoneable and Emailable
115
116 API changes:
117 * Add NameOwner interface
118 * Add FieldDetails interface
119 * Add Urlable interface
120 * Add GenderOwner interface
121 * Add Phoneable interface
122 * Add Emailable interface
123 * Add Tpf.Persona.is_in_contact_list
124 * Rename the URLable interface to Urlable
125 * Take a PersonaStore in IndividualAggregator.add_persona_from_details
126 * Remove IndividualAggregatorError.STORE_NOT_FOUND
127 * Rename the getter for BackendStore.enabled_backends from
128   folks_backend_store_get_enabled_backends() to
129   folks_backend_store_dup_enabled_backends()
130 * Rename BackendStore.get_backend_by_name() to .dup_backend_by_name()
131
132 Bugs fixed:
133 * Bug 640901 — Allow it to be determined whether a user Tpf.Persona is in the
134   contact list
135 * Bug 641780 — Incorrect C function names for URLable interface
136 * Bug 629078 — Folks needs a full API review to take advantage of our
137   compatibility break in 0.2.x
138 * Bug 642036 — No way to pass a message when adding a contact
139
140 Overview of changes from libfolks 0.3.3 to libfolks 0.3.4
141 =========================================================
142
143 Major changes:
144 * Add folks-inspect tool
145 * The use of the new LinkedHashSet type in the API may make libgee a requirement
146   for some clients (to take full advantage of its class lineage).
147
148 API changes:
149 * New type: LinkedHashSet, similar to Gee.HashSet, but ordered.
150 * IMable.im_addresses is now a mapping of string to LinkedHashSet.
151 * Rename the HasAvatar interface to AvatarOwner
152 * Rename the HasPresence interface to PresenceOwner
153
154 Bugs fixed:
155 * Bug 637240 — libfolks-telepathy.so exports private symbols
156 * Bug 638311 — Add a HACKING file that outlines development policies and
157   coding style
158 * Bug 629083 — Review coding conventions in folks
159 * Bug 629075 — Add folks command line application
160 * Bug 638609 — libfolks hard-codes backend names for debugging
161 * Bug 639195 — Print stack traces for failed tests to improve remote
162   debugging
163 * Bug 639113 — Add static aggregation tests
164 * Bug 639742 — Logger service unavailable in make check
165 * Bug 640213 — Add tests for LinkedHashSet
166 * Bug 627397 — Use better interface names
167
168 Overview of changes from libfolks 0.3.2 to libfolks 0.3.3
169 =========================================================
170
171 Major changes:
172 * Fix some minor leaks
173 * Add support for building gtk-doc documentation for the C API
174 * Fix some related documentation problems
175 * Fix some Vala problems caused by differences between Vala 0.10 and 0.12
176 * Finish off renaming interfaces (this is an API break; see below)
177 * Don't trust personas from IRC
178 * Handle invalid IM addresses more gracefully than with an assertion failure
179 * Fix a linking problem with the user's individual when going offline which
180   could lead to infinite loops
181
182 API changes:
183 * Rename the Avatar interface to HasAvatar
184 * Rename the Presence interface to HasPresence
185 * Rename the Favourite interface to Favouritable
186 * Add IMableError
187 * Throw IMableError from IMable.normalise_im_address()
188
189 Bugs fixed:
190 * Bug 635178 — Leak in
191   folks_tp_lowlevel_connection_open_contact_list_channel_async
192 * Bug 635649 — autopoint fails to run
193 * Bug 635703 — Leak in connection_get_requestable_channel_classes_cb
194 * Bug 635823 — [PATCH] telepathy test not linking against GIO
195 * Bug 636251 — Fails to add contact
196 * Bug 629526 — Generate gtk-doc documentation
197 * Bug 627397 — Use better interface names
198 * Bug 636714 — Assertion failure on invalid IM address
199 * Bug 637136 — Infinite loop when disconnecting accounts
200
201 Overview of changes from libfolks 0.3.1 to libfolks 0.3.2
202 ==========================================================
203
204 Major changes:
205 * BackendStore.load_backends() now (un)loads backends which have been
206   (dis|en)abled since the last call
207 * FOLKS_BACKEND_DIR has been replaced by FOLKS_BACKEND_PATH. It accepts any
208   number of files and directories, separated by :
209 * Significantly clean up the build system
210
211 API changes:
212 * Added BackendStore.prepare() and BackendStore::is-prepared
213 * Add BackendStore.enable_backend().
214 * Add BackendStore.disable_backend().
215 * Add BackendStore.unprepare().
216 * Remove casting convenience methods on Individual (casting isn't hard)
217 * Change the visibility of the setters of PersonaStore.type_id,
218   PersonaStore.display_name, PersonaStore.id, Backend.name,
219   Backend.persona_stores and Persona.linkable_properties. This removes the
220   corresponding C setter methods which should never have been exposed
221 * Remove Tpf.PersonaError
222 * Remove the exception from the Tpf.Persona constructor
223
224 Bugs fixed:
225 * Bug 629081 — Add API to allow specific backends to be disabled
226 * Bug 629862 — Add tests for the key-file backend
227 * Bug 628883 — Add localisation support
228 * Bug 633718 — Make the Folks releases buildable without vala, valadoc, or
229   g-i
230 * Bug 633080 — Crash when disconnecting twice
231
232 Overview of changes from libfolks 0.3.0 to libfolks 0.3.1
233 ==========================================================
234
235 Major changes:
236 * Tpf.Persona.contact is now guaranteed to have the client type feature
237
238 API changes:
239 * Add the PersonaStore:can-add-personas property
240 * Add the PersonaStore:can-remove-personas property
241 * Add the PersonaStore:can-alias-personas property
242 * Add the PersonaStore:can-group-personas property
243 * Make Individual implement the IMable interface
244
245 Bugs fixed:
246 * Bug 630431 — notify::alias is never emitted
247 * Bug 631864 — Crash when empathy disconnects
248 * Bug 632096 — build failure: contact-retrieval.o: undefined reference to
249   symbol 'gee_abstract_collection_add'
250 * Bug 632163 — Folks key-file backend needs a way to point to a specific
251   .ini file
252 * Bug 632564 — assertion `EMPATHY_IS_CONTACT (contact)' failed in
253   individual_store_contact_sort
254
255 Overview of changes from libfolks 0.1.17 to libfolks 0.3.0
256 ==========================================================
257
258 Major changes:
259 * Fixed some linking problems
260 * Added some missing documentation
261 * Fixed build problems introduced by switching to gobject-introspection 0.9.6
262   (i.e. GIR format 1.2)
263 * Bumped telepathy-glib dependency to 0.11.16
264 * Bumped Vala dependency to 0.10.0
265 * Bumped gobject-introspection dependency to 0.9.6
266 * Ensured IM addresses are normalised before being compared
267 * Made the folks-import build optional through a configure argument
268 * Added support for a “self” individual
269 * Added support for generating and installing Devhelp format documentation
270 * BackendStore.load_backends and the prepare() functions are now idempotent
271 * Tpf.Persona.contact is now guaranteed to have the avatar token and data
272   features
273 * Tpf.Persona.contact is now guaranteed to have the capabilities feature
274
275 API changes:
276 * Added IMable.normalise_im_address()
277 * Renamed Groups interface to Groupable
278 * Renamed Alias interface to Aliasable
279 * Removed BackendStore constructor
280 * Added BackendStore.dup()
281 * Added BackendStore::enabled-backends
282 * Added Individual::is-user
283 * Added Persona::is-user
284 * Added IndividualAggregator::user
285 * Added PersonaStoreError.UNSUPPORTED_ON_USER
286 * Added {IndividualAggregator, PersonaStoreError}.STORE_OFFLINE, used by the
287   respective add_persona_from_details() functions
288
289 Bugs fixed:
290 * Bug 629452 — [Patch] Add missing gio linking for import-tool
291 * Bug 626008 — Add @since lines to all symbols
292 * Bug 629311 — Folks should normalize IDs written to the writable backend
293 * Bug 629644 — Key file backend cannot be loaded because of linking problems
294 * Bug 629666 — libfolks should not hard autodetect libxml
295 * Bug 628970 — Folks API needs a way to determine whether a specific type of
296   PersonaStore is available
297 * Bug 629096 — Add a library init function
298 * Bug 627402 — Support marking FolksPersonas as "me"
299 * Bug 629642 — individuals-changed emitted in the wrong order
300 * Bug 629643 — do not fall back to the id if alias is empty
301 * Bug 629006 — PersonaStore should gracefully handle offline Persona change
302   attempts
303 * Bug 629331 — BackendStore.load_backends and the prepare() functions should
304   be idempotent.
305 * Bug 629008 — Add a test for Persona additions
306 * Bug 630347 — Avatars are always NULL
307
308 Overview of changes from libfolks 0.1.16 to libfolks 0.1.17
309 ===========================================================
310
311 Major changes:
312 * Added a basic test suite
313 * Cleaned up the build system
314 * Ensured the public libraries' VAPI files are distributed and installed
315 * Prevented the key-file from being saved unnecessarily
316 * Fixed multi-byte character handling in the key-file backend
317 * Ensured account removal and invalidation is handled in the Telepathy backend
318 * Prevented a hang when creating relationships.ini in certain situations
319 * Added a folks-import tool to import meta-contact data from Pidgin; this adds
320   a dependency on libxml
321
322 API changes:
323 * Added PersonaStore.flush()
324
325 Bugs fixed:
326 * Bug 628930 — folks crahses empathy on relationships.ini read
327 * Bug 629082 — Empathy crashes when toggling "Ignore SSL certificate errors"
328   checkbox
329 * Bug 628853 — hangs if there's no relationships.ini file
330 * Bug 629084 — Add a folks-import tool
331
332 Overview of changes from libfolks 0.1.15 to libfolks 0.1.16
333 ===========================================================
334
335 Major changes:
336 * Added more debugging output
337 * Fixed various small outputted code bugs
338 * Fixed problem where key file groups would be overwritten in some situations
339 * Fixed various signal emission problems
340 * Prevented changes to Personas' properties from being propagated back up to the
341   Individuals
342 * Limited libgee dependency to < 0.7 due to API changes in libgee
343 * Added a FOLKS_DISABLE_LINKING environment variable to disable linking (for
344   debugging purposes)
345
346 Bugs fixed:
347 * Bug 628108 — Favorite contacts are not save any more
348 * Bug 628294 — Some contacts appear to be linked together while they shouldn't
349 * Bug 628305 — Signal removal of Individuals containing untrusted Personas
350 * Bug 628131 — error message when trying to link ICQ with jabber
351 * Bug 628343 — Add an environment variable to disable linking
352 * Bug 628335 — Assertion error with master
353
354 Overview of changes from libfolks 0.1.14.1 to libfolks 0.1.15
355 =============================================================
356
357 Major changes:
358 * Fixed various build problems
359 * Ensured duplicate entries don't appear in various sets
360 * Made gobject-introspection dependency explicit
361 * Limited libgee dependency to <= 0.5.2 due to API changes in libgee
362 * Reworked some of the Individual internals to make notifications more efficient
363 * Added the concept of an Individual's “trust level”
364 * Changed alias fallbacks to fall back to a display ID instead of a UID
365 * Added support for storing aliases in the key-file backend and use them in
366   preference to aliases from other Personas in an Individual
367
368 API changes:
369 * Added Individual:personas-changed
370 * Added TrustLevel enum
371 * Added Individual::trust-level
372 * Implemented Alias on Kf.Persona
373
374 Bugs fixed:
375 * Bug 627314 — folks cannot be install in gentoo sandbox
376 * Bug 627506 — Require gobject-introspection
377 * Bug 626725 — Add an Individual.personas_changed signal
378 * Bug 627968 — Add Individual.trust_level property
379 * Bug 626578 — Use vala's vala.m4 to check for telepathy-glib(.vapi)
380 * Bug 626410 — contacts show up with a weird alias
381 * Bug 627508 — Store alias and groups in the key-file backend
382 * Bug 627898 — Fails to install with -j4
383
384 Overview of changes from libfolks 0.1.14 to libfolks 0.1.14.1
385 =============================================================
386
387 Major changes:
388 * Bumped Vala dependency to 0.9.6
389 * Fixed some more warning spew
390
391 Overview of changes from libfolks 0.1.13 to libfolks 0.1.14
392 ===========================================================
393
394 Major changes:
395 * Changed Vala detection code to use the correct macro
396 * Bumped Vala dependency to 0.9.5
397 * Removed some more message spew
398 * Changed tp-lowlevel Vala bindings to be generated using gobject-introspection
399 * Added optional dependency on gobject-introspection 0.6.7
400
401 Overview of changes from libfolks 0.1.12 to libfolks 0.1.13
402 ===========================================================
403
404 Major changes:
405 * Added the concept of “linkable properties”
406 * Added the IMable interface
407 * Added the concept of persona store “trust”
408 * Added a writeable key-file backend
409 * Added linking support to the IndividualAggregator
410 * Tidied up ID handling in the backends
411 * Warn if a backend's MIME type could not be determined, notifying the user if
412   libfolks can't load backends due to shared-mime-info not being installed
413 * Hint to clients the Individual replacing a removed Individual (if any)
414 * Exposed Telepathy contacts' IM addresses using the IMable interface
415 * Fixed some build and dependency issues
416 * Bumped telepathy-glib dependency to 0.11.11 and dropped dependency on
417   telepathy-vala
418 * Added the concept of “writeable” PersonaStores and use this concept to prevent
419   properties being synchronised between PersonaStores unnecessarily (and
420   potentially even destructively)
421
422 API changes:
423 * Added Persona::linkable-properties
424 * Added IMable interface
425 * Added PersonaStoreTrust enum
426 * Added PersonaStore::trust-level
427 * Added Persona.LinkablePropertyCallback()
428 * Added Persona.linkable_property_to_links()
429 * Added Persona.build_uid()
430 * Added Persona.split_uid()
431 * Added Persona::display-id
432 * Added PersonaStore::display-name
433 * Added replacement_individual parameter to Individual:removed
434 * Implemented IMable on Tpf.Persona
435 * Added IndividualAggregatorError.NO_WRITEABLE_STORE
436 * Added IndividualAggregator.link_personas()
437 * Added IndividualAggregator.unlink_individual()
438 * Added PersonaStore::is-writeable
439
440 Bugs fixed:
441 * Bug 625830 — Adding an existing contact to the tp backend results in bogus
442   warnings
443 * Bug 626108 — Defining XDG_DATA_DIRS prevents backends from being loaded
444
445 Overview of changes from libfolks 0.1.11 to libfolks 0.1.12
446 ===========================================================
447
448 Major changes:
449 * Added debug flags support using the FOLKS_DEBUG environment variable
450 * Removed various bits of message and warning spew
451 * Bumped Vala dependency to 0.9.4
452 * Ensured connections which are ready as soon as they're connected are handled
453   correctly
454 * Versioned the installed backends using the main library's libtool version
455
456 Bugs fixed:
457 * Bug 625815 — No contat showed in the contact list
458
459 Overview of changes from libfolks 0.1.10 to libfolks 0.1.11
460 ===========================================================
461
462 Major changes:
463 * Moved various bits of preparation code out into async prepare() methods to
464   avoid race conditions on startup
465 * Reset TpfPersonaStore state when going offline
466 * Made several methods async which could potentially require it in future
467 * Added error throws to various functions which could potentially fail in future
468
469 API changes:
470 * Added PersonaStore.prepare()
471 * Added Backend.prepare()
472 * Removed error thrown from Backend constructor
473 * Added IndividualAggregator.prepare()
474 * Changed return type of Presence.is_online() from uint to int
475 * Made IndividualAggregator.remove_individual() async
476 * Made PersonaStore.remove_persona() async
477 * Added an error throw to BackendStore.load_backends()
478 * Added an error throw to IndividualAggregator.prepare()
479 * Added an error throw to IndividualAggregator.remove_individual()
480 * Added an error throw to IndividualAggregator.remove_persona()
481 * Added an error throw to PersonaStore.remove_persona()
482 * Made Groups.change_group() async
483 * Made Groups:group-changed async
484
485 Overview of changes from libfolks 0.1.9 to libfolks 0.1.10
486 ==========================================================
487
488 Major changes:
489 * Fixed various memory and reference leaks
490 * Lots of build system improvements
491 * Added a libtool version to the installed libraries
492
493 Initial release of libfolks 0.1.9
494 =================================
495
496 Major changes:
497 * Move to GNOME infrastructure