olsrd.git
13 years ago* sync'ed current svn (rev 33) upon Immo 'FaUl' Wehrenberg's hint
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

13 years ago* "type" is a bash-builtin (as pointed out by Sven-Ola Tuecke)
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)

13 years ago* pave the way to add -Wshadow
Bernd Petrovitsch [Thu, 2 Aug 2007 22:07:19 +0000 (22:07 +0000)]
* pave the way to add -Wshadow

13 years ago* use NULL instead for 0 for pointers
Bernd Petrovitsch [Thu, 2 Aug 2007 22:00:46 +0000 (22:00 +0000)]
* use NULL instead for 0 for pointers

13 years ago* fixed a bad cast
Bernd Petrovitsch [Thu, 2 Aug 2007 21:59:59 +0000 (21:59 +0000)]
* fixed a bad cast

13 years ago* pave the way to add -Wshadow
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

13 years ago* const-ify parameters
Bernd Petrovitsch [Thu, 2 Aug 2007 21:57:06 +0000 (21:57 +0000)]
* const-ify parameters
* pave the way to add -Wshadow

13 years ago* const-ify parameters
Bernd Petrovitsch [Thu, 2 Aug 2007 21:51:40 +0000 (21:51 +0000)]
* const-ify parameters

13 years ago* 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

13 years ago* boilerplate parentheses in macros
Bernd Petrovitsch [Thu, 2 Aug 2007 21:45:33 +0000 (21:45 +0000)]
* boilerplate parentheses in macros

13 years ago* start with 0.5.4
Bernd Petrovitsch [Thu, 2 Aug 2007 21:42:40 +0000 (21:42 +0000)]
* start with 0.5.4

13 years ago* fixed more typos
Bernd Petrovitsch [Thu, 2 Aug 2007 20:57:21 +0000 (20:57 +0000)]
* fixed more typos

13 years ago* set version to 0.5.4.pre
Bernd Petrovitsch [Thu, 2 Aug 2007 20:54:01 +0000 (20:54 +0000)]
* set version to 0.5.4.pre

13 years ago* set version to 0.5.3 OLSRD_0_5_3
Bernd Petrovitsch [Thu, 2 Aug 2007 20:53:20 +0000 (20:53 +0000)]
* set version to 0.5.3

13 years ago* 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:31:37 +0000 (20:31 +0000)]
* update with .spec file from the 0.5.2-*.src.rpm and killed the lines for the patch

13 years ago* ignore a ganerated file
Bernd Petrovitsch [Thu, 2 Aug 2007 20:18:24 +0000 (20:18 +0000)]
* ignore a ganerated file

13 years ago* fixed a typo
Bernd Petrovitsch [Thu, 2 Aug 2007 20:06:47 +0000 (20:06 +0000)]
* fixed a typo

13 years ago* new version and a little more blurb
Bernd Petrovitsch [Thu, 2 Aug 2007 20:02:56 +0000 (20:02 +0000)]
* new version and a little more blurb

13 years ago* fixed -fPIC breakage
Bernd Petrovitsch [Thu, 2 Aug 2007 19:59:15 +0000 (19:59 +0000)]
* fixed -fPIC breakage

13 years ago* added "ia64" to the list of architectures which want -fPIC
Bernd Petrovitsch [Thu, 2 Aug 2007 16:26:55 +0000 (16:26 +0000)]
* added "ia64" to the list of architectures which want -fPIC

13 years ago* added "parisc64" to the list of architectures which want -fPIC and condensed it...
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

13 years ago* const-ified parameters
Bernd Petrovitsch [Thu, 2 Aug 2007 14:47:26 +0000 (14:47 +0000)]
* const-ified parameters

13 years ago* also use on the function definition "static"
Bernd Petrovitsch [Thu, 2 Aug 2007 14:38:34 +0000 (14:38 +0000)]
* also use on the function definition "static"

13 years ago* more info
Bernd Petrovitsch [Thu, 2 Aug 2007 12:34:53 +0000 (12:34 +0000)]
* more info

13 years ago* do not generate dependencies before cleaning as we delete them right away again
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

13 years ago* killed an unnecessary static variable
Bernd Petrovitsch [Thu, 2 Aug 2007 12:24:37 +0000 (12:24 +0000)]
* killed an unnecessary static variable

