Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-11-24 | Fail on missing gobject-instrospection makefile | Nicolas Dufresne | 1 | -1/+3 | |
On Debian the gobject-introspection build tools and the .pc are shipped into seperate packages without dependency, which is a packaging bug. To make this bug more obvious, we now fail if the makefile in /usr/share/ is missing. https://bugs.freedesktop.org/show_bug.cgi?id=43200 | |||||
2011-11-24 | Post release version bump | Nicolas Dufresne | 1 | -1/+1 | |
2011-11-18 | Update check-c-style.sh from telepathy-glib | Cosimo Alfarano | 1 | -0/+13 | |
2011-11-18 | Replace g_ptr_array_free with g_ptr_array_unref | Cosimo Alfarano | 3 | -3/+3 | |
2011-11-18 | Replace g_array_free with g_array_unref | Cosimo Alfarano | 3 | -5/+5 | |
2011-11-18 | Replace g_hash_table_destroy with g_hash_table_unref | Cosimo Alfarano | 4 | -19/+19 | |
2011-11-01 | Version 0.2.12 | Nicolas Dufresne | 2 | -3/+12 | |
2011-10-31 | Version 0.2.11 | Nicolas Dufresne | 2 | -3/+20 | |
2011-10-31 | Improve GObject introspection anotation | Nicolas Dufresne | 3 | -8/+19 | |
2011-10-31 | Remove call to g_thread_init() | Nicolas Dufresne | 1 | -12/+0 | |
This is automatically called by g_type_init() since glib 2.23 and is now deprecated. https://bugs.freedesktop.org/show_bug.cgi?id=42284 | |||||
2011-10-31 | Fixing some non-quiet actions | Nicolas Dufresne | 2 | -7/+7 | |
2011-10-31 | Correctly enable silent build output | Nicolas Dufresne | 1 | -1/+1 | |
2011-10-14 | Fix observer singleton and select features | Nicolas Dufresne | 8 | -44/+59 | |
2011-07-15 | Avoid dereferencing NULL pointers | Vincent Penquerc'h | 1 | -25/+39 | |
Use empty strings where a given string cannot be known due to a NULL sender or actor. | |||||
2011-06-27 | Fix action chain not to free result in finish | Nicolas Dufresne | 1 | -2/+5 | |
Freeing result in finish would lead to use after free since GLib push and pop default thread context in complete() calls. Also, it's very bad pratice as _finish() calls are optional. | |||||
2011-06-27 | Post version bump | Nicolas Dufresne | 1 | -1/+1 | |
2011-05-26 | version 0.2.10 | Nicolas Dufresne | 2 | -5/+21 | |
2011-05-26 | test_add_superseding_event: add some edit timestamps | David Laban | 1 | -3/+14 | |
They should be preserved, but shouldn't affect how events are processed. | |||||
2011-05-26 | Use gint64 for timestamps (not guint64) | David Laban | 4 | -17/+17 | |
2011-05-26 | Update timestamp recording in text-channel | David Laban | 1 | -10/+38 | |
timestamp == original_message_{sent || received} || message_{sent || received} || now. edit_timestamp == supersedes ? message_{sent || received} || now: 0 | |||||
2011-05-26 | Add edit-timestamp, and remove original-timestamp | David Laban | 3 | -33/+33 | |
log-store-xml: * store/save edit-timestamp rather than original-timestamp * Also don't let the edit timestamp override the timestamp for where messages are saved (as was the case for original-message). text-event: * s/original/edit/ | |||||
2011-05-26 | Revert "Update tests to use original-timestamp" | David Laban | 1 | -9/+5 | |
This reverts commit 31411d5c9d19678ff862e07c508ff3cf78cbf40a. | |||||
2011-05-26 | Merge branch 'fix-insert-after' | Nicolas Dufresne | 8 | -89/+119 | |
2011-05-26 | Optimise _tpl_log_manager_get_filtered_events() | Nicolas Dufresne | 1 | -44/+9 | |
Use a GQueue and _tpl_event_queue_insert_sorted_after() instead of insert_sorted() which lookup the list everytime. This also has the effect of keeping log order as much as possible when broken timestamp goes backward. | |||||
2011-05-26 | Add a testcase for bug #37288 | Emilio Pozuelo Monfort | 1 | -0/+23 | |
2011-05-26 | Fix destroy function for get_entities_async | Emilio Pozuelo Monfort | 1 | -1/+1 | |
https://bugs.freedesktop.org/show_bug.cgi?id=37288 | |||||
2011-05-26 | Move event_queue_insert_sorted_after() to util | Nicolas Dufresne | 3 | -38/+44 | |
2011-05-26 | Style fix two empty line between function | Nicolas Dufresne | 1 | -0/+8 | |
2011-05-26 | Test case where first call is older then any text | Nicolas Dufresne | 4 | -3/+39 | |
2011-05-26 | Add comment to explain a bit the tests | Nicolas Dufresne | 1 | -0/+4 | |
2011-05-26 | Fixed initial call event_queue_insert_sorted_after() | Nicolas Dufresne | 2 | -27/+40 | |
The current code would always insert after the first element. | |||||
2011-05-26 | Fixed initialised but unused warning | Nicolas Dufresne | 1 | -3/+1 | |
2011-05-25 | Fix warn not checking system() return value | Nicolas Dufresne | 1 | -1/+4 | |
2011-05-25 | log-store-xml.c: fix uninitialised variable warning | David Laban | 1 | -1/+1 | |
2011-05-24 | Update tests to use original-timestamp | David Laban | 1 | -5/+9 | |
2011-05-24 | text-channel: Put original-message-sent/received into original-timestamp | David Laban | 1 | -1/+18 | |
Also, s/guint/guint64 in old code. | |||||
2011-05-24 | add_text_event/parse_text_node: use original-timestamp for edits | David Laban | 1 | -4/+31 | |
* Store/parse original-timestamp prop in xml. * Put the event in the file pointed to by original-timestamp * If it doesn't exist, fall back to the message's timestamp. | |||||
2011-05-24 | add_{text,call}_event: s/timestamp/time_str/ | David Laban | 1 | -10/+10 | |
I expect "timestamp" to be a uint64 or a GDateTime, so I'm renaming this variable to avoid confusing name collisions later. | |||||
2011-05-24 | log_store_xml_format_timestamp() | David Laban | 1 | -2/+8 | |
* factor out log_store_xml_format_timestamp, since we need it for original-timestamp as well | |||||
2011-05-24 | text-event: add original-timestamp property | David Laban | 2 | -0/+32 | |
2011-05-24 | text-event: s/dup_supersedes/get_supersedes/ | David Laban | 3 | -25/+11 | |
Copying and freeing lists of events is a waste of time. Reviewed-by: Nicolas Dufresne <nicolas.dufresne@collabora.co.uk> | |||||
2011-05-19 | fixup! fixup! Test message edits that have broken timestamps | David Laban | 1 | -9/+9 | |
cast to GFunc | |||||
2011-05-19 | fixup! fixup! Add tests to cover messages arriving a bit/a lot late | David Laban | 1 | -2/+2 | |
cast to GFunc | |||||
2011-05-19 | fixup! fixup! Store, save and test message-token and supersedes-token | David Laban | 1 | -2/+2 | |
oops: inverted boolean expression | |||||
2011-05-19 | fixup! fixup! log_store_xml_get_events_for_file: replace edited messages. | David Laban | 1 | -4/+4 | |
event_queue_replace_and_supersede: correct type and s/l/index/ | |||||
2011-05-19 | fixup! tpl_text_event_{add,dup}_supersedes | David Laban | 1 | -0/+1 | |
fix whitespace | |||||
2011-05-19 | fixup! Test message edits that have broken timestamps | David Laban | 1 | -9/+22 | |
Note that this also fixes something from "test_add_superseding_event" but rebasing to fix that would cause conflicts so I'm not going to. | |||||
2011-05-19 | fixup! Add tests to cover messages arriving a bit/a lot late | David Laban | 1 | -2/+4 | |
2011-05-19 | fixup! Store events in the correct file according to their timestamp | David Laban | 1 | -1/+1 | |
> > + date = g_date_time_new_from_unix_local (timestamp); > > Timestamp in TplEvent are always UTC. | |||||
2011-05-19 | fixup! log_store_xml_get_events_for_file: replace edited messages. | David Laban | 1 | -17/+31 | |
* update to private _tpl_text_event_add_supersedes Also addresses: > I think you don't have to call g_hash_table_insert() here ? And same in next > for loop. Actually, this is for the chained supersedes use-case, but yeah: it's wrong. Fixed it when I implemented event_queue_replace_and_supersede (), and fixed the comment on superseded_links > Use g_list_previous(). > Is that suppose to be funny ? (apparently it wasn't funny; fixed) > Your leaking a reference on the dumm_event. Maybe you want to rework you > _add_supersedes() method into something like link_supersedes() that would take > ownership ? Created method event_queue_replace_and_supersede with similar feel to event_queue_insert_sorted_after. This is something that I wanted to do, but couldn't see a clean way to do. Fixing the semantics of superseded_links made this easier. > You don't check anymore if parsing event worked. A corrupted XML file will > cause your code to crash. > *_parse_*() will currently only return NULL if g_object_new() does, but you're right: if someone changes this behaviour later, I should be resilient to it. Fixed. |