Last change
on this file since ff528e6 was
eea7bed4,
checked in by Jason Gross <jasongross9@gmail.com>, 7 years ago
|
Moved log file name generation to perl
I don't think that the class/personal distinction is the best for
general protocols, but I don't know what should replace it. I've made
class-logging default to only zephyr (a slight change from previous
behavior, where jabber MUC's would be logged to $classlogpath, as well
as all non-private non-login messages from other protocols), but made
logging path generation overridable.
TODO: Decide whether or not to filter out more 'bad' characters.
Perhaps we should remove '!' because it indicates history in some shells
and makes things obnoxious, or '~' becase it indicates homedirs in many
shells.
* '/' is for separating directories, and we don't want to accidentally
make subdirectories
We first NFKC for zephyrs, and then apply lc. The zephyr servers
apply case-folded NFKC (so says
http://zephyr.1ts.org/browser/zephyr/server/zstring.c). We should
probably use Unicode::CaseFold instead of lc. I'm also not sure what
the order case-adjustment and normalization should be.
We first NFKC, then apply lc, to jabbers, as per
http://xmpp.org/internet-drafts/attic/draft-ietf-xmpp-nodeprep-03.html
(though I can't actually find anything that specifies the case-folding
algorithm, nor the ordering).
We now use lc instead of g_utf8_strdown to normalize AIM screennames.
|
-
Property mode set to
100644
|
File size:
965 bytes
|
Line | |
---|
1 | SUBDIRS = modules |
---|
2 | nobase_dist_pkgdata_DATA = \ |
---|
3 | lib/BarnOwl.pm \ |
---|
4 | lib/BarnOwl/Complete/AIM.pm \ |
---|
5 | lib/BarnOwl/Complete/Client.pm \ |
---|
6 | lib/BarnOwl/Complete/Filter.pm \ |
---|
7 | lib/BarnOwl/Complete/Zephyr.pm \ |
---|
8 | lib/BarnOwl/Completion.pm \ |
---|
9 | lib/BarnOwl/Completion/Context.pm \ |
---|
10 | lib/BarnOwl/Completion/Util.pm \ |
---|
11 | lib/BarnOwl/DeferredLogging.pm \ |
---|
12 | lib/BarnOwl/Editwin.pm \ |
---|
13 | lib/BarnOwl/Help.pm \ |
---|
14 | lib/BarnOwl/Hook.pm \ |
---|
15 | lib/BarnOwl/Hooks.pm \ |
---|
16 | lib/BarnOwl/Logging.pm \ |
---|
17 | lib/BarnOwl/MainLoopCompatHook.pm \ |
---|
18 | lib/BarnOwl/Message.pm \ |
---|
19 | lib/BarnOwl/Message/AIM.pm \ |
---|
20 | lib/BarnOwl/Message/Admin.pm \ |
---|
21 | lib/BarnOwl/Message/Generic.pm \ |
---|
22 | lib/BarnOwl/Message/Loopback.pm \ |
---|
23 | lib/BarnOwl/Message/Zephyr.pm \ |
---|
24 | lib/BarnOwl/ModuleLoader.pm \ |
---|
25 | lib/BarnOwl/Parse.pm \ |
---|
26 | lib/BarnOwl/Style.pm \ |
---|
27 | lib/BarnOwl/Style/Basic.pm \ |
---|
28 | lib/BarnOwl/Style/Default.pm \ |
---|
29 | lib/BarnOwl/Style/Legacy.pm \ |
---|
30 | lib/BarnOwl/Style/OneLine.pm \ |
---|
31 | lib/BarnOwl/Timer.pm \ |
---|
32 | lib/BarnOwl/Zephyr.pm \ |
---|
33 | lib/Module/Install/BarnOwl.pm |
---|
Note: See
TracBrowser
for help on using the repository browser.