Bernd Petrovitsch [Sat, 13 Oct 2007 12:09:37 +0000 (12:09 +0000)]
* more HTML cleanup
Bernd Petrovitsch [Sat, 13 Oct 2007 12:09:11 +0000 (12:09 +0000)]
* cleanup: const'ified parameters and reduced duplicated code
Bernd Petrovitsch [Sat, 13 Oct 2007 12:04:57 +0000 (12:04 +0000)]
* fixed up the html
Bernd Petrovitsch [Wed, 10 Oct 2007 21:29:48 +0000 (21:29 +0000)]
* killed warnings - all are trivial
Bernd Petrovitsch [Wed, 10 Oct 2007 21:24:54 +0000 (21:24 +0000)]
* updated to SVN trunk - revision 48
Bernd Petrovitsch [Wed, 10 Oct 2007 20:44:34 +0000 (20:44 +0000)]
* kill a warning on 64bit
Bernd Petrovitsch [Fri, 5 Oct 2007 20:57:53 +0000 (20:57 +0000)]
* simplify the formula avoiding unnecessary floating point calculations and
give the compiler as much freedom as possible.
Bernd Petrovitsch [Fri, 5 Oct 2007 20:24:47 +0000 (20:24 +0000)]
cleanups:
* localized a global buffer
* made local functions "static"
* const'ified parameters
Bernd Petrovitsch [Fri, 5 Oct 2007 20:10:24 +0000 (20:10 +0000)]
Misc changes:
- several fields in struct link_entry since I see no reason ot keep them
signed and it avoids warnings
- killed the "loss_window_size" field in struct link_entry since it is
only initalized and never changed.
- minimized constant strings in olsr_print_link_set().
cleanup stuff:
- const'ified parameters
- reformatted to make it (IMHO) more readable
Bernd Petrovitsch [Fri, 5 Oct 2007 08:39:14 +0000 (08:39 +0000)]
as reported by Aaron Kaplan <aaron@lo-res.org>:
* BSD-xargs doesn't know "--no-run-if-empty" aka "-r". So we simply kill it
(leaving a comment for me to not add it again in 6 months - I have yet to
encounter a situation where "-r" is actually wrong) as "rm -f" without
parameters does nothing anyways.
* But it knows "-0" as I learned. So we use that too.
And yes, if I use "find | xargs" it actually is written as
"find -print0 | xargs -0r". Everytime.
Bernd Petrovitsch [Fri, 5 Oct 2007 08:06:12 +0000 (08:06 +0000)]
patch by David Cornejo <dcornejo@gmail.com>: use of an uninitialized variable
Bernd Petrovitsch [Thu, 4 Oct 2007 23:06:10 +0000 (23:06 +0000)]
* apparently no one is using hex values in olsrd.conf as the HEXDIGIT
reg-exp was totally broken.
fixed it. And renamed it to HEX8
* renamed HEXBYTE to HEX16 as IPv6 actually has 16bit values there (and
byte is misleading)
* rearranged the regexps to look more similar. Since flex (and lex) generate
DEAs out of it, it doesn't make a difference.
* use "size_t".
* use more options: I don't know if that breaks on *BSD.
Bernd Petrovitsch [Thu, 4 Oct 2007 22:40:19 +0000 (22:40 +0000)]
* fixed warnings
Bernd Petrovitsch [Thu, 4 Oct 2007 22:29:51 +0000 (22:29 +0000)]
* bug fix by Acinonyx <acinonyxs@yahoo.gr>
Bernd Petrovitsch [Thu, 4 Oct 2007 22:27:31 +0000 (22:27 +0000)]
* bug fixes and cleanups by John Hay <jhay@meraka.org.za> for FreeBSD
Bernd Petrovitsch [Tue, 25 Sep 2007 13:47:36 +0000 (13:47 +0000)]
* "balance" in struct avl_node is "signed char".
Thanks to John Hay <jhay@meraka.org.za> for reporting and to
Thomas Lopatic <thomas@lopatic.de> for confirming this.
* "leader" in struct avl_node is "unsigned char" as it is set to 0 and 1
only (in src/lq_av.c).
* cleanup: added parentheres to arguments of a macro
Bernd Petrovitsch [Mon, 17 Sep 2007 22:57:41 +0000 (22:57 +0000)]
* killed too many #include <>s
Bernd Petrovitsch [Mon, 17 Sep 2007 22:55:40 +0000 (22:55 +0000)]
* made delete_all_inet_gws() static since it is not used elsewhere
* localized the netlink version restoring the former logging
* killed a superflous close()
No functional change, just moving code around.
Bernd Petrovitsch [Mon, 17 Sep 2007 22:27:24 +0000 (22:27 +0000)]
* more blurb
Bernd Petrovitsch [Mon, 17 Sep 2007 22:24:22 +0000 (22:24 +0000)]
* applied 114-olsrd-timeoutlimit.patch
Bernd Petrovitsch [Mon, 17 Sep 2007 22:14:07 +0000 (22:14 +0000)]
* applied 110-olsrd-fixpacketprint.patch
Bernd Petrovitsch [Mon, 17 Sep 2007 22:08:01 +0000 (22:08 +0000)]
* applied 113-olsrd-txtinfo-fixhttpget.patch
Bernd Petrovitsch [Mon, 17 Sep 2007 22:06:40 +0000 (22:06 +0000)]
* forget to mention a patch
Bernd Petrovitsch [Mon, 17 Sep 2007 21:57:06 +0000 (21:57 +0000)]
- applied 115-olsrd-nameserviceparamfix.patch and
116-olsrd-fix-pluginparam-addons.patch by Sven-Ola Tuecke
<mail2news@commando.de> fixing the compilation warning on 64bit.
Bernd Petrovitsch [Mon, 17 Sep 2007 21:44:15 +0000 (21:44 +0000)]
* removed -Wsign-compare for generated code
* fixed the #line directives
Bernd Petrovitsch [Mon, 17 Sep 2007 21:43:28 +0000 (21:43 +0000)]
* added a comment to a commented out warning
Bernd Petrovitsch [Mon, 17 Sep 2007 10:29:51 +0000 (10:29 +0000)]
* ooops, accidently activated -Werror
Bernd Petrovitsch [Sun, 16 Sep 2007 22:14:08 +0000 (22:14 +0000)]
* name set_boolean() similar to the other functions
Bernd Petrovitsch [Sun, 16 Sep 2007 22:11:30 +0000 (22:11 +0000)]
* make the typedef a function (and not a pointer) so we can use it for function prototypes
Bernd Petrovitsch [Sun, 16 Sep 2007 21:50:17 +0000 (21:50 +0000)]
* include all .o files on the commandline
Bernd Petrovitsch [Sun, 16 Sep 2007 21:45:25 +0000 (21:45 +0000)]
applied patch by Andreas Jacobs <jacobs@i4.informatik.rwth-aachen.de>
fixing the broken window size calculation.
I'm taking this solution as it is the (IMHO) most consistent one.
Bernd Petrovitsch [Sun, 16 Sep 2007 21:20:17 +0000 (21:20 +0000)]
* creating builddata.c containing build time information as date+time,
host and version
and using it througout
* activated links in the httpinfo plugin again if we have host links
other minor HTML cleanups there
* replaced the olsr_host_rt_maxplen() function with a field in
"struct olsr_cfg" similar to "ipsize"
Bernd Petrovitsch [Sun, 16 Sep 2007 21:14:25 +0000 (21:14 +0000)]
* const-ified functions
Bernd Petrovitsch [Thu, 13 Sep 2007 22:52:55 +0000 (22:52 +0000)]
* set version to 0.5.4rc1
Bernd Petrovitsch [Thu, 13 Sep 2007 22:43:15 +0000 (22:43 +0000)]
* fix compilation on win32
Bernd Petrovitsch [Thu, 13 Sep 2007 16:08:13 +0000 (16:08 +0000)]
* added 104-olsrd-policy-routing.patch by Sven-Ola Tuecke <mail2news@commando.de> (with trivial changes)
Bernd Petrovitsch [Thu, 13 Sep 2007 15:41:12 +0000 (15:41 +0000)]
* converted to plugin interface version 5
Bernd Petrovitsch [Thu, 13 Sep 2007 15:31:59 +0000 (15:31 +0000)]
* patch by Hannes Gredler <hannes@gredler.at> to consolidate the the link-state database and the spf-calculation
Bernd Petrovitsch [Wed, 12 Sep 2007 23:40:47 +0000 (23:40 +0000)]
* killed a dead struct and fixed a typo
Bernd Petrovitsch [Wed, 12 Sep 2007 23:40:14 +0000 (23:40 +0000)]
* include interfaces.h if we use the struct
Bernd Petrovitsch [Wed, 12 Sep 2007 14:08:00 +0000 (14:08 +0000)]
* commented debug stuff out
Bernd Petrovitsch [Tue, 11 Sep 2007 23:49:02 +0000 (23:49 +0000)]
* minor cleanup by Hannes Gredler <hannes@gredler.at>
Bernd Petrovitsch [Tue, 11 Sep 2007 23:30:41 +0000 (23:30 +0000)]
* just for consistency and simplicity also link against OS_LIB_PTHREAD
Bernd Petrovitsch [Tue, 11 Sep 2007 23:22:38 +0000 (23:22 +0000)]
* fixed missing "addon" parameter and "unused" warnings
Bernd Petrovitsch [Tue, 11 Sep 2007 23:08:20 +0000 (23:08 +0000)]
* updated bmf plugin to 1.5.1
Bernd Petrovitsch [Fri, 7 Sep 2007 09:07:25 +0000 (09:07 +0000)]
* use /bin/sh instead of /bin/bash - patch by John Hay, slightly modified by me
Bernd Petrovitsch [Fri, 7 Sep 2007 08:53:48 +0000 (08:53 +0000)]
* update for FreeBSD neew WLAN API - patch by John Hay
Bernd Petrovitsch [Thu, 6 Sep 2007 12:08:28 +0000 (12:08 +0000)]
* also change the default in the code
Bernd Petrovitsch [Thu, 6 Sep 2007 11:45:09 +0000 (11:45 +0000)]
* change the default window size to 12
Bernd Petrovitsch [Wed, 5 Sep 2007 22:17:26 +0000 (22:17 +0000)]
* fixed mistyped field name
Bernd Petrovitsch [Wed, 5 Sep 2007 16:32:46 +0000 (16:32 +0000)]
* added blurb for the changelog
Bernd Petrovitsch [Wed, 5 Sep 2007 16:30:50 +0000 (16:30 +0000)]
* #if 0 ... #endif out an unused function
Bernd Petrovitsch [Wed, 5 Sep 2007 16:17:36 +0000 (16:17 +0000)]
* applied 102-olsrd-rt-refactoring-fixes.patch from Sven-Ola Tuecke <mail2news@commando.de>
Bernd Petrovitsch [Wed, 5 Sep 2007 16:11:11 +0000 (16:11 +0000)]
* applied rt-refactoring-6.diff from Hannes Gredler <hannes@gredler.at>
Bernd Petrovitsch [Sun, 2 Sep 2007 22:51:33 +0000 (22:51 +0000)]
* and declare the correct function
Bernd Petrovitsch [Sun, 2 Sep 2007 22:17:00 +0000 (22:17 +0000)]
* converted TAS plugin interface to version 5. Untested since I have not test cases. But it looks pretty obvious
Bernd Petrovitsch [Sun, 2 Sep 2007 21:37:49 +0000 (21:37 +0000)]
* converted it to plugin interface version 5. It doesn't make much sense to leave version 1 there
Bernd Petrovitsch [Sun, 2 Sep 2007 21:04:42 +0000 (21:04 +0000)]
* use "__attribute__((unused))" instead of empty code
Bernd Petrovitsch [Thu, 30 Aug 2007 22:49:13 +0000 (22:49 +0000)]
* converted to interface version 5 and simplified a little bit
Bernd Petrovitsch [Thu, 30 Aug 2007 22:25:13 +0000 (22:25 +0000)]
* always show an error
Bernd Petrovitsch [Wed, 29 Aug 2007 23:17:13 +0000 (23:17 +0000)]
* and something for the CHANGELOG
Bernd Petrovitsch [Wed, 29 Aug 2007 23:08:54 +0000 (23:08 +0000)]
* grrmml, Win32 doesn't know uint8_t
Bernd Petrovitsch [Wed, 29 Aug 2007 22:57:17 +0000 (22:57 +0000)]
Another big cleanup (brewing hereover):
I rewrote the half of src/lq_packet.[ch] which deals with incoming packets.
This was triggered with performance output of gcc procuced by Sven-Ola Tuecke at
CCCamp07.
This cvs-commit kills lots of (more than) superflous malloc()s and the same
number of (free()s). And it also kills some code.
Bernd Petrovitsch [Wed, 29 Aug 2007 22:26:11 +0000 (22:26 +0000)]
* use more variables
Bernd Petrovitsch [Wed, 29 Aug 2007 21:46:26 +0000 (21:46 +0000)]
- Based on a patch by Gianni Costanzi <gianni.costanzi@gmail.com> (so credits
and thanks have to go there):
added OS_CFLAG_PTHREAD Makefile variable since gcc (on Linux) requests this
in the manual page.
Changes/additions:
- I added definitions to all OS-specific Makefile.$OS with the value similar
to the value in OS_LIB_PTHREAD (either empty or "-pthread").
- The variable is added to CPPFLAGS (and not CFLAGS) since CPPFLAGS is used
for all cpp and gcc calls (and gcc's man page indicates that it sets
variables for both of them).
This has not been compiled or tested on anything except Linux up to now (and
to the best of my knowledge). So if you are a *BSD, Windows/CygWin or MacOSX
guru and there is something wrong, please send a patch.
Bernd Petrovitsch [Tue, 28 Aug 2007 20:45:17 +0000 (20:45 +0000)]
- Made a function from the ME_TO_DOUBLE() macro (in src/mantissa.h).
This saves code throughout the code even on i386 and will even more
on architectures without floating point units and "-msoft-float".
- And the mathemathics in src/mantissa.h is reformulated to minimize
floating point operations to save CPU power - especially on embedded
devices.
Bernd Petrovitsch [Tue, 28 Aug 2007 20:10:16 +0000 (20:10 +0000)]
* reduced duplicated code
Bernd Petrovitsch [Sat, 25 Aug 2007 19:51:14 +0000 (19:51 +0000)]
* and a blurb about the commit
Bernd Petrovitsch [Sat, 25 Aug 2007 19:48:42 +0000 (19:48 +0000)]
* Patch from Sven-Ola Tuecke to convert more plugins to the new interface.
Bernd Petrovitsch [Thu, 23 Aug 2007 21:20:02 +0000 (21:20 +0000)]
* ooops
Bernd Petrovitsch [Thu, 23 Aug 2007 21:04:33 +0000 (21:04 +0000)]
* made s local function static
* avoid a name clash of a local variable with an library function
Bernd Petrovitsch [Thu, 23 Aug 2007 21:01:56 +0000 (21:01 +0000)]
* Sven-Ola found the use of an uninitialized variable. This is my fix for it.
Bernd Petrovitsch [Thu, 23 Aug 2007 09:12:55 +0000 (09:12 +0000)]
* on win32 also remove the (generated) libolsrd.a. This is (IIUC) a
by-product of the linking of olsrd.exe
*
Bernd Petrovitsch [Thu, 23 Aug 2007 09:09:23 +0000 (09:09 +0000)]
* set the all:target before including the OS-specific Makefiles so that we can get rid of the same approx. 10 lines above
Bernd Petrovitsch [Mon, 20 Aug 2007 18:46:03 +0000 (18:46 +0000)]
* cleanup: const'ified parameters
Bernd Petrovitsch [Mon, 20 Aug 2007 15:10:23 +0000 (15:10 +0000)]
* fix compilation on *BSD: the "sed" there doesn't seem to handle the removed expression correctly
Bernd Petrovitsch [Sun, 19 Aug 2007 23:12:18 +0000 (23:12 +0000)]
* added text for 0.5.4
Bernd Petrovitsch [Sun, 19 Aug 2007 23:00:22 +0000 (23:00 +0000)]
cleanup: killed "extern" from .c files
Bernd Petrovitsch [Sun, 19 Aug 2007 20:47:09 +0000 (20:47 +0000)]
* added olsr_makefile_make_use_of_exename.patch from Arnd Hannemann <hannemann@i4.informatik.rwth-aachen.de>
Bernd Petrovitsch [Sun, 19 Aug 2007 20:37:41 +0000 (20:37 +0000)]
applied
110-olsrd-double-wlancard-neigh-hack.patch,
111-olsrd-complainpluginvers-nosleep.patch,
112-olsrd-nameservice-fixemptyname.patch,
113-olsrd-dyngwplain-pluginvers5.patch and
140-olsrd-arprefreshed.patch
from http://download-master.berlin.freifunk.net/sven-ola/nylon/packages/olsrd/files/
Bernd Petrovitsch [Thu, 16 Aug 2007 19:07:28 +0000 (19:07 +0000)]
* sync'ed current svn (rev 33) upon Immo 'FaUl' Wehrenberg's hint
Bernd Petrovitsch [Thu, 16 Aug 2007 18:41:34 +0000 (18:41 +0000)]
* "type" is a bash-builtin (as pointed out by Sven-Ola Tuecke)
Bernd Petrovitsch [Thu, 2 Aug 2007 22:07:19 +0000 (22:07 +0000)]
* pave the way to add -Wshadow
Bernd Petrovitsch [Thu, 2 Aug 2007 22:00:46 +0000 (22:00 +0000)]
* use NULL instead for 0 for pointers
Bernd Petrovitsch [Thu, 2 Aug 2007 21:59:59 +0000 (21:59 +0000)]
* fixed a bad cast
Bernd Petrovitsch [Thu, 2 Aug 2007 21:58:43 +0000 (21:58 +0000)]
* pave the way to add -Wshadow
* save an int in the data segment
Bernd Petrovitsch [Thu, 2 Aug 2007 21:57:06 +0000 (21:57 +0000)]
* const-ify parameters
* pave the way to add -Wshadow
Bernd Petrovitsch [Thu, 2 Aug 2007 21:51:40 +0000 (21:51 +0000)]
* const-ify parameters
Bernd Petrovitsch [Thu, 2 Aug 2007 21:50:22 +0000 (21:50 +0000)]
* const-ify parameters
* pave the way to add -Wshadow
* use "NULL" instead for "0" for pointers
Bernd Petrovitsch [Thu, 2 Aug 2007 21:45:33 +0000 (21:45 +0000)]
* boilerplate parentheses in macros
Bernd Petrovitsch [Thu, 2 Aug 2007 21:42:40 +0000 (21:42 +0000)]
* start with 0.5.4
Bernd Petrovitsch [Thu, 2 Aug 2007 20:57:21 +0000 (20:57 +0000)]
* fixed more typos
Bernd Petrovitsch [Thu, 2 Aug 2007 20:54:01 +0000 (20:54 +0000)]
* set version to 0.5.4.pre
Bernd Petrovitsch [Thu, 2 Aug 2007 20:53:20 +0000 (20:53 +0000)]
* set version to 0.5.3
Bernd Petrovitsch [Thu, 2 Aug 2007 20:31:37 +0000 (20:31 +0000)]
* update with .spec file from the 0.5.2-*.src.rpm and killed the lines for the patch
Bernd Petrovitsch [Thu, 2 Aug 2007 20:18:24 +0000 (20:18 +0000)]
* ignore a ganerated file
Bernd Petrovitsch [Thu, 2 Aug 2007 20:06:47 +0000 (20:06 +0000)]
* fixed a typo
Bernd Petrovitsch [Thu, 2 Aug 2007 20:02:56 +0000 (20:02 +0000)]
* new version and a little more blurb
Bernd Petrovitsch [Thu, 2 Aug 2007 19:59:15 +0000 (19:59 +0000)]
* fixed -fPIC breakage
Bernd Petrovitsch [Thu, 2 Aug 2007 16:26:55 +0000 (16:26 +0000)]
* added "ia64" to the list of architectures which want -fPIC