13 years ago* fixed build errors on Debian/HPPA and Debian/Alpha - patch against 0.4.10 was from...
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>

13 years ago* fixed build errors on Debian/HPPA and Debian/Alpha - patch against 0.4.10 was from...
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>

13 years ago* const'ify function
Bernd Petrovitsch [Thu, 2 Aug 2007 10:20:25 +0000 (10:20 +0000)]
* const'ify function

13 years ago* removed a superflous cast
Bernd Petrovitsch [Wed, 1 Aug 2007 16:28:30 +0000 (16:28 +0000)]
* removed a superflous cast

13 years ago*use NULL instead of 0 for pointers
Bernd Petrovitsch [Wed, 1 Aug 2007 16:22:57 +0000 (16:22 +0000)]
*use NULL instead of 0 for pointers

13 years ago* declare a locally only used variable static (and not in each .c file which happen...
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)

13 years ago*use NULL instead of 0 for pointers
Bernd Petrovitsch [Wed, 1 Aug 2007 16:18:30 +0000 (16:18 +0000)]
*use NULL instead of 0 for pointers

13 years ago* made locally only used functions "static"
Bernd Petrovitsch [Wed, 1 Aug 2007 16:16:05 +0000 (16:16 +0000)]
* made locally only used functions "static"

13 years ago* fixed SIGSEGV reported by Cedric Krier <ced@ced.homedns.org>
Bernd Petrovitsch [Tue, 31 Jul 2007 12:02:18 +0000 (12:02 +0000)]
* fixed SIGSEGV reported by Cedric Krier <ced@ced.homedns.org>

13 years ago* also delete the dependency files correctly
Bernd Petrovitsch [Sat, 28 Jul 2007 19:33:48 +0000 (19:33 +0000)]
* also delete the dependency files correctly

13 years ago* update
Bernd Petrovitsch [Sat, 28 Jul 2007 13:45:29 +0000 (13:45 +0000)]
* update

13 years ago* ooops
Bernd Petrovitsch [Sat, 28 Jul 2007 13:40:19 +0000 (13:40 +0000)]
* ooops

13 years ago* ignore the generated olsr_switch binary.cvsignore
Bernd Petrovitsch [Sat, 28 Jul 2007 12:59:38 +0000 (12:59 +0000)]
* ignore the generated olsr_switch binary.cvsignore

13 years ago* ooops, fixed another warning in the Windows port
Bernd Petrovitsch [Sat, 28 Jul 2007 12:58:23 +0000 (12:58 +0000)]
* ooops, fixed another warning in the Windows port

13 years ago* ooops, fixed typo
Bernd Petrovitsch [Sat, 28 Jul 2007 12:55:49 +0000 (12:55 +0000)]
* ooops, fixed typo

13 years ago* fixed warnings
Bernd Petrovitsch [Sat, 28 Jul 2007 12:53:15 +0000 (12:53 +0000)]
* fixed warnings

13 years ago* always show failed loading of a plugin
Bernd Petrovitsch [Thu, 26 Jul 2007 20:58:19 +0000 (20:58 +0000)]
* always show failed loading of a plugin

13 years ago* the contents of INCLUDES and DEFINES should now be placed into CPPFLAGS
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

13 years ago* fixed the "missing" #define more sane now
Bernd Petrovitsch [Thu, 26 Jul 2007 16:03:40 +0000 (16:03 +0000)]
* fixed the "missing" #define more sane now

13 years ago* and a section for 0.5.3
Bernd Petrovitsch [Mon, 23 Jul 2007 13:04:01 +0000 (13:04 +0000)]
* and a section for 0.5.3

13 years ago* fix for the dot-draw plugin breakage
Bernd Petrovitsch [Mon, 23 Jul 2007 12:58:38 +0000 (12:58 +0000)]
* fix for the dot-draw plugin breakage

13 years ago* port numbers are "int" and not "unsigned int"
Bernd Petrovitsch [Fri, 20 Jul 2007 12:25:56 +0000 (12:25 +0000)]
* port numbers are "int" and not "unsigned int"

13 years ago* activated supprot for the old plugin interface
Bernd Petrovitsch [Wed, 18 Jul 2007 10:38:51 +0000 (10:38 +0000)]
* activated supprot for the old plugin interface

