haiku/headers
Stephan Aßmus 2faa1532f8 * Refactored a lot of repetitive code and made
everything more readible.
 * Once I understood better how everthing is supposed
   to work, I've fixed some bugs.
 * The most important problem was that AddDirectory()
   placed the wrong entry (resolved symlinks) into the
   entry list it keeps for each directory. This resulted
   in the mechanisms not working at all when an add-on
   was a symlink.
 * There was a hidden TODO, which would mean that moving
   an add-on from one watched directory into another,
   like from home/config/add-ons/... into common/add-ons/...
   would drop the client application (media_server,
   input_server, ...) into the debugger.
 * The fFormerEntries list did not seem to serve any
   purpose. Basically it would not disable add-ons
   removed from a watched directory unless it changed
   it's name at the same time. I've removed it completely,
   since it didn't seem to be an optimization
   (entry cache) either.
 * Each actual add-on file is now node-monitored for
   stat changes. So if you have a link in the add-on
   folder, and the linked to add-on changes, it triggers
   a reload of the add-on now. This will make it much
   more pleasant to develop add-ons and have them affective
   immediately.

I tested with a fresh image, but there are no immediate
regressions I am aware of. I could imagine that messing
with certain add-ons can have a bad effect now, like
removing the keyboard input_server add-on may trigger the
keyboard to stop working immediately without an input_server
restart, but Tracker should warn before it happens.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38280 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-19 19:52:19 +00:00
..
build Import glibc 2.11.2 regex.h for Solaris 2010-08-14 11:10:40 +00:00
compatibility * added forkpty() and login_tty() to bsd compatibility, a test for forkpty(). 2010-04-10 13:48:28 +00:00
config Changed to 64 bit physical addresses for x86. This enabled PAE support. 2010-06-23 16:10:08 +00:00
cpp * Added missing clear() method. 2010-08-05 11:23:01 +00:00
glibc * merged 32bit-wchar_t branches of buildtools and haiku back into 2009-07-07 10:30:09 +00:00
libs Big change deriving BLayout from BLayoutItem, and allowing viewless BLayouts. 2010-08-17 18:43:41 +00:00
os Fix #6373, second try 2010-08-19 15:29:02 +00:00
posix use __haiku_addr_t instead of __haiku_uint32 2010-08-14 11:58:02 +00:00
private * Refactored a lot of repetitive code and made 2010-08-19 19:52:19 +00:00
tools * Moved everything into the SymbolPatcher namespace. 2009-11-05 17:16:17 +00:00