May 10th, 2002

livejournal

Module Name: livejournal
Committed By: bradfitz
Date: Fri May 10 15:47:49 UTC 2002

Modified Files:
---------------
livejournal/cgi-bin: bmlp.pl
livejournal/cgi-bin/Apache: BML.pm

Log Message:
------------
Make magic hash %BML::ML = %BMLCodeBlock::ML which is tied to the same
functionality as BML::ml(), so now you can do:

return "some html $ML{'.title'} some more html";

.. and not worry about breaking the string, etc.


To generate a diff of this commit:
cvs rdiff -r1.30 -r1.31 livejournal/cgi-bin/bmlp.pl
http://cvs.livejournal.org/browse.cgi/livejournal/cgi-bin/bmlp.pl.diff?r1=1.30&r2=1.31
cvs rdiff -r1.14 -r1.15 livejournal/cgi-bin/Apache/BML.pm
http://cvs.livejournal.org/browse.cgi/livejournal/cgi-bin/Apache/BML.pm.diff?r1=1.14&r2=1.15

livejournal

Module Name: livejournal
Committed By: bradfitz
Date: Fri May 10 16:08:16 UTC 2002

Modified Files:
---------------
livejournal/cgi-bin/Apache: BML.pm
livejournal/cgi-bin/bml/scheme: global.look
Added Files:
------------
livejournal/doc/raw/int: bml-notes.txt

Log Message:
------------
Update global.look LJUSER block template, adding the new "R" template flag.

Adding the document doc/raw/int/bml-notes.txt which describes in detail
all the BML template flags.

Old bmlp.pl doesn't recognize all of these, but I might make it later today.
In any case, the new BML handles them all, so we get the speed-up there.


To generate a diff of this commit:
cvs rdiff -r1.15 -r1.16 livejournal/cgi-bin/Apache/BML.pm
http://cvs.livejournal.org/browse.cgi/livejournal/cgi-bin/Apache/BML.pm.diff?r1=1.15&r2=1.16
cvs rdiff -r1.10 -r1.11 livejournal/cgi-bin/bml/scheme/global.look
http://cvs.livejournal.org/browse.cgi/livejournal/cgi-bin/bml/scheme/global.look.diff?r1=1.10&r2=1.11
cvs rdiff -r0 -r1.1 livejournal/doc/raw/int/bml-notes.txt
http://cvs.livejournal.org/browse.cgi/livejournal/doc/raw/int/bml-notes.txt.diff?r1=0&r2=1.1

livejournal

Module Name: livejournal
Committed By: bradfitz
Date: Fri May 10 16:20:30 UTC 2002

Modified Files:
---------------
livejournal/cgi-bin/LJ: TextMessage.pm

Log Message:
------------
ntang: New providers:
- csouth1
- uscc
- tms-suncom
- suncom
- one2one
- alltel

Modified providers:
- verizonwireless (fixed From: field)


To generate a diff of this commit:
cvs rdiff -r1.5 -r1.6 livejournal/cgi-bin/LJ/TextMessage.pm
http://cvs.livejournal.org/browse.cgi/livejournal/cgi-bin/LJ/TextMessage.pm.diff?r1=1.5&r2=1.6

livejournal

Module Name: livejournal
Committed By: bradfitz
Date: Fri May 10 16:36:29 UTC 2002

Modified Files:
---------------
livejournal/cgi-bin/Apache: BML.pm

Log Message:
------------
had the {R} flag logic wrong.

also, had commented out the _CODE block error handling. back in now.


To generate a diff of this commit:
cvs rdiff -r1.16 -r1.17 livejournal/cgi-bin/Apache/BML.pm
http://cvs.livejournal.org/browse.cgi/livejournal/cgi-bin/Apache/BML.pm.diff?r1=1.16&r2=1.17

ljcom

Module Name: ljcom
Committed By: bradfitz
Date: Fri May 10 16:50:51 UTC 2002

Modified Files:
---------------
ljcom/cgi-bin: ljcom.pl
Added Files:
------------
ljcom/htdocs: betatest.bml

Log Message:
------------
beta-testing cookie toggle page


To generate a diff of this commit:
cvs rdiff -r1.18 -r1.19 ljcom/cgi-bin/ljcom.pl
http://cvs.livejournal.org/browse.cgi/ljcom/cgi-bin/ljcom.pl.diff?r1=1.18&r2=1.19
cvs rdiff -r0 -r1.1 ljcom/htdocs/betatest.bml
http://cvs.livejournal.org/browse.cgi/ljcom/htdocs/betatest.bml.diff?r1=0&r2=1.1

ljcom

Module Name: ljcom
Committed By: bradfitz
Date: Fri May 10 17:21:29 UTC 2002

Modified Files:
---------------
ljcom/cgi-bin/bml/scheme/dystopia: generic.look

Log Message:
------------
let ljconfig.pl put some crap in dystopia side-bar (for beta-testing flag)


To generate a diff of this commit:
cvs rdiff -r1.24 -r1.25 ljcom/cgi-bin/bml/scheme/dystopia/generic.look
http://cvs.livejournal.org/browse.cgi/ljcom/cgi-bin/bml/scheme/dystopia/generic.look.diff?r1=1.24&r2=1.25

ljcom

Module Name: ljcom
Committed By: bradfitz
Date: Fri May 10 17:51:28 UTC 2002

Modified Files:
---------------
ljcom/htdocs/developer: modeinfo.bml varinfo.bml

Log Message:
------------
fix obvious CSS problem


To generate a diff of this commit:
cvs rdiff -r1.6 -r1.7 ljcom/htdocs/developer/modeinfo.bml \
ljcom/htdocs/developer/varinfo.bml
http://cvs.livejournal.org/browse.cgi/ljcom/htdocs/developer/modeinfo.bml.diff?r1=1.6&r2=1.7
http://cvs.livejournal.org/browse.cgi/ljcom/htdocs/developer/varinfo.bml.diff?r1=1.6&r2=1.7

livejournal

Module Name: livejournal
Committed By: bradfitz
Date: Fri May 10 18:08:00 UTC 2002

Modified Files:
---------------
livejournal/cgi-bin/Apache: BML.pm LiveJournal.pm

Log Message:
------------
fix opi's reported /community/ problem.

apache upon hitting a directory sends subrequests in the order DirectoryIndex
lists them... index.html, then index.bml, so we have to deal with index.html
and declining it.

the BML.pm change is just something i noticed while searching for the real bug.


To generate a diff of this commit:
cvs rdiff -r1.18 -r1.19 livejournal/cgi-bin/Apache/BML.pm
http://cvs.livejournal.org/browse.cgi/livejournal/cgi-bin/Apache/BML.pm.diff?r1=1.18&r2=1.19
cvs rdiff -r1.11 -r1.12 livejournal/cgi-bin/Apache/LiveJournal.pm
http://cvs.livejournal.org/browse.cgi/livejournal/cgi-bin/Apache/LiveJournal.pm.diff?r1=1.11&r2=1.12

livejournal

Module Name: livejournal
Committed By: bradfitz
Date: Fri May 10 19:57:19 UTC 2002

Modified Files:
---------------
livejournal/cgi-bin: portal.pl

Log Message:
------------
how did this even work before?
according to the DBI manpage, I was using it totally wrong.
odd.


To generate a diff of this commit:
cvs rdiff -r1.15 -r1.16 livejournal/cgi-bin/portal.pl
http://cvs.livejournal.org/browse.cgi/livejournal/cgi-bin/portal.pl.diff?r1=1.15&r2=1.16

livejournal

Module Name: livejournal
Committed By: bradfitz
Date: Fri May 10 22:25:49 UTC 2002

Modified Files:
---------------
livejournal/cgi-bin/Apache: BML.pm
livejournal/htdocs: talkread.bml update.bml

Log Message:
------------
cache BML code blocks again, but in a different way, very similiar
to how Apache::Registry does it, giving each its own package, so that
we don't create closures.


To generate a diff of this commit:
cvs rdiff -r1.20 -r1.21 livejournal/cgi-bin/Apache/BML.pm
http://cvs.livejournal.org/browse.cgi/livejournal/cgi-bin/Apache/BML.pm.diff?r1=1.20&r2=1.21
cvs rdiff -r1.70 -r1.71 livejournal/htdocs/talkread.bml
http://cvs.livejournal.org/browse.cgi/livejournal/htdocs/talkread.bml.diff?r1=1.70&r2=1.71
cvs rdiff -r1.23 -r1.24 livejournal/htdocs/update.bml
http://cvs.livejournal.org/browse.cgi/livejournal/htdocs/update.bml.diff?r1=1.23&r2=1.24

