olsrd.git
12 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).

12 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

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

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

12 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.

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

12 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/

12 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

12 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.

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

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

12 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

12 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.

12 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()

12 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

12 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

12 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

12 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()

12 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()

12 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.

12 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.

12 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

12 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.

12 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

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

12 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?

12 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

12 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

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

12 years ago*killed a few warnings
Bernd Petrovitsch [Tue, 8 May 2007 23:49:00 +0000 (23:49 +0000)]
*killed a few warnings

12 years ago*killed a few warnings
Bernd Petrovitsch [Tue, 8 May 2007 23:43:17 +0000 (23:43 +0000)]
*killed a few warnings

12 years ago*killed a few warnings - Win32 needs to enter the 21st century with it's function...
Bernd Petrovitsch [Tue, 8 May 2007 23:34:52 +0000 (23:34 +0000)]
*killed a few warnings - Win32 needs to enter the 21st century with it's function prototypes

12 years ago*killed a few warnings
Bernd Petrovitsch [Tue, 8 May 2007 23:18:56 +0000 (23:18 +0000)]
*killed a few warnings

12 years ago*killed a few warnings
Bernd Petrovitsch [Tue, 8 May 2007 23:10:37 +0000 (23:10 +0000)]
*killed a few warnings

12 years ago*killed a few warnings
Bernd Petrovitsch [Tue, 8 May 2007 23:05:58 +0000 (23:05 +0000)]
*killed a few warnings

12 years ago* provide an argument to the tiems(2) call - OpenBSD seems to barf on a NULL there
Bernd Petrovitsch [Wed, 2 May 2007 08:07:11 +0000 (08:07 +0000)]
* provide an argument to the tiems(2) call - OpenBSD seems to barf on a NULL there

12 years ago* cosmetic
Bernd Petrovitsch [Wed, 2 May 2007 08:06:28 +0000 (08:06 +0000)]
* cosmetic

12 years ago* patch from Patrick McCarty <mccartyp@gmail.com>: OLSR_PRINTF() needs a ";" also...
Bernd Petrovitsch [Wed, 2 May 2007 07:41:20 +0000 (07:41 +0000)]
* patch from Patrick McCarty <mccartyp@gmail.com>: OLSR_PRINTF() needs a ";" also in the BSD part

12 years agocommented out -Werror again
Bernd Petrovitsch [Tue, 1 May 2007 21:52:52 +0000 (21:52 +0000)]
commented out -Werror again

12 years agofixed a warning
Bernd Petrovitsch [Tue, 1 May 2007 21:50:41 +0000 (21:50 +0000)]
fixed a warning

12 years ago* ooops, killed an outdated comment
Bernd Petrovitsch [Tue, 1 May 2007 21:37:29 +0000 (21:37 +0000)]
* ooops, killed an outdated comment

12 years agoMakefile tweaking:
Bernd Petrovitsch [Tue, 1 May 2007 21:36:50 +0000 (21:36 +0000)]
Makefile tweaking:
- gcc accepts different warnings on different versions. In an ideal world gcc could
  compare numbers to check for versions. Since make doesn't do this, we have now a shell scripts
  which kills not understand warnings.
- gather the -W options for CFLAGS in the WARNINGS variable so that we can pass them
  to the above script and on sub-makes.
- and pass said WARNINGS variable actually down
- if we have a default CC variable is is not empty, so the "?=" operator doesn't
  work that well.

12 years ago* fixes for OpenBSD according to the mail from Patrick McCarty <mccartyp@gmail.com...
Bernd Petrovitsch [Tue, 1 May 2007 20:13:50 +0000 (20:13 +0000)]
* fixes for OpenBSD according to the mail from Patrick McCarty <mccartyp@gmail.com> on Mon, 30 Apr 2007 09:26:37 -0700

12 years ago* God knows what's in that string
Bernd Petrovitsch [Sat, 28 Apr 2007 20:51:05 +0000 (20:51 +0000)]
* God knows what's in that string

12 years ago* declare locally only used variables static
Bernd Petrovitsch [Sat, 28 Apr 2007 20:48:57 +0000 (20:48 +0000)]
* declare locally only used variables static

12 years ago* avoid as much code and linker information as possible
Bernd Petrovitsch [Sat, 28 Apr 2007 20:46:32 +0000 (20:46 +0000)]
* avoid as much code and linker information as possible

12 years ago* commeneted an unused functi[Don completel out
Bernd Petrovitsch [Sat, 28 Apr 2007 20:45:06 +0000 (20:45 +0000)]
* commeneted an unused functi[Don completel out

12 years ago* do not mix declarations and code
Bernd Petrovitsch [Sat, 28 Apr 2007 19:58:49 +0000 (19:58 +0000)]
* do not mix declarations and code

12 years ago* added include because of bug report of Patrick McCarty <mccartyp@gmail.com>
Bernd Petrovitsch [Sat, 28 Apr 2007 19:51:16 +0000 (19:51 +0000)]
* added include because of bug report of Patrick McCarty <mccartyp@gmail.com>

12 years ago* make it compile on Debian/Sarge with a gcc-3.3.5
Bernd Petrovitsch [Fri, 27 Apr 2007 11:45:31 +0000 (11:45 +0000)]
* make it compile on Debian/Sarge with a gcc-3.3.5

12 years ago* alpha also always wants -fPIC
Bernd Petrovitsch [Fri, 27 Apr 2007 11:41:25 +0000 (11:41 +0000)]
* alpha also always wants -fPIC

12 years ago* fixed up wrong reg-exp
Bernd Petrovitsch [Fri, 27 Apr 2007 11:32:27 +0000 (11:32 +0000)]
* fixed up wrong reg-exp

12 years ago* killed warnings
Bernd Petrovitsch [Wed, 25 Apr 2007 22:24:09 +0000 (22:24 +0000)]
* killed warnings

12 years ago* killed a warning
Bernd Petrovitsch [Wed, 25 Apr 2007 22:19:00 +0000 (22:19 +0000)]
* killed a warning

12 years ago* OLSR_PRINTF() is now a real C expression
Bernd Petrovitsch [Wed, 25 Apr 2007 22:08:18 +0000 (22:08 +0000)]
* OLSR_PRINTF() is now a real C expression
* removed superflous type-casts

12 years ago* fixed an old-style function definition
Bernd Petrovitsch [Sun, 22 Apr 2007 21:50:18 +0000 (21:50 +0000)]
* fixed an old-style function definition

12 years ago* add the version string after including MAkefile.inc - God knows what make me move...
Bernd Petrovitsch [Sun, 22 Apr 2007 21:33:33 +0000 (21:33 +0000)]
* add the version string after including MAkefile.inc - God knows what make me move this a few days go

12 years ago* s|tcmsg|olsr_tcmsg| in preparation for a Sven-Ola patch
Bernd Petrovitsch [Sun, 22 Apr 2007 20:25:48 +0000 (20:25 +0000)]
* s|tcmsg|olsr_tcmsg| in preparation for a Sven-Ola patch

12 years ago* committed txtinfo patch by Jo-Philipp Wich <freifunk@wwsnet.net>
Bernd Petrovitsch [Sun, 22 Apr 2007 19:54:31 +0000 (19:54 +0000)]
* committed txtinfo patch by Jo-Philipp Wich <freifunk@wwsnet.net>

12 years ago* bmf-plugin 1.4
Bernd Petrovitsch [Sun, 22 Apr 2007 17:40:39 +0000 (17:40 +0000)]
* bmf-plugin 1.4

12 years ago* fixed broken find
Bernd Petrovitsch [Sun, 22 Apr 2007 17:25:17 +0000 (17:25 +0000)]
* fixed broken find

12 years ago* fixed warnings on 64bit hardware
Bernd Petrovitsch [Fri, 20 Apr 2007 14:58:35 +0000 (14:58 +0000)]
* fixed warnings on 64bit hardware

12 years ago* killed all "inline"s
Bernd Petrovitsch [Fri, 20 Apr 2007 14:23:41 +0000 (14:23 +0000)]
* killed all "inline"s

12 years ago* fixup fucntion definition
Bernd Petrovitsch [Fri, 20 Apr 2007 14:23:10 +0000 (14:23 +0000)]
* fixup fucntion definition

12 years ago* declare all non-static functions
Bernd Petrovitsch [Fri, 20 Apr 2007 14:20:11 +0000 (14:20 +0000)]
* declare all non-static functions

12 years ago* #include the own header file
Bernd Petrovitsch [Fri, 20 Apr 2007 14:19:44 +0000 (14:19 +0000)]
* #include the own header file

12 years ago* and a header file like all the other plugins
Bernd Petrovitsch [Fri, 20 Apr 2007 14:18:56 +0000 (14:18 +0000)]
* and a header file like all the other plugins

12 years agocleanup, 1. step (to get some local changes away):
Bernd Petrovitsch [Fri, 20 Apr 2007 14:06:18 +0000 (14:06 +0000)]
cleanup, 1. step (to get some local changes away):
* killed lots of warnings
* added __attribure__((unused)) and __attribure__((format(printf, ..., ...)))
* added "const"
* moved declarations of static functions into .c files
* added "static" declarations
* removed all "inline" declarations. Usually the compiler knows better anyways.
* removed emtpy "return" statements at the end of functions
* localized declarations
* avoided unnecessary data copies
* removed lots of empty lines
There is much more to do.

12 years ago* added lots of warnings (and -Werror is disabled per default)
Bernd Petrovitsch [Fri, 20 Apr 2007 14:05:41 +0000 (14:05 +0000)]
* added lots of warnings (and -Werror is disabled per default)

12 years ago* let `make uberclean` kill _all_ *.o, *.d and *~ files
Bernd Petrovitsch [Fri, 20 Apr 2007 14:04:30 +0000 (14:04 +0000)]
* let `make uberclean` kill _all_ *.o, *.d and *~ files

12 years agocleanup, 1. step (to get some local changes away):
Bernd Petrovitsch [Fri, 20 Apr 2007 13:46:05 +0000 (13:46 +0000)]
cleanup, 1. step (to get some local changes away):
* killed lots of warnings
* added __attribure__((unused)) and __attribure__((format(printf, ..., ...)))
* added "const"
* moved declarations of static functions into .c files
* added "static" declarations
* removed all "inline" declarations. Usually the compiler knows better anyways.
* removed emtpy "return" statements at the end of functions
* localized declarations
* avoided unnecessary data copies
* removed lots of empty lines
There is much more to do.

12 years ago* if inet_pton() fails it returns <= 0
Bernd Petrovitsch [Fri, 20 Apr 2007 10:38:01 +0000 (10:38 +0000)]
* if inet_pton() fails it returns <= 0

12 years ago* compare the result of inet_pton() > 0 instead of == 1
Bernd Petrovitsch [Fri, 20 Apr 2007 10:33:08 +0000 (10:33 +0000)]
* compare the result of inet_pton() > 0 instead of == 1

12 years ago* fixed a warning
Bernd Petrovitsch [Thu, 19 Apr 2007 23:01:32 +0000 (23:01 +0000)]
* fixed a warning

12 years ago* updated example conf according to Marco Tidow comment
Bernd Petrovitsch [Thu, 19 Apr 2007 22:28:09 +0000 (22:28 +0000)]
* updated example conf according to Marco Tidow comment

12 years ago* updated example conf file according to elektra's mail on Apr 10. 2007
Bernd Petrovitsch [Thu, 19 Apr 2007 22:25:49 +0000 (22:25 +0000)]
* updated example conf file according to elektra's mail on Apr 10. 2007

12 years ago* applied patch from John Hay
Bernd Petrovitsch [Thu, 19 Apr 2007 22:21:34 +0000 (22:21 +0000)]
* applied patch from John Hay

12 years agoCommenting out -Werror since lex generates code that generates a warning using gcc...
Andreas Tonnesen [Sun, 8 Apr 2007 07:06:05 +0000 (07:06 +0000)]
Commenting out -Werror since lex generates code that generates a warning using gcc 4.1.2(atleast on on ubuntu edgy) which prevents olsrd from building

12 years ago* only calculate the OS once and immediately only if necessary
Bernd Petrovitsch [Tue, 3 Apr 2007 10:10:10 +0000 (10:10 +0000)]
* only calculate the OS once and immediately only if necessary

12 years ago* cosmetic
Bernd Petrovitsch [Tue, 3 Apr 2007 10:09:31 +0000 (10:09 +0000)]
* cosmetic

12 years ago* also pass the OS variable
Bernd Petrovitsch [Tue, 3 Apr 2007 10:08:53 +0000 (10:08 +0000)]
* also pass the OS variable

12 years ago* pass OS always to sub-makes
Bernd Petrovitsch [Tue, 3 Apr 2007 09:53:41 +0000 (09:53 +0000)]
* pass OS always to sub-makes

12 years ago* renamed the various REAMEs more consistently
Bernd Petrovitsch [Tue, 3 Apr 2007 09:48:46 +0000 (09:48 +0000)]
* renamed the various REAMEs more consistently

12 years ago* minor updates after release
Bernd Petrovitsch [Tue, 3 Apr 2007 08:46:44 +0000 (08:46 +0000)]
* minor updates after release

12 years ago* added bmf ot SUBDIRS
Bernd Petrovitsch [Tue, 3 Apr 2007 08:46:02 +0000 (08:46 +0000)]
* added bmf ot SUBDIRS

12 years ago* merged comments from not-exixting 0.4.11 into 0.5.0
Bernd Petrovitsch [Tue, 3 Apr 2007 08:25:19 +0000 (08:25 +0000)]
* merged comments from not-exixting 0.4.11 into 0.5.0

12 years ago* oops, now it is consistent
Bernd Petrovitsch [Mon, 2 Apr 2007 22:46:04 +0000 (22:46 +0000)]
* oops, now it is consistent

12 years ago* added -Werror to motivate to kill warnings
Bernd Petrovitsch [Mon, 2 Apr 2007 22:44:09 +0000 (22:44 +0000)]
* added -Werror to motivate to kill warnings

12 years ago* print errors as all the other plugins
Bernd Petrovitsch [Mon, 2 Apr 2007 22:23:09 +0000 (22:23 +0000)]
* print errors as all the other plugins

12 years ago* Added an option to activate reverse resolving the hostnames
Bernd Petrovitsch [Mon, 2 Apr 2007 22:22:26 +0000 (22:22 +0000)]
* Added an option to activate reverse resolving the hostnames
  Activate it at your own risk!
* Fixup the HTML - at least partly.

12 years ago* changed the version to 0.5.1pre
Bernd Petrovitsch [Mon, 2 Apr 2007 10:07:44 +0000 (10:07 +0000)]
* changed the version to 0.5.1pre

12 years agoPull version from makefile. Tested on Linux. To be tested on Windows.
Thomas Lopatic [Mon, 2 Apr 2007 09:40:48 +0000 (09:40 +0000)]
Pull version from makefile. Tested on Linux. To be tested on Windows.
Reset version from 0.5.1pre to 0.5.0.

12 years ago* changed the version to 0.5.1pre
Bernd Petrovitsch [Sun, 1 Apr 2007 23:49:31 +0000 (23:49 +0000)]
* changed the version to 0.5.1pre

12 years ago* set version to 0.5.0 and added a section in the CHANGELOG
Bernd Petrovitsch [Sun, 1 Apr 2007 21:44:14 +0000 (21:44 +0000)]
* set version to 0.5.0 and added a section in the CHANGELOG

12 years agoIncreased maximal number of interfaces.
Thomas Lopatic [Thu, 29 Mar 2007 16:34:39 +0000 (16:34 +0000)]
Increased maximal number of interfaces.

12 years agoSupport multiple values per key.
Thomas Lopatic [Thu, 29 Mar 2007 00:05:50 +0000 (00:05 +0000)]
Support multiple values per key.

12 years agoUse main() instead of custom entry point.
Thomas Lopatic [Wed, 28 Mar 2007 14:49:15 +0000 (14:49 +0000)]
Use main() instead of custom entry point.

12 years agoRequest administrative privileges on Vista.
Thomas Lopatic [Wed, 28 Mar 2007 14:36:59 +0000 (14:36 +0000)]
Request administrative privileges on Vista.

12 years agoFixed route addition.
Thomas Lopatic [Wed, 28 Mar 2007 12:07:05 +0000 (12:07 +0000)]
Fixed route addition.

12 years agoStatically link shim.
Thomas Lopatic [Wed, 28 Mar 2007 11:18:59 +0000 (11:18 +0000)]
Statically link shim.