March 30th, 2002

livejournal

Module Name: livejournal
Committed By: bradfitz
Date: Sat Mar 30 17:55:08 UTC 2002

Modified Files:
---------------
livejournal/src/s2/doc: database.txt layerinfo.txt layers.txt
properties.txt
Added Files:
------------
livejournal/src/s2/doc: versioning.txt

Log Message:
------------
random S2 documentation updates


To generate a diff of this commit:
cvs rdiff -r1.3 -r1.4 livejournal/src/s2/doc/database.txt
http://cvs.livejournal.org/browse.cgi/livejournal/src/s2/doc/database.txt.diff?r1=1.3&r2=1.4
cvs rdiff -r1.2 -r1.3 livejournal/src/s2/doc/layerinfo.txt \
livejournal/src/s2/doc/layers.txt
http://cvs.livejournal.org/browse.cgi/livejournal/src/s2/doc/layerinfo.txt.diff?r1=1.2&r2=1.3
http://cvs.livejournal.org/browse.cgi/livejournal/src/s2/doc/layers.txt.diff?r1=1.2&r2=1.3
cvs rdiff -r1.1 -r1.2 livejournal/src/s2/doc/properties.txt
http://cvs.livejournal.org/browse.cgi/livejournal/src/s2/doc/properties.txt.diff?r1=1.1&r2=1.2
cvs rdiff -r0 -r1.1 livejournal/src/s2/doc/versioning.txt
http://cvs.livejournal.org/browse.cgi/livejournal/src/s2/doc/versioning.txt.diff?r1=0&r2=1.1

livejournal

Module Name: livejournal
Committed By: bradfitz
Date: Sat Mar 30 17:56:08 UTC 2002

Modified Files:
---------------
livejournal/bin/upgrading: update-db-general.pl

Log Message:
------------
workaround old bug (possible dup rows in supportcat)


To generate a diff of this commit:
cvs rdiff -r1.60 -r1.61 livejournal/bin/upgrading/update-db-general.pl
http://cvs.livejournal.org/browse.cgi/livejournal/bin/upgrading/update-db-general.pl.diff?r1=1.60&r2=1.61

livejournal

Module Name: livejournal
Committed By: bradfitz
Date: Sun Mar 31 01:10:41 UTC 2002

Modified Files:
---------------
livejournal/src/s2: runtests.pl
livejournal/src/s2/livejournal/s2: s2compile.java

Log Message:
------------
change s2compile's command line arguments to make it useable from Perl and IPC::Open2, eventually


To generate a diff of this commit:
cvs rdiff -r1.3 -r1.4 livejournal/src/s2/runtests.pl
http://cvs.livejournal.org/browse.cgi/livejournal/src/s2/runtests.pl.diff?r1=1.3&r2=1.4
cvs rdiff -r1.1 -r1.2 livejournal/src/s2/livejournal/s2/s2compile.java
http://cvs.livejournal.org/browse.cgi/livejournal/src/s2/livejournal/s2/s2compile.java.diff?r1=1.1&r2=1.2

livejournal

Module Name: livejournal
Committed By: bradfitz
Date: Sun Mar 31 01:16:42 UTC 2002

Added Files:
------------
livejournal/htdocs/customize: index.bml

Log Message:
------------
initial check-in of S2 customization area. this directory will house things
that let you: pick your layers, make new layers, wizards to tweak user
layers, etc... the one-stop shoppin' URL for all-things customization.
/modify.bml will die in time.


To generate a diff of this commit:
cvs rdiff -r0 -r1.1 livejournal/htdocs/customize/index.bml
http://cvs.livejournal.org/browse.cgi/livejournal/htdocs/customize/index.bml.diff?r1=0&r2=1.1

livejournal

Module Name: livejournal
Committed By: bradfitz
Date: Sun Mar 31 03:16:30 UTC 2002

Modified Files:
---------------
livejournal/src/s2/doc: database.txt
livejournal/src/s2/livejournal/s2: Checker.java s2compile.java

Log Message:
------------
The interface to s2compile that the web side needs is now mostly complete.
Demo:

bash-2.05$ ./s2compile -output perl -layerid 1 -layertype layout -core - -
layerinfo type = core;
^D
layerinfo type = layout;
^D
#!/usr/bin/perl
# auto-generated Perl code from input S2 code
package LJ::S2;
use strict;
use constant VTABLE => 0;
use constant STATIC => 1;
use constant PROPS => 2;
register_layer(1);
set_layer_info(1,"type","layout");
1;
# end.
bash-2.05$

So basically, the web process sets the arguments, then pipes in the files
to s2compile. s2compile then spits out its output.

Next step: web-based compilation and storage in database.


