summaryrefslogtreecommitdiffstats
path: root/avahi-common
Commit message (Collapse)AuthorAgeFilesLines
* attribute alloc_size for newer gccs.Marcus Meissner2008-12-122-10/+19
| | | | | | | | | | | | | This patch marks up the allocator functions with the GCC 4.3 (and later) attribute alloc_size. This will pass the size of allocations of known size (at compile time) to the overflow checking memcpy/strcpy and related functions. Ciao, Marcus Signed-off-by: Lennart Poettering <lennart@poettering.net>
* actually set thread_running. Closes #251Lennart Poettering2008-12-121-12/+14
|
* initialize i18n automaticallyLennart Poettering2008-10-261-8/+8
|
* Don't use -export-dynamic as a linker flagSjoerd Simons2008-06-241-1/+1
|
* add .gitignore filesLennart Poettering2008-06-181-0/+14
|
* add i18n supportLennart Poettering2007-12-174-70/+168
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1593 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* include avahi-gobject docs in doxygenLennart Poettering2007-10-281-7/+9
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1565 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* Copyediting / spelling / grammarTed Percival2007-09-288-18/+18
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1547 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* Update documentation of alternate hostname generationTed Percival2007-09-281-2/+2
| | | | | | | The algorithm was changed in r1250 git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1546 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* add more missing config.h inclusionsLennart Poettering2007-09-061-0/+4
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1535 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* fix dbus version check for dbus_watch_get_unix_fd()Lennart Poettering2007-09-021-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1528 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* properly use va_copy() when iterating more than once through a va_list; fix ↵Lennart Poettering2007-08-251-2/+4
| | | | | | bad memory access by one byte; closes #164; identified by QuLogic git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1524 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* use dbus_watch_get_unix_fd() only in dbus >= 1.1.1Lennart Poettering2007-08-121-0/+4
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1518 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* gcc, shut the fuck up\!Lennart Poettering2007-08-121-2/+2
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1511 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* replace obsolete dbus apiLennart Poettering2007-08-121-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1507 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* add really long test casesLennart Poettering2007-08-121-2/+9
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1506 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* deal properly with really long service/host names when looking for alternativesLennart Poettering2007-08-121-19/+96
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1505 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* make gcc shut upLennart Poettering2007-08-121-0/+2
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1504 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* fix a local DoS (by hitting an assert) when passing empty TXT strings to the ↵Lennart Poettering2007-05-211-1/+1
| | | | | | avahi-daemon for regsitration. (Problem identified and original patch supplied by Emanuele Aina) git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1482 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* Doxygen documentation cleanups:Lennart Poettering2007-05-095-49/+167
| | | | | | | | | * Hide a few irrelevant header files and definitions from doxygen to make the docs shorter * Update some texts * Put functions into categories git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1477 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* Remove an invalid optimization in avahi_simple_poll_run(). (Closes #132)Lennart Poettering2007-04-141-10/+6
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1425 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Revert fix from R1398Trent Lloyd2007-03-241-1/+1
| | | | | | | | * avahi-core/iface.c#avahi_interface_monitor_get_hw_interface - Change assert to idx >= 0, this is the correct fix incase a platform has interface indexes starting from 0 * Fix incorrect AVAHI_PROTO_UNSPEC to AVAHI_IF_UNSPEC git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1399 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * avahi-common/address.h#AVAHI_IF_INDEX check should be interface > 0, not ↵Trent Lloyd2007-03-241-1/+1
| | | | | | interface >= 0, otherwise the rest of Avahi gets upset, and when the rest of Avahi gets upset... (Closes #119) git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1398 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Revert previous patch to check nlmsg_pid as it is bogus and breaksTrent Lloyd2006-12-111-3/+3
| | | | | | | | | | | in many cases, notably when using NetworkManager * Replace with new SO_PASSCRED-based check of the sending UID, which seems to work better * Apply for for 2.6.19+ where IFA_RTA / IFLA_RTA is no longer defined * Mild fix to some doxygen docs for avahi-common/address.h git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1336 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Fix doxygen comments for avahi watch, thanks to tedp (Closes: #77)Trent Lloyd2006-11-191-4/+4
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1335 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* fix a few more s/DBUS/D-Bus/Lennart Poettering2006-08-312-2/+2
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1298 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* bump D-Bus API revision (forgotten in 0.6.13)Lennart Poettering2006-08-311-3/+3
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1297 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* add new error code AVAHI_ERR_NO_CHANGELennart Poettering2006-08-234-3/+7
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1266 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* documentation updateLennart Poettering2006-08-221-2/+4
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1257 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* a few documentation updatesLennart Poettering2006-08-221-30/+25
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1254 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* follow Bonjour's hostname number incrementing algorithm for handling ↵Lennart Poettering2006-08-212-18/+67
| | | | | | conflicts. On collision the name "foobar" will now become "foobar-2" and not "foobar2". (closes #40) git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1250 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* fix a few typos in doxygen commentsLennart Poettering2006-08-062-3/+3
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1244 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* disable time events after they have been dispatchedLennart Poettering2006-07-221-7/+11
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1239 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* call _stop() instead of _quit() in _free(), to avoid hitting an assert()Lennart Poettering2006-05-051-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1212 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* add an utf8 check when unescaping domains - essentially this means that all ↵Lennart Poettering2006-04-241-0/+4
| | | | | | domain related functions will now consider strings with invalid utf8 as invalid (see #21) git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1202 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* add utf8 validity check API (based on the glib's implementation and hence ↵Lennart Poettering2006-04-244-4/+201
| | | | | | mostly identical to DBUS's implementation) git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1201 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* add new API function avahi_is_valid_fqdn()Lennart Poettering2006-03-024-0/+50
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1168 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* reverse 1144, since it broke more things than it fixedLennart Poettering2006-02-203-4/+4
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1151 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* make anonymous structs appear properly in doxygenLennart Poettering2006-02-173-4/+4
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1144 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* add new error code AVAHI_ERR_IS_EMPTY and use it in avahi_entry_group_commit()Lennart Poettering2006-01-304-6/+9
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1124 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* Update doxygen docs a little to make clearer when to use what API when ↵Lennart Poettering2006-01-271-3/+10
| | | | | | modifying an existing service git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1113 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* fix doxygen comment for AvahiPollLennart Poettering2006-01-271-2/+2
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1108 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* pthread build fixLennart Poettering2006-01-221-1/+2
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1100 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* add doxygen \since tagsLennart Poettering2006-01-201-9/+9
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1093 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* install thread-watch.hLennart Poettering2006-01-171-0/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1086 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* doxygen fixLennart Poettering2006-01-151-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1079 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* add new AvahiThreadedPoll event loop implementation which runs a main loop ↵Lennart Poettering2006-01-144-7/+310
| | | | | | in a helper thread git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1074 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* improve strlst testLennart Poettering2006-01-041-1/+4
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1054 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* replace avahi_new() with a version that checks for an integer overflow ↵Lennart Poettering2006-01-041-2/+16
| | | | | | (suggested by Martin Pitt) git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1053 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* when serializing string lists for DNS TXT records, ignore empty strings ↵Lennart Poettering2006-01-011-49/+46
| | | | | | unconditionally git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1050 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe