You can subscribe to this list here.
| 2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(47) |
Aug
(73) |
Sep
(104) |
Oct
(55) |
Nov
|
Dec
|
|---|
|
From: alex <bin...@li...> - 2001-10-01 17:13:32
|
alex Mon Oct 1 10:13:27 2001 EDT
Added files:
/r2/binarycloud/user/bcdev/lang ExampleStringRepository.php.xml
Removed files:
/r2/binarycloud/user/bcdev/lang strings.xml
Log:
Removed old format, added new string repository example
Index: r2/binarycloud/user/bcdev/lang/ExampleStringRepository.php.xml
+++ r2/binarycloud/user/bcdev/lang/ExampleStringRepository.php.xml
<?xml version="1.0" ?>
<!-- Header {{{
*******************************************************************************
** -File $Id: ExampleStringRepository.php.xml,v 1.1 2001/10/01 17:13:26 alex Exp $
** -License LGPL (http://www.gnu.org/copyleft/lesser.html)
** -Copyright 2001, The Turing Studio, Inc.
** -Author alex black, en...@tu...
******************************************************************************
}}} -->
<strings>
<string>
<id>hello</id>
<lang:en>Hello</lang:en>
<lang:fr>Bonjour</lang:fr>
<description>This string is used on the home page in "hello, $username".</description>
</string>
<string>
<id>bye</id>
<lang:en>Bye</lang:en>
<lang:fr>Au Revoir</lang:fr>
<description>Used on the logout page</description>
</string>
</strings>
|
|
From: alex <bin...@li...> - 2001-10-01 16:50:57
|
alex Mon Oct 1 09:50:51 2001 EDT
Modified files:
/r2/binarycloud/user/bcdev/conf MakeConf.php.xml
Log:
Moo
Index: r2/binarycloud/user/bcdev/conf/MakeConf.php.xml
diff -u r2/binarycloud/user/bcdev/conf/MakeConf.php.xml:1.1 r2/binarycloud/user/bcdev/conf/MakeConf.php.xml:1.2
--- r2/binarycloud/user/bcdev/conf/MakeConf.php.xml:1.1 Fri Sep 28 17:37:37 2001
+++ r2/binarycloud/user/bcdev/conf/MakeConf.php.xml Mon Oct 1 09:50:51 2001
@@ -1,7 +1,7 @@
<?xml version="1.0" ?>
<!--
// {{{ Header
--File $Id: MakeConf.php.xml,v 1.1 2001/09/29 00:37:37 alex Exp $
+-File $Id: MakeConf.php.xml,v 1.2 2001/10/01 16:50:51 alex Exp $
-License LGPL (http://www.gnu.org/copyleft/lesser.html)
-Copyright 2001, The Turing Studio, Inc.
-Author alex black, en...@tu...
@@ -13,45 +13,74 @@
<!-- This is a freetext site name -->
<site_name>Freetext Site Name</site_name>
- <!-- use zend encoder to encode all php files in build -->
- <encode>
- <command>/path/to/encoder -flag</command>
- </encode>
-
- <!-- strip comments from code -->
- <strip_comments>true</strip_comments>
-
- <!-- automatically run phpdoc on each file if the make target is 'all' -->
- <autodoc>true</autodoc>
-
- <core>
- <!-- use shared binarycloud core? -->
- <use_shared>true</use_shared>
- <!-- if so, where should the symlink point to? -->
- <path>/path/to/somewhere/</path>
- </core>
-
- <!--
- during make, compare this site source tree with the
- default site source tree, and add any missing files to
- the build directory
- -->
- <use_default>true</use_default>
-
- <!-- as per http://www.w3.org/International/O-charset-lang.html -->
- <!--
- this allows a developer to _develop_ a source tree that is
- intended fr multi-language makes, but only make one language
- during development. this is convenient if you are making lots of logic
- changes that don't require you to see/make all of the languages you have
- in Languages.php.xml
- -->
- <make_force_lang>en</make_force_lang>
-
- <!--
- Parse source files with bcc to search for binarycloud and other custom
- tags?
- -->
- <use_bcc>true</use_bcc>
+ <globals>
+
+ <!--
+ during make, compare this site source tree with the
+ default site source tree, and add any missing files to
+ the build directory
+ -->
+ <use_default>true</use_default>
+
+
+ <!-- automatically run phpdoc on each file if the make target is 'all' -->
+ <autodoc>true</autodoc>
+
+ <!--
+ Parse source files with bcc to search for binarycloud and other custom
+ tags?
+ -->
+ <use_bcc>true</use_bcc>
+
+ </globals>
+
+ <development>
+
+ <core>
+ <!-- use shared binarycloud core? -->
+ <use_shared>true</use_shared>
+ <!-- if so, where should the symlink point to? -->
+ <path>/path/to/somewhere/</path>
+ </core>
+
+ <!-- as per http://www.w3.org/International/O-charset-lang.html -->
+ <!--
+ this allows a developer to _develop_ a source tree that is
+ intended fr multi-language makes, but only make one language
+ during development. this is convenient if you are making lots of logic
+ changes that don't require you to see/make all of the languages you have
+ in Languages.php.xml
+ -->
+ <make_force_lang>en</make_force_lang>
+
+ </development>
+
+ <distribution>
+
+ <!-- if false, timstamp is added to fname -->
+ <release>true</release>
+
+ <!-- after the build is complete, create a tarball? -->
+ <tarball>
+ <!-- where to put the tarball -->
+ <path>BC_PATH.'/make'</path>
+ <!-- what type of tarball -->
+ <type>tar.gz|tar.bz2</type>
+ </tarball>
+
+ <!-- use zend encoder to encode all php files in build -->
+ <encode>
+ <command>/path/to/encoder -flag</command>
+ </encode>
+
+ <!-- strip comments from code -->
+ <strip_comments>true</strip_comments>
+
+ <core>
+ <!-- use shared binarycloud core? -->
+ <use_shared>false</use_shared>
+ </core>
+
+ </distribution>
</makeconf>
|
|
From: andi <bin...@li...> - 2001-10-01 11:23:45
|
andi Mon Oct 1 04:23:40 2001 EDT
Modified files:
/r2/binarycloud/base/core Makefile
Log:
With Request.php
Index: r2/binarycloud/base/core/Makefile
diff -u r2/binarycloud/base/core/Makefile:1.7 r2/binarycloud/base/core/Makefile:1.8
--- r2/binarycloud/base/core/Makefile:1.7 Tue Sep 25 12:55:51 2001
+++ r2/binarycloud/base/core/Makefile Mon Oct 1 04:23:40 2001
@@ -1,5 +1,5 @@
# {{{ Header
-# -File $Id: Makefile,v 1.7 2001/09/25 19:55:51 alex Exp $
+# -File $Id: Makefile,v 1.8 2001/10/01 11:23:40 andi Exp $
# -License LGPL (http://www.gnu.org/copyleft/lesser.html)
# -Copyright 2001, Intacct Corp.
# -Author odysseas tsatalos, ody...@ya...
@@ -13,6 +13,7 @@
Lang.php \
Page.php \
Perm.php \
+ Request.php \
Sess.php \
Request.php \
error_codes_eng.php \
|
|
From: andi <bin...@li...> - 2001-10-01 11:16:58
|
andi Mon Oct 1 04:16:52 2001 EDT
Modified files:
/r2/binarycloud/base/mgr QueryManager.php
Log:
Fixed wrong parameter count in MetabaseGetColumnNames() call.
Index: r2/binarycloud/base/mgr/QueryManager.php
diff -u r2/binarycloud/base/mgr/QueryManager.php:1.5 r2/binarycloud/base/mgr/QueryManager.php:1.6
--- r2/binarycloud/base/mgr/QueryManager.php:1.5 Fri Sep 21 03:44:54 2001
+++ r2/binarycloud/base/mgr/QueryManager.php Mon Oct 1 04:16:52 2001
@@ -1,7 +1,7 @@
<?php
// Header {{{
/*
- * -File $Id: QueryManager.php,v 1.5 2001/09/21 10:44:54 andi Exp $
+ * -File $Id: QueryManager.php,v 1.6 2001/10/01 11:16:52 andi Exp $
* -License LGPL (http://www.gnu.org/copyleft/lesser.html)
* -Copyright 2000, Intacct Corporation
* -Author John P. Campbell
@@ -598,7 +598,7 @@
global $Debug;
if ($_headers) {
- $colNames = MetabaseGetColumnNames($this->handle, $_result);
+ $success = MetabaseGetColumnNames($this->handle, $_result, $colNames);
$Debug->CaptureVar('QueryManager: Result columnames', $colNames);
}
|
|
From: andi <bin...@li...> - 2001-10-01 09:26:24
|
andi Mon Oct 1 02:25:59 2001 EDT
Modified files:
/r2/binarycloud/base/core Request.php
Log:
Fixed a bug in GetVar() that has returned 0 instead of 'undefined'. Thanks to Dave for fixing it.
Index: r2/binarycloud/base/core/Request.php
diff -u r2/binarycloud/base/core/Request.php:1.10 r2/binarycloud/base/core/Request.php:1.11
--- r2/binarycloud/base/core/Request.php:1.10 Wed Sep 12 08:10:08 2001
+++ r2/binarycloud/base/core/Request.php Mon Oct 1 02:25:58 2001
@@ -1,10 +1,11 @@
<?php
// Header {{{
/*
- * -File $Id: Request.php,v 1.10 2001/09/12 15:10:08 andi Exp $
- * -License LGPL (http://www.gnu.org/copyleft/lesser.html)
- * -Copyright 2001, The Turing Studio, Inc.
- * -Authors Andreas Aderhold, <a.a...@th...>
+ * -File $Id: Request.php,v 1.11 2001/10/01 09:25:58 andi Exp $
+ * -License LGPL (http://www.gnu.org/copyleft/lesser.html)
+ * -Copyright 2001, Thyrell
+ * -Authors Andreas Aderhold, <a.a...@th...>
+ * -Authors David Weingart, <dwe...@po...>
*/
$PACKAGE='binarycloud.core';
@@ -32,8 +33,9 @@
* $tmp = $R->GetVar('mPersistents');
* $val = $tmp['navbar'];
*
- * @author Andreas Aderhold, a.a...@th...
- * @version $Id: Request.php,v 1.10 2001/09/12 15:10:08 andi Exp $
+ * @author Andreas Aderhold, <a.a...@th...>
+ * @author David Weingart, <dwe...@po...>
+ * @version $Id: Request.php,v 1.11 2001/10/01 09:25:58 andi Exp $
*/
class Request {
@@ -58,7 +60,6 @@
var $scriptpath; // basepath of current script
// method Request($_varOrder) {{{
-
/**
* Constructor. Sets the default variables order if user wants to
* override. Default is setting the php.ini/.htaccess/vhost defaults.
@@ -83,7 +84,6 @@
// }}}
// method _Request() {{{
-
/**
* Destructor. Not working yet. Included for future use.
*
@@ -96,7 +96,6 @@
// }}}
// method SetVarOrder($_varOrder) {{{
-
/**
* Sets the varOrder property. If not given any paramter
* the class default is used. You can pass the following
@@ -134,52 +133,7 @@
}
// }}}
- // will be removed {{{
-
- /**
- * Gets a variable value from path information. You need the Apache Server
- * to make use of this feauture.
- * Note that you only can fetch "values" so you have to provide the index
- * of the value you need. i.e.:
- *
- * www.foo.com/path/to/php/scriptname/100
- * | |
- * | +-- GetPathVar(1);
- * GetPathVar(0) --+
- *
- * Warning: This method is still experimental and not tested in production
- * environments!!! Be careful if you're using it
- *
- * @access public
- * @param int Index of value
- * @param string Explicitly cast to type
- * @return mixed Value itself
- *
- * @author Andreas Aderhold, <a.a...@th...>
- */
-
- function GetPathVar($_index, $_type = null) {
- if ($this->pathinfo == "/" || $this->pathinfo === $this->undefined) {
- return $this->undefined;
- }
-
- $aryParams = explode('/', $this->pathinfo);
- $aryParams[0] = $this->scriptbase;
-
- if (!isset($aryParams[$_index]) || empty($aryParams[$_index])) {
- return $this->undefined;
- }
- switch ($_type) {
- case 'integer': return(intval($aryParams[$_index]));
- case 'string': return(strval($aryParams[$_index]));
- case 'float': return(doubleval($aryParams[$_index]));
- default: return($aryParams[$_index]);
- }
- }
-
- // }}}
// GetStringVar($_name, $_hash) {{{
-
/**
* Gets a variable explicitly casted to string.
*
@@ -201,7 +155,6 @@
// }}}
// GetIntegerVar($_name, $_hash) {{{
-
/**
* Gets a variable explicitly castet to int.
*
@@ -223,7 +176,6 @@
// }}}
// GetFloatVar($_name, $_hash) {{{
-
/**
* Gets a variable explicitly castet to float.
* Note: null-values will be castet to 0
@@ -245,7 +197,6 @@
// }}}
// GetDoubleVar($_name, $_hash) {{{
-
/**
* Alias to GetFloatVar()
*
@@ -257,7 +208,6 @@
// }}}
// method GetVar($_name, $_hash = 'default') {{{
-
/**
* Fetches and returns a given variable.
*
@@ -282,20 +232,36 @@
* @return string Urldecoded variable
*
* @author Andreas Aderhold, <a.a...@th...>
+ * @author David Weingart, <dwe...@po...>
*/
-
function GetVar($_name, $_hash = 'default') {
- $_hash = strtoupper($_hash); // just to be safe ;-)
+ $_hash = strtoupper($_hash); // just to be safe ;-)
+ $ret = $this->undefined; // yep - just to be safe ;-)
if ($_hash == 'DEFAULT') {
for ($i = 0; $i <= strlen($this->varOrder); ++$i) {
switch ($this->varOrder[$i]) {
- case 'E' : ( $value = $this->_FetchVar($_name,'ENV')) ? ( $ret = $value ) : (null); break;
- case 'G' : ( $value = $this->_FetchVar($_name,'GET')) ? ( $ret = $value ) : (null); break;
- case 'P' : ( $value = $this->_FetchVar($_name,'POST')) ? ( $ret = $value ) : (null); break;
- case 'C' : ( $value = $this->_FetchVar($_name,'COOKIE')) ? ( $ret = $value ) : (null); break;
- case 'S' : ( $value = $this->_FetchVar($_name,'SESSION')) ? ( $ret = $value ) : (null); break;
+ case 'E' :
+ $value = $this->_FetchVar($_name,'ENV');
+ ($value !== $this->undefined) ? ($ret = $value) : (null);
+ break;
+ case 'G' :
+ $value = $this->_FetchVar($_name,'GET');
+ ($value !== $this->undefined) ? ($ret = $value) : (null);
+ break;
+ case 'P' :
+ $value = $this->_FetchVar($_name,'POST');
+ ($value !== $this->undefined) ? ($ret = $value) : (null);
+ break;
+ case 'C' :
+ $value = $this->_FetchVar($_name,'COOKIE');
+ ($value !== $this->undefined) ? ($ret = $value) : (null);
+ break;
+ case 'S' :
+ $value = $this->_FetchVar($_name,'SESSION');
+ ($value !== $this->undefined) ? ($ret = $value) : (null);
+ break;
}
}
} elseif ($_hash == 'METHOD') {
@@ -314,7 +280,6 @@
// }}}
// method _FetchVar($_name, $_hash) {{{
-
/**
* Fetching variable out of named array
*
@@ -346,7 +311,6 @@
// }}}
// method _ParseRequestUri() {{{
-
/**
* Takes the server $REQUEST_URI variable and parses it as if
* each subdirectory listing is a key/value pair, separated by
@@ -386,7 +350,6 @@
// }}}
// method TranslateUri($_uri, $_lose) {{{
-
/**
* Takes an ordinary URI with GET parameters in it, and returns
* a URI compatible with the _ParseRequestUri method.
@@ -422,7 +385,6 @@
// }}}
// method _Decoe(&$_data) {{{
-
/**
* Private decode function. Handles decoding of the variable value
* you are requesting.
|
|
From: alex <bin...@li...> - 2001-09-29 00:37:48
|
alex Fri Sep 28 17:37:37 2001 EDT
Added files:
/r2/binarycloud/user/bcdev/conf MakeConf.php.xml
Log:
MakeConf
Index: r2/binarycloud/user/bcdev/conf/MakeConf.php.xml
+++ r2/binarycloud/user/bcdev/conf/MakeConf.php.xml
<?xml version="1.0" ?>
<!--
// {{{ Header
-File $Id: MakeConf.php.xml,v 1.1 2001/09/29 00:37:37 alex Exp $
-License LGPL (http://www.gnu.org/copyleft/lesser.html)
-Copyright 2001, The Turing Studio, Inc.
-Author alex black, en...@tu...
// }}}
-->
<makeconf>
<!-- This is a freetext site name -->
<site_name>Freetext Site Name</site_name>
<!-- use zend encoder to encode all php files in build -->
<encode>
<command>/path/to/encoder -flag</command>
</encode>
<!-- strip comments from code -->
<strip_comments>true</strip_comments>
<!-- automatically run phpdoc on each file if the make target is 'all' -->
<autodoc>true</autodoc>
<core>
<!-- use shared binarycloud core? -->
<use_shared>true</use_shared>
<!-- if so, where should the symlink point to? -->
<path>/path/to/somewhere/</path>
</core>
<!--
during make, compare this site source tree with the
default site source tree, and add any missing files to
the build directory
-->
<use_default>true</use_default>
<!-- as per http://www.w3.org/International/O-charset-lang.html -->
<!--
this allows a developer to _develop_ a source tree that is
intended fr multi-language makes, but only make one language
during development. this is convenient if you are making lots of logic
changes that don't require you to see/make all of the languages you have
in Languages.php.xml
-->
<make_force_lang>en</make_force_lang>
<!--
Parse source files with bcc to search for binarycloud and other custom
tags?
-->
<use_bcc>true</use_bcc>
</makeconf>
|
|
From: alex <bin...@li...> - 2001-09-28 02:52:09
|
alex Thu Sep 27 19:52:04 2001 EDT
Added files:
/r2/binarycloud/docs/tasks BCCStringModule.html
ConfigureSystem.html Docs.css
MakeConf.html MultiSiteMake.html
PHPDoc.html Template.html index.html
Log:
New (readable) html tasks... not done yet but these will happen quickly
|
|
From: alex <bin...@li...> - 2001-09-28 02:50:33
|
alex Thu Sep 27 19:50:28 2001 EDT
Removed files:
/r2/tools/cvsmgmt new_user.sh release.sh
/r2/tools/cvsmgmt/test co.sh cvspasswd.sh login.sh
Log:
old crap, removing
|
|
From: alex <bin...@li...> - 2001-09-28 02:39:51
|
alex Thu Sep 27 19:39:46 2001 EDT
Modified files:
/r2 TODO
Log:
updated the location of tasks.
Index: r2/TODO
diff -u r2/TODO:1.18 r2/TODO:1.19
--- r2/TODO:1.18 Sun Sep 9 00:37:11 2001
+++ r2/TODO Thu Sep 27 19:39:46 2001
@@ -1,8 +1,8 @@
-cvs: $Id: TODO,v 1.18 2001/09/09 07:37:11 alex Exp $
+cvs: $Id: TODO,v 1.19 2001/09/28 02:39:46 alex Exp $
TODO
-## See the tasks/ directory for individual project specs.
+## See the binarycloud/docs/tasks/ directory for individual project specs.
## _PLEASE_ do not start on a project without first checking
## on that projects' status by mailing the dev list.
|
alex Thu Sep 27 19:39:21 2001 EDT
Removed files:
/r2/tasks/text AuthPerm.txt CSSRequestManager.txt
CalendarBuilder.txt CurrentLGPLHeader.txt
EmailBuilder.txt EncapsulationNativePHPTmpl.txt
EventManager.txt FaxBuilder.txt FormBuilder.txt
GoldenReferenceModule.txt HTMLEntityEncodingLib.txt
JSRequestManager.txt ListBuilder.txt
MakeConfigurationStandard.txt MakeENT2SCHEMA.txt
MakeENT2SCHEMA_SQL.txt MakeFilenameLangCodes.txt
MakeLanguageStringKeyer.txt
MakeMiscToolsFremework.txt MakeModificationDate.txt
MakePHPDocIntegration.txt MakeStaticModuleSyntax.txt
MakeZendEncoder.txt MultiSiteMake.txt PDFBuilder.txt
PEAR_Error.txt PageDefBuilder.txt
RebuildEntityManager.txt RequestIntegration.txt
ResourcesStandards.txt TaskTemplate.txt
TemplateManager.txt TestQueryManager.txt
TestsForEntityManager.txt TreeBuilder.txt
UIControlBuilder.txt Validators_Processors.txt
WizardBuilder.txt
Log:
nevermind, this is all crap :)
|
|
From: alex <bin...@li...> - 2001-09-28 02:00:07
|
alex Thu Sep 27 19:00:01 2001 EDT
Removed files:
/r2/binarycloud/base/mod README
Log:
Don't need this here.
|
|
From: andi <bin...@li...> - 2001-09-26 18:15:01
|
andi Wed Sep 26 11:14:53 2001 EDT
Modified files:
/r2 CREDITS
Log:
Added credits for Smarty (used some code in Bcc)
Index: r2/CREDITS
diff -u r2/CREDITS:1.15 r2/CREDITS:1.16
--- r2/CREDITS:1.15 Sun Sep 16 14:07:24 2001
+++ r2/CREDITS Wed Sep 26 11:14:53 2001
@@ -1,4 +1,4 @@
-$Id: CREDITS,v 1.15 2001/09/16 21:07:24 alex Exp $
+$Id: CREDITS,v 1.16 2001/09/26 18:14:53 andi Exp $
##
@@ -89,3 +89,12 @@
GPL
http://vagrant.sourceforge.net/index.html
Used in graph examples.
+
+SMARTY
+ LGPL
+ (c) 2001 ispi of Lincoln, Inc.
+ http://www.phpinsider.com/
+ Used some file handling methods from Smarty.class.php
+ in Binarycloud compiler.
+
+
|
|
From: andi <bin...@li...> - 2001-09-26 14:46:21
|
andi Wed Sep 26 07:46:15 2001 EDT
Modified files:
/r2/binarycloud/user/htdocs compilertest.html
Log:
Now working with init. Static module hello world is built.
Index: r2/binarycloud/user/htdocs/compilertest.html
diff -u r2/binarycloud/user/htdocs/compilertest.html:1.3 r2/binarycloud/user/htdocs/compilertest.html:1.4
--- r2/binarycloud/user/htdocs/compilertest.html:1.3 Wed Sep 26 04:04:02 2001
+++ r2/binarycloud/user/htdocs/compilertest.html Wed Sep 26 07:46:15 2001
@@ -1,3 +1,39 @@
+<?php
+// {{{ Header
+/*
+ * -File $Id: compilertest.html,v 1.4 2001/09/26 14:46:15 andi Exp $
+ * -License LGPL (http://www.gnu.org/copyleft/lesser.html)
+ * -Copyright 2001, The Turing Studio, Inc.
+ * -Author alex black, en...@tu...
+ */
+// }}}
+include_once('./prepend.php');
+import('binarycloud.init.Init');
+$Init = new Init();
+$gPageDef = array(
+ 'title' => "binarycloud page title",
+ 'cache' => array(
+ 'expires' => '30',
+ ),
+ 'init' => array(
+ 'ini' => true,
+ 'auth' => false,
+ 'perm' => false,
+ 'sess' => true,
+ 'lang' => true,
+ 'cache' => true,
+ ),
+ 'templates' => array(
+ 'default' => array(
+ 'name' => "static_example",
+ 'package' => "html.masters",
+ 'type' => "html",
+ ),
+ ),
+);
+$Init->Startup();
+?>
+
<html>
<head>
<title>Test</title>
|
|
From: andi <bin...@li...> - 2001-09-26 11:04:07
|
andi Wed Sep 26 04:04:02 2001 EDT
Modified files:
/r2/binarycloud/user/htdocs compilertest.html
Log:
Fixed typo in sml tags
Index: r2/binarycloud/user/htdocs/compilertest.html
diff -u r2/binarycloud/user/htdocs/compilertest.html:1.2 r2/binarycloud/user/htdocs/compilertest.html:1.3
--- r2/binarycloud/user/htdocs/compilertest.html:1.2 Tue Sep 25 16:07:42 2001
+++ r2/binarycloud/user/htdocs/compilertest.html Wed Sep 26 04:04:02 2001
@@ -9,7 +9,7 @@
<b> blah </b>
<bc:module>
- <id>moo</moo>
+ <id>moo</id>
<name>HelloWorld</name>
<package>hello_world</package>
<cache>
|
|
From: andi <bin...@li...> - 2001-09-26 11:02:46
|
andi Wed Sep 26 04:02:41 2001 EDT
Modified files:
/r2/binarycloud Makefile.in
/r2/binarycloud/user/htdocs Makefile
Log:
Added $(BCC) variable to Makefile
Index: r2/binarycloud/Makefile.in
diff -u r2/binarycloud/Makefile.in:1.9 r2/binarycloud/Makefile.in:1.10
--- r2/binarycloud/Makefile.in:1.9 Wed Sep 12 11:10:42 2001
+++ r2/binarycloud/Makefile.in Wed Sep 26 04:02:41 2001
@@ -1,5 +1,5 @@
# {{{ Header
-# -File $Id: Makefile.in,v 1.9 2001/09/12 18:10:42 andi Exp $
+# -File $Id: Makefile.in,v 1.10 2001/09/26 11:02:41 andi Exp $
# -License LGPL (http://www.gnu.org/copyleft/lesser.html)
# -Copyright 2001, Intacct Corp.
# -Author odysseas tsatalos, ody...@ya...
@@ -25,6 +25,7 @@
INSTALLCODE = $(TOOLS_DIR)/installcode.sh
PROCESSPREPEND = $(PHP_COMMAND) $(TOOLS_DIR)/processprepend.php
XML2PHP = $(PHP_COMMAND) $(TOOLS_DIR)/xml2php.php
+BCC = $(PHP_COMMAND) $(TOOLS_DIR)/bcc.php
.SUFFIXES:
.SUFFIXES: .php .xml
Index: r2/binarycloud/user/htdocs/Makefile
diff -u r2/binarycloud/user/htdocs/Makefile:1.7 r2/binarycloud/user/htdocs/Makefile:1.8
--- r2/binarycloud/user/htdocs/Makefile:1.7 Sat Sep 22 13:01:04 2001
+++ r2/binarycloud/user/htdocs/Makefile Wed Sep 26 04:02:41 2001
@@ -1,5 +1,5 @@
# {{{ Header
-# -File $Id: Makefile,v 1.7 2001/09/22 20:01:04 andi Exp $
+# -File $Id: Makefile,v 1.8 2001/09/26 11:02:41 andi Exp $
# -License LGPL (http://www.gnu.org/copyleft/lesser.html)
# -Copyright 2001, Intacct Corp.
# -Author odysseas tsatalos, ody...@ya...
@@ -33,8 +33,8 @@
# very quick hack to test the bcc (andi)
#
bcctest:
- @echo "in user/htdocs (bcc compilertest)";
- @$(PHP_COMMAND) $(TOOLS_DIR)/compiletags.php $(SITEBUILD_DIR) $(USER_DIR)/htdocs/compilertest.html $(SITEBUILD_DIR)/compilertest.php
+ @echo "in user/htdocs (bcc compilertest.html)";
+ @$(BCC) $(BC_LANG) $(SITEBUILD_DIR) $(USER_DIR)/htdocs/compilertest.html $(SITEBUILD_DIR)/compilertest.php
|
|
From: andi <bin...@li...> - 2001-09-26 11:01:45
|
andi Wed Sep 26 04:01:40 2001 EDT
Added files:
/r2/binarycloud/base/utils bcc.php
Removed files:
/r2/binarycloud/base/utils compiletags.php
Log:
Renamed compiletags.php => bcc.php :-)
Index: r2/binarycloud/base/utils/bcc.php
+++ r2/binarycloud/base/utils/bcc.php
#!/usr/local/php4/bin/php -q
<?php
// {{{ Header
/*
* -File $Id: bcc.php,v 1.1 2001/09/26 11:01:39 andi Exp $
* -License LGPL (http://www.gnu.org/copyleft/lesser.html)
* -Copyright 2001, Intacct Corp.
* -Author odysseas tsatalos, ody...@ya...
* -Author Andris Spruds, an...@do...
* -Author Andreas Aderhold, a.a...@th...
*/
// }}}
// main entry point {{{
function main(&$_argv) {
if ( sizeof($_argv) != 5 ) {
_PrintUsage($_argv[0]);
}
$bcLang = $_argv[1];
$bcBuildPath = $_argv[2];
/* this is the constant for lang/htdocs */
define('BC_PATH_RESOURCES', '/'.$bcLang);
include_once($bcBuildPath. '/prepend.php');
$in = realpath($_argv[3]);
$out = $_argv[4];
$Bcc =& _InitBcc();
// setup parser and engage
$Bcc->Compile($in, $out);
}
// }}}
// display usage information
function _PrintUsage($_self) {
$strSyntax = "Usage: $_self langcode buildpath infile outfile\n";
die($strSyntax);
}
// }}}
// Init bcc
function &_InitBcc() {
import('binarycloud.mod.bcc.Bcc');
$bcc =& new Bcc;
// register and import (internal to bcc) compiler classes
$bcc->RegisterTag('BC:MODULE', "BccModuleCompiler");
$bcc->RegisterTag('BC:IMG', "BccImgCompiler");
return $bcc;
}
// }}}
main($HTTP_SERVER_VARS['argv']);
// }}} end
/*
* Local Variables:
* mode: php
* tab-width: 4
* c-basic-offset: 4
* End:
*/
?>
|
|
From: andi <bin...@li...> - 2001-09-26 10:57:23
|
andi Wed Sep 26 03:57:17 2001 EDT
Removed files:
/r2/binarycloud/base/lib BCTagParser.php
Log:
Don't need this
|
|
From: jason <ja...@gr...> - 2001-09-26 00:39:56
|
Curious.. How are these commit logs being broadcasted to the list? Is there any automation here or do we just paste a diff? jason |
|
From: andi <bin...@li...> - 2001-09-25 23:07:47
|
andi Tue Sep 25 16:07:42 2001 EDT
Modified files:
/r2/binarycloud/user/htdocs compilertest.html
Log:
Changes tags to SML style
Index: r2/binarycloud/user/htdocs/compilertest.html
diff -u r2/binarycloud/user/htdocs/compilertest.html:1.1 r2/binarycloud/user/htdocs/compilertest.html:1.2
--- r2/binarycloud/user/htdocs/compilertest.html:1.1 Sat Sep 22 13:01:04 2001
+++ r2/binarycloud/user/htdocs/compilertest.html Tue Sep 25 16:07:42 2001
@@ -8,18 +8,65 @@
<b> blah </b>
-<bc:module id="moo" name="HelloWorld" package="hello_world">
- <cache expires="30" use_uri="true" var="$moo"/>
+<bc:module>
+ <id>moo</moo>
+ <name>HelloWorld</name>
+ <package>hello_world</package>
+ <cache>
+ <expires>30</expires>
+ <use_uri>true</use_uri>
+ <var>$moo</var>
+ </cache>
<params>
<param_name>value</param_name>
<another_param_name>another_value</another_param_name>
</params>
</bc:module>
-<bc:img id="abcimg" />
-<bc:js id="moo" inline="true" />
-<bc:css id="moo" inline="false" />
-<bc:href id="href" href="/archive/mp3/any_document.mp3" usedocroot="true" />
+<bc:img>
+ <id>abcimg</id>
+</bc:img>
+<bc:js>
+ <id>moo</id>
+ <inline>true</true>
+</bc:js>
+
+<bc:css>
+ <id>moo</id>
+ <inline>false</inline>
+</bc:css>
+
+<bc:href>
+ <id>somelink</id>
+ <href>/archive/mp3/any_document.mp3</href>
+ <usedocroot>true</usedocroot>
+</bc:href>
+
</body>
</html>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
|
|
From: andi <bin...@li...> - 2001-09-25 22:51:56
|
andi Tue Sep 25 15:51:51 2001 EDT
Modified files:
/r2/binarycloud/base/mod/bcc BccModuleCompiler.php
Log:
BccModuleCompiler works now with SML Syntax !!
Index: r2/binarycloud/base/mod/bcc/BccModuleCompiler.php
diff -u r2/binarycloud/base/mod/bcc/BccModuleCompiler.php:1.1 r2/binarycloud/base/mod/bcc/BccModuleCompiler.php:1.2
--- r2/binarycloud/base/mod/bcc/BccModuleCompiler.php:1.1 Sat Sep 22 12:58:15 2001
+++ r2/binarycloud/base/mod/bcc/BccModuleCompiler.php Tue Sep 25 15:51:51 2001
@@ -1,7 +1,7 @@
<?php
// Header {{{
/*
- * -File $Id: BccModuleCompiler.php,v 1.1 2001/09/22 19:58:15 andi Exp $
+ * -File $Id: BccModuleCompiler.php,v 1.2 2001/09/25 22:51:51 andi Exp $
* -License LGPL (http://www.gnu.org/copyleft/lesser.html)
* -Copyright 2001, Andreas Aderhold
* -Authors Andreas Aderhold, <an...@bi...>
@@ -13,38 +13,49 @@
// {{{ BccModuleCompiler
class BccModuleCompiler {
- var $output = false; // echo output or return
- var $data = ""; // will contain the tag to compile
+ /* config var, echo output? */
+ var $output = false;
+
+ /* config var, tagdata to compile */
+ var $data = "";
+
+ /* internal buffer */
+ var $compiled =""; // compiled data buffer
+
+
+ /** */
function BccModuleCompiler($_params) {
extract_params($this, $_params);
- // compile tag in $this->data
+ import('ext.metabase.xml_parser');
+ import('binarycloud.lib.XMLUtils');
+
+ $trees = XMLUtils::XMLStr2XML($this->data);
+ $xmlTree = $trees[0];
+ $phpTree = XMLUtils::XML2PHP($xmlTree);
+ $txtTree = XMLUtils::PHP2PHPArr($phpTree, false);
+ $this->compiled = str_replace(');',')', $txtTree);
+
return true;
}
+ /** */
function Output() {
- $strBuffer = "Module Compiler Output";
- if ($this->output != true) {
- return $strBuffer;
+ $strFormat = "<? global \$Page;\n\$Page->BuildStaticModule(".$this->compiled.");\n?>";
+ if (!$this->error) {
+ if ($this->output != true) {
+ return $strFormat;
+ } else {
+ echo $strFormat;
+ }
} else {
- echo $strBuffer;
+ echo $this->error;
+ return false;
}
}
}
-/*
-function BCCompileModuleTag($_tags) {
- // translating xml to php by using XMLUtils
- // this seems not to work for tag attributes
-
- $trees = XMLUtils::XMLStr2XML($_tags);
- $xmlTree = $trees[0];
- $phpTree = XMLUtils::XML2PHP($xmlTree);
- $txtTree = XMLUtils::PHP2PHPArr($phpTree,false);
- return $txtTree;
-}
-*/
// }}}
/*
* Local Variables:
|
|
From: alex <bin...@li...> - 2001-09-25 20:01:47
|
alex Tue Sep 25 13:01:41 2001 EDT
Modified files:
/r2/binarycloud/docs/specs/xml EntityDefinition.php
Log:
Added encrypt and entity description to defs
Index: r2/binarycloud/docs/specs/xml/EntityDefinition.php
diff -u r2/binarycloud/docs/specs/xml/EntityDefinition.php:1.2 r2/binarycloud/docs/specs/xml/EntityDefinition.php:1.3
--- r2/binarycloud/docs/specs/xml/EntityDefinition.php:1.2 Tue Sep 25 13:01:19 2001
+++ r2/binarycloud/docs/specs/xml/EntityDefinition.php Tue Sep 25 13:01:41 2001
@@ -1,6 +1,7 @@
<?php
$entity => array(
'name' => 'furbees',
+ 'desc' => 'This is an example entity used for development.',
'manager' => 'FurbeesManager',
'database' => array(
'name' => 'binarycloud_db',
|
|
From: alex <bin...@li...> - 2001-09-25 20:01:25
|
alex Tue Sep 25 13:01:19 2001 EDT
Modified files:
/r2/binarycloud/docs/specs/xml EntityDefinition.php
EntityDefinition.php.xml
Log:
Added encrypt and entity description to defs
Index: r2/binarycloud/docs/specs/xml/EntityDefinition.php
diff -u r2/binarycloud/docs/specs/xml/EntityDefinition.php:1.1 r2/binarycloud/docs/specs/xml/EntityDefinition.php:1.2
--- r2/binarycloud/docs/specs/xml/EntityDefinition.php:1.1 Sun Sep 23 17:18:57 2001
+++ r2/binarycloud/docs/specs/xml/EntityDefinition.php Tue Sep 25 13:01:19 2001
@@ -26,7 +26,8 @@
'default' => '0',
'notnull' => '1',
'type' => 'int',
- 'maxlength' => '20',
+ 'maxlength' => '20',
+ 'encrypt' => 'true',
'processors' => array(
array(
'name' => 'EncodeEntitiesProcessor',
Index: r2/binarycloud/docs/specs/xml/EntityDefinition.php.xml
diff -u r2/binarycloud/docs/specs/xml/EntityDefinition.php.xml:1.2 r2/binarycloud/docs/specs/xml/EntityDefinition.php.xml:1.3
--- r2/binarycloud/docs/specs/xml/EntityDefinition.php.xml:1.2 Sat Sep 8 23:54:25 2001
+++ r2/binarycloud/docs/specs/xml/EntityDefinition.php.xml Tue Sep 25 13:01:19 2001
@@ -13,6 +13,12 @@
-->
<entity:name>furbees</entity:name>
+
+ <!--
+ A description of the entity.
+ -->
+ <entity:desc>This is an example entity used for development.</entity:desc>
+
<!--
the manager which should be imported by EntityManager.
the role of an individual Entity Manager is to check
@@ -87,6 +93,12 @@
<type>int</type>
<!-- the maximum number of chars allowed in input fields and posts -->
<maxlength>20</maxlength>
+ <!--
+ is this field encrypted?
+ 'true' encrypts all database i/o through a custom addition to metabase
+ this tag can be safely omitted
+ -->
+ <encrypt>true</encrypt>
<!--
Processors are classes which will condition the input somehow.
|
|
From: alex <bin...@li...> - 2001-09-25 19:58:16
|
alex Tue Sep 25 12:58:10 2001 EDT
Added files:
/r2/tools/sfsync BinAdd.sh StandardAdd.sh
Log:
Sync tools
|
|
From: alex <bin...@li...> - 2001-09-25 19:55:57
|
alex Tue Sep 25 12:55:51 2001 EDT
Removed files:
/r2/binarycloud/make Makefile Makefile.in
Modified files:
/r2/binarycloud/base/core Makefile
/r2/binarycloud/user Makefile
Log:
Don't need make/ and some Makefile changes.
Index: r2/binarycloud/base/core/Makefile
diff -u r2/binarycloud/base/core/Makefile:1.6 r2/binarycloud/base/core/Makefile:1.7
--- r2/binarycloud/base/core/Makefile:1.6 Wed Jul 25 13:58:13 2001
+++ r2/binarycloud/base/core/Makefile Tue Sep 25 12:55:51 2001
@@ -1,5 +1,5 @@
# {{{ Header
-# -File $Id: Makefile,v 1.6 2001/07/25 20:58:13 alex Exp $
+# -File $Id: Makefile,v 1.7 2001/09/25 19:55:51 alex Exp $
# -License LGPL (http://www.gnu.org/copyleft/lesser.html)
# -Copyright 2001, Intacct Corp.
# -Author odysseas tsatalos, ody...@ya...
@@ -14,6 +14,7 @@
Page.php \
Perm.php \
Sess.php \
+ Request.php \
error_codes_eng.php \
error_handler.php \
$(EMPTY)
Index: r2/binarycloud/user/Makefile
diff -u r2/binarycloud/user/Makefile:1.8 r2/binarycloud/user/Makefile:1.9
--- r2/binarycloud/user/Makefile:1.8 Wed Sep 12 11:15:06 2001
+++ r2/binarycloud/user/Makefile Tue Sep 25 12:55:51 2001
@@ -1,46 +1,47 @@
-# {{{ Header
-# -File $Id: Makefile,v 1.8 2001/09/12 18:15:06 andi Exp $
-# -License LGPL (http://www.gnu.org/copyleft/lesser.html)
-# -Copyright 2001, Intacct Corp.
-# -Author odysseas tsatalos, ody...@ya...
-# }}}
-
-include ../Makefile.in
-
-USERDIRS= \
- cache \
- db \
- lang \
- lib \
- mod \
- roles \
- tmpl \
- $(EMPTY)
-
-# the line below can be replace with the actual listing of all the
-# application files in user
-USERFILES=`find $(USERDIRS) -name '*' | grep '[.]' | grep -v htdocs`
-XML_PAGEDEF_FILES=`find htdocs -name '*.php.xml' | grep '[.]'`
-
-all: site user xml_page_def xml_conf_def
-
-site:
- @echo "in user/htdocs"; cd htdocs; make --no-print-directory
-
-user:
- @$(INSTALLCODE) $(USERBUILD_DIR) $(USERFILES)
-
-xml_page_def:
- @echo "in user/htdocs (php.xml page definition files)";
- @xml_files=$(XML_PAGEDEF_FILES); \
- for i in $$xml_files ; do \
- $(XML2PHP) $(SITEBUILD_DIR) page_def $(USER_DIR)/$$i $(BUILD_DIR)/$$i; \
- done
-
-xml_conf_def:
- @echo "in user/conf (php.xml configuration files)";
- @$(XML2PHP) $(SITEBUILD_DIR) conf_def $(USER_DIR)/conf/Configuration.php.xml $(USERBUILD_DIR)/conf/Configuration.php.xml
- @$(XML2PHP) $(SITEBUILD_DIR) lang_def $(USER_DIR)/conf/Languages.php.xml $(USERBUILD_DIR)/conf/Languages.php.xml
- @$(XML2PHP) $(SITEBUILD_DIR) datasources_def $(USER_DIR)/conf/Datasources.php.xml $(USERBUILD_DIR)/conf/Datasources.php.xml
- @$(XML2PHP) $(SITEBUILD_DIR) operations_def $(USER_DIR)/conf/Operations.php.xml $(USERBUILD_DIR)/conf/Operations.php.xml
-
+# {{{ Header
+# -File $Id: Makefile,v 1.9 2001/09/25 19:55:51 alex Exp $
+# -License LGPL (http://www.gnu.org/copyleft/lesser.html)
+# -Copyright 2001, Intacct Corp.
+# -Author odysseas tsatalos, ody...@ya...
+# }}}
+
+include ../Makefile.in
+
+USERDIRS= \
+ cache \
+ conf \
+ db \
+ lang \
+ lib \
+ mod \
+ roles \
+ tmpl \
+ $(EMPTY)
+
+# the line below can be replace with the actual listing of all the
+# application files in user
+USERFILES=`find $(USERDIRS) -name '*' | grep '[.]' | grep -v htdocs`
+XML_PAGEDEF_FILES=`find htdocs -name '*.php.xml' | grep '[.]'`
+
+all: site user xml_page_def xml_conf_def
+
+site:
+ @echo "in user/htdocs"; cd htdocs; make --no-print-directory
+
+user:
+ @$(INSTALLCODE) $(USERBUILD_DIR) $(USERFILES)
+
+xml_page_def:
+ @echo "in user/htdocs (php.xml page definition files)";
+ @xml_files=$(XML_PAGEDEF_FILES); \
+ for i in $$xml_files ; do \
+ $(XML2PHP) $(SITEBUILD_DIR) page_def $(USER_DIR)/$$i $(BUILD_DIR)/$$i; \
+ done
+
+xml_conf_def:
+ @echo "in user/conf (php.xml configuration files)";
+ @$(XML2PHP) $(SITEBUILD_DIR) conf_def $(USER_DIR)/conf/Configuration.php.xml $(USERBUILD_DIR)/conf/Configuration.php.xml
+ @$(XML2PHP) $(SITEBUILD_DIR) lang_def $(USER_DIR)/conf/Languages.php.xml $(USERBUILD_DIR)/conf/Languages.php.xml
+ @$(XML2PHP) $(SITEBUILD_DIR) datasources_def $(USER_DIR)/conf/Datasources.php.xml $(USERBUILD_DIR)/conf/Datasources.php.xml
+ @$(XML2PHP) $(SITEBUILD_DIR) operations_def $(USER_DIR)/conf/Operations.php.xml $(USERBUILD_DIR)/conf/Operations.php.xml
+
|
|
From: alex <bin...@li...> - 2001-09-25 19:24:44
|
alex Tue Sep 25 12:24:39 2001 EDT
Removed files:
/r2/binarycloud/user/mod/webalizer start.sh
/r2/binarycloud/user/mod/webalizer/webalizer CHANGES COPYING
Copyright DNS.README
INSTALL README
README.FIRST
country-codes.txt
msfree.png sample.conf
webalizer webalizer.1
webalizer.LSM
webalizer.png
webazolver
/r2/binarycloud/user/mod/webalizer/webalizer/logs README
/r2/binarycloud/user/mod/webalizer/webalizer/output README
Log:
Old Crap
|