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
Bernd Petrovitsch [Thu, 2 Aug 2007 15:51:54 +0000 (15:51 +0000)]
* added "parisc64" to the list of architectures which want -fPIC and condensed it a little bit
Bernd Petrovitsch [Thu, 2 Aug 2007 14:47:26 +0000 (14:47 +0000)]
* const-ified parameters
Bernd Petrovitsch [Thu, 2 Aug 2007 14:38:34 +0000 (14:38 +0000)]
* also use on the function definition "static"
Bernd Petrovitsch [Thu, 2 Aug 2007 12:34:53 +0000 (12:34 +0000)]
* more info
Bernd Petrovitsch [Thu, 2 Aug 2007 12:31:38 +0000 (12:31 +0000)]
* do not generate dependencies before cleaning as we delete them right away again
Bernd Petrovitsch [Thu, 2 Aug 2007 12:24:37 +0000 (12:24 +0000)]
* killed an unnecessary static variable
Bernd Petrovitsch [Thu, 2 Aug 2007 12:19:57 +0000 (12:19 +0000)]
* fixed build errors on Debian/HPPA and Debian/Alpha - patch against 0.4.10 was from Julien Cristau <jcristau@debian.org>, now rediscovered by Holger Levsen <holger@layer-acht.org>
Bernd Petrovitsch [Thu, 2 Aug 2007 11:56:53 +0000 (11:56 +0000)]
* fixed build errors on Debian/HPPA and Debian/Alpha - patch against 0.4.10 was from Julien Cristau <jcristau@debian.org>, now rediscovered by Holger Levsen <holger@layer-acht.org>
Bernd Petrovitsch [Thu, 2 Aug 2007 10:20:25 +0000 (10:20 +0000)]
* const'ify function
Bernd Petrovitsch [Wed, 1 Aug 2007 16:28:30 +0000 (16:28 +0000)]
* removed a superflous cast
Bernd Petrovitsch [Wed, 1 Aug 2007 16:22:57 +0000 (16:22 +0000)]
*use NULL instead of 0 for pointers
Bernd Petrovitsch [Wed, 1 Aug 2007 16:19:48 +0000 (16:19 +0000)]
* declare a locally only used variable static (and not in each .c file which happen to #include that .h file)
Bernd Petrovitsch [Wed, 1 Aug 2007 16:18:30 +0000 (16:18 +0000)]
*use NULL instead of 0 for pointers
Bernd Petrovitsch [Wed, 1 Aug 2007 16:16:05 +0000 (16:16 +0000)]
* made locally only used functions "static"
Bernd Petrovitsch [Tue, 31 Jul 2007 12:02:18 +0000 (12:02 +0000)]
* fixed SIGSEGV reported by Cedric Krier <ced@ced.homedns.org>
Bernd Petrovitsch [Sat, 28 Jul 2007 19:33:48 +0000 (19:33 +0000)]
* also delete the dependency files correctly
Bernd Petrovitsch [Sat, 28 Jul 2007 13:45:29 +0000 (13:45 +0000)]
* update
Bernd Petrovitsch [Sat, 28 Jul 2007 13:40:19 +0000 (13:40 +0000)]
* ooops
Bernd Petrovitsch [Sat, 28 Jul 2007 12:59:38 +0000 (12:59 +0000)]
* ignore the generated olsr_switch binary.cvsignore
Bernd Petrovitsch [Sat, 28 Jul 2007 12:58:23 +0000 (12:58 +0000)]
* ooops, fixed another warning in the Windows port
Bernd Petrovitsch [Sat, 28 Jul 2007 12:55:49 +0000 (12:55 +0000)]
* ooops, fixed typo
Bernd Petrovitsch [Sat, 28 Jul 2007 12:53:15 +0000 (12:53 +0000)]
* fixed warnings
Bernd Petrovitsch [Thu, 26 Jul 2007 20:58:19 +0000 (20:58 +0000)]
* always show failed loading of a plugin
Bernd Petrovitsch [Thu, 26 Jul 2007 17:34:54 +0000 (17:34 +0000)]
* the contents of INCLUDES and DEFINES should now be placed into CPPFLAGS
as it belongs in there
* also all -I and -D options from CFALGS are now there
* however, we add for the time being INCLUDES and DEFINES to CPPFLAGS
(and warn) to not break ouf of tree modules.
* and the -DSUPPORT_OLD_PLUGIN_VERSIONS=1 is now fixed as it should have
been right from the start
Bernd Petrovitsch [Thu, 26 Jul 2007 16:03:40 +0000 (16:03 +0000)]
* fixed the "missing" #define more sane now
Bernd Petrovitsch [Mon, 23 Jul 2007 13:04:01 +0000 (13:04 +0000)]
* and a section for 0.5.3
Bernd Petrovitsch [Mon, 23 Jul 2007 12:58:38 +0000 (12:58 +0000)]
* fix for the dot-draw plugin breakage
Bernd Petrovitsch [Fri, 20 Jul 2007 12:25:56 +0000 (12:25 +0000)]
* port numbers are "int" and not "unsigned int"
Bernd Petrovitsch [Wed, 18 Jul 2007 10:38:51 +0000 (10:38 +0000)]
* activated supprot for the old plugin interface
Bernd Petrovitsch [Tue, 17 Jul 2007 13:13:08 +0000 (13:13 +0000)]
* inc'd version
Bernd Petrovitsch [Tue, 17 Jul 2007 11:06:28 +0000 (11:06 +0000)]
* updated README to 0.5.2. And I added a blurb about the txtinfo plugin.
Bernd Petrovitsch [Tue, 17 Jul 2007 09:52:01 +0000 (09:52 +0000)]
update
Bernd Petrovitsch [Tue, 17 Jul 2007 09:28:15 +0000 (09:28 +0000)]
* added comment
Bernd Petrovitsch [Sun, 15 Jul 2007 21:50:46 +0000 (21:50 +0000)]
* added a forgotten dependency
Bernd Petrovitsch [Sun, 15 Jul 2007 21:47:17 +0000 (21:47 +0000)]
* moved to plugin interface version 5
Bernd Petrovitsch [Sun, 15 Jul 2007 21:09:42 +0000 (21:09 +0000)]
* update
Bernd Petrovitsch [Sun, 15 Jul 2007 21:09:38 +0000 (21:09 +0000)]
* killed warnings on win
Bernd Petrovitsch [Sun, 15 Jul 2007 20:59:06 +0000 (20:59 +0000)]
* fixed formatting
Bernd Petrovitsch [Sun, 15 Jul 2007 19:29:38 +0000 (19:29 +0000)]
I started to clean up the plugin parameter handling:
* Up to now some used case-insensitive, some used case-sensitive (with
differing cases BTW) parameter names.
* Most plugins silently ignored unknown parameters.
This makes it hard to find errors in the olsrd.conf file.
Instead of simply fixing all the various plugins (and the mostly - more
or less - copied code), I reduced the plugin special code to a minimum
and (more or less automatically) all plugins behave the same (with
respect to the parameter handling).
How does it look now?
Every plugins exports a table of { parameter-name, parse-function,
addr-of-storage } to allow to share more code, e.g. the parsing and
checking of a port number or IP addresses.
Every plugin will export a function
---- snip ----
void olsrd_get_plugin_parameters(const struct olsrd_plugin_parameters **params, int *size);
---- snip ----
which delivers the address of the table and it's size. So in theory the
plugin could generate the table at load time though ATM all current
ones export statically defined tables.
What else is different?
- I introduced SUPPORT_OLD_PLUGIN_VERSIONS to simplifiy the compile-time
removal of legacy support. It is not that much but more of a start.
- Plugin interface version 4 is supported until all plugins are
migrated.
- The plugin loader produces now much more output - on good and error
cases. I had too often to look into the source to find that I mistyped
some parameter .....
ToDo:
- Several plugins cannot handle IPv6 at all - only IPv4 is implemented.
Some of these functions are locally now but fixed versions can (and
should IMHO) be shared by all plugins.
Bernd Petrovitsch [Sun, 15 Jul 2007 18:11:45 +0000 (18:11 +0000)]
* activate old plugin interface versions per default like before
Bernd Petrovitsch [Sun, 15 Jul 2007 17:54:07 +0000 (17:54 +0000)]
* cosmetic
Bernd Petrovitsch [Sun, 15 Jul 2007 17:52:16 +0000 (17:52 +0000)]
* cleanup: have a newline at the end of the file
Bernd Petrovitsch [Sun, 15 Jul 2007 17:52:43 +0000 (17:52 +0000)]
* use the correct plugin interface version number
Bernd Petrovitsch [Sun, 15 Jul 2007 17:48:55 +0000 (17:48 +0000)]
* fixed compile warnings
Bernd Petrovitsch [Sun, 15 Jul 2007 17:46:46 +0000 (17:46 +0000)]
* added common utility functions for plugins
Bernd Petrovitsch [Sun, 15 Jul 2007 17:46:19 +0000 (17:46 +0000)]
* ignore dependency files
Bernd Petrovitsch [Sun, 15 Jul 2007 17:41:33 +0000 (17:41 +0000)]
* use the correct plugin interface version number
Bernd Petrovitsch [Tue, 10 Jul 2007 08:42:28 +0000 (08:42 +0000)]
* fixed hashing bug found and fixed by Sven-Ola Tuecke
Andreas Tonnesen [Mon, 9 Jul 2007 07:27:57 +0000 (07:27 +0000)]
Added patch from Roar Rotvik(The README file was not updated for 0.5.1)
Bernd Petrovitsch [Thu, 5 Jul 2007 23:12:43 +0000 (23:12 +0000)]
* CVS-HEAD is not 0.5.2pre
Bernd Petrovitsch [Thu, 5 Jul 2007 22:45:39 +0000 (22:45 +0000)]
* releasing 0.5.1
Bernd Petrovitsch [Thu, 5 Jul 2007 22:43:47 +0000 (22:43 +0000)]
added the SPF refactoring from Hannes Gredler <hannes@gredler.at>:
1. use of an AVL tree as a min-heap implementation
as a means for efficient sorting.
(the etx metric is used as the key in the candidate tree)
2. next-hop propagation
rather than tracking the previous node in olsr_relax()
i have changed that model and pre-populate all one-hop neighbors
with their own IP adress as 'next-hop' and pull that
pointer up once new paths are explored.
as a result no walker for counting hops and extracting next-hops
is required - it turns out at this is slighly more efficient
than the existing behaviour (even with the cache applied).
Aaron Kaplan [Thu, 5 Jul 2007 20:05:13 +0000 (20:05 +0000)]
and gone again. thanks for the patience... test finished
Aaron Kaplan [Thu, 5 Jul 2007 19:59:04 +0000 (19:59 +0000)]
testing the cvs mailinglist
Aaron Kaplan [Wed, 4 Jul 2007 01:52:35 +0000 (01:52 +0000)]
MAX_LIBS was unused
Aaron Kaplan [Wed, 4 Jul 2007 01:50:45 +0000 (01:50 +0000)]
be a bit more verbose when loading plugins. Since this only gets printed
once at startup, little harm is done. But we will find out the reason
why certain dlloads wont't work.
Bernd Petrovitsch [Mon, 2 Jul 2007 11:05:48 +0000 (11:05 +0000)]
* update
Bernd Petrovitsch [Mon, 2 Jul 2007 10:59:12 +0000 (10:59 +0000)]
* added 160-nameservice-cleanup.patch and 170-olsrd-nameservice-latlon.patch from download.olsrexperiment.de/sven-ola/nylon/packages/olsrd/files/
Bernd Petrovitsch [Mon, 2 Jul 2007 10:20:24 +0000 (10:20 +0000)]
* increased the buffer size - we got larger networks
Aaron Kaplan [Sun, 1 Jul 2007 01:17:38 +0000 (01:17 +0000)]
adapt the parsing of the config options to the reality (capitalization)
in the /etc/olsrd.conf file.
The bug was that it could not parse "accept" because it was written
"Accept" in the config file.
Bernd Petrovitsch [Sat, 30 Jun 2007 23:03:10 +0000 (23:03 +0000)]
* fixed compile breakage
Bernd Petrovitsch [Sat, 30 Jun 2007 20:16:11 +0000 (20:16 +0000)]
* update
Bernd Petrovitsch [Sat, 30 Jun 2007 20:07:47 +0000 (20:07 +0000)]
* upgrade to olsr-bmf-1.5
Bernd Petrovitsch [Thu, 28 Jun 2007 22:34:52 +0000 (22:34 +0000)]
* localized the hash stuff. We shouldn't need it anywhere else.
Bernd Petrovitsch [Wed, 27 Jun 2007 20:20:57 +0000 (20:20 +0000)]
* avoid a fork(), execve() and a pipe()
Aaron Kaplan [Thu, 31 May 2007 00:16:52 +0000 (00:16 +0000)]
mark seta as not implemented in the cmd description
Aaron Kaplan [Thu, 31 May 2007 00:14:53 +0000 (00:14 +0000)]
be a bit more verbose about what is implemented and not
Bernd Petrovitsch [Thu, 17 May 2007 20:35:16 +0000 (20:35 +0000)]
* cleaned it up and reduced the code size a little bit
Bernd Petrovitsch [Thu, 17 May 2007 20:30:09 +0000 (20:30 +0000)]
* avoid lots of superflous malloc() and free()
Bernd Petrovitsch [Thu, 17 May 2007 11:25:27 +0000 (11:25 +0000)]
* made the html buffer larger - this is only a short term work around
* cleanup: use parentheres in macros
* cleanup: use sizeof()
Thomas Lopatic [Sun, 13 May 2007 23:44:24 +0000 (23:44 +0000)]
(1) On Windows $(OS) is not undefined but contains "Windows_NT". Now handled in Makefile.inc instead of guess_os.sh. (2) Fixed re-definition of write() in Windows version of unistd.h.
Bernd Petrovitsch [Sun, 13 May 2007 22:23:55 +0000 (22:23 +0000)]
* killed if_nr in struct interface and index in struct olsr_if.
Kudos to Joerg Pommnitz <pommnitz@yahoo.com> for spotting this
leftovers and a patch for the Unix part.
Bernd Petrovitsch [Sun, 13 May 2007 22:02:57 +0000 (22:02 +0000)]
* more fixups for the generated .c file
Bernd Petrovitsch [Sun, 13 May 2007 21:49:59 +0000 (21:49 +0000)]
* made a local function static
* removed unused TOK_SEMI and TOK_PLNAME. Thanks to
Patrick McCarty <mccartyp@gmail.com> for spotting this.
Bernd Petrovitsch [Wed, 9 May 2007 17:41:17 +0000 (17:41 +0000)]
ntohl() returns "unsigned long" on win32
Bernd Petrovitsch [Wed, 9 May 2007 17:37:09 +0000 (17:37 +0000)]
* oops, fixed compile breakage
Bernd Petrovitsch [Wed, 9 May 2007 17:30:42 +0000 (17:30 +0000)]
this plugin uses regexps. Does Win32 hassomething similar?
Bernd Petrovitsch [Wed, 9 May 2007 17:29:53 +0000 (17:29 +0000)]
made it compile without warnings on Win32
Bernd Petrovitsch [Wed, 9 May 2007 00:30:04 +0000 (00:30 +0000)]
* added a simulate write() syscall which uses send() to work on sockets