summary refs log tree commit diff stats
path: root/src/common/notify.c
AgeCommit message (Collapse)Author
2022-02-17Reverse the notify.conf linked list before writingMasoud Naservand
hexchat populates the single linked list `notify_list` defined in `src/common/notify.c` from `notify.conf` file. Each new line read from the file is added to the list by `g_slist_prepend()` which adds it to the front of the list. But in `notify_save()` the list elements are read from the start to end of the list and written to the `notify.conf`. This means everytime hexchat is opened and closed, the contents of `notify.conf` get reversed. This commit creates a temporary glist in `notify_save()` and applies `g_slist_reverse()` on it and writes the contents of this reversed list to `notify.conf`. And solves issue #2680
2014-12-31Don't return 0 in place of NULLTingPing
2014-12-28Fix building as c89TingPing
2014-12-28Use glib for all allocationsTingPing
- Removes need to check for malloc failure - Removes need for NULL checks on free - Adds checks for integer overflows - Removes some extra memset calls - Removes chance of mixing libc and glib malloc/free
2014-09-27Fix parsing of MONITOR responsesTingPing
Fixes #1157
2014-06-08Fix sending notify list to correct networksTingPing
Fixes #1015
2013-10-04Fix crash with long notify lists.TingPing
2013-08-20Handle lists in MONITOR repliesTingPing
2013-06-28A few messages missing regarding server-time.Diogo Sousa
2013-06-28server-time for all numerical messages.Diogo Sousa
2013-04-03Add MONITOR supportTingPing
2012-12-23fix incorrect FSF addressDan Mashal
2012-10-30Nah, even more rebrandingBerke Viktor
2012-10-24A lot more rebrandingBerke Viktor
2012-10-22Variable cleanup for the restBerke Viktor
2012-07-21Some aid for compiler warningsBerke Viktor
2011-12-11initial patches for linux compatibilityBerke Viktor
2011-02-28add wdk changes to named branchberkeviktor@aol.com
2011-02-24add xchat r1489berkeviktor@aol.com