livejournal

Module Name: livejournal
Committed By: bradfitz
Date: Fri May 10 23:08:19 UTC 2002

Modified Files:
---------------
livejournal/htdocs: talkread.bml

Log Message:
------------
more fun with closures.

gotta move sub decl above place that uses it, and make it anon, so its
lexicals don't get frozen upon first compilation.


To generate a diff of this commit:
cvs rdiff -r1.71 -r1.72 livejournal/htdocs/talkread.bml
http://cvs.livejournal.org/browse.cgi/livejournal/htdocs/talkread.bml.diff?r1=1.71&r2=1.72

livejournal

Module Name: livejournal
Committed By: bradfitz
Date: Sat May 11 02:14:02 UTC 2002

Modified Files:
---------------
livejournal/cgi-bin/Apache: BML.pm
livejournal/htdocs: directorysearch.bml

Log Message:
------------
more BML speed-ups:

- less copying; more references
- keep cached record of scheme data after merging all files

and directorysearch.bml's local blocks wanted flags. ;)


To generate a diff of this commit:
cvs rdiff -r1.21 -r1.22 livejournal/cgi-bin/Apache/BML.pm
http://cvs.livejournal.org/browse.cgi/livejournal/cgi-bin/Apache/BML.pm.diff?r1=1.21&r2=1.22
cvs rdiff -r1.5 -r1.6 livejournal/htdocs/directorysearch.bml
http://cvs.livejournal.org/browse.cgi/livejournal/htdocs/directorysearch.bml.diff?r1=1.5&r2=1.6

livejournal

Module Name: livejournal
Committed By: bradfitz
Date: Sat May 11 05:30:05 UTC 2002

Modified Files:
---------------
livejournal/htdocs/support: faqbrowse.bml

Log Message:
------------
BF> Can you look into fixing the text to HTML auto-linker regexp in
BF> htdocs/support/faqbrowse.bml to fix this?

avva: This patch says: don't auto-link if the URL is preceded by a quote
(either single or doube; it's already normalised to " / ' by
the ehtml() call). I think it's a good enough heuristic for our
purposes. Tested.


To generate a diff of this commit:
cvs rdiff -r1.12 -r1.13 livejournal/htdocs/support/faqbrowse.bml
http://cvs.livejournal.org/browse.cgi/livejournal/htdocs/support/faqbrowse.bml.diff?r1=1.12&r2=1.13

livejournal

Module Name: livejournal
Committed By: bradfitz
Date: Sat May 11 05:32:30 UTC 2002

Modified Files:
---------------
livejournal/cgi-bin: ljprotocol.pl

Log Message:
------------
evan: When you set the "truncate" flag while retrieving entries, the "..." is
appended in all cases, even when the subject wasn't truncated.

Patch fixes it.


To generate a diff of this commit:
cvs rdiff -r1.95 -r1.96 livejournal/cgi-bin/ljprotocol.pl
http://cvs.livejournal.org/browse.cgi/livejournal/cgi-bin/ljprotocol.pl.diff?r1=1.95&r2=1.96

ljcom

Module Name: ljcom
Committed By: bradfitz
Date: Sat May 11 06:01:18 UTC 2002

Modified Files:
---------------
ljcom/cgi-bin/bml/scheme/dystopia: generic.look
Added Files:
------------
ljcom/htdocs/img/dys: logo3-lang.gif

Log Message:
------------
much love to lucretio for the Bad-Ass language selection icon.
this patch makes it visible when the language selection cookie is not set.


To generate a diff of this commit:
cvs rdiff -r1.26 -r1.27 ljcom/cgi-bin/bml/scheme/dystopia/generic.look
http://cvs.livejournal.org/browse.cgi/ljcom/cgi-bin/bml/scheme/dystopia/generic.look.diff?r1=1.26&r2=1.27
cvs rdiff -r0 -r1.1 ljcom/htdocs/img/dys/logo3-lang.gif
http://cvs.livejournal.org/browse.cgi/ljcom/htdocs/img/dys/logo3-lang.gif.diff?r1=0&r2=1.1