13 years ago* inc'd version
Bernd Petrovitsch [Tue, 17 Jul 2007 13:13:08 +0000 (13:13 +0000)]
* inc'd version

13 years ago* updated README to 0.5.2. And I added a blurb about the txtinfo plugin. OLSRD_0_5_2
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.

13 years agoupdate
Bernd Petrovitsch [Tue, 17 Jul 2007 09:52:01 +0000 (09:52 +0000)]
update

13 years ago* added comment
Bernd Petrovitsch [Tue, 17 Jul 2007 09:28:15 +0000 (09:28 +0000)]
* added comment

13 years ago* added a forgotten dependency
Bernd Petrovitsch [Sun, 15 Jul 2007 21:50:46 +0000 (21:50 +0000)]
* added a forgotten dependency

13 years ago* moved to plugin interface version 5
Bernd Petrovitsch [Sun, 15 Jul 2007 21:47:17 +0000 (21:47 +0000)]
* moved to plugin interface version 5

13 years ago* update
Bernd Petrovitsch [Sun, 15 Jul 2007 21:09:42 +0000 (21:09 +0000)]
* update

13 years ago* killed warnings on win
Bernd Petrovitsch [Sun, 15 Jul 2007 21:09:38 +0000 (21:09 +0000)]
* killed warnings on win

13 years ago* fixed formatting
Bernd Petrovitsch [Sun, 15 Jul 2007 20:59:06 +0000 (20:59 +0000)]
* fixed formatting

13 years agoI started to clean up the plugin parameter handling:
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.

13 years ago* activate old plugin interface versions per default like before
Bernd Petrovitsch [Sun, 15 Jul 2007 18:11:45 +0000 (18:11 +0000)]
* activate old plugin interface versions per default like before

13 years ago* cosmetic
Bernd Petrovitsch [Sun, 15 Jul 2007 17:54:07 +0000 (17:54 +0000)]
* cosmetic

13 years ago* cleanup: have a newline at the end of the file
Bernd Petrovitsch [Sun, 15 Jul 2007 17:52:16 +0000 (17:52 +0000)]
* cleanup: have a newline at the end of the file

13 years ago* use the correct plugin interface version number
Bernd Petrovitsch [Sun, 15 Jul 2007 17:52:43 +0000 (17:52 +0000)]
* use the correct plugin interface version number

13 years ago* fixed compile warnings
Bernd Petrovitsch [Sun, 15 Jul 2007 17:48:55 +0000 (17:48 +0000)]
* fixed compile warnings

13 years ago* added common utility functions for plugins
Bernd Petrovitsch [Sun, 15 Jul 2007 17:46:46 +0000 (17:46 +0000)]
* added common utility functions for plugins

13 years ago* ignore dependency files
Bernd Petrovitsch [Sun, 15 Jul 2007 17:46:19 +0000 (17:46 +0000)]
* ignore dependency files

13 years ago* use the correct plugin interface version number
Bernd Petrovitsch [Sun, 15 Jul 2007 17:41:33 +0000 (17:41 +0000)]
* use the correct plugin interface version number

13 years ago* fixed hashing bug found and fixed by Sven-Ola Tuecke
Bernd Petrovitsch [Tue, 10 Jul 2007 08:42:28 +0000 (08:42 +0000)]
* fixed hashing bug found and fixed by Sven-Ola Tuecke

13 years agoAdded patch from Roar Rotvik(The README file was not updated for 0.5.1)
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)

13 years ago* CVS-HEAD is not 0.5.2pre
Bernd Petrovitsch [Thu, 5 Jul 2007 23:12:43 +0000 (23:12 +0000)]
* CVS-HEAD is not 0.5.2pre

13 years ago* releasing 0.5.1 OLSRD_0_5_1
Bernd Petrovitsch [Thu, 5 Jul 2007 22:45:39 +0000 (22:45 +0000)]
* releasing 0.5.1

13 years agoadded the SPF refactoring from Hannes Gredler <hannes@gredler.at>:
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).

13 years agoand gone again. thanks for the patience... test finished
Aaron Kaplan [Thu, 5 Jul 2007 20:05:13 +0000 (20:05 +0000)]
and gone again. thanks for the patience... test finished

13 years agotesting the cvs mailinglist
Aaron Kaplan [Thu, 5 Jul 2007 19:59:04 +0000 (19:59 +0000)]
testing the cvs mailinglist