To generate a diff of this commit:
cvs rdiff -r1.4 -r1.5 livejournal/src/s2/doc/database.txt
http://cvs.livejournal.org/browse.cgi/livejournal/src/s2/doc/database.txt.diff?r1=1.4&r2=1.5
cvs rdiff -r1.6 -r1.7 livejournal/src/s2/livejournal/s2/Checker.java
http://cvs.livejournal.org/browse.cgi/livejournal/src/s2/livejournal/s2/Checker.java.diff?r1=1.6&r2=1.7
cvs rdiff -r1.2 -r1.3 livejournal/src/s2/livejournal/s2/s2compile.java
http://cvs.livejournal.org/browse.cgi/livejournal/src/s2/livejournal/s2/s2compile.java.diff?r1=1.2&r2=1.3

livejournal

Module Name: livejournal
Committed By: bradfitz
Date: Sun Mar 31 03:56:38 UTC 2002

Modified Files:
---------------
livejournal/htdocs: userinfo.bml
livejournal/htdocs/community: join.bml leave.bml

Log Message:
------------
opiummmm: change args from number to string


To generate a diff of this commit:
cvs rdiff -r1.42 -r1.43 livejournal/htdocs/userinfo.bml
http://cvs.livejournal.org/browse.cgi/livejournal/htdocs/userinfo.bml.diff?r1=1.42&r2=1.43
cvs rdiff -r1.12 -r1.13 livejournal/htdocs/community/join.bml
http://cvs.livejournal.org/browse.cgi/livejournal/htdocs/community/join.bml.diff?r1=1.12&r2=1.13
cvs rdiff -r1.4 -r1.5 livejournal/htdocs/community/leave.bml
http://cvs.livejournal.org/browse.cgi/livejournal/htdocs/community/leave.bml.diff?r1=1.4&r2=1.5

livejournal

Module Name: livejournal
Committed By: bradfitz
Date: Sun Mar 31 04:24:56 UTC 2002

Modified Files:
---------------
livejournal/bin/upgrading: update-db-general.pl
livejournal/src/s2/doc: layerinfo.txt versioning.txt
livejournal/src/s2/livejournal/s2: Checker.java

Log Message:
------------
-- have database create S2 tables.
-- new core versioning plan that's tons saner
-- Checker.java fixes to enforce versioning plan
-- new magic layerinfo documented for easy layer redistribution/upgrading


To generate a diff of this commit:
cvs rdiff -r1.61 -r1.62 livejournal/bin/upgrading/update-db-general.pl
http://cvs.livejournal.org/browse.cgi/livejournal/bin/upgrading/update-db-general.pl.diff?r1=1.61&r2=1.62
cvs rdiff -r1.3 -r1.4 livejournal/src/s2/doc/layerinfo.txt
http://cvs.livejournal.org/browse.cgi/livejournal/src/s2/doc/layerinfo.txt.diff?r1=1.3&r2=1.4
cvs rdiff -r1.1 -r1.2 livejournal/src/s2/doc/versioning.txt
http://cvs.livejournal.org/browse.cgi/livejournal/src/s2/doc/versioning.txt.diff?r1=1.1&r2=1.2
cvs rdiff -r1.7 -r1.8 livejournal/src/s2/livejournal/s2/Checker.java
http://cvs.livejournal.org/browse.cgi/livejournal/src/s2/livejournal/s2/Checker.java.diff?r1=1.7&r2=1.8

livejournal

Module Name: livejournal
Committed By: bradfitz
Date: Sun Mar 31 07:49:47 UTC 2002

Modified Files:
---------------
livejournal/src/s2/doc: layerinfo.txt
livejournal/src/s2/livejournal/s2: NodeFunction.java

Log Message:
------------
remove accidental copy/pasted useless block, and update layerinfo docs


To generate a diff of this commit:
cvs rdiff -r1.4 -r1.5 livejournal/src/s2/doc/layerinfo.txt
http://cvs.livejournal.org/browse.cgi/livejournal/src/s2/doc/layerinfo.txt.diff?r1=1.4&r2=1.5
cvs rdiff -r1.5 -r1.6 livejournal/src/s2/livejournal/s2/NodeFunction.java
http://cvs.livejournal.org/browse.cgi/livejournal/src/s2/livejournal/s2/NodeFunction.java.diff?r1=1.5&r2=1.6

livejournal

Module Name: livejournal
Committed By: bradfitz
Date: Sun Mar 31 07:51:13 UTC 2002

Modified Files:
---------------
livejournal/src/s2/layers: core.s2

Log Message:
------------
mart's first draft of core.s2. i've only skimmmed it, and already
see a few things that'll change, but it's a damn good first draft, and
helps me finish the web interface to it all.


To generate a diff of this commit:
cvs rdiff -r1.2 -r1.3 livejournal/src/s2/layers/core.s2
http://cvs.livejournal.org/browse.cgi/livejournal/src/s2/layers/core.s2.diff?r1=1.2&r2=1.3