# HG changeset patch # User rlm # Date 1264347736 18000 # Node ID 07c19a58ba5ae3bc640e0e66d256d7cb3577166a # Parent 021a9ab1ed5b05e3956fd1e94a114793e31189db [svn r39] creating compatability with corel draw. diff -r 021a9ab1ed5b -r 07c19a58ba5a alltheway.pl --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/alltheway.pl Sun Jan 24 10:42:16 2010 -0500 @@ -0,0 +1,11 @@ +#!/usr/bin/perl + +use Storable; +use Data::Dumper; +$Data::Dumper::Indent = 1; + + + +$ref = retrieve('file'); + +print Dumper $$ref; diff -r 021a9ab1ed5b -r 07c19a58ba5a buy.html --- a/buy.html Sun Jan 24 09:37:47 2010 -0500 +++ b/buy.html Sun Jan 24 10:42:16 2010 -0500 @@ -59,7 +59,7 @@ var c = raphe.rect(0, 0, 514, 317); c.attr("stroke", "#00f"); -tt = raphe.print(10, 150, "Kevin Rustagi", raphe.getFont("HelveticaNeue", 800), 75); +tt = raphe.print(10, 150, "Kevin Rustagi", raphe.getFont("HelveticaNeue", 700), 75); tt.attr("stroke", "#f00"); diff -r 021a9ab1ed5b -r 07c19a58ba5a echo.html --- a/echo.html Sun Jan 24 09:37:47 2010 -0500 +++ b/echo.html Sun Jan 24 10:42:16 2010 -0500 @@ -37,16 +37,22 @@ var raphe = Raphael("disp_contain", 515, 318); -var c = raphe.rect(0, 0, 514, 317); +var c = raphe.rect(0, 0, 514, 317, 40); c.attr("stroke", "#00f"); -tt = raphe.print(10, 150, "Kevin Rustagi", raphe.getFont("HelveticaNeue", 800), 75); +ta = raphe.print(10, 150, "Robert McIntyre", raphe.getFont("HelveticaNeue", 700), 63); +ta.attr('stroke', '#f00'); +ta.attr('fill', 'TRANSPARENT'); +tb = raphe.print(300, 270, "rlm@mit.edu", raphe.getFont("HelveticaNeue", 700), 25); +tb.attr('stroke', '#f00'); +tb.attr('fill', 'TRANSPARENT'); -tt.attr("stroke", "#f00"); -tt.attr("fill", "RED"); +tc = raphe.path("M 0 269 L 270 269"); +tc.attr('stroke', '#f00'); -var svg = document.getElementById('disp_contain'); + + diff -r 021a9ab1ed5b -r 07c19a58ba5a echo.pl --- a/echo.pl Sun Jan 24 09:37:47 2010 -0500 +++ b/echo.pl Sun Jan 24 10:42:16 2010 -0500 @@ -12,6 +12,7 @@ use XML::Simple; use Data::Dumper; $Data::Dumper::Indent = 1; +use Storable; my $q = new CGI; @@ -67,9 +68,15 @@ my $svg = $_[0]; my $destination = 'rlm@mit.edu'; +#~ $svg =~ s/ -Created with Raphaël - - - - - - - - - - - - - - - +$sss =~ s/^/\n\n\n/; +$sss =~ s/$/\n\n\n/; +# you fucking bitch. +$sss =~ s/Created wit........//; - -HERE - +store \$sss, 'file'; # read XML file +$xml = new XML::Simple; $data = $xml->XMLin($sss, ForceArray => 1); @@ -146,9 +137,7 @@ $fixed .= $out; #print $fixed; - - return $fixed; - +return $fixed; } diff -r 021a9ab1ed5b -r 07c19a58ba5a file Binary file file has changed diff -r 021a9ab1ed5b -r 07c19a58ba5a log/error_log.log --- a/log/error_log.log Sun Jan 24 09:37:47 2010 -0500 +++ b/log/error_log.log Sun Jan 24 10:42:16 2010 -0500 @@ -1,2700 +1,17 @@ - -[Mon Jan 11 11:01:09 2010] [error] [client 18.238.1.90] (8)Exec format error: exec of '/home/rlm/Desktop/web/laserkard/patrick/BASE.pl' failed -[Mon Jan 11 11:01:09 2010] [error] [client 18.238.1.90] Premature end of script headers: BASE.pl -[Mon Jan 11 11:01:10 2010] [error] [client 18.238.1.90] (8)Exec format error: exec of '/home/rlm/Desktop/web/laserkard/patrick/BASE.pl' failed -[Mon Jan 11 11:01:10 2010] [error] [client 18.238.1.90] Premature end of script headers: BASE.pl -[Mon Jan 11 11:01:11 2010] [error] [client 18.238.1.90] (8)Exec format error: exec of '/home/rlm/Desktop/web/laserkard/patrick/BASE.pl' failed -[Mon Jan 11 11:01:11 2010] [error] [client 18.238.1.90] Premature end of script headers: BASE.pl -[Mon Jan 11 11:02:03 2010] [error] [client 18.238.1.90] (8)Exec format error: exec of '/home/rlm/Desktop/web/laserkard/patrick/BASE.pl' failed -[Mon Jan 11 11:02:03 2010] [error] [client 18.238.1.90] Premature end of script headers: BASE.pl -[Mon Jan 11 11:02:20 2010] [error] [client 18.238.1.90] (8)Exec format error: exec of '/home/rlm/Desktop/web/laserkard/patrick/BASE.pl' failed -[Mon Jan 11 11:02:20 2010] [error] [client 18.238.1.90] Premature end of script headers: BASE.pl -[Mon Jan 11 11:02:21 2010] [error] [client 18.238.1.90] (8)Exec format error: exec of '/home/rlm/Desktop/web/laserkard/patrick/BASE.pl' failed -[Mon Jan 11 11:02:21 2010] [error] [client 18.238.1.90] Premature end of script headers: BASE.pl -[Mon Jan 11 11:03:19 2010] [error] [client 18.238.1.90] (8)Exec format error: exec of '/home/rlm/Desktop/web/laserkard/patrick/BASE.pl' failed -[Mon Jan 11 11:03:19 2010] [error] [client 18.238.1.90] Premature end of script headers: BASE.pl -[Mon Jan 11 11:03:21 2010] [error] [client 18.238.1.90] (8)Exec format error: exec of '/home/rlm/Desktop/web/laserkard/patrick/BASE.pl' failed -[Mon Jan 11 11:03:21 2010] [error] [client 18.238.1.90] Premature end of script headers: BASE.pl -[Mon Jan 11 11:03:21 2010] [error] [client 18.238.1.90] (8)Exec format error: exec of '/home/rlm/Desktop/web/laserkard/patrick/BASE.pl' failed -[Mon Jan 11 11:03:21 2010] [error] [client 18.238.1.90] Premature end of script headers: BASE.pl -[Mon Jan 11 11:03:22 2010] [error] [client 18.238.1.90] (8)Exec format error: exec of '/home/rlm/Desktop/web/laserkard/patrick/BASE.pl' failed -[Mon Jan 11 11:03:22 2010] [error] [client 18.238.1.90] Premature end of script headers: BASE.pl -[Mon Jan 11 11:03:36 2010] [error] [client 18.238.1.90] (13)Permission denied: exec of '/home/rlm/Desktop/web/laserkard/BASE.pl' failed -[Mon Jan 11 11:03:36 2010] [error] [client 18.238.1.90] Premature end of script headers: BASE.pl -[Mon Jan 11 11:03:52 2010] [error] [client 18.238.1.90] (13)Permission denied: exec of '/home/rlm/Desktop/web/laserkard/BASE.pl' failed -[Mon Jan 11 11:03:52 2010] [error] [client 18.238.1.90] Premature end of script headers: BASE.pl -[Mon Jan 11 11:09:39 2010] [error] [client 18.238.1.90] Can't call method "param" on an undefined value at /home/rlm/Desktop/web/laserkard/patrick/BASE.pl line 35. -[Mon Jan 11 11:09:56 2010] [error] [client 18.238.1.90] Can't call method "param" on an undefined value at /home/rlm/Desktop/web/laserkard/patrick/BASE.pl line 35. -[Mon Jan 11 11:10:06 2010] [error] [client 18.238.1.90] Can't call method "param" on an undefined value at /home/rlm/Desktop/web/laserkard/patrick/BASE.pl line 35. -[Mon Jan 11 11:12:48 2010] [error] [client 18.238.1.90] Can't call method "param" on an undefined value at /home/rlm/Desktop/web/laserkard/patrick/BASE.pl line 35. -[Mon Jan 11 11:12:49 2010] [error] [client 18.238.1.90] File does not exist: /home/rlm/Desktop/web/laserkard/favicon.ico -[Mon Jan 11 11:12:50 2010] [error] [client 18.238.1.90] File does not exist: /home/rlm/Desktop/web/laserkard/favicon.ico -[Mon Jan 11 11:13:07 2010] [error] [client 18.238.1.90] File does not exist: /home/rlm/Desktop/web/laserkard/patrick/index.html, referer: http://laserkard.rlmcintyre.com/patrick/BASE.pl?timeStamp=fuck -[Mon Jan 11 11:14:02 2010] [error] [client 18.238.1.90] File does not exist: /home/rlm/Desktop/web/laserkard/favicon.ico -[Mon Jan 11 11:14:06 2010] [error] [client 18.238.1.90] Can't call method "param" on an undefined value at /home/rlm/Desktop/web/laserkard/patrick/BASE.pl line 35. -[Mon Jan 11 11:18:05 2010] [error] [client 18.238.1.90] Can't call method "param" on an undefined value at /home/rlm/Desktop/web/laserkard/patrick/BASE.pl line 35. -[Mon Jan 11 11:18:14 2010] [error] [client 18.238.1.90] Can't call method "param" on an undefined value at /home/rlm/Desktop/web/laserkard/patrick/BASE.pl line 35. -[Mon Jan 11 11:18:28 2010] [error] [client 18.238.1.90] Can't call method "param" on an undefined value at /home/rlm/Desktop/web/laserkard/patrick/BASE.pl line 35. -[Mon Jan 11 11:18:40 2010] [error] [client 18.238.1.90] Can't call method "param" on an undefined value at /home/rlm/Desktop/web/laserkard/patrick/BASE.pl line 35. -[Mon Jan 11 11:20:41 2010] [error] [client 18.238.1.90] syntax error at /home/rlm/Desktop/web/laserkard/patrick/BASE.pl line 55, near "$EKLAKS -[Mon Jan 11 11:20:41 2010] [error] [client 18.238.1.90] -[Mon Jan 11 11:20:41 2010] [error] [client 18.238.1.90] -[Mon Jan 11 11:20:41 2010] [error] [client 18.238.1.90] -[Mon Jan 11 11:20:41 2010] [error] [client 18.238.1.90] -[Mon Jan 11 11:20:41 2010] [error] [client 18.238.1.90] -[Mon Jan 11 11:20:41 2010] [error] [client 18.238.1.90] -[Mon Jan 11 11:20:41 2010] [error] [client 18.238.1.90] -[Mon Jan 11 11:20:41 2010] [error] [client 18.238.1.90] -[Mon Jan 11 11:20:41 2010] [error] [client 18.238.1.90] -[Mon Jan 11 11:20:41 2010] [error] [client 18.238.1.90] -[Mon Jan 11 11:20:41 2010] [error] [client 18.238.1.90] -[Mon Jan 11 11:20:41 2010] [error] [client 18.238.1.90] -[Mon Jan 11 11:20:41 2010] [error] [client 18.238.1.90] -[Mon Jan 11 11:20:41 2010] [error] [client 18.238.1.90] -[Mon Jan 11 11:20:41 2010] [error] [client 18.238.1.90] -[Mon Jan 11 11:20:41 2010] [error] [client 18.238.1.90] -[Mon Jan 11 11:20:41 2010] [error] [client 18.238.1.90] sub gen -[Mon Jan 11 11:20:41 2010] [error] [client 18.238.1.90] " -[Mon Jan 11 11:20:41 2010] [error] [client 18.238.1.90] syntax error at /home/rlm/Desktop/web/laserkard/patrick/BASE.pl line 101, near "}" -[Mon Jan 11 11:20:41 2010] [error] [client 18.238.1.90] Execution of /home/rlm/Desktop/web/laserkard/patrick/BASE.pl aborted due to compilation errors. -[Mon Jan 11 11:20:41 2010] [error] [client 18.238.1.90] Premature end of script headers: BASE.pl -[Mon Jan 11 11:20:45 2010] [error] [client 18.238.1.90] File does not exist: /home/rlm/Desktop/web/laserkard/favicon.ico -[Mon Jan 11 11:21:19 2010] [error] [client 18.238.1.90] syntax error at /home/rlm/Desktop/web/laserkard/patrick/BASE.pl line 55, near "$EKLAKS -[Mon Jan 11 11:21:19 2010] [error] [client 18.238.1.90] -[Mon Jan 11 11:21:19 2010] [error] [client 18.238.1.90] -[Mon Jan 11 11:21:19 2010] [error] [client 18.238.1.90] -[Mon Jan 11 11:21:19 2010] [error] [client 18.238.1.90] -[Mon Jan 11 11:21:19 2010] [error] [client 18.238.1.90] -[Mon Jan 11 11:21:19 2010] [error] [client 18.238.1.90] -[Mon Jan 11 11:21:19 2010] [error] [client 18.238.1.90] -[Mon Jan 11 11:21:19 2010] [error] [client 18.238.1.90] -[Mon Jan 11 11:21:19 2010] [error] [client 18.238.1.90] -[Mon Jan 11 11:21:19 2010] [error] [client 18.238.1.90] -[Mon Jan 11 11:21:19 2010] [error] [client 18.238.1.90] -[Mon Jan 11 11:21:19 2010] [error] [client 18.238.1.90] -[Mon Jan 11 11:21:19 2010] [error] [client 18.238.1.90] -[Mon Jan 11 11:21:19 2010] [error] [client 18.238.1.90] -[Mon Jan 11 11:21:19 2010] [error] [client 18.238.1.90] -[Mon Jan 11 11:21:19 2010] [error] [client 18.238.1.90] -[Mon Jan 11 11:21:19 2010] [error] [client 18.238.1.90] sub gen -[Mon Jan 11 11:21:19 2010] [error] [client 18.238.1.90] " -[Mon Jan 11 11:21:19 2010] [error] [client 18.238.1.90] syntax error at /home/rlm/Desktop/web/laserkard/patrick/BASE.pl line 101, near "}" -[Mon Jan 11 11:21:19 2010] [error] [client 18.238.1.90] Execution of /home/rlm/Desktop/web/laserkard/patrick/BASE.pl aborted due to compilation errors. -[Mon Jan 11 11:21:19 2010] [error] [client 18.238.1.90] Premature end of script headers: BASE.pl -[Mon Jan 11 11:21:19 2010] [error] [client 18.238.1.90] syntax error at /home/rlm/Desktop/web/laserkard/patrick/BASE.pl line 55, near "$EKLAKS -[Mon Jan 11 11:21:19 2010] [error] [client 18.238.1.90] -[Mon Jan 11 11:21:19 2010] [error] [client 18.238.1.90] -[Mon Jan 11 11:21:19 2010] [error] [client 18.238.1.90] -[Mon Jan 11 11:21:19 2010] [error] [client 18.238.1.90] -[Mon Jan 11 11:21:19 2010] [error] [client 18.238.1.90] -[Mon Jan 11 11:21:19 2010] [error] [client 18.238.1.90] -[Mon Jan 11 11:21:19 2010] [error] [client 18.238.1.90] -[Mon Jan 11 11:21:19 2010] [error] [client 18.238.1.90] -[Mon Jan 11 11:21:19 2010] [error] [client 18.238.1.90] -[Mon Jan 11 11:21:19 2010] [error] [client 18.238.1.90] -[Mon Jan 11 11:21:19 2010] [error] [client 18.238.1.90] -[Mon Jan 11 11:21:19 2010] [error] [client 18.238.1.90] -[Mon Jan 11 11:21:19 2010] [error] [client 18.238.1.90] -[Mon Jan 11 11:21:19 2010] [error] [client 18.238.1.90] -[Mon Jan 11 11:21:19 2010] [error] [client 18.238.1.90] -[Mon Jan 11 11:21:19 2010] [error] [client 18.238.1.90] -[Mon Jan 11 11:21:19 2010] [error] [client 18.238.1.90] sub gen -[Mon Jan 11 11:21:19 2010] [error] [client 18.238.1.90] " -[Mon Jan 11 11:21:19 2010] [error] [client 18.238.1.90] syntax error at /home/rlm/Desktop/web/laserkard/patrick/BASE.pl line 101, near "}" -[Mon Jan 11 11:21:19 2010] [error] [client 18.238.1.90] Execution of /home/rlm/Desktop/web/laserkard/patrick/BASE.pl aborted due to compilation errors. -[Mon Jan 11 11:21:19 2010] [error] [client 18.238.1.90] Premature end of script headers: BASE.pl -[Mon Jan 11 11:21:20 2010] [error] [client 18.238.1.90] syntax error at /home/rlm/Desktop/web/laserkard/patrick/BASE.pl line 55, near "$EKLAKS -[Mon Jan 11 11:21:20 2010] [error] [client 18.238.1.90] -[Mon Jan 11 11:21:20 2010] [error] [client 18.238.1.90] -[Mon Jan 11 11:21:20 2010] [error] [client 18.238.1.90] -[Mon Jan 11 11:21:20 2010] [error] [client 18.238.1.90] -[Mon Jan 11 11:21:20 2010] [error] [client 18.238.1.90] -[Mon Jan 11 11:21:20 2010] [error] [client 18.238.1.90] -[Mon Jan 11 11:21:20 2010] [error] [client 18.238.1.90] -[Mon Jan 11 11:21:20 2010] [error] [client 18.238.1.90] -[Mon Jan 11 11:21:20 2010] [error] [client 18.238.1.90] -[Mon Jan 11 11:21:20 2010] [error] [client 18.238.1.90] -[Mon Jan 11 11:21:20 2010] [error] [client 18.238.1.90] -[Mon Jan 11 11:21:20 2010] [error] [client 18.238.1.90] -[Mon Jan 11 11:21:20 2010] [error] [client 18.238.1.90] -[Mon Jan 11 11:21:20 2010] [error] [client 18.238.1.90] -[Mon Jan 11 11:21:20 2010] [error] [client 18.238.1.90] -[Mon Jan 11 11:21:20 2010] [error] [client 18.238.1.90] -[Mon Jan 11 11:21:20 2010] [error] [client 18.238.1.90] sub gen -[Mon Jan 11 11:21:20 2010] [error] [client 18.238.1.90] " -[Mon Jan 11 11:21:20 2010] [error] [client 18.238.1.90] syntax error at /home/rlm/Desktop/web/laserkard/patrick/BASE.pl line 101, near "}" -[Mon Jan 11 11:21:20 2010] [error] [client 18.238.1.90] Execution of /home/rlm/Desktop/web/laserkard/patrick/BASE.pl aborted due to compilation errors. -[Mon Jan 11 11:21:20 2010] [error] [client 18.238.1.90] Premature end of script headers: BASE.pl -[Mon Jan 11 12:05:28 2010] [error] [client 18.238.1.90] Substitution replacement not terminated at /home/rlm/Desktop/web/laserkard/patrick/B_ARCHON_16.pl line 103. -[Mon Jan 11 12:05:28 2010] [error] [client 18.238.1.90] Premature end of script headers: B_ARCHON_16.pl -[Mon Jan 11 12:05:46 2010] [error] [client 18.238.1.90] Substitution replacement not terminated at /home/rlm/Desktop/web/laserkard/patrick/B_ARCHON_16.pl line 103. -[Mon Jan 11 12:05:46 2010] [error] [client 18.238.1.90] Premature end of script headers: B_ARCHON_16.pl -[Mon Jan 11 12:05:56 2010] [error] [client 18.238.1.90] Substitution replacement not terminated at /home/rlm/Desktop/web/laserkard/patrick/B_ARCHON_16.pl line 103. -[Mon Jan 11 12:05:56 2010] [error] [client 18.238.1.90] Premature end of script headers: B_ARCHON_16.pl -[Mon Jan 11 12:05:56 2010] [error] [client 18.238.1.90] Substitution replacement not terminated at /home/rlm/Desktop/web/laserkard/patrick/B_ARCHON_16.pl line 103. -[Mon Jan 11 12:05:56 2010] [error] [client 18.238.1.90] Premature end of script headers: B_ARCHON_16.pl -[Mon Jan 11 12:05:57 2010] [error] [client 18.238.1.90] Substitution replacement not terminated at /home/rlm/Desktop/web/laserkard/patrick/B_ARCHON_16.pl line 103. -[Mon Jan 11 12:05:57 2010] [error] [client 18.238.1.90] Premature end of script headers: B_ARCHON_16.pl -[Mon Jan 11 12:05:57 2010] [error] [client 18.238.1.90] Substitution replacement not terminated at /home/rlm/Desktop/web/laserkard/patrick/B_ARCHON_16.pl line 103. -[Mon Jan 11 12:05:57 2010] [error] [client 18.238.1.90] Premature end of script headers: B_ARCHON_16.pl -[Mon Jan 11 12:06:08 2010] [error] [client 18.238.1.90] Substitution replacement not terminated at /home/rlm/Desktop/web/laserkard/patrick/B_ARCHON_16.pl line 103. -[Mon Jan 11 12:06:08 2010] [error] [client 18.238.1.90] Premature end of script headers: B_ARCHON_16.pl -[Mon Jan 11 12:06:10 2010] [error] [client 18.238.1.90] Substitution replacement not terminated at /home/rlm/Desktop/web/laserkard/patrick/BASE.pl line 103. -[Mon Jan 11 12:06:10 2010] [error] [client 18.238.1.90] Premature end of script headers: BASE.pl -[Mon Jan 11 12:24:28 2010] [error] [client 18.238.1.90] (13)Permission denied: exec of '/home/rlm/Desktop/web/laserkard/patrick/B_ARCHON_16.pl' failed -[Mon Jan 11 12:24:28 2010] [error] [client 18.238.1.90] Premature end of script headers: B_ARCHON_16.pl -[Mon Jan 11 12:38:48 2010] [error] [client 18.238.1.90] Scalar found where operator expected at /home/rlm/Desktop/web/laserkard/patrick/B_ARCHON_16.pl line 117, near "$three" -[Mon Jan 11 12:38:48 2010] [error] [client 18.238.1.90] \t(Missing semicolon on previous line?) -[Mon Jan 11 12:38:48 2010] [error] [client 18.238.1.90] syntax error at /home/rlm/Desktop/web/laserkard/patrick/B_ARCHON_16.pl line 117, near "$three " -[Mon Jan 11 12:38:48 2010] [error] [client 18.238.1.90] Execution of /home/rlm/Desktop/web/laserkard/patrick/B_ARCHON_16.pl aborted due to compilation errors. -[Mon Jan 11 12:38:48 2010] [error] [client 18.238.1.90] Premature end of script headers: B_ARCHON_16.pl -[Mon Jan 11 12:42:29 2010] [error] [client 18.238.1.90] malformed header from script. Bad header=