You can subscribe to this list here.
| 2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(47) |
Aug
(73) |
Sep
(104) |
Oct
(55) |
Nov
|
Dec
|
|---|
alex Tue Oct 9 14:41:14 2001 EDT
Removed files:
/r2/binarycloud/docs/tasks BCCStringModule.html
ConfigureSystem.html Docs.css
MakeConf.html MakeProcess.html
Makefiles.html MultiSiteMake.html
PHPDoc.html Template.html index.html
Log:
Crap
|
|
From: alex <bin...@li...> - 2001-10-09 19:49:40
|
alex Tue Oct 9 12:49:35 2001 EDT
Modified files:
/r2/binarycloud/make/lib MakePHPDoc.php
Log:
More changes to this, not working because PHPDoc tries to intercept ARGV! AGH!
Index: r2/binarycloud/make/lib/MakePHPDoc.php
diff -u r2/binarycloud/make/lib/MakePHPDoc.php:1.2 r2/binarycloud/make/lib/MakePHPDoc.php:1.3
--- r2/binarycloud/make/lib/MakePHPDoc.php:1.2 Wed Oct 3 16:56:01 2001
+++ r2/binarycloud/make/lib/MakePHPDoc.php Tue Oct 9 12:49:35 2001
@@ -1,7 +1,7 @@
<?php
// Header {{{
/*
- * -File $Id: MakePHPDoc.php,v 1.2 2001/10/03 23:56:01 alex Exp $
+ * -File $Id: MakePHPDoc.php,v 1.3 2001/10/09 19:49:35 alex Exp $
* -License LGPL (http://www.gnu.org/copyleft/lesser.html)
* -Copyright 2001, The Turing Studio, Inc.
* -Author alex black, en...@tu...
@@ -23,12 +23,40 @@
* @access public
*/
- function MakePHPDoc() {
-
+ function MakePHPDoc($doc) {
+/*
+ switch ($doc) {
+ case base:
+ $this->source_dir = "$bc_home/base/";
+ $this->target_dir = "$bc_home/docs/html/base/";
+ break;
+ case user:
+ $this->source_dir = "$bc_home/user/";
+ $this->target_dir = "$bc_home/docs/html/user/";
+ break;
+ case make:
+ $this->source_dir = "$bc_home/make/";
+ $this->target_dir = "$bc_home/docs/html/make/";
+ break;
+ case ext:
+ $this->source_dir = "$bc_home/ext/";
+ $this->target_dir = "$bc_home/docs/html/ext/";
+ break;
+ default:
+ print " --> Invalid PHPDoc target.\n";
+ print " ARGV must be: base, user, ext, make.\n";
+ print "[X] Discontinuing Make.\n";
+ exit();
+ }
+*/
// HACK
- $default_site_name = 'default';
- // quick hack to insert a site name
-
+ // path hack for testing:
+ $bc_home = getenv("BCHOME");
+
+ // HACK
+ $default_site_name = 'default';
+ // quick hack to insert a site name
+
$start = time();
// WARNING: long runtimes! Make modifications
@@ -37,27 +65,27 @@
// document phpdoc itself.
// Directory with include files
- define("PHPDOC_INCLUDE_DIR", "../ext/phpdoc/");
+ define("PHPDOC_INCLUDE_DIR", "$bc_home/ext/phpdoc/");
// Important: set this to the Linebreak sign of your system!
define("PHPDOC_LINEBREAK", "\n");
// main PHPDoc Include File
- include("../ext/phpdoc/prepend.php");
+ include("$bc_home/ext/phpdoc/prepend.php");
$doc = new Phpdoc;
// Sets the name of your application.
// The name of the application gets used in many default templates.
- $doc->setApplication("binarycloud ".$default_site_name);
+ $doc->setApplication("binarycloud ".$doc);
// directory where your source files reside:
- $doc->setSourceDirectory($this->source_dir);
+ $doc->setSourceDirectory("$bc_home/user/");
// save the generated docs here:
- $doc->setTarget($this->target_dir);
+ $doc->setTarget("$bc_home/docs/html/user/");
// use these templates:
- $doc->setTemplateDirectory("../ext/phpdoc/renderer/html/templates/");
+ $doc->setTemplateDirectory("$bc_home/ext/phpdoc/renderer/html/templates/");
// source files have one of these suffixes:
$doc->setSourceFileSuffix( array ("php") );
|
|
From: alex <bin...@li...> - 2001-10-09 19:49:19
|
alex Tue Oct 9 12:49:13 2001 EDT
Modified files:
/r2/binarycloud/make phpdoc.php
Log:
Testing Changes.
Index: r2/binarycloud/make/phpdoc.php
diff -u r2/binarycloud/make/phpdoc.php:1.1 r2/binarycloud/make/phpdoc.php:1.2
--- r2/binarycloud/make/phpdoc.php:1.1 Wed Oct 3 16:41:19 2001
+++ r2/binarycloud/make/phpdoc.php Tue Oct 9 12:49:13 2001
@@ -2,15 +2,17 @@
<?php
// {{{ Header
/*
- * -File $Id: phpdoc.php,v 1.1 2001/10/03 23:41:19 alex Exp $
+ * -File $Id: phpdoc.php,v 1.2 2001/10/09 19:49:13 alex Exp $
* -License LGPL (http://www.gnu.org/copyleft/lesser.html)
* -Copyright 2001, The Turing Studio, Inc.
* -Author alex black, en...@tu...
*/
// }}}
+$doc = $HTTP_SERVER_VARS['argv'][1];
include_once('./lib/MakePHPDoc.php');
-$MakePHPDoc = new MakePHPDoc($HTTP_SERVER_VARS['argv']);
+$MakePHPDoc = new MakePHPDoc($doc);
+
/*
* Local Variables:
|
|
From: andi <bin...@li...> - 2001-10-09 17:26:53
|
andi Tue Oct 9 10:26:48 2001 EDT
Added files:
/r2/binarycloud/base/mod/bcc BccHrefCompiler.php
Log:
Very early HREF compiler. Does not work now, so don't register this one to bcc!
Index: r2/binarycloud/base/mod/bcc/BccHrefCompiler.php
+++ r2/binarycloud/base/mod/bcc/BccHrefCompiler.php
<?php
// Header {{{
/*
* -File $Id: BccHrefCompiler.php,v 1.1 2001/10/09 17:26:48 andi Exp $
* -License LGPL (http://www.gnu.org/copyleft/lesser.html)
* -Copyright 2001, Andreas Aderhold
* -Authors Andreas Aderhold, <an...@bi...>
*/
$PACKAGE='binarycloud.mod.bcc';
// }}}
// {{{ BccHrefCompiler
class BccHrefCompiler {
/** echo or return compiled tag */
var $output = false;
/** the tag to be compiled */
var $data = "";
/** the compiled tag */
var $compiled ="";
/** generate xhtml output */
var $xhtml = true;
function BccHrefCompiler($_params) {
global $UrlRepository;
/* extract module parameters to class namespace */
extract_params($this, $_params);
/* import the xml utils */
import('binarycloud.lib.XMLUtils');
/* import the repository and reference it to classvar*/
import('user.conf.UrlRepository');
$this->urls =& $UrlRepository;
/* generate php array from xml data */
$trees = XMLUtils::XMLStr2XML($this->data);
$xmlTree = $trees[0];
$phpTree = XMLUtils::XML2PHP($xmlTree);
$urlId =& $phpTree['id'];
if (isset($urlId)) {
/* we have a repository lookup */
for($i=0;$i<count($this->urls);$i++) {
if ($this->urls[$i]['id'] === $urlId) {
$this->compiled = $this->UrlToHtml($this->urls[$i]);
break;
}
}
} else {
/* we have a direct entry */
$this->compiled = $this->UrlToHtml($phpTree);
}
return true;
}
function Output() {
if ($this->output != true) {
return $this->compiled;
} else {
echo $this->compiled;
}
}
/**
* converts a url tag entry to a valid html tag
*/
function UrlToHtml(&$_url) {
$html = "<a";
foreach($_url as $tag => $value) {
switch ($tag) {
case 'href':
$html .= ' href="';
if (isset($_url['usedocroot']) && $_url['usedocroot'] != false) {
$html .= BC_LANG.'/'.$value;
} else {
$html .=$value;
}
$html .= '"';
break;
/* convert 1:1 */
case 'attributes':
foreach ($_url['attributes'] as $attName => $attValue) {
$html .= ' '.$attName.'="'.$attValue.'"';
}
break;
}
}
/* xhtml closing or ordinary html ? */
if ($this->xhtml != false) {
$html .= "</a>";
} else {
$html .= "</a>";
}
return $html;
}
}
// }}}
/*
* Local Variables:
* mode: php
* tab-width: 4
* c-basic-offset: 4
* End:
*/
?>
|
|
From: andi <bin...@li...> - 2001-10-09 17:25:37
|
andi Tue Oct 9 10:25:32 2001 EDT
Modified files:
/r2/binarycloud/base/mod/bcc Bcc.php
Log:
Slightly changed regex to grab bc:tags using a backreference for colsing tag to match opening tag.
|
|
From: andi <bin...@li...> - 2001-10-09 13:58:51
|
andi Tue Oct 9 06:58:29 2001 EDT
Removed files:
/r2/binarycloud/base/mod/bcc README
Log:
Don't need this
|
andi Sun Oct 7 08:29:02 2001 EDT
Modified files:
/r2/binarycloud/make bcc.php
/r2/binarycloud/base/mod/bcc BccImgCompiler.php
/r2/binarycloud/user/conf ImageRepository.php.xml
/r2/binarycloud/user/htdocs compilertest.html
Log:
BccImageCompiler works now
Index: r2/binarycloud/make/bcc.php
diff -u r2/binarycloud/make/bcc.php:1.1 r2/binarycloud/make/bcc.php:1.2
--- r2/binarycloud/make/bcc.php:1.1 Wed Oct 3 16:41:19 2001
+++ r2/binarycloud/make/bcc.php Sun Oct 7 08:29:02 2001
@@ -2,7 +2,7 @@
<?php
// {{{ Header
/*
- * -File $Id: bcc.php,v 1.1 2001/10/03 23:41:19 alex Exp $
+ * -File $Id: bcc.php,v 1.2 2001/10/07 15:29:02 andi Exp $
* -License LGPL (http://www.gnu.org/copyleft/lesser.html)
* -Copyright 2001, Intacct Corp.
* -Author odysseas tsatalos, ody...@ya...
@@ -25,6 +25,8 @@
/* this is the constant for lang/htdocs */
define('BC_PATH_RESOURCES', '/'.$bcLang);
+ define('BC_LANG', strtolower($bcLang));
+ // define('BC_PATH', $bcBuildPath);
include_once($bcBuildPath. '/prepend.php');
Index: r2/binarycloud/base/mod/bcc/BccImgCompiler.php
diff -u r2/binarycloud/base/mod/bcc/BccImgCompiler.php:1.1 r2/binarycloud/base/mod/bcc/BccImgCompiler.php:1.2
--- r2/binarycloud/base/mod/bcc/BccImgCompiler.php:1.1 Sat Sep 22 12:58:15 2001
+++ r2/binarycloud/base/mod/bcc/BccImgCompiler.php Sun Oct 7 08:29:02 2001
@@ -1,7 +1,7 @@
<?php
// Header {{{
/*
- * -File $Id: BccImgCompiler.php,v 1.1 2001/09/22 19:58:15 andi Exp $
+ * -File $Id: BccImgCompiler.php,v 1.2 2001/10/07 15:29:02 andi Exp $
* -License LGPL (http://www.gnu.org/copyleft/lesser.html)
* -Copyright 2001, Andreas Aderhold
* -Authors Andreas Aderhold, <an...@bi...>
@@ -13,23 +13,134 @@
// {{{ BccImgCompiler
class BccImgCompiler {
- var $output = false; // echo output or return
- var $data = ""; // will contain the tag to compile
+ /** echo or return compiled tag */
+ var $output = false;
+
+ /** the tag to be compiled */
+ var $data = "";
+
+ /** the compiled tag */
+ var $compiled ="";
+
+ /** generate xhtml output */
+ var $xhtml = true;
+
+ /** do we have gd library? */
+ var $haveGd = false;
+
+
function BccImgCompiler($_params) {
+
+ global $ImageRepository;
+
+ /* extract module parameters to class namespace */
extract_params($this, $_params);
- // compile tag in $this->data
+
+ /* import the xml utils */
+ import('binarycloud.lib.XMLUtils');
+
+ /* import the repository and reference it to classvar*/
+ import('user.conf.ImageRepository');
+ $this->images =& $ImageRepository;
+
+ /* check if gd is available */
+
+ if (extension_loaded("gd")) {
+ $this->haveGd = true;
+ }
+
+ /* generate php array from xml data */
+ $trees = XMLUtils::XMLStr2XML($this->data);
+ $xmlTree = $trees[0];
+ $phpTree = XMLUtils::XML2PHP($xmlTree);
+
+ $imgId =& $phpTree['id'];
+
+ for($i=0;$i<count($this->images);$i++) {
+ if ($this->images[$i]['id'] === $imgId) {
+ $this->compiled = $this->ImageToHtml($this->images[$i]);
+ break;
+ }
+ }
+
return true;
}
function Output() {
- $strBuffer = "Img Compiler Output";
if ($this->output != true) {
- return $strBuffer;
+ return $this->compiled;
+ } else {
+ echo $this->compiled;
+ }
+ }
+
+
+ /**
+ * converts a image repository entry to a valid html tag
+ */
+ function ImageToHtml(&$_image) {
+
+ $html = "<img";
+
+ if (isset($_image['src'])) {
+ $html .= ' src="'.BC_PATH_RESOURCES.$_image['src'].'"';
+ } else {
+ return false;
+ }
+ if (isset($_image['name'])) {
+ $html .= ' name="'.$_image['name'].'"';
+ }
+ if (isset($_image['alt']) && $_image['alt'] != false) {
+ if (isset($_image['alt'][BC_LANG])) {
+ $html .= ' alt="'.$_image['alt'][BC_LANG].'"';
+ }
+ }
+ if (isset($_image['align']) && $_image['align'] != false) {
+ $html .= ' align="'.$_image['align'].'"';
+ }
+
+ /* if gd is available and the size parameters are set to false,
+ we determine the image size automatically, else it's left to
+ the browser */
+ if ($this->haveGd != false && $_image['hspace'] === false && $_image['vspace'] === false) {
+
+ $size = GetImageSize (BC_PATH.'/en/htdocs/'.$_image['src']);
+ $html .= $size[3];
+
+ } else {
+
+ if (isset($_image['hspace']) && $_image['hspace'] != false) {
+ $html .= ' hspace="'.$_image['hspace'].'"';
+ }
+ if (isset($_image['vspace']) && $_image['vspace'] != false) {
+ $html .= ' vspace="'.$_image['vspace'].'"';
+ }
+ }
+
+ if (isset($_image['border']) && $_image['border'] != false) {
+ $html .= ' border="'.$_image['border'].'"';
+ } else {
+ $html .= ' border="0"';
+ }
+ if (isset($_image['usemap']) && $_image['usemap'] != false) {
+ $html .= ' usemap="'.$_image['usemap'].'"';
+ }
+ if (isset($_image['width']) && $_image['width'] != false) {
+ $html .= ' width="'.$_image['width'].'"';
+ }
+ if (isset($_image['height']) && $_image['height'] != false) {
+ $html .= ' height="'.$_image['height'].'"';
+ }
+
+ /* xhtml closing or ordinary html ? */
+ if ($this->xhtml != false) {
+ $html .= " />";
} else {
- echo $strBuffer;
+ $html .= ">";
}
+ return $html;
}
}
Index: r2/binarycloud/user/conf/ImageRepository.php.xml
diff -u r2/binarycloud/user/conf/ImageRepository.php.xml:1.1 r2/binarycloud/user/conf/ImageRepository.php.xml:1.2
--- r2/binarycloud/user/conf/ImageRepository.php.xml:1.1 Sun Oct 7 07:06:42 2001
+++ r2/binarycloud/user/conf/ImageRepository.php.xml Sun Oct 7 08:29:02 2001
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<!-- Header {{{
*******************************************************************************
-** -File $Id: ImageRepository.php.xml,v 1.1 2001/10/07 14:06:42 andi Exp $
+** -File $Id: ImageRepository.php.xml,v 1.2 2001/10/07 15:29:02 andi Exp $
** -License LGPL (http://www.gnu.org/copyleft/lesser.html)
** -Copyright 2001, The Turing Studio, Inc.
** -Author alex black, en...@tu...
@@ -11,23 +11,23 @@
<images>
<image>
<id>bcFire</id>
- <src>resources/images/binarycloud/tmpl/fire.jpg</src>
+ <src>/resources/images/binarycloud/tmpl/fire.jpg</src>
<name>ImageName</name>
<alt>
<en>binarycloud fire</en>
<de>binarycloud Feuer</de>
</alt>
<align>left</align>
- <hspace>10</hspace>
- <vspace>10</vspace>
+ <hspace>false</hspace>
+ <vspace>false</vspace>
<border>0</border>
<usemap>#moo</usemap>
- <width>400</width>
- <height>20</height>
+ <width>false</width>
+ <height>false</height>
</image>
<image>
<id>StormHeader</id>
- <src>resources/images/binarycloud/strom/storm_header.gif</src>
+ <src>/resources/images/binarycloud/strom/storm_header.gif</src>
<name>stromHeader</name>
<alt>
<en>Storm Header</en>
@@ -36,9 +36,9 @@
<align>left</align>
<hspace>false</hspace>
<vspace>false</vspace>
- <border>0</border>
+ <border>false</border>
<usemap>false</usemap>
- <width>auto</width>
- <height>auto</height>
+ <width>false</width>
+ <height>false</height>
</image>
</images>
Index: r2/binarycloud/user/htdocs/compilertest.html
diff -u r2/binarycloud/user/htdocs/compilertest.html:1.6 r2/binarycloud/user/htdocs/compilertest.html:1.7
--- r2/binarycloud/user/htdocs/compilertest.html:1.6 Tue Oct 2 23:51:05 2001
+++ r2/binarycloud/user/htdocs/compilertest.html Sun Oct 7 08:29:02 2001
@@ -1,7 +1,7 @@
<?php
// {{{ Header
/*
- * -File $Id: compilertest.html,v 1.6 2001/10/03 06:51:05 alex Exp $
+ * -File $Id: compilertest.html,v 1.7 2001/10/07 15:29:02 andi Exp $
* -License LGPL (http://www.gnu.org/copyleft/lesser.html)
* -Copyright 2001, The Turing Studio, Inc.
* -Author alex black, en...@tu...
@@ -33,11 +33,6 @@
);
$Init->Startup();
?>
-<!-- a binarycloud system tag -->
-<bc:global>
- <page>true</page>
-</bc:global>
-<!-- a binarycloud system tag -->
<html>
<head>
<title>Test</title>
@@ -80,7 +75,13 @@
<!-- a binarycloud image tag -->
<bc:img>
- <id>abcimg</id>
+ <id>bcFire</id>
+</bc:img>
+<!-- /binarycloud image tag -->
+<br />
+<!-- a binarycloud image tag -->
+<bc:img>
+ <id>StormHeader</id>
</bc:img>
<!-- /binarycloud image tag -->
|
|
From: andi <bin...@li...> - 2001-10-07 14:07:17
|
andi Sun Oct 7 07:07:12 2001 EDT
Modified files:
/r2/binarycloud/base/utils xml2php.php
Log:
Added conf/ImageRepository.php.xml and related processing (xml2php)
Index: r2/binarycloud/base/utils/xml2php.php
diff -u r2/binarycloud/base/utils/xml2php.php:1.7 r2/binarycloud/base/utils/xml2php.php:1.8
--- r2/binarycloud/base/utils/xml2php.php:1.7 Wed Sep 12 11:11:41 2001
+++ r2/binarycloud/base/utils/xml2php.php Sun Oct 7 07:07:12 2001
@@ -2,7 +2,7 @@
<?php
// {{{ Header
/*
- * -File $Id: xml2php.php,v 1.7 2001/09/12 18:11:41 andi Exp $
+ * -File $Id: xml2php.php,v 1.8 2001/10/07 14:07:12 andi Exp $
* -License LGPL (http://www.gnu.org/copyleft/lesser.html)
* -Copyright 2001, Intacct Corp.
* -Author odysseas tsatalos, ody...@ya...
@@ -11,6 +11,8 @@
// }}}
// Initialize {{{
+global $HTTP_SERVER_VARS;
+$argv = $HTTP_SERVER_VARS['argv'];
$kUsageStr = "Usage: $argv[0] SITEBUILD_DIR TYPE XML_FILE OUT_FILE\n";
if (sizeof($argv)!=5) die($kUsageStr);
array_shift($argv);
@@ -61,6 +63,12 @@
$buffer.="global \$QueryManager;";
$buffer.=$nl.$nl;
$buffer.="\$QueryManager->datasources = ";
+ $buffer.=$txtTree;
+ break;
+ case 'images_def' :
+ $buffer.="global \$ImageRepository;";
+ $buffer.=$nl.$nl;
+ $buffer.="\$ImageRepository = ";
$buffer.=$txtTree;
break;
default:
|
|
From: andi <bin...@li...> - 2001-10-07 14:06:48
|
andi Sun Oct 7 07:06:42 2001 EDT
Added files:
/r2/binarycloud/user/conf ImageRepository.php.xml
Modified files:
/r2/binarycloud/user Makefile
Log:
Added conf/ImageRepository.php.xml and related processing (xml2php)
Index: r2/binarycloud/user/Makefile
diff -u r2/binarycloud/user/Makefile:1.10 r2/binarycloud/user/Makefile:1.11
--- r2/binarycloud/user/Makefile:1.10 Wed Oct 3 15:03:45 2001
+++ r2/binarycloud/user/Makefile Sun Oct 7 07:06:42 2001
@@ -1,5 +1,5 @@
# {{{ Header
-# -File $Id: Makefile,v 1.10 2001/10/03 22:03:45 alex Exp $
+# -File $Id: Makefile,v 1.11 2001/10/07 14:06:42 andi Exp $
# -License LGPL (http://www.gnu.org/copyleft/lesser.html)
# -Copyright 2001, Intacct Corp.
# -Author odysseas tsatalos, ody...@ya...
@@ -18,7 +18,7 @@
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
+all: user xml_page_def xml_conf_def site
site:
@echo "in user/htdocs"; cd htdocs; make --no-print-directory
@@ -39,4 +39,5 @@
@$(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
+ @$(XML2PHP) $(SITEBUILD_DIR) images_def $(USER_DIR)/conf/ImageRepository.php.xml $(USERBUILD_DIR)/conf/ImageRepository.php.xml
Index: r2/binarycloud/user/conf/ImageRepository.php.xml
+++ r2/binarycloud/user/conf/ImageRepository.php.xml
<?xml version="1.0"?>
<!-- Header {{{
*******************************************************************************
** -File $Id: ImageRepository.php.xml,v 1.1 2001/10/07 14:06:42 andi Exp $
** -License LGPL (http://www.gnu.org/copyleft/lesser.html)
** -Copyright 2001, The Turing Studio, Inc.
** -Author alex black, en...@tu...
******************************************************************************
}}} -->
<!-- binarycloud image repository example file -->
<images>
<image>
<id>bcFire</id>
<src>resources/images/binarycloud/tmpl/fire.jpg</src>
<name>ImageName</name>
<alt>
<en>binarycloud fire</en>
<de>binarycloud Feuer</de>
</alt>
<align>left</align>
<hspace>10</hspace>
<vspace>10</vspace>
<border>0</border>
<usemap>#moo</usemap>
<width>400</width>
<height>20</height>
</image>
<image>
<id>StormHeader</id>
<src>resources/images/binarycloud/strom/storm_header.gif</src>
<name>stromHeader</name>
<alt>
<en>Storm Header</en>
<de>Storm Header</de>
</alt>
<align>left</align>
<hspace>false</hspace>
<vspace>false</vspace>
<border>0</border>
<usemap>false</usemap>
<width>auto</width>
<height>auto</height>
</image>
</images>
|
|
From: alex <bin...@li...> - 2001-10-07 02:10:01
|
alex Sat Oct 6 19:09:55 2001 EDT
Modified files:
/r2/binarycloud/docs/specs/xml EntityDefinition.php.xml
Log:
Added entity:history and an explanation.
Index: r2/binarycloud/docs/specs/xml/EntityDefinition.php.xml
diff -u r2/binarycloud/docs/specs/xml/EntityDefinition.php.xml:1.3 r2/binarycloud/docs/specs/xml/EntityDefinition.php.xml:1.4
--- r2/binarycloud/docs/specs/xml/EntityDefinition.php.xml:1.3 Tue Sep 25 13:01:19 2001
+++ r2/binarycloud/docs/specs/xml/EntityDefinition.php.xml Sat Oct 6 19:09:54 2001
@@ -1,5 +1,6 @@
<entity>
-<!-- this is a temp storage site for these notes:
+<!--
+this is a temp storage site for these notes:
For modules to be distributed with binarycloud or available
from the (upcoming) module repository, as well as for
binarycloud core components you must:
@@ -27,6 +28,25 @@
a class.
-->
<entity:manager>FurbeesManager<entity:manager>
+
+ <!--
+ whether to maintain a history of records for this entity.
+ so:
+ -When you generate metabase xml schemas, _two_ schemas
+ would be created, one with the name of the entity:
+ "furbees" and another: "furbees_history"
+
+ -furbees_history would contain the same fields as
+ furbees, with the addition of two important fields:
+ -history_id
+ -history_timestamp
+
+ With those two tables, it would be _relatively_
+ easy to implement a GetByHistory() method in EntityManager,
+ which would trickle down to the correct Query to
+ furbees_history through QueryManager..
+ -->
+ <entity:history>true</entity:history>
<!--
db-related stuff for compatibility with metabase.
|
|
From: alex <bin...@li...> - 2001-10-06 23:23:16
|
alex Sat Oct 6 16:23:10 2001 EDT
Modified files:
/r2/binarycloud/user/bcdev/conf MakeConf.php.xml
Log:
Updated MakeConf with fs perm options
Index: r2/binarycloud/user/bcdev/conf/MakeConf.php.xml
diff -u r2/binarycloud/user/bcdev/conf/MakeConf.php.xml:1.4 r2/binarycloud/user/bcdev/conf/MakeConf.php.xml:1.5
--- r2/binarycloud/user/bcdev/conf/MakeConf.php.xml:1.4 Mon Oct 1 16:37:01 2001
+++ r2/binarycloud/user/bcdev/conf/MakeConf.php.xml Sat Oct 6 16:23:10 2001
@@ -1,14 +1,14 @@
<?xml version="1.0" ?>
<!--
// {{{ Header
--File $Id: MakeConf.php.xml,v 1.4 2001/10/01 23:37:01 alex Exp $
+-File $Id: MakeConf.php.xml,v 1.5 2001/10/06 23:23:10 alex Exp $
-License LGPL (http://www.gnu.org/copyleft/lesser.html)
-Copyright 2001, The Turing Studio, Inc.
-Author alex black, en...@tu...
// }}}
-->
-<makeconf>
+<MakeConf>
<!-- This is a freetext site name -->
<site_name>Freetext Site Name</site_name>
@@ -41,6 +41,31 @@
-->
<use_bcc>true</use_bcc>
+
+ <!--
+ used by Make to set file permissions on files in the build tree
+ -->
+ <fsperms>
+ <file>
+ <match>*.php</match>
+ <perms>
+ <user>rw</user>
+ <group>rw</group>
+ <all>r</all>
+ </perms>
+ </file>
+ <location>
+ <!-- this is the path from lang_code root in the build dir -->
+ <path>/htdocs</path>
+ <resursive>true</recursive>
+ <perms>
+ <user>rw</user>
+ <group>rw</group>
+ <all>r</all>
+ </perms>
+ </location>
+ </fsperms>
+
</globals>
<development>
@@ -99,4 +124,4 @@
</distribution>
-</makeconf>
+</MakeConf>
|
|
From: alex <bin...@li...> - 2001-10-06 19:09:43
|
alex Sat Oct 6 12:09:37 2001 EDT
Added files:
/r2/binarycloud/user/default README
Log:
Adding placeholder to CVS keeps this dir
|
alex Sat Oct 6 12:09:19 2001 EDT
Removed files:
/r2/binarycloud/user/default/conf Configuration.php.xml
Datasources.php.xml
Languages.php.xml
Operations.php.xml
/r2/binarycloud/user/default/db/before README
/r2/binarycloud/user/default/db/dump year_mo_dy_hr_mn_sc.txt
/r2/binarycloud/user/default/db/objects README
/r2/binarycloud/user/default/db/schema create_db.xml
/r2/binarycloud/user/default/htdocs Makefile index.xml.php
/r2/binarycloud/user/default/htdocs/resources/css bc_edit.css
binarycloud.css
phpdoc.css
storm.css
/r2/binarycloud/user/default/htdocs/resources/edit bc_edit.htc
example.html
/r2/binarycloud/user/default/htdocs/resources/images/binarycloud/buttons
add_question.gif
cancel.gif
delete.gif
delete_all.gif
delete_selected.gif
hide.gif
join.gif
make_active.gif
make_inactive.gif
no.gif
ok.gif
rename.gif
search.gif
show.gif
submit.gif
update.gif
yes.gif
/r2/binarycloud/user/default/htdocs/resources/images/binarycloud/editor
align_center_off.gif
align_center_on.gif
align_justify_off.gif
align_justify_on.gif
align_left_off.gif
align_left_on.gif
align_right_off.gif
align_right_on.gif
bold_off.gif
bold_on.gif
cancel_off.gif
cancel_on.gif
color_off.gif
color_on.gif
divider.gif
font_minus_off.gif
font_minus_on.gif
font_plus_off.gif
font_plus_on.gif
hr_off.gif
hr_on.gif
html_off.gif
html_on.gif
image_off.gif
image_on.gif
indent_off.gif
indent_on.gif
insert_p_off.gif
insert_p_on.gif
italic_off.gif
italic_on.gif
letter_list_off.gif
letter_list_on.gif
link_off.gif
link_on.gif
no_link_off.gif
no_link_on.gif
normal_off.gif
normal_on.gif
numbered_list_off.gif
numbered_list_on.gif
outdent_off.gif
outdent_on.gif
re_synch_off.gif
re_synch_on.gif
save_changes_off.gif
save_changes_on.gif
teletype_off.gif
teletype_on.gif
ul_off.gif
ul_on.gif
/r2/binarycloud/user/default/htdocs/resources/images/binarycloud/knowledgebase
big_folder.gif
kb_document.gif
magnifying_glass.gif
/r2/binarycloud/user/default/htdocs/resources/images/binarycloud/misc
000000.gif
10dot.gif
336666.gif
669999.gif
999999.gif
CCCCCC.gif
down_arrow.gif
down_dis_arrow.gif
trans.gif
up_arrow.gif
/r2/binarycloud/user/default/htdocs/resources/images/binarycloud/nav
api.gif
knowledge_base.gif
send_email.gif
site_map.gif
storm.gif
welcome.gif
/r2/binarycloud/user/default/htdocs/resources/images/binarycloud/storm
storm_header.gif
/r2/binarycloud/user/default/htdocs/resources/images/binarycloud/titles
admin.gif
api_docs.gif
install.gif
knowledgebase.gif
recent_news.gif
send_email.gif
site_map.gif
test_xml.gif
welcome.gif
/r2/binarycloud/user/default/htdocs/resources/images/binarycloud/tmpl
binarycloud.gif
binarycloud_logo_sm.gif
fire.jpg
h_tile.gif
hold.gif
/r2/binarycloud/user/default/htdocs/resources/js BCEdit.js
BaseLib.js
/r2/binarycloud/user/default/lang strings.xml
/r2/binarycloud/user/default/lib README
/r2/binarycloud/user/default/mod/hello_world HelloWorld.php
OtherWorld.php
/r2/binarycloud/user/default/roles god.php god.xml
Log:
Don't need this until later
|
|
From: alex <bin...@li...> - 2001-10-06 19:07:47
|
alex Sat Oct 6 12:07:40 2001 EDT
Removed files:
/r2/binarycloud/user/bcdev/lang ExampleStringRepository.php.xml
Log:
Old file, removing it.
|
|
From: alex <bin...@li...> - 2001-10-06 19:07:30
|
alex Sat Oct 6 12:07:24 2001 EDT
Added files:
/r2/binarycloud/user/bcdev/lang StringRepository.lang.xml
Log:
Adding String Repository file with correct name
Index: r2/binarycloud/user/bcdev/lang/StringRepository.lang.xml
+++ r2/binarycloud/user/bcdev/lang/StringRepository.lang.xml
<?xml version="1.0" ?>
<!-- Header {{{
*******************************************************************************
** -File $Id: StringRepository.lang.xml,v 1.1 2001/10/06 19:07:24 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>
<langs>
<en>Hello</en>
<fr>Bonjour</fr>
<de>Hallo</de>
</langs>
<description>This string is used in a few places: "hello, $username".</description>
</string>
<string>
<id>bye</id>
<langs>
<en>Bye</en>
<fr>Au Revior</fr>
<de>Auf Weidersehen</de>
</langs>
<description>This string is used in a few places: "hello, $username".</description>
</string>
</strings>
|
|
From: alex <bin...@li...> - 2001-10-06 00:14:07
|
alex Fri Oct 5 17:13:33 2001 EDT
Removed files:
/r2/binarycloud/docs/xml README
Log:
Removing xml directory
|
|
From: alex <bin...@li...> - 2001-10-06 00:12:58
|
alex Fri Oct 5 17:12:51 2001 EDT
Removed files:
/r2/binarycloud/docs/pdf README
Log:
Removing this
|
|
From: alex <bin...@li...> - 2001-10-06 00:12:42
|
alex Fri Oct 5 17:12:36 2001 EDT
Added files:
/r2/binarycloud/docs/ref CompleteHTMLEntitiesList.txt
Log:
Adding HTML Entities List
Index: r2/binarycloud/docs/ref/CompleteHTMLEntitiesList.txt
+++ r2/binarycloud/docs/ref/CompleteHTMLEntitiesList.txt
ASCII Entities with new Entity Names
Result
Description
Entity Name
Entity Number
"
quotation mark
&quot;
&#34;
&
ampersand
&amp;
&#38;
<
less-than
&lt;
&#60;
>
greater-than
&gt;
&#62;
ISO 8859-1 Symbol Entities
Result
Description
Entity Name
Entity Number
non-breaking space
&nbsp;
&#160;
¡
inverted exclamation mark
&iexcl;
&#161;
?
currency
&curren;
&#164;
¢
cent
&cent;
&#162;
£
pound
&pound;
&#163;
´
yen
&yen;
&#165;
¦
broken vertical bar
&brvbar;
&#166;
¤
section
&sect;
&#167;
¬
spacing diaresis
&uml;
&#168;
©
copyright
&copy;
&#169;
»
feminine ordinal indicator
&ordf;
&#170;
«
angle quotation mark (left)
&laquo;
&#171;
Â
negation
&not;
&#172;
-
soft hyphen
&shy;
&#173;
®
registered trademark
&reg;
&#174;
ø
spacing macron
&macr;
&#175;
¡
degree
&deg;
&#176;
±
plus-or-minus
&plusmn;
&#177;
2
superscript 2
&sup2;
&#178;
3
superscript 3
&sup3;
&#179;
«
spacing acute
&acute;
&#180;
µ
micro
&micro;
&#181;
¦
paragraph
&para;
&#182;
á
middle dot
&middot;
&#183;
ü
spacing cedilla
&cedil;
&#184;
1
superscript 1
&sup1;
&#185;
¼
masculine ordinal indicator
&ordm;
&#186;
»
angle quotation mark (right)
&raquo;
&#187;
1Ú4
fraction 1/4
&frac14;
&#188;
1Ú2
fraction 1/2
&frac12;
&#189;
3Ú4
fraction 3/4
&frac34;
&#190;
À
inverted question mark
&iquest;
&#191;
*
multiplication
&times;
&#215;
Ö
division
&divide;
&#247;
ISO 8859-1 Character Entities
Result
Description
Entity Name
Entity Number
À
capital a, grave accent
&Agrave;
&#192;
Á
capital a, acute accent
&Aacute;
&#193;
Â
capital a, circumflex accent
&Acirc;
&#194;
Ã
capital a, tilde
&Atilde;
&#195;
Ä
capital a, umlaut mark
&Auml;
&#196;
Å
capital a, ring
&Aring;
&#197;
Æ
capital ae
&AElig;
&#198;
Ç
capital c, cedilla
&Ccedil;
&#199;
È
capital e, grave accent
&Egrave;
&#200;
É
capital e, acute accent
&Eacute;
&#201;
Ê
capital e, circumflex accent
&Ecirc;
&#202;
Ë
capital e, umlaut mark
&Euml;
&#203;
Ì
capital i, grave accent
&Igrave;
&#204;
Í
capital i, acute accent
&Iacute;
&#205;
Î
capital i, circumflex accent
&Icirc;
&#206;
Ï
capital i, umlaut mark
&Iuml;
&#207;
Ð
capital eth, Icelandic
&ETH;
&#208;
Ñ
capital n, tilde
&Ntilde;
&#209;
Ò
capital o, grave accent
&Ograve;
&#210;
Ó
capital o, acute accent
&Oacute;
&#211;
Ô
capital o, circumflex accent
&Ocirc;
&#212;
Õ
capital o, tilde
&Otilde;
&#213;
Ö
capital o, umlaut mark
&Ouml;
&#214;
Ø
capital o, slash
&Oslash;
&#216;
ô
capital u, grave accent
&Ugrave;
&#217;
ò
capital u, acute accent
&Uacute;
&#218;
ó
capital u, circumflex accent
&Ucirc;
&#219;
capital u, umlaut mark
&Uuml;
&#220;
Y«
capital y, acute accent
&Yacute;
&#221;
<THORN>
capital THORN, Icelandic
&THORN;
&#222;
§
small sharp s, German
&szlig;
&#223;
small a, grave accent
&agrave;
&#224;
small a, acute accent
&aacute;
&#225;
small a, circumflex accent
&acirc;
&#226;
small a, tilde
&atilde;
&#227;
small a, umlaut mark
&auml;
&#228;
small a, ring
&aring;
&#229;
¾
small ae
&aelig;
&#230;
small c, cedilla
&ccedil;
&#231;
small e, grave accent
&egrave;
&#232;
small e, acute accent
&eacute;
&#233;
small e, circumflex accent
&ecirc;
&#234;
small e, umlaut mark
&euml;
&#235;
small i, grave accent
&igrave;
&#236;
small i, acute accent
&iacute;
&#237;
small i, circumflex accent
&icirc;
&#238;
small i, umlaut mark
&iuml;
&#239;
<eth>
small eth, Icelandic
&eth;
&#240;
small n, tilde
&ntilde;
&#241;
small o, grave accent
&ograve;
&#242;
small o, acute accent
&oacute;
&#243;
small o, circumflex accent
&ocirc;
&#244;
small o, tilde
&otilde;
&#245;
small o, umlaut mark
&ouml;
&#246;
¿
small o, slash
&oslash;
&#248;
small u, grave accent
&ugrave;
&#249;
small u, acute accent
&uacute;
&#250;
small u, circumflex accent
&ucirc;
&#251;
small u, umlaut mark
&uuml;
&#252;
y«
small y, acute accent
&yacute;
&#253;
<thorn>
small thorn, Icelandic
&thorn;
&#254;
Ø
small y, umlaut mark
&yuml;
&#255;
Some Other Entities supported by HTML
Result
Description
Entity Name
Entity Number
Œ
capital ligature OE
&OElig;
&#338;
œ
small ligature oe
&oelig;
&#339;
Š
capital S with caron
&Scaron;
&#352;
š
small S with caron
&scaron;
&#353;
Ÿ
capital Y with diaeres
&Yuml;
&#376;
ˆ
modifier letter circumflex accent
&circ;
&#710;
˜
small tilde
&tilde;
&#732;
 
en space
&ensp;
&#8194;
 
em space
&emsp;
&#8195;
 
thin space
&thinsp;
&#8201;
‌
zero width non-joiner
&zwnj;
&#8204;
‍
zero width joiner
&zwj;
&#8205;
‎
left-to-right mark
&lrm;
&#8206;
‏
right-to-left mark
&rlm;
&#8207;
–
en dash
&ndash;
&#8211;
—
em dash
&mdash;
&#8212;
‘
left single quotation mark
&lsquo;
&#8216;
’
right single quotation mark
&rsquo;
&#8217;
‚
single low-9 quotation mark
&sbquo;
&#8218;
“
left double quotation mark
&ldquo;
&#8220;
”
right double quotation mark
&rdquo;
&#8221;
„
double low-9 quotation mark
&bdquo;
&#8222;
†
dagger
&dagger;
&#8224;
‡
double dagger
&Dagger;
&#8225;
‰
per mille
&permil;
&#8240;
‹
single left-pointing angle quotation
&lsaquo;
&#8249;
›
single right-pointing angle quotation
&rsaquo;
&#8250;
€
euro
&euro;
&#8364;
™
trademark
&#8482;
|
|
From: alex <bin...@li...> - 2001-10-06 00:05:43
|
alex Fri Oct 5 17:05:38 2001 EDT
Modified files:
/r2/binarycloud/ext Makefile
Log:
Makefile updated to add directories
Index: r2/binarycloud/ext/Makefile
diff -u r2/binarycloud/ext/Makefile:1.2 r2/binarycloud/ext/Makefile:1.3
--- r2/binarycloud/ext/Makefile:1.2 Sat Jul 14 19:03:16 2001
+++ r2/binarycloud/ext/Makefile Fri Oct 5 17:05:37 2001
@@ -1,5 +1,5 @@
# {{{ Header
-# -File $Id: Makefile,v 1.2 2001/07/15 02:03:16 alex Exp $
+# -File $Id: Makefile,v 1.3 2001/10/06 00:05:37 alex Exp $
# -License LGPL (http://www.gnu.org/copyleft/lesser.html)
# -Copyright 2001, Intacct Corp.
# -Author odysseas tsatalos, ody...@ya...
@@ -7,10 +7,12 @@
include ../Makefile.in
-EXTDIRS= \
- pear \
- metabase \
- vagrant \
+EXTDIRS= \
+ pear \
+ phpdoc \
+ file_cache_class \
+ metabase \
+ vagrant \
$(EMPTY)
EXTFILES=`find $(EXTDIRS) -name '*' | grep '[.]'`
|
|
From: alex <bin...@li...> - 2001-10-06 00:04:48
|
alex Fri Oct 5 17:04:43 2001 EDT
Removed files:
/r2/binarycloud/ext/pear/Math Fraction.php Util.php
Log:
Removing Math
|
alex Fri Oct 5 17:04:29 2001 EDT
Removed files:
/r2/binarycloud/ext/pear HTTP.php Log.php Mail.php
/r2/binarycloud/ext/pear/HTML Common.php Form.php IT.php ITX.php
Page.php Processor.php Select.php
Table.php
/r2/binarycloud/ext/pear/HTTP Compress.php
/r2/binarycloud/ext/pear/Image Remote.php
/r2/binarycloud/ext/pear/Log composite.php file.php mcal.php
observer.php sql.php syslog.php
/r2/binarycloud/ext/pear/Mail RFC822.php sendmail.php smtp.php
/r2/binarycloud/ext/pear/Net Curl.php Dig.php SMTP.php Socket.php
/r2/binarycloud/ext/pear/Numbers Roman.php
/r2/binarycloud/ext/pear/Payment Verisign.php
/r2/binarycloud/ext/pear/Schedule At.php
/r2/binarycloud/ext/pear/XML Parser.php RPC.php
/r2/binarycloud/ext/pear/XML/RPC Server.php
/r2/binarycloud/ext/pear/build acinclude.m4 dynlib.m4 dynlib.mk
fastgen.sh library.mk ltlib.mk
mkdep.awk pear.m4 program.mk
rules.mk rules_common.mk
rules_pear.mk shtool
Log:
Removing unnecessary (and now old) pear code..
|
alex Fri Oct 5 17:03:36 2001 EDT
Removed files:
/r2/binarycloud/ext/pear DB.php
/r2/binarycloud/ext/pear/Benchmark Iterate.php Timer.php
/r2/binarycloud/ext/pear/Console Getopt.php
/r2/binarycloud/ext/pear/Crypt CBC.php HCEMD5.php
/r2/binarycloud/ext/pear/DB common.php ibase.php ifx.php msql.php
mssql.php mysql.php oci8.php odbc.php
pgsql.php storage.php sybase.php
/r2/binarycloud/ext/pear/Date Calc.php Human.php
/r2/binarycloud/ext/pear/File Find.php Passwd.php SearchReplace.php
Log:
Removing unnecessary (and now old) pear code..
|
|
From: alex <bin...@li...> - 2001-10-05 01:12:43
|
alex Thu Oct 4 18:12:38 2001 EDT
Added files:
/r2/tools/scripts FileAndDirList.sh
Log:
Minor script
Index: r2/tools/scripts/FileAndDirList.sh
+++ r2/tools/scripts/FileAndDirList.sh
find ../ -type f \
| grep -ve 'CVS' \
| grep -ve './docs/' \
| grep -ve './make/' \
| grep -ve './ext/' \
| grep -ve './build/' \
| grep -ve 'Makefile' \
| grep -ve 'Makefile.in' \
| grep -ve '.cvsignore' \
> ./FileList.php
find ../ -type d \
| grep -ve 'CVS' \
| grep -ve './make/' \
| grep -ve './docs/' \
| grep -ve './ext/' \
| grep -ve './build/' \
> ./DirList.php
|
|
From: andi <bin...@li...> - 2001-10-04 09:50:13
|
andi Thu Oct 4 02:50:08 2001 EDT
Modified files:
/r2/binarycloud Makefile.in
Log:
$(BCC) pointed to unknown file, fixed.
Index: r2/binarycloud/Makefile.in
diff -u r2/binarycloud/Makefile.in:1.11 r2/binarycloud/Makefile.in:1.12
--- r2/binarycloud/Makefile.in:1.11 Tue Oct 2 06:17:10 2001
+++ r2/binarycloud/Makefile.in Thu Oct 4 02:50:08 2001
@@ -1,5 +1,5 @@
# {{{ Header
-# -File $Id: Makefile.in,v 1.11 2001/10/02 13:17:10 andi Exp $
+# -File $Id: Makefile.in,v 1.12 2001/10/04 09:50:08 andi Exp $
# -License LGPL (http://www.gnu.org/copyleft/lesser.html)
# -Copyright 2001, Intacct Corp.
# -Author odysseas tsatalos, ody...@ya...
@@ -25,7 +25,7 @@
INSTALLCODE = $(TOOLS_DIR)/installcode.sh
PROCESSPREPEND = $(PHP_COMMAND) $(TOOLS_DIR)/processprepend.php
XML2PHP = $(PHP_COMMAND) $(TOOLS_DIR)/xml2php.php
-BCC = $(PHP_COMMAND) $(MAKE_DIR)/BCC.php
+BCC = $(PHP_COMMAND) $(MAKE_DIR)/bcc.php
.SUFFIXES:
.SUFFIXES: .php .xml
|
|
From: alex <bin...@li...> - 2001-10-04 01:22:51
|
alex Wed Oct 3 18:22:45 2001 EDT
Modified files:
/r2/tools/cli_php php.ini
Log:
Command line PHP.ini
Index: r2/tools/cli_php/php.ini
diff -u r2/tools/cli_php/php.ini:1.2 r2/tools/cli_php/php.ini:1.3
--- r2/tools/cli_php/php.ini:1.2 Thu Jun 14 00:06:28 2001
+++ r2/tools/cli_php/php.ini Wed Oct 3 18:22:45 2001
@@ -113,7 +113,7 @@
; Resource Limits ;
;;;;;;;;;;;;;;;;;;;
-max_execution_time = 30 ; Maximum execution time of each script, in seconds (UNIX only)
+max_execution_time = 480 ; Maximum execution time of each script, in seconds (UNIX only)
memory_limit = 8388608 ; Maximum amount of memory a script may consume (8MB)
|