summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fix a memory leak in the xml log storetelepathy-logger-0.1Emilio Pozuelo Monfort2011-01-061-0/+3
|
* Minor optimizationEmilio Pozuelo Monfort2011-01-051-1/+1
|
* Check for events in the readable stores as documentedEmilio Pozuelo Monfort2011-01-051-1/+1
|
* Avoid freeing random memoryEmilio Pozuelo Monfort2011-01-031-1/+1
| | | | | | | | | | | | | | | | | | | If the TplEntry isn't a TplEntryText, we jump to out and free date, which is uninitialised, causing memory corruption. ==19750== Conditional jump or move depends on uninitialised value(s) ==19750== at 0x62BB792: g_free (gmem.c:262) ==19750== by 0x4E5005E: _insert_to_cache_table (log-store-sqlite.c:777) ==19750== by 0x4E4F8D2: tpl_log_store_sqlite_add_message_cache (log-store-sqlite.c:603) ==19750== by 0x4E4FABA: tpl_log_store_sqlite_add_message (log-store-sqlite.c:667) ==19750== by 0x4E49613: _tpl_log_store_add_message (log-store.c:162) ==19750== by 0x4E4586E: _tpl_log_manager_add_message (log-manager.c:301) ==19750== by 0x4E38307: log_call (channel-streamed-media.c:609) ==19750== by 0x4E37B57: pendingproc_log_call (channel-streamed-media.c:519) ==19750== by 0x4E35402: _tpl_action_chain_continue (action-chain.c:123) ==19750== by 0x4E37B29: pendingproc_connect_message_signals (channel-streamed-media.c:510) ==19750== by 0x4E35402: _tpl_action_chain_continue (action-chain.c:123) ==19750== by 0x4E37221: pendingproc_get_room_info (channel-streamed-media.c:317)
* Don't continue adding a message if there was an errorEmilio Pozuelo Monfort2011-01-031-1/+1
| | | | | The GError may be NULL, so we need to check the return value to know if the previous call succeeded.
* Fix typoEmilio Pozuelo Monfort2011-01-031-1/+1
|
* Remove unused summary entryEmilio Pozuelo Monfort2011-01-031-1/+0
|
* Move text signal types from TplEntry to TplEntryTextEmilio Pozuelo Monfort2010-12-247-41/+31
|
* Use TPL_IS_ENTRY_FOO to diferentiate entriesEmilio Pozuelo Monfort2010-12-242-16/+11
|
* Set the program nameEmilio Pozuelo Monfort2010-12-231-0/+2
|
* More typo fixesEmilio Pozuelo Monfort2010-12-236-10/+10
|
* TypoEmilio Pozuelo Monfort2010-12-171-1/+1
|
* Fix the definition of DEBUGGINGWill Thompson2010-12-071-1/+1
| | | | (This isn't Gabble.)
* Free strings with g_freeEmilio Pozuelo Monfort2010-12-061-1/+1
|
* Don't free the search results if there are noneEmilio Pozuelo Monfort2010-12-061-1/+0
| | | | https://bugs.freedesktop.org/show_bug.cgi?id=32140
* Escape the search text before searchingVitaly Minko2010-12-061-1/+4
| | | | https://bugs.freedesktop.org/show_bug.cgi?id=30414
* Handle the error instead of aborting the loggerEmilio Pozuelo Monfort2010-12-061-3/+0
| | | | https://bugs.freedesktop.org/show_bug.cgi?id=31510
* Check if we could open the log file before writing to itEmilio Pozuelo Monfort2010-12-061-2/+12
| | | | https://bugs.freedesktop.org/show_bug.cgi?id=28795
* set nano versionGuillaume Desmottes2010-11-291-1/+1
|
* prepare 0.1.7telepathy-logger-0.1.7Guillaume Desmottes2010-11-292-2/+15
|
* stop assuming lists have to be not NULLGuillaume Desmottes2010-11-291-3/+0
|
* avoid calling purge_entry_timeout: after the store has been destroyedGuillaume Desmottes2010-11-291-1/+9
|
* _get_filtered_messages_async_result_free: NULL is a valid listGuillaume Desmottes2010-11-291-1/+0
|
* log_store_xml_get_chats: remove useless (and retarded) iteration on hitsGuillaume Desmottes2010-11-241-7/+0
|
* _tpl_log_manager_get_chats: properly free the returned listGuillaume Desmottes2010-11-241-5/+4
|
* tpl_log_manager_chat_info_free: don't leak the logentry and search_textGuillaume Desmottes2010-11-241-0/+3
|
* tpl_log_manager_chat_info_free: use tp_clear_*Guillaume Desmottes2010-11-241-6/+3
|
* Copy the returned list in _finish() functionsGuillaume Desmottes2010-11-241-18/+57
| | | | | | Now that we don't leak the result any more, the list is properly freed when it's destroyed. That means we have to make a copy in _finish() functions as the caller get ownership of the list.
* _get_dates_async_result_free: the list is a list of GDate, not stringsGuillaume Desmottes2010-11-231-2/+2
|
* factor out copy_date()Guillaume Desmottes2010-11-231-2/+8
|
* add _tpl_log_manager_search_hit_copy()Guillaume Desmottes2010-11-232-0/+9
|
* entity: don't leak log_id and channel_pathGuillaume Desmottes2010-11-231-0/+2
|
* entry: use tp_clear_pointer() and tp_clear_object()Guillaume Desmottes2010-11-231-14/+4
|
* entity: don't leak the avatar tokenGuillaume Desmottes2010-11-231-0/+1
|
* entity: use tp_clear_pointer()Guillaume Desmottes2010-11-231-4/+4
|
* don't leak GSimpleAsyncResult in async APIGuillaume Desmottes2010-11-231-0/+14
| | | | | g_simple_async_result_run_in_thread() keeps its own ref on the result so we can release our own.
* log_store_xml_get_messages_for_file: don't leak log_idGuillaume Desmottes2010-11-231-0/+2
|
* fd.o #31663: use tp_dbus_daemon_register_object to avoid tp_get_bus()Simon McVittie2010-11-181-1/+1
| | | | Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
* Bump nano-version to 0.1.6.1Will Thompson2010-10-131-1/+1
|
* Version 0.1.6.telepathy-logger-0.1.6Will Thompson2010-10-131-4/+4
| | | | There have been no API changes since the last release.
* NEWS for 0.1.6.Will Thompson2010-10-131-0/+14
|
* Merge branch 'fd.o-30824'Will Thompson2010-10-132-75/+66
|\ | | | | | | Reviewed-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
| * Ensure we always return from ObserveChannelsWill Thompson2010-10-131-10/+30
| | | | | | | | | | | | | | If we chose to ignore any of the channels passed to ObserveChannels, we'd previously never hit zero, and thus never return. In particular, if there was only one channel and we ignored it, we would never even check if we're ready to return.
| * Clean up connecting to text channel signals.Will Thompson2010-10-131-52/+25
| | | | | | | | | | | | | | | | | | | | | | There's really no point in logging which signal we failed to connect to, because the reason will always be the same: the object is invalidated, or the interface in question isn't implemented. Plus, there's no point in trying to carry on if we'll ultimately bail out if any errors occurred. So, let's just bail out as soon as we encounter an error connecting to a signal.
| * Listen for text channel invalidation, not just ClosedWill Thompson2010-10-131-15/+13
|/ | | | | | | | If the CM crashes, the Closed() signal will not be emitted for a channel. This previously left the logger believing it was logging a channel, when actually it wasn't. Fixes: <https://bugs.freedesktop.org/show_bug.cgi?id=30824>
* Fixed out-of-tree compilationNicolas Dufresne2010-08-273-1/+3
| | | | | Fixe path to config.status from srcdir to builddir and Added missing -I $(top_builddir)/extensions.
* merge PL and LIBTPL libs togetherGuillaume Desmottes2010-08-176-20/+10
|
* simplify LIBTPL modules checkingGuillaume Desmottes2010-08-171-13/+11
|
* [conf] support a new env var TPL_TEST_MODE that doesn't enable GSettingsDanielle Madeley2010-08-122-13/+27
| | | | Use the env var to enable 'make check' to work.
* start dev of next versionGuillaume Desmottes2010-08-111-1/+1
|