aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
Commit message (Expand)AuthorAgeFilesLines
* Display the file transfer speed and calculate remaining time more dynamically.Xavier Claessens2009-04-252-13/+78
* Add shave support to build process.Jonny Lamb2009-04-241-6/+8
* tp-file: ready property has to be read onlyGuillaume Desmottes2009-04-241-5/+1
* tp-file: implement getter/setter for the ready propertyGuillaume Desmottes2009-04-241-0/+6
* Remove g_object_ref from empathy_dispatch_operation_get_tp_connection. Fixes ...Jonny Lamb2009-04-222-3/+1
* Rename empathy_contact_new_static to empathy_contact_new_for_logXavier Claessens2009-04-223-7/+7
* Do not rely on suppress_handlers, it is deprecated.Xavier Claessens2009-04-221-76/+49
* Rename manager to self to not confuse with account_manager.Xavier Claessens2009-04-221-6/+6
* Replace empathy_connection_get_protocol by tp_connection_parse_object_pathXavier Claessens2009-04-223-33/+3
* Add a comment to tell that tp_contact_list_group_add() takes ownership of han...Xavier Claessens2009-04-221-0/+1
* Make the comment for group hash table more explicitXavier Claessens2009-04-221-1/+2
* Add a comment to explain what does tp_contact_list_group_addXavier Claessens2009-04-221-0/+5
* Simplify expression in tp_contact_list_group_add_data_unrefXavier Claessens2009-04-221-1/+2
* Add doc for empathy_account_manager_dup_connections.Xavier Claessens2009-04-221-0/+9
* Make explicit in the doc of empathy_account_manager_get_connection that it do...Xavier Claessens2009-04-221-1/+1
* Add asserts in connection_invalidated_cbXavier Claessens2009-04-221-0/+6
* Document hash tables in EmpathyAccountManagerPrivXavier Claessens2009-04-221-2/+2
* Add empathy_contact_new_static() to create a contact that comes from logsXavier Claessens2009-04-223-6/+22
* Add G_PARAM_STATIC_STRINGS to EmpathyContact propertiesXavier Claessens2009-04-221-10/+10
* Fix build, probably an error while rebasingXavier Claessens2009-04-221-2/+0
* Cleanup authors of EmpathyContact. It has nothing to do with Gossip code anym...Xavier Claessens2009-04-222-4/+1
* Use tp_connection_get_self_handle where neededXavier Claessens2009-04-223-38/+12
* Also accept local-pending of publish if adding a contactXavier Claessens2009-04-221-0/+5
* Change EmpathyTpContactFactory API to look more like TpConnection. Add functi...Xavier Claessens2009-04-228-102/+380
* Simplify empathy_contact_get_accountXavier Claessens2009-04-221-7/+3
* Extract protocol from the connection's object-path and correctly set the spec...Xavier Claessens2009-04-223-4/+36
* Add commented out code to set the _is_ready property of EmpathyContactXavier Claessens2009-04-221-0/+14
* - Fix connection of "group-members-changed" signalXavier Claessens2009-04-221-14/+3
* Remove dead codeXavier Claessens2009-04-221-3/+0
* Use new getters and setters of EmpathyChatroom. Simplify to lookup when a tp_...Xavier Claessens2009-04-221-35/+20
* Add getter and setter for "tp-chat" and "favorite" properties on EmpathyChatroomXavier Claessens2009-04-222-43/+85
* Drop dead codeXavier Claessens2009-04-222-101/+0
* Drop usage of McAccount from EmpathyTpTubeXavier Claessens2009-04-221-8/+1
* If presence message is "", get the default message.Xavier Claessens2009-04-221-1/+1
* Add a group channel only if suppress_handler == FALSEXavier Claessens2009-04-221-3/+5
* Make sure to not ref a NULL objectXavier Claessens2009-04-221-0/+3
* index begin at 0 and not 1 for GArrayXavier Claessens2009-04-221-1/+1
* Get the factory in _constructed because connection property is not set yet in...Xavier Claessens2009-04-221-2/+3
* CONSTRUCT_ONLY properties must be writableXavier Claessens2009-04-221-3/+5
* Get the priv struct of the right object.Xavier Claessens2009-04-221-2/+2
* Get the connection for newly created accountsXavier Claessens2009-04-221-44/+53
* Do not use empathy_contact_equal anymore, pointer comparaison is guaranteed t...Xavier Claessens2009-04-221-1/+0
* There is no "contact" property on EmpathyTpFileXavier Claessens2009-04-221-2/+0
* EmpathyTpContactFactory don't have a ready property anymore.Xavier Claessens2009-04-221-12/+6
* Remove unused function empathy_dispatcher_call_with_contact().Xavier Claessens2009-04-222-31/+0
* Remove usage of EmpathyTpGroup from EmpathyTpContactListXavier Claessens2009-04-221-566/+610
* Remove EmpathyTpGroupXavier Claessens2009-04-223-1076/+0
* Use the account manager to map from connection to account.Xavier Claessens2009-04-221-6/+19
* Add empathy_tp_chat_get_connection() to direct access the channel's connection.Xavier Claessens2009-04-222-0/+11
* Reorder functions to not declare them on topXavier Claessens2009-04-221-267/+267
* Fix some coding styleXavier Claessens2009-04-221-105/+90
* Port EmpathyTpChat to new API and drop usage of EmpathyTpGroup.Xavier Claessens2009-04-222-403/+375
* Port EmpathyCallHandler to new APIXavier Claessens2009-04-221-30/+20
* Port EmpathyTpCall to new APIXavier Claessens2009-04-221-36/+23
* Port EmpathyLogManager to new APIXavier Claessens2009-04-221-2/+6
* Port EmpathyDispatchOperation to new APIXavier Claessens2009-04-221-6/+61
* Port EmpathyTpFile to new API and add a ready propertyXavier Claessens2009-04-222-43/+130
* EmpathyDispatcher: Use new EmpathyAccountManager API and rebase on TpConnecti...Xavier Claessens2009-04-222-200/+83
* Drop unused include of contact factoryXavier Claessens2009-04-221-1/+0
* EmpathyContactManager: Use new API of EmpathyAccountManager and EmpathyTpCont...Xavier Claessens2009-04-222-89/+65
* Rebase EmpathyTpContactList on TpConnection instead of McAccount.Xavier Claessens2009-04-222-121/+53
* Change API of EmpathyTpContactFactory:Xavier Claessens2009-04-222-776/+313
* Drop EmpathyContactFactoryXavier Claessens2009-04-223-270/+2
* Keep a ref to all TpConnection objects. Map account<>connection.Xavier Claessens2009-04-222-0/+159
* Turn EmpathyContact into a TpContact wrapperXavier Claessens2009-04-222-385/+213
* empathy_tube_handler_build_bus_name: escape invalid char in the service nameGuillaume Desmottes2009-04-211-1/+22
* Fix memleak in tp_contact_list_group_member_removed_cb. Free group name whenLars-Peter Clausen2009-04-211-0/+1
* Fix memleak in empathy_tp_chat_acknowledge_messages. Unref message after it hasLars-Peter Clausen2009-04-211-0/+1
* Fix memleak in empathy_account_manager_init. Do not create unused account data.Lars-Peter Clausen2009-04-211-6/+1
* Fix memleak in empathy_tp_file_accept. Free content of priv->filename beforeLars-Peter Clausen2009-04-211-0/+1
* Fix memleak in log_store_empathy_get_chats_for_dir. Only build filename if itsLars-Peter Clausen2009-04-211-3/+1
* Merge commit 'bigon/configure-deprecated-flag'Xavier Claessens2009-04-191-1/+2
|\
| * Use autotools magic to take care of disabling deprecated symbolsLaurent Bigonville2009-04-181-1/+2
* | Add more information to EmpathyChatroomPierre-Luc Beaudoin2009-04-183-3/+242
|/
* tp-tube: remove priv->parametersGuillaume Desmottes2009-04-171-5/+0
* tp-tube: remove priv->serviceGuillaume Desmottes2009-04-171-3/+0
* tp-tube: remove priv->initiator_contact and priv->factory as they are not usedGuillaume Desmottes2009-04-171-9/+0
* empathy-tp-tube: remove initiator and type member variables as they are not usedGuillaume Desmottes2009-04-171-2/+0
* empathy_tp_tube_class_init: set NUM_EMP_TUBE_CHANNEL_STATES as max value for ...Guillaume Desmottes2009-04-171-1/+2
* empathy_tp_tube_class_init: use G_PARAM_STATIC_STRINGSGuillaume Desmottes2009-04-171-4/+2
* empathy-tp-tube: the state is a EmpTubeChannelState not a guintGuillaume Desmottes2009-04-171-2/+2
* Plug a lear in log_store_empathy_get_messages_for_file. Fixes bug #579139Lars-Peter Clausen2009-04-161-0/+1
* empathy_tp_tube_new_stream_tube: allow NULL as parameters. Fixes #575817Guillaume Desmottes2009-04-131-0/+7
* Add libcanberra-gtk in Require.private of libempathy-gtk.pc. Fixe bug #577863Xavier Claessens2009-04-131-1/+2
* Unref TpChat's channel after emitting destroy.Will Thompson2009-04-131-3/+2
* Simplify how channel classes value is parsed. Fixes bug #577825Xavier Claessens2009-04-031-8/+4
* Free the capabilities array. Fixes bug #577826Xavier Claessens2009-04-031-1/+3
* Do not assert if the CM does not support RequestableChannelClassesXavier Claessens2009-03-201-2/+2
* Use tp_channel_get_identifier instead of inspecting channel's handle.Xavier Claessens2009-03-201-18/+1
* empathy_contact_set_handle: remove the handle ready flag when the handle is s...Guillaume Desmottes2009-03-201-1/+19
* Merge branch 'fix-ft' into to-mergeGuillaume Desmottes2009-03-181-8/+38
* Add empathy-log.h and empathy-log-store.h to Makefile.amXavier Claessens2009-03-101-0/+2
* Chatroom dirs only exist on the toplevel log directorySjoerd Simons2009-03-101-1/+1
* Actually recurse in the chatrooms directorySjoerd Simons2009-03-101-1/+1
* Print a debug message if opening a log directory failsSjoerd Simons2009-03-101-2/+7
* Forward resource requestsSjoerd Simons2009-03-091-1/+17
* Fix typo in a commentXavier Claessens2009-03-061-2/+2
* Use tp_strdiff in empathy_message_equal to compare body.Xavier Claessens2009-03-061-1/+3
* Remove unused empathy_message_get_unique_idXavier Claessens2009-03-062-10/+0
* Improve comment to explain what empathy_log_manager_get_filtered_messages doesXavier Claessens2009-03-061-1/+2
* Little optimization of log_store_empathy_get_filtered_messages() and add a FI...Xavier Claessens2009-03-061-1/+8
* Optimize empathy_log_manager_get_filtered_messages and make it easier to unde...Xavier Claessens2009-03-061-39/+44
* Simplify finalize using g_list_foreachcXavier Claessens2009-03-061-7/+1
* Use if (n != NULL) instead of if (n).Jonny Lamb2009-03-062-6/+6
* Use g_list_delete_link instead of g_list_remove.Jonny Lamb2009-03-062-6/+3
* Use g_list_next (l) instead of l->next.Jonny Lamb2009-03-062-10/+10
* Use a single-line return statement instead of if/else if/else if.Jonny Lamb2009-03-061-10/+1
* Use atoi instead of sscanf.Jonny Lamb2009-03-061-1/+1
* Call GET_PRIV after checking the parameters of empathy_message_equal.Jonny Lamb2009-03-061-2/+5
* Implemented get_filtered_messages in empathy log store.Jonny Lamb2009-03-061-0/+41
* Added empathy_log_store_get_filtered_messages.Jonny Lamb2009-03-062-0/+24
* Replaced get_last_messages with get_filtered_messages.Jonny Lamb2009-03-062-23/+60
* Added checks to the arguments of empathy_message_equal.Jonny Lamb2009-03-061-0/+3
* Get last messages for the last day - 1 as well as the last day.Jonny Lamb2009-03-061-1/+11
* Removed duplicate log source addition.Jonny Lamb2009-03-061-3/+0
* EmpathyLogStore: Store the CM message ID in the logs, and use it when reading...Jonny Lamb2009-03-061-2/+14
* Added empathy_message_get_unique_id & empathy_message_equal.Jonny Lamb2009-03-062-0/+25
* Remove MessageObserveData as the TpChannel can be retrieved from an EmpathyTp...Jonny Lamb2009-03-061-27/+8
* Cleaned up rebasing brokenness.Jonny Lamb2009-03-061-2/+3
* Changed some G_STR_EQUALs to EMP_STR_EQUAL.Jonny Lamb2009-03-061-3/+3
* Renamed EmpathyLogSource to EmpathyLogStore.Jonny Lamb2009-03-068-382/+448
* Moved dispatcher observing and logging into EmpathyLogManager.Jonny Lamb2009-03-062-0/+78
* Only write messages to one specified log source, hardcoded at the moment.Jonny Lamb2009-03-065-24/+50
* Added get_name function to EmpathyLogSource.Jonny Lamb2009-03-063-0/+24
* Use g_list_concat even if the current GList is empty (NULL).Jonny Lamb2009-03-061-16/+6
* Fixed problems picked up when rebasing and cherry-picking.Jonny Lamb2009-03-061-14/+1
* Only call EmpathyLogSource methods if they are defined.Jonny Lamb2009-03-061-0/+24
* Added ack_message function to EmpathyLogSource interface.Jonny Lamb2009-03-063-0/+15
* Made EmpathyLogSource an interface and EmpathyLogSourceEmpathy extend it.Jonny Lamb2009-03-066-128/+334
* Don't override the constructor. (Jonny Lamb)Jonny Lamb2009-03-061-4/+15
* Make get_dates check whether a date is already in the GList before adding it ...Jonny Lamb2009-03-061-3/+21
* Made get_last_messages source independent. (Jonny Lamb)Jonny Lamb2009-03-062-43/+11
* Converted log code to Collabora coding style. (Jonny Lamb)Jonny Lamb2009-03-063-703/+968
* Hardcode some a default codec preferencesSjoerd Simons2009-03-041-0/+52
* Let the UI call the handler for bus messagesSjoerd Simons2009-03-042-37/+8
* Revert "Started splitting empathy log code from the log manager to make loggi...Xavier Claessens2009-03-035-889/+584
* Started splitting empathy log code from the log manager to make logging more ...Jonny Lamb2009-03-035-584/+889
* Handle re-dispatching channels in approving stateSjoerd Simons2009-02-211-3/+13
* Use tp-glib generated code for file transfers rather than extensions.Jonny Lamb2009-02-215-39/+38
* use TpTubeType instead of EmpathyTubeTypeGuillaume Desmottes2009-02-172-16/+13
* empathy_tube_handler_new: add debug messageGuillaume Desmottes2009-02-171-0/+1
* empathy-dispatcher: deal properly with NULL channel_wrapperGuillaume Desmottes2009-02-171-2/+4
* add parameters arg to empathy_tp_tube_new_stream_tube and use latest offer APIGuillaume Desmottes2009-02-172-3/+5
* Wait for handle instead of id before request a channelSjoerd Simons2009-02-171-1/+1
* Signal closed from the call-handlerSjoerd Simons2009-02-171-0/+17
* Correct bracket-style.Jonny Lamb2009-02-171-2/+4
* empathy-dispatcher.[ch]: Several misc. code style fixes.Jonny Lamb2009-02-172-8/+15
* empathy-dispatcher.c: Check arguments of non-static functions.Jonny Lamb2009-02-171-0/+18
* Remove unused functionsOlivier Crête2009-02-122-87/+0
* Fix type punned pointers warningsOlivier Crête2009-02-128-9/+9
* Add newline at end of fileOlivier Crête2009-02-121-1/+1
* Save status message on NetworkManager disconnect and restore on reconnectDavyd Madeley2009-02-111-3/+12
* Cleanup for GObject related functions in EmpathyCallFactory and EmpathyCallHa...Cosimo Cecchi2009-02-054-103/+86
* Remove repeated casts to EmpathyTpChatWill Thompson2009-02-041-11/+14
* Ignore and acknowledge empty NonTextContent messages.Will Thompson2009-02-041-0/+34
* Add a space between the function name and the (void)Xavier Claessens2009-02-032-2/+2
* Remove some dead codeSjoerd Simons2009-02-031-17/+0
* Request only audio in the initial requestSjoerd Simons2009-02-031-2/+1
* Also unref the tf channelSjoerd Simons2009-02-031-1/+7
* Remove dead codeSjoerd Simons2009-02-031-2/+0
* Don't return the handler, so we can unref it after signallingSjoerd Simons2009-02-032-12/+12
* Close ongoing calls at dispose timeSjoerd Simons2009-02-031-2/+4
* Add ability to start a call for an incoming channelSjoerd Simons2009-02-031-14/+34
* Don't double-free the EmpathyTpCallStreamsSjoerd Simons2009-02-031-3/+0
* Move the TpFarsight code from TpCall to CallHandlerSjoerd Simons2009-02-034-160/+309
* Add functionality to call CreateChannels and look up (simple) channel classesSjoerd Simons2009-02-032-12/+156
* Switch to calling CallFactory to make callsSjoerd Simons2009-02-032-36/+1
* Add Stub call factor and call handler objectsSjoerd Simons2009-02-035-0/+445
* Initial port from telepathy-stream-engine to telepathy-farsightSjoerd Simons2009-02-031-133/+165
* Fix dispatching of tubes: stream tubes vs D-Bus tubesAlban Crequy2009-02-031-2/+2
* Use g_list_prepend instead of g_list_append.Jonny Lamb2009-01-311-2/+2
* Allow the dispatcher to be freed once a request is finished.Jonny Lamb2009-01-311-2/+35
* Move empathy_notification_is_enabled () to src/Xavier Claessens2009-01-312-1/+21
* Added a new empathy_account_manager_get_count function, to get the number ofFrederic Peters2009-01-302-2/+22
* Renamed G_STR_EMPTY to EMP_STR_EMPTY.Jonny Lamb2009-01-237-21/+21
* EmpathyDispatcher: Handle File channels that we didn't request.Jonny Lamb2009-01-171-4/+5
* Removed extensions.h inclusion in public API.Jonny Lamb2009-01-173-6/+7
* Fix building, there were a missing _new ->_dup_singleton.Xavier Claessens2009-01-161-1/+1
* empathy_mission_control_new -> dup_singleton.Xavier Claessens2009-01-1611-12/+12
* EmpathyDispatcher: make style somewhat more consistent.Jonny Lamb2009-01-161-119/+171
* When sending files, make sure the connection is ready before making sure the ...Jonny Lamb2009-01-151-3/+21
* Do not unref the channel when closing it, wait for the invalidated signal.Xavier Claessens2009-01-151-24/+12
* Remove usage of EmpathyTpGroup from EmpathyTpCall.Xavier Claessens2009-01-131-37/+69
* EmpathyContact keeps a ref to the factory.Xavier Claessens2009-01-131-3/+23
* Remove some usage of EmpathyTpGroup from EmpathyTpChatXavier Claessens2009-01-131-6/+14
* Remove useless include of empathy-tp-group.hXavier Claessens2009-01-133-2/+1
* Remove useless gotoXavier Claessens2009-01-101-3/+1
* If channel is invalidated before being ready, the error is handled in invalid...Xavier Claessens2009-01-101-0/+4
* mission_control_get_tpconnection returns a new ref, don't forget to unref the...Xavier Claessens2009-01-101-0/+2
* Add a FIXME telling that there is a leak, not sure how to plug it, that code ...Xavier Claessens2009-01-101-0/+1
* Use tp_channel_borrow_connection instead of g_object_get. This fix a leak.Xavier Claessens2009-01-101-1/+1
* Fix some errors made when rebasing on masterXavier Claessens2009-01-101-1/+1
* Remove dead codeXavier Claessens2009-01-102-19/+0
* Correct little coding styleXavier Claessens2009-01-101-1/+1
* Correctly align \ charactersXavier Claessens2009-01-101-2/+2
* Only unref things in disposeSjoerd Simons2009-01-101-13/+4
* Ignore requested channels we didn't request except for text channels, also ig...Sjoerd Simons2009-01-101-2/+31
* Don't use the old style TpTubeTypeSjoerd Simons2009-01-102-11/+16
* Ignore approval that happen after the operation was approvedSjoerd Simons2009-01-101-1/+7
* Correctly define the invalidated signalSjoerd Simons2009-01-101-1/+1
* Port to the new empathy_call_when_ready apiSjoerd Simons2009-01-101-10/+29
* Make the error in the call_when_ready callback constSjoerd Simons2009-01-102-2/+2
* Free ready callbacks in finalizeSjoerd Simons2009-01-101-1/+17
* Add weak object, destroy notify and error reporting to empathy_contact_call_w...Sjoerd Simons2009-01-102-9/+56
* Let a chatroom keep a reference to a its TpChat if applicableSjoerd Simons2009-01-103-4/+55
* Make the dispatch operation _get_ functions not return a refSjoerd Simons2009-01-105-14/+6
* Don't unref the TpGroup twiceSjoerd Simons2009-01-101-1/+0
* Initialise the chatroom manager from empathy itselfSjoerd Simons2009-01-101-7/+1
* Convert EmpathyChatroomManager to the new singleton conventionSjoerd Simons2009-01-103-16/+13
* Don't close channels as a side-effect of disposing wrapper objectsSjoerd Simons2009-01-103-6/+19
* Remove some dead codeSjoerd Simons2009-01-101-6/+0
* Move the dispatcher to the new singleton policySjoerd Simons2009-01-102-15/+32
* Always check if the passed operation is actually a dispatch operationSjoerd Simons2009-01-101-11/+57
* Style fixesSjoerd Simons2009-01-101-108/+114
* Style fixesSjoerd Simons2009-01-102-3/+5
* Don't initialise variables by calling functions when declaring themSjoerd Simons2009-01-101-11/+23
* More style fixesSjoerd Simons2009-01-101-6/+6
* Remove dead codeSjoerd Simons2009-01-101-588/+0
* Add a utility function to start a call to a contactSjoerd Simons2009-01-102-0/+40
* Add a function to explicitly set the remote candidate on outgoing calls inste...Sjoerd Simons2009-01-102-23/+15
* Add code to request a streamed media channelSjoerd Simons2009-01-102-18/+30
* Add a function to explicitly close EmpathyTpCallSjoerd Simons2009-01-102-4/+16
* Make empathy_tp_tube_accept_stream_tube more like underlying dbus function an...Sjoerd Simons2009-01-102-55/+85
* Remove the id parameter, it's no longer usedSjoerd Simons2009-01-101-3/+0
* Call emp_cli_init in empathy_initSjoerd Simons2009-01-101-0/+5
* New style tubes don't have idesSjoerd Simons2009-01-101-2/+2
* Update to new stream tube specSjoerd Simons2009-01-102-156/+60
* Let a EmpathyChatroomManager observe the dispatcherSjoerd Simons2009-01-101-0/+2
* Act as an observerSjoerd Simons2009-01-102-0/+91
* Disconnect signal handlers from the head of the queue before destroying the q...Sjoerd Simons2009-01-101-11/+10
* Remove the tp-channel property, it's unused and uselessSjoerd Simons2009-01-101-35/+0
* Remove custom channel requesting functionality, this should go through the di...Sjoerd Simons2009-01-102-135/+0
* Add request muc channels to the dispatcherSjoerd Simons2009-01-102-13/+78
* Wait untill the TpChat object is ready before going into pending stateSjoerd Simons2009-01-101-2/+41
* Add a function to explicitly close File channelsSjoerd Simons2009-01-102-1/+9
* Make existing contact FT capable when the CM supports itSjoerd Simons2009-01-101-1/+0
* Add support for dispatching file transfersSjoerd Simons2009-01-102-27/+150
* Recognise file transfersXavier Claessens2009-01-101-0/+6
* Add an optional properties hash to the RequestData structSjoerd Simons2009-01-101-4/+9
* Start reworking the dispatcherSjoerd Simons2009-01-105-352/+1546
* Improve API of tp-chatSjoerd Simons2009-01-102-117/+218
* Add id field to save the message id as received the CMSjoerd Simons2009-01-102-0/+19
* Add empathy_contact_call_when_readySjoerd Simons2009-01-102-11/+72
* use tabs because everyone love tabsXavier Claessens2009-01-091-5/+5
* dispatcher_tubes_new_tube_cb: add some tube handling debug messagesXavier Claessens2009-01-091-0/+6
* Set the right weak pointer.Xavier Claessens2009-01-093-3/+3
* Port EmpathyContactManager to the new singleton policy.Xavier Claessens2009-01-092-12/+26
* Port EmpathyLogManager to the new singleton policy.Xavier Claessens2009-01-092-19/+32
* Port EmpathyIdle to the new singleton policy.Xavier Claessens2009-01-092-13/+27
* Port EmpathyContactFactory to the new singleton policy.Xavier Claessens2009-01-097-20/+34