Merging the PAR branch back to trunk.
r20272@phanatique (orig r665): nelhage | 2007-03-14 19:25:05 -0400
Branching for the PAR module rewrite.
r20274@phanatique (orig r667): nelhage | 2007-03-16 00:45:19 -0400
First phase of the module rewrite. Internals now (IMO) somewhat
cleaner.
r19586@phanatique: nelhage | 2007-03-14 20:35:39 -0400
First pass at a cleaned up perlwrap.pm
* Using a new hook style
* Modules loaded by BarnOwl::ModuleLoader (not yet written)
reload is unimplemented for now. If possible, I'd like it to live
elsewhere.
r19587@phanatique: nelhage | 2007-03-14 20:36:58 -0400
Switching to the new underscore internal hook names.
r19592@phanatique: nelhage | 2007-03-16 00:34:00 -0400
Actually switch to _receive_msg
r19593@phanatique: nelhage | 2007-03-16 00:34:27 -0400
Some minor cleanup of perlwrap.pm. Shoving fake entries into @INC.
r19594@phanatique: nelhage | 2007-03-16 00:34:47 -0400
First revision of ModuleLoader.
r20281@phanatique (orig r669): nelhage | 2007-03-17 14:48:02 -0400
r20279@phanatique: nelhage | 2007-03-17 14:46:56 -0400
For reasons I don't claim to understand, using the old-style new was
throwing odd errors about undefined functions.
r20286@phanatique (orig r670): nelhage | 2007-03-18 16:28:23 -0400
r20282@phanatique: nelhage | 2007-03-17 14:48:22 -0400
Report more errors when something goes wrong
r20287@phanatique (orig r671): nelhage | 2007-03-18 16:28:31 -0400
r20285@phanatique: nelhage | 2007-03-18 16:28:18 -0400
Adding the new M::Iified jabber module. There isn't a target to build
the PAR yet.
r20291@phanatique (orig r672): nelhage | 2007-03-18 19:14:04 -0400
r20290@phanatique: nelhage | 2007-03-18 19:13:57 -0400
Adding a Module::Install plugin for building barnowl plugins. It needs
a lot of improvement.
r20309@phanatique (orig r673): nelhage | 2007-03-19 14:14:23 -0400
r20301@phanatique: nelhage | 2007-03-19 13:31:07 -0400
Changing the dependency on the par target, so we don't rebuild unless
we need to.
r20310@phanatique (orig r674): nelhage | 2007-03-19 14:14:33 -0400
r20303@phanatique: nelhage | 2007-03-19 13:32:25 -0400
Modifying the makefile to build and install perl modules
r20643@phanatique (orig r677): nelhage | 2007-03-23 15:09:45 -0400
r20640@phanatique: nelhage | 2007-03-23 15:09:38 -0400
Implement loading of unpacked modules, and module reloading.
r20645@phanatique (orig r678): nelhage | 2007-03-23 15:11:05 -0400
r20644@phanatique: nelhage | 2007-03-23 15:10:57 -0400
Tighten up the reloaded regex a little.
r20649@phanatique (orig r679): nelhage | 2007-03-23 16:18:44 -0400
r20648@phanatique: nelhage | 2007-03-23 16:18:25 -0400
Correctly install modules on a clean install.
r20655@phanatique (orig r680): nelhage | 2007-03-25 12:53:07 -0400
r20650@phanatique: nelhage | 2007-03-23 17:01:20 -0400
Still not sure why old-style new seems to be eiting us so much...
r20656@phanatique (orig r681): nelhage | 2007-03-25 12:53:11 -0400
r20653@phanatique: nelhage | 2007-03-25 12:52:38 -0400
Let's not segfault if the user asks for a nonexistant style in .owl/startup
r20657@phanatique (orig r682): nelhage | 2007-03-25 12:53:16 -0400
r20654@phanatique: nelhage | 2007-03-25 12:52:59 -0400
That line doesn't need to be there twice -- probably a mismerge
r20706@phanatique (orig r683): nelhage | 2007-03-26 21:04:43 -0400
r20704@phanatique: nelhage | 2007-03-26 20:00:24 -0400
We don't need two package lines..
r20707@phanatique (orig r684): nelhage | 2007-03-26 21:04:54 -0400
r20705@phanatique: nelhage | 2007-03-26 21:04:37 -0400
Getting rid of indirect object syntax new calls. Quoting perlobj:
> But what if there are no arguments? In that case, Perl must guess what
> you want. Even worse, it must make that guess *at compile time*. Usually
> Perl gets it right, but when it doesn't you get a function call compiled
> as a method, or vice versa. This can introduce subtle bugs that are hard
> to detect.
>
> For example, a call to a method "new" in indirect notation -- as C++
> programmers are wont to make -- can be miscompiled into a subroutine
> call if there's already a "new" function in scope. You'd end up calling
> the current package's "new" as a subroutine, rather than the desired
> class's method. The compiler tries to cheat by remembering bareword
> "require"s, but the grief when it messes up just isn't worth the years
> of debugging it will take you to track down such subtle bugs.
r20710@phanatique (orig r685): nelhage | 2007-03-26 21:14:41 -0400
r20708@phanatique: nelhage | 2007-03-26 21:11:34 -0400
Adding a reload-modules command
r20711@phanatique (orig r686): nelhage | 2007-03-26 21:14:49 -0400
r20709@phanatique: nelhage | 2007-03-26 21:14:31 -0400
Moving Net::Jabber into Jabber.par
r20714@phanatique (orig r687): nelhage | 2007-03-26 21:18:13 -0400
r20713@phanatique: nelhage | 2007-03-26 21:17:59 -0400
Don't install .svn dirs
r20720@phanatique (orig r688): nelhage | 2007-03-27 22:04:10 -0400
r20719@phanatique: nelhage | 2007-03-27 22:04:03 -0400
Implementing an LRU cache of the message list fmtexts. This reduces
memory usage by roughly 1MB/kilo-zephyrs in steady state.
r20272@phanatique (orig r665): nelhage | 2007-03-14 19:25:05 -0400
Branching for the PAR module rewrite.
r20274@phanatique (orig r667): nelhage | 2007-03-16 00:45:19 -0400
First phase of the module rewrite. Internals now (IMO) somewhat
cleaner.
r19586@phanatique: nelhage | 2007-03-14 20:35:39 -0400
First pass at a cleaned up perlwrap.pm
* Using a new hook style
* Modules loaded by BarnOwl::ModuleLoader (not yet written)
reload is unimplemented for now. If possible, I'd like it to live
elsewhere.
r19587@phanatique: nelhage | 2007-03-14 20:36:58 -0400
Switching to the new underscore internal hook names.
r19592@phanatique: nelhage | 2007-03-16 00:34:00 -0400
Actually switch to _receive_msg
r19593@phanatique: nelhage | 2007-03-16 00:34:27 -0400
Some minor cleanup of perlwrap.pm. Shoving fake entries into @INC.
r19594@phanatique: nelhage | 2007-03-16 00:34:47 -0400
First revision of ModuleLoader.
r20281@phanatique (orig r669): nelhage | 2007-03-17 14:48:02 -0400
r20279@phanatique: nelhage | 2007-03-17 14:46:56 -0400
For reasons I don't claim to understand, using the old-style new was
throwing odd errors about undefined functions.
r20286@phanatique (orig r670): nelhage | 2007-03-18 16:28:23 -0400
r20282@phanatique: nelhage | 2007-03-17 14:48:22 -0400
Report more errors when something goes wrong
r20287@phanatique (orig r671): nelhage | 2007-03-18 16:28:31 -0400
r20285@phanatique: nelhage | 2007-03-18 16:28:18 -0400
Adding the new M::Iified jabber module. There isn't a target to build
the PAR yet.
r20291@phanatique (orig r672): nelhage | 2007-03-18 19:14:04 -0400
r20290@phanatique: nelhage | 2007-03-18 19:13:57 -0400
Adding a Module::Install plugin for building barnowl plugins. It needs
a lot of improvement.
r20309@phanatique (orig r673): nelhage | 2007-03-19 14:14:23 -0400
r20301@phanatique: nelhage | 2007-03-19 13:31:07 -0400
Changing the dependency on the par target, so we don't rebuild unless
we need to.
r20310@phanatique (orig r674): nelhage | 2007-03-19 14:14:33 -0400
r20303@phanatique: nelhage | 2007-03-19 13:32:25 -0400
Modifying the makefile to build and install perl modules
r20643@phanatique (orig r677): nelhage | 2007-03-23 15:09:45 -0400
r20640@phanatique: nelhage | 2007-03-23 15:09:38 -0400
Implement loading of unpacked modules, and module reloading.
r20645@phanatique (orig r678): nelhage | 2007-03-23 15:11:05 -0400
r20644@phanatique: nelhage | 2007-03-23 15:10:57 -0400
Tighten up the reloaded regex a little.
r20649@phanatique (orig r679): nelhage | 2007-03-23 16:18:44 -0400
r20648@phanatique: nelhage | 2007-03-23 16:18:25 -0400
Correctly install modules on a clean install.
r20655@phanatique (orig r680): nelhage | 2007-03-25 12:53:07 -0400
r20650@phanatique: nelhage | 2007-03-23 17:01:20 -0400
Still not sure why old-style new seems to be eiting us so much...
r20656@phanatique (orig r681): nelhage | 2007-03-25 12:53:11 -0400
r20653@phanatique: nelhage | 2007-03-25 12:52:38 -0400
Let's not segfault if the user asks for a nonexistant style in .owl/startup
r20657@phanatique (orig r682): nelhage | 2007-03-25 12:53:16 -0400
r20654@phanatique: nelhage | 2007-03-25 12:52:59 -0400
That line doesn't need to be there twice -- probably a mismerge
r20706@phanatique (orig r683): nelhage | 2007-03-26 21:04:43 -0400
r20704@phanatique: nelhage | 2007-03-26 20:00:24 -0400
We don't need two package lines..
r20707@phanatique (orig r684): nelhage | 2007-03-26 21:04:54 -0400
r20705@phanatique: nelhage | 2007-03-26 21:04:37 -0400
Getting rid of indirect object syntax new calls. Quoting perlobj:
> But what if there are no arguments? In that case, Perl must guess what
> you want. Even worse, it must make that guess *at compile time*. Usually
> Perl gets it right, but when it doesn't you get a function call compiled
> as a method, or vice versa. This can introduce subtle bugs that are hard
> to detect.
>
> For example, a call to a method "new" in indirect notation -- as C++
> programmers are wont to make -- can be miscompiled into a subroutine
> call if there's already a "new" function in scope. You'd end up calling
> the current package's "new" as a subroutine, rather than the desired
> class's method. The compiler tries to cheat by remembering bareword
> "require"s, but the grief when it messes up just isn't worth the years
> of debugging it will take you to track down such subtle bugs.
r20710@phanatique (orig r685): nelhage | 2007-03-26 21:14:41 -0400
r20708@phanatique: nelhage | 2007-03-26 21:11:34 -0400
Adding a reload-modules command
r20711@phanatique (orig r686): nelhage | 2007-03-26 21:14:49 -0400
r20709@phanatique: nelhage | 2007-03-26 21:14:31 -0400
Moving Net::Jabber into Jabber.par
r20714@phanatique (orig r687): nelhage | 2007-03-26 21:18:13 -0400
r20713@phanatique: nelhage | 2007-03-26 21:17:59 -0400
Don't install .svn dirs
r20720@phanatique (orig r688): nelhage | 2007-03-27 22:04:10 -0400
r20719@phanatique: nelhage | 2007-03-27 22:04:03 -0400
Implementing an LRU cache of the message list fmtexts. This reduces
memory usage by roughly 1MB/kilo-zephyrs in steady state.