13 years agoMAX_LIBS was unused
Aaron Kaplan [Wed, 4 Jul 2007 01:52:35 +0000 (01:52 +0000)]
MAX_LIBS was unused

13 years agobe a bit more verbose when loading plugins. Since this only gets printed
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.

13 years ago* update
Bernd Petrovitsch [Mon, 2 Jul 2007 11:05:48 +0000 (11:05 +0000)]
* update

13 years ago* added 160-nameservice-cleanup.patch and 170-olsrd-nameservice-latlon.patch from...
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/

13 years ago* increased the buffer size - we got larger networks
Bernd Petrovitsch [Mon, 2 Jul 2007 10:20:24 +0000 (10:20 +0000)]
* increased the buffer size - we got larger networks

13 years agoadapt the parsing of the config options to the reality (capitalization)
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.

13 years ago* fixed compile breakage
Bernd Petrovitsch [Sat, 30 Jun 2007 23:03:10 +0000 (23:03 +0000)]
* fixed compile breakage

13 years ago* update
Bernd Petrovitsch [Sat, 30 Jun 2007 20:16:11 +0000 (20:16 +0000)]
* update

13 years ago* upgrade to olsr-bmf-1.5
Bernd Petrovitsch [Sat, 30 Jun 2007 20:07:47 +0000 (20:07 +0000)]
* upgrade to olsr-bmf-1.5

13 years ago* localized the hash stuff. We shouldn't need it anywhere else.
Bernd Petrovitsch [Thu, 28 Jun 2007 22:34:52 +0000 (22:34 +0000)]
* localized the hash stuff. We shouldn't need it anywhere else.

13 years ago* avoid a fork(), execve() and a pipe()
Bernd Petrovitsch [Wed, 27 Jun 2007 20:20:57 +0000 (20:20 +0000)]
* avoid a fork(), execve() and a pipe()

13 years agomark seta as not implemented in the cmd description
Aaron Kaplan [Thu, 31 May 2007 00:16:52 +0000 (00:16 +0000)]
mark seta as not implemented in the cmd description

13 years agobe a bit more verbose about what is implemented and not
Aaron Kaplan [Thu, 31 May 2007 00:14:53 +0000 (00:14 +0000)]
be a bit more verbose about what is implemented and not

13 years ago* cleaned it up and reduced the code size a little bit
Bernd Petrovitsch [Thu, 17 May 2007 20:35:16 +0000 (20:35 +0000)]
* cleaned it up and reduced the code size a little bit

13 years ago* avoid lots of superflous malloc() and free()
Bernd Petrovitsch [Thu, 17 May 2007 20:30:09 +0000 (20:30 +0000)]
* avoid lots of superflous malloc() and free()

13 years ago* made the html buffer larger - this is only a short term work around
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()

13 years ago(1) On Windows $(OS) is not undefined but contains "Windows_NT". Now handled in Makef...
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.

13 years ago* killed if_nr in struct interface and index in struct olsr_if.
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.

13 years ago* more fixups for the generated .c file
Bernd Petrovitsch [Sun, 13 May 2007 22:02:57 +0000 (22:02 +0000)]
* more fixups for the generated .c file

13 years ago* made a local function static
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.

13 years ago ntohl() returns "unsigned long" on win32
Bernd Petrovitsch [Wed, 9 May 2007 17:41:17 +0000 (17:41 +0000)]
 ntohl() returns "unsigned long" on win32

13 years ago* oops, fixed compile breakage
Bernd Petrovitsch [Wed, 9 May 2007 17:37:09 +0000 (17:37 +0000)]
* oops, fixed compile breakage

13 years ago this plugin uses regexps. Does Win32 hassomething similar?
Bernd Petrovitsch [Wed, 9 May 2007 17:30:42 +0000 (17:30 +0000)]
 this plugin uses regexps. Does Win32 hassomething similar?

13 years ago made it compile without warnings on Win32
Bernd Petrovitsch [Wed, 9 May 2007 17:29:53 +0000 (17:29 +0000)]
 made it compile without warnings on Win32

13 years ago* added a simulate write() syscall which uses send() to work on sockets
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

13 years ago* compiles now on win32
Bernd Petrovitsch [Wed, 9 May 2007 00:22:47 +0000 (00:22 +0000)]
* compiles now on win32