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-07-27 23:46:48
|
alex Fri Jul 27 16:46:43 2001 EDT Modified files: /r2/binarycloud .cvsignore Log: Oops, trailing / Index: r2/binarycloud/.cvsignore diff -u r2/binarycloud/.cvsignore:1.1 r2/binarycloud/.cvsignore:1.2 --- r2/binarycloud/.cvsignore:1.1 Fri Jul 27 16:46:24 2001 +++ r2/binarycloud/.cvsignore Fri Jul 27 16:46:43 2001 @@ -1 +1 @@ -build/ +build |
From: alex <bin...@li...> - 2001-07-27 23:46:30
|
alex Fri Jul 27 16:46:25 2001 EDT Added files: /r2/binarycloud .cvsignore Log: Adding a cvsigniore for build/ Index: r2/binarycloud/.cvsignore +++ r2/binarycloud/.cvsignore build/ |
From: alex <bin...@li...> - 2001-07-26 22:57:16
|
alex Thu Jul 26 15:57:11 2001 EDT Modified files: /r2 README Log: Readme Mod. Index: r2/README diff -u r2/README:1.10 r2/README:1.11 --- r2/README:1.10 Wed Jul 11 14:42:21 2001 +++ r2/README Thu Jul 26 15:57:10 2001 @@ -15,3 +15,4 @@ subscribe, and make yourself known! + |
From: alex <bin...@li...> - 2001-07-26 01:52:21
|
alex Wed Jul 25 18:52:15 2001 EDT Modified files: /r2/binarycloud/base/core Page.php /r2/binarycloud/base/utils processprepend.php Log: Header mod, super simple. Index: r2/binarycloud/base/core/Page.php diff -u r2/binarycloud/base/core/Page.php:1.10 r2/binarycloud/base/core/Page.php:1.11 --- r2/binarycloud/base/core/Page.php:1.10 Sat Jul 14 17:28:10 2001 +++ r2/binarycloud/base/core/Page.php Wed Jul 25 18:52:06 2001 @@ -1,7 +1,7 @@ <?php // Header {{{ /* - * -File $Id: Page.php,v 1.10 2001/07/15 00:28:10 alex Exp $ + * -File $Id: Page.php,v 1.11 2001/07/26 01:52:06 alex Exp $ * -License LGPL (http://www.gnu.org/copyleft/lesser.html) * -Copyright 2001, The Turing Studio, Inc. * -Authors alex black, en...@tu... @@ -92,7 +92,7 @@ * This method first checks to see if $gPageDef[templates] exists. * If it doesn't exist, all of the module output is printed. * If it does exist, we find out if we should use the default template, - * $gPageDef[templates][def], or another named template: + * $gPageDef[templates][default], or another named template: * $gPageDef[templates][whatever_you_like]. This is done by checking the * query string for "whatever_you_like" (the key of the template you * would like to use). If that key is found, the master template defined @@ -106,7 +106,7 @@ $templates =& $gPageDef['templates']; if (isset($templates)) { global $_tmpl; - $tmpl = isset($templates[$_tmpl]) ? $templates[$_tmpl] : $templates['def']; + $tmpl = isset($templates[$_tmpl]) ? $templates[$_tmpl] : $templates['default']; import("user.tmpl.$tmpl[package].$tmpl[name]"); } else { echo join('', $this->output); @@ -128,7 +128,7 @@ $this->modules[$_group] = array_pad(array(),count($modules[$_group]['load']),0); foreach ($modules[$_group]['load'] as $pos=>$mod) { import("user.mod.$mod[package].$mod[name]"); - $this->modules[$_group][$pos] = new $mod['name']($mod['options']); + $this->modules[$_group][$pos] = new $mod['name']($mod['params']); if (isset($mod['id'])) { $this->modules_id[$mod['id']] =& $this->modules[$_group][$pos]; Index: r2/binarycloud/base/utils/processprepend.php diff -u r2/binarycloud/base/utils/processprepend.php:1.3 r2/binarycloud/base/utils/processprepend.php:1.4 --- r2/binarycloud/base/utils/processprepend.php:1.3 Mon Jun 25 10:01:32 2001 +++ r2/binarycloud/base/utils/processprepend.php Wed Jul 25 18:52:15 2001 @@ -2,10 +2,10 @@ <?php // {{{ Header /* - * -File $Id: processprepend.php,v 1.3 2001/06/25 17:01:32 odysseas Exp $ - * -License LGPL (http://www.gnu.org/copyleft/lesser.html) + * -File $Id: processprepend.php,v 1.4 2001/07/26 01:52:15 alex Exp $ + * -License LGPL (http://www.gnu.org/copyleft/lesser.html) * -Copyright 2001, Intacct Corp. - * -Author odysseas tsatalos, ody...@ya... + * -Author odysseas tsatalos, ody...@ya... */ // }}} |
From: alex <bin...@li...> - 2001-07-26 01:14:26
|
alex Wed Jul 25 18:14:21 2001 EDT Added files: /r2/binarycloud/user/mod/set_lang_example SetLangExample.php Removed files: /r2/binarycloud/user/mod/set_lang_example Set_Lang_Example.php Modified files: /r2/binarycloud/user/htdocs graph.php index.php /r2/binarycloud/user/mod/graph GraphExample.php /r2/binarycloud/user/mod/hello_world HelloWorld.php OtherWorld.php Log: Changed Modules to match new $params naming. |
From: alex <bin...@li...> - 2001-07-25 21:12:25
|
alex Wed Jul 25 14:12:19 2001 EDT Modified files: /r2 TODO Log: Removed PEAR Integration tasks from the TODO. Index: r2/TODO diff -u r2/TODO:1.14 r2/TODO:1.15 --- r2/TODO:1.14 Tue Jul 17 21:10:59 2001 +++ r2/TODO Wed Jul 25 14:12:19 2001 @@ -1,5 +1,5 @@ # cvs: -# $Id: TODO,v 1.14 2001/07/18 04:10:59 alex Exp $ +# $Id: TODO,v 1.15 2001/07/25 21:12:19 alex Exp $ r2 build: ------------------------------- @@ -21,14 +21,8 @@ should be dumb about the data that is coming in - no global scope. the difference between a master template and a layout template should be semantic, not functional. --get a simple process down for pear installation, test imports of PEAR in Init. - --test ext/ imports in general - -make default module association work for master templates. this should be a function of Page, not the subject template. likely a $Page->defaults['unique_id']. - --once PEAR imports are functional, remove PEAR_Error.php from base/core/ -putz with bc_edit a bit more, check it into cvs. |
From: alex <bin...@li...> - 2001-07-25 20:59:04
|
alex Wed Jul 25 13:58:58 2001 EDT Modified files: /r2/binarycloud/base/core Makefile /r2/binarycloud/base/init Init.php Log: Modified Init to start up PEAR, and PEAR_Error. Note that $PEAR exists as a global - but PEAR_Error does not - use $Err. Index: r2/binarycloud/base/core/Makefile diff -u r2/binarycloud/base/core/Makefile:1.5 r2/binarycloud/base/core/Makefile:1.6 --- r2/binarycloud/base/core/Makefile:1.5 Sat Jul 14 19:03:12 2001 +++ r2/binarycloud/base/core/Makefile Wed Jul 25 13:58:13 2001 @@ -1,5 +1,5 @@ # {{{ Header -# -File $Id: Makefile,v 1.5 2001/07/15 02:03:12 alex Exp $ +# -File $Id: Makefile,v 1.6 2001/07/25 20:58:13 alex Exp $ # -License LGPL (http://www.gnu.org/copyleft/lesser.html) # -Copyright 2001, Intacct Corp. # -Author odysseas tsatalos, ody...@ya... @@ -11,7 +11,6 @@ Auth.php \ Debug.php \ Lang.php \ - PEAR_Error.php \ Page.php \ Perm.php \ Sess.php \ Index: r2/binarycloud/base/init/Init.php diff -u r2/binarycloud/base/init/Init.php:1.33 r2/binarycloud/base/init/Init.php:1.34 --- r2/binarycloud/base/init/Init.php:1.33 Tue Jul 10 14:31:47 2001 +++ r2/binarycloud/base/init/Init.php Wed Jul 25 13:58:58 2001 @@ -1,7 +1,7 @@ <?php // Header {{{ /******************************************************************************* - ** -File $Id: Init.php,v 1.33 2001/07/10 21:31:47 alex Exp $ + ** -File $Id: Init.php,v 1.34 2001/07/25 20:58:58 alex Exp $ ** -License LGPL (http://www.gnu.org/copyleft/lesser.html) ** -Copyright 2001, The Turing Studio, Inc. ** -Author alex black, en...@tu... @@ -67,7 +67,7 @@ $this->_load_lang(); $this->_set_system_constants(); $this->_set_ini(); - $this->_load_error(); + $this->_load_pear(); $this->_load_auth(); $this->_load_perm(); $this->_load_page(); @@ -236,27 +236,23 @@ } // }}} - // {{{ _load_error + // {{{ _load_pear /** - * This method loads the PEAR_Error class and creates a new instance - * of it in $Err. It then includes the binarycloud Error Handler, which - * automatically logs all php errors to the bc_errors table in the default - * datasource. + * This method loads the PEAR class and creates a new instance + * of it. * * @author alex black, en...@tu... * @return always returns true. * @access private */ - function _load_error() { - import('binarycloud.core.PEAR_Error'); + function _load_pear() { + import('ext.pear.PEAR'); + global $PEAR; global $Err; - -// $Err = new PEAR_Error(); - -// import('binarycloud.core.error_handler'); -// set_error_handler("Error_Handler"); + $PEAR = new PEAR(); + $Err = new PEAR_Error(); return true; } |
From: alex <bin...@li...> - 2001-07-25 20:44:17
|
alex Wed Jul 25 13:43:56 2001 EDT Removed files: /r2/binarycloud/base/core PEAR_Error.php Log: don't need this, it's in the pear distro. |
From: alex <bin...@li...> - 2001-07-23 03:53:41
|
alex Sun Jul 22 20:53:36 2001 EDT Added files: /r2/tools/scripts php_compile.sh Log: Quick dump of a php configure command. A bc-specific php source and installation system may follow. Index: r2/tools/scripts/php_compile.sh +++ r2/tools/scripts/php_compile.sh ./configure \ --prefix=/usr/local/php4.module \ --with-config-file-path=/usr/local/apache/conf \ --with-apache=../apache_1.3.17 \ --enable-ftp \ --with-zlib \ --enable-bcmath \ --enable-calendar \ --with-jpeg-dir=/usr/lib \ --with-tiff-dir=/usr/lib \ -with-oci8=/u01/oracle/product/8.1.6 \ -with-mhash=/usr/local/mhash \ -with-mcrypt=/usr/local/mcrypt \ -with-dom=/usr/local/libxml2 \ -with-sablot=/usr/local/Sablot \ -with-curl \ -enable-wddx \ -enable-memory-limit \ -with-mm=/usr/local/mm \ -enable-debug=no \ |
From: alex <bin...@li...> - 2001-07-23 03:52:11
|
alex Sun Jul 22 20:52:06 2001 EDT Added files: /r2/binarycloud/base/utils/sh get_vagrant_support_libs.sh Log: Added lynx dumps of a couple urls. Index: r2/binarycloud/base/utils/sh/get_vagrant_support_libs.sh +++ r2/binarycloud/base/utils/sh/get_vagrant_support_libs.sh echo " --> Getting php_imlib"; lynx -dump -source http://mmcc.cx/php_imlib/php_imlib-0.3.tar.gz > php_imlib-0.3.tar.gz echo " --> Getting imlib"; lynx -dump -source http://download.sourceforge.net/enlightenment/imlib2-1.0.1.tar.gz > imlib2-1.0.1.tar.gz echo " --> Getting edb"; lynx -dump -source http://prdownloads.sourceforge.net/enlightenment/edb-1.0.2.tar.gz > edb-1.0.2.tar.gz echo " --> Done."; echo " --> Three files are in your working directory."; |
From: alex <bin...@li...> - 2001-07-23 02:55:22
|
alex Sun Jul 22 19:55:01 2001 EDT Modified files: /r2/binarycloud/ext get_pear.sh Log: Made this a pretty smart script for getting pear from cvs. Soon this will (hopefully) do an automatic install of PEAR, also. Index: r2/binarycloud/ext/get_pear.sh diff -u r2/binarycloud/ext/get_pear.sh:1.1 r2/binarycloud/ext/get_pear.sh:1.2 --- r2/binarycloud/ext/get_pear.sh:1.1 Wed Jul 11 15:01:56 2001 +++ r2/binarycloud/ext/get_pear.sh Sun Jul 22 19:55:01 2001 @@ -1,10 +1,131 @@ -#!/bin/sh -# +# {{{ Header +# -File $Id: get_pear.sh,v 1.2 2001/07/23 02:55:01 alex Exp $ +# -License LGPL (http://www.gnu.org/copyleft/lesser.html) +# -Copyright 2001, The Turing Studio, Inc. +# -Author alex black, en...@tu... +# }}} + + # Note that the php repository password is "phpfi" # This will check out the entire PEAR tree (for the moment) # to pwd/pear -# + +do_cvs_checkout() { + echo "----------------------------------------"; + cvs -d :pserver:cv...@cv...:/repository login + cvs -d :pserver:cv...@cv...:/repository co pear + #echo "doing the checkout.. testing"; + echo "----------------------------------------"; +} + +do_cvs_update() { + echo "----------------------------------------"; + cvs -d :pserver:cv...@cv...:/repository login + cvs up -P pear + #echo "doing the update.. testing"; + echo "----------------------------------------"; +} + + +rm_pear_dir() { + rm -rf pear/; +} + +rm_cvs_in_pear_dir() { + echo "----------------------------------------"; + find ./pear/ -name CVS -exec rm -rf {} \; + echo "----------------------------------------"; +} + +do_user_action() { + + if (test ${user_action} = "--help") then + echo "This script checks out or updates the pear repository in ext/"; + echo "The repository password for php cvs is phpfi"; + echo "Some shortcuts:"; + echo " -rmcvs removes all CVS dirs from pear/"; + echo " -up logs in and updates the pear dir"; + echo " -co deletes the current pear/ dir and does a fresh checkout"; + exit; + + elif (test ${user_action} = "rmcvs") then + rm_cvs_in_pear_dir + echo " --> Removed CVS Dirs in pear/. Exiting."; + exit; + + elif (test ${user_action} = "up") then + do_cvs_update + echo " --> Completed CVS update in pear/. Exiting."; + exit; + + elif (test ${user_action} = "co") then + rm_pear_dir + echo " --> Removed pear/ dir."; + do_cvs_checkout + echo " --> Completed CVS checkout into pear/. Exiting."; + exit; + + else + echo " --> No action specified. Exiting"; + exit; + fi +} + +echo_read_menu() { + echo " "; + echo "----------------------------------------"; + echo "PEAR dir found. Please select an action:" + echo "----------------------------------------"; + echo "1) Remove CVS dirs from pear/"; + echo "2) Do CVS Update in pear/"; + echo "3) Remove pear/ and do a fresh checkout"; + echo "4) Do nothing and exit"; + echo "----------------------------------------"; + echo " "; + echo -n "Please enter the number of your choice: "; + read user_choice +} + +set_action_from_menu() { + if (test ${user_choice} = 1) then + user_action="rmcvs" + do_user_action + + elif (test ${user_choice} = 2) then + user_action="up" + do_user_action + + elif (test ${user_choice} = 3) then + user_action="co" + do_user_action + + elif (test ${user_choice} = 4) then + echo "No action taken"; + exit + else + echo "Invalid selection, please try again"; + echo_read_menu + fi +} + +# Process +########### + +if (test $# != "0") then + user_action=${1} + do_user_action +fi + + +if (test -d pear) then + echo_read_menu + set_action_from_menu +else + echo "----------------------------------------"; + echo "No PEAR dir found. Doing Checkout" + echo "----------------------------------------"; + user_action="co" + do_user_action +fi + -cvs -d :pserver:cv...@cv...:/repository login -rm -rf pear/ -cvs -d :pserver:cv...@cv...:/repository co pear |
From: alex <bin...@li...> - 2001-07-18 04:11:15
|
alex Tue Jul 17 21:10:59 2001 EDT Modified files: /r2 TODO Log: Added default module associations to the TODO. Index: r2/TODO diff -u r2/TODO:1.13 r2/TODO:1.14 --- r2/TODO:1.13 Sun Jul 15 10:08:27 2001 +++ r2/TODO Tue Jul 17 21:10:59 2001 @@ -1,5 +1,5 @@ # cvs: -# $Id: TODO,v 1.13 2001/07/15 17:08:27 alex Exp $ +# $Id: TODO,v 1.14 2001/07/18 04:10:59 alex Exp $ r2 build: ------------------------------- @@ -24,6 +24,9 @@ -get a simple process down for pear installation, test imports of PEAR in Init. -test ext/ imports in general + +-make default module association work for master templates. this should be a function of Page, +not the subject template. likely a $Page->defaults['unique_id']. -once PEAR imports are functional, remove PEAR_Error.php from base/core/ |
From: alex <bin...@li...> - 2001-07-16 02:32:09
|
alex Sun Jul 15 19:32:02 2001 EDT Modified files: /r2/binarycloud/user/htdocs bcp.xml destroy_session.php graph.php index.php xslt_example.php Log: Header modifications. Index: r2/binarycloud/user/htdocs/bcp.xml diff -u r2/binarycloud/user/htdocs/bcp.xml:1.3 r2/binarycloud/user/htdocs/bcp.xml:1.4 --- r2/binarycloud/user/htdocs/bcp.xml:1.3 Thu Jun 14 20:01:13 2001 +++ r2/binarycloud/user/htdocs/bcp.xml Sun Jul 15 19:32:02 2001 @@ -1,7 +1,7 @@ <?xml version="1.0" ?> <!-- Header {{{ ******************************************************************************* -** -File $Id: bcp.xml,v 1.3 2001/06/15 03:01:13 alex Exp $ +** -File $Id: bcp.xml,v 1.4 2001/07/16 02:32:02 alex Exp $ ** -License LGPL (http://www.gnu.org/copyleft/lesser.html) ** -Copyright 2001, The Turing Studio, Inc. ** -Author alex black, en...@tu... @@ -26,10 +26,10 @@ be switched to "masters/print.phtml" --> <template> - <default> + <def> <path>masters/binarycloud.phtml</path> <handler>html</handler> - </default> + </def> <print> <path>masters/print.phtml</path> <handler>html</handler> Index: r2/binarycloud/user/htdocs/destroy_session.php diff -u r2/binarycloud/user/htdocs/destroy_session.php:1.2 r2/binarycloud/user/htdocs/destroy_session.php:1.3 --- r2/binarycloud/user/htdocs/destroy_session.php:1.2 Thu Jun 14 20:01:13 2001 +++ r2/binarycloud/user/htdocs/destroy_session.php Sun Jul 15 19:32:02 2001 @@ -1,10 +1,10 @@ <?php // Header {{{ /******************************************************************************* - ** -File $Id: destroy_session.php,v 1.2 2001/06/15 03:01:13 alex Exp $ + ** -File $Id: destroy_session.php,v 1.3 2001/07/16 02:32:02 alex Exp $ ** -License LGPL (http://www.gnu.org/copyleft/lesser.html) ** -Copyright 2001, The Turing Studio, Inc. - ** -Author alex black, en...@tu... + ** -Author alex black, en...@tu... ******************************************************************************/ // }}} Index: r2/binarycloud/user/htdocs/graph.php diff -u r2/binarycloud/user/htdocs/graph.php:1.2 r2/binarycloud/user/htdocs/graph.php:1.3 --- r2/binarycloud/user/htdocs/graph.php:1.2 Tue Jul 10 14:31:48 2001 +++ r2/binarycloud/user/htdocs/graph.php Sun Jul 15 19:32:02 2001 @@ -1,10 +1,10 @@ <?php // {{{ Header /* - * -File $Id: graph.php,v 1.2 2001/07/10 21:31:48 alex Exp $ - * -License LGPL (http://www.gnu.org/copyleft/lesser.html) + * -File $Id: graph.php,v 1.3 2001/07/16 02:32:02 alex Exp $ + * -License LGPL (http://www.gnu.org/copyleft/lesser.html) * -Copyright 2001, The Turing Studio, Inc. - * -Author alex black, en...@tu... + * -Author alex black, en...@tu... */ // }}} Index: r2/binarycloud/user/htdocs/index.php diff -u r2/binarycloud/user/htdocs/index.php:1.12 r2/binarycloud/user/htdocs/index.php:1.13 --- r2/binarycloud/user/htdocs/index.php:1.12 Sat Jul 14 17:28:16 2001 +++ r2/binarycloud/user/htdocs/index.php Sun Jul 15 19:32:02 2001 @@ -1,10 +1,10 @@ <?php // {{{ Header /* - * -File $Id: index.php,v 1.12 2001/07/15 00:28:16 alex Exp $ - * -License LGPL (http://www.gnu.org/copyleft/lesser.html) + * -File $Id: index.php,v 1.13 2001/07/16 02:32:02 alex Exp $ + * -License LGPL (http://www.gnu.org/copyleft/lesser.html) * -Copyright 2001, The Turing Studio, Inc. - * -Author alex black, en...@tu... + * -Author alex black, en...@tu... */ // }}} Index: r2/binarycloud/user/htdocs/xslt_example.php diff -u r2/binarycloud/user/htdocs/xslt_example.php:1.3 r2/binarycloud/user/htdocs/xslt_example.php:1.4 --- r2/binarycloud/user/htdocs/xslt_example.php:1.3 Tue Jul 10 14:31:48 2001 +++ r2/binarycloud/user/htdocs/xslt_example.php Sun Jul 15 19:32:02 2001 @@ -1,10 +1,10 @@ <?php // Header {{{ /******************************************************************************* - ** -File $Id: xslt_example.php,v 1.3 2001/07/10 21:31:48 alex Exp $ + ** -File $Id: xslt_example.php,v 1.4 2001/07/16 02:32:02 alex Exp $ ** -License LGPL (http://www.gnu.org/copyleft/lesser.html) ** -Copyright 2001, The Turing Studio, Inc. - ** -Author alex black, en...@tu... + ** -Author alex black, en...@tu... ******************************************************************************/ // }}} |
From: alex <bin...@li...> - 2001-07-15 17:08:32
|
alex Sun Jul 15 10:08:27 2001 EDT Modified files: /r2 TODO Log: Small changes to TODO about user/ make. Index: r2/TODO diff -u r2/TODO:1.12 r2/TODO:1.13 --- r2/TODO:1.12 Sat Jul 14 18:16:17 2001 +++ r2/TODO Sun Jul 15 10:08:27 2001 @@ -1,15 +1,25 @@ # cvs: -# $Id: TODO,v 1.12 2001/07/15 01:16:17 alex Exp $ +# $Id: TODO,v 1.13 2001/07/15 17:08:27 alex Exp $ r2 build: ------------------------------- --create groovy multi-site make system that does not require makefile propagation. must support naming on the command line: -$ make {site_name} +-create groovy multi-site make system that does not require makefile propagation. must support +naming on the command line: $ make {site_name}. SHould be of the form: + user/ + Makefile + default/ + site_name/ + site_name/ +With an imposed directory structure that can be corrected at make-time ala +http://www.geocrawler.com/lists/3/SourceForge/9659/0/6177512/ + -construct clear standards for gifs, css, and browser-resources in htdocs/ --come up with and implement a proper encapsulation scheme for native php templates: all templates should be dumb about the data that is coming in - no global scope. the difference between a master template and a layout template should be semantic, not functional. +-come up with and implement a proper encapsulation scheme for native php templates: all templates +should be dumb about the data that is coming in - no global scope. the difference between a +master template and a layout template should be semantic, not functional. -get a simple process down for pear installation, test imports of PEAR in Init. @@ -27,7 +37,8 @@ -get a functional Error stack going, see if PEAR_Error is up to it. --Merge old and new Request classes, start using the code and turn off register_globals. Introduce Debug warning about register_globals once that is done. +-Merge old and new Request classes, start using the code and turn off register_globals. Introduce +Debug warning about register_globals once that is done. -Get xml2php up and running (part of the make process) for: -page definitions @@ -39,7 +50,8 @@ -Don't make users explicitly define every page in htdocs/ in the user/htdocs/Makefile. --Get the xml string keyer working within the make language context. (and parsing + using user/lang/string_repository_name.xml's) +-Get the xml string keyer working within the make language context. (and parsing + using +user/lang/string_repository_name.xml's) -Establish clear naming conventions for xml2php files, entity files, query files, etc. @@ -49,5 +61,6 @@ ------------------------------- -create a caching class which can either: -cache a file based on the _entire_ request_uri (including query string) - -cache a file based on the script location only -this should work through Page, i.e. page is responsible for checking the cache if it sees that Init has loaded the Cache component. this should be fairly easy to add. control would be through: $gPageDef[init][cache] + -cache a file based on the script location only this should work through Page, i.e. page +is responsible for checking the cache if it sees that Init has loaded the Cache component. this +should be fairly easy to add. control would be through: $gPageDef[init][cache] |
From: alex <bin...@li...> - 2001-07-15 02:03:24
|
alex Sat Jul 14 19:03:19 2001 EDT Modified files: /r2/binarycloud Makefile Makefile.in /r2/binarycloud/base Makefile /r2/binarycloud/base/bldr Makefile /r2/binarycloud/base/core Makefile /r2/binarycloud/base/init Makefile /r2/binarycloud/base/lib Makefile /r2/binarycloud/base/mgr Makefile /r2/binarycloud/ext Makefile /r2/binarycloud/user Makefile /r2/binarycloud/user/htdocs Makefile Log: Minor, Minor header formatting mods to the makefiles. |
From: alex <bin...@li...> - 2001-07-15 01:16:22
|
alex Sat Jul 14 18:16:17 2001 EDT Modified files: /r2 TODO Log: added another item: proper lib for filtering non-encoded incoming html form bc_edit. Index: r2/TODO diff -u r2/TODO:1.11 r2/TODO:1.12 --- r2/TODO:1.11 Sat Jul 14 18:14:10 2001 +++ r2/TODO Sat Jul 14 18:16:17 2001 @@ -1,5 +1,5 @@ # cvs: -# $Id: TODO,v 1.11 2001/07/15 01:14:10 alex Exp $ +# $Id: TODO,v 1.12 2001/07/15 01:16:17 alex Exp $ r2 build: ------------------------------- @@ -18,6 +18,8 @@ -once PEAR imports are functional, remove PEAR_Error.php from base/core/ -putz with bc_edit a bit more, check it into cvs. + +-create a lib which can properly (numerically) encode entities incoming from bc_edit. -get PHPDoc functional and integrated into the make process |
From: alex <bin...@li...> - 2001-07-15 01:14:16
|
alex Sat Jul 14 18:14:10 2001 EDT Modified files: /r2 CREDITS TODO Log: Added Dave to the credits, and made the TODO (!) useful! Index: r2/CREDITS diff -u r2/CREDITS:1.13 r2/CREDITS:1.14 --- r2/CREDITS:1.13 Mon Jul 2 14:28:06 2001 +++ r2/CREDITS Sat Jul 14 18:14:10 2001 @@ -28,6 +28,9 @@ Markus Fischer mfi...@jo... +David Weingart + dwe...@po... + ####################################################### # r1 ###################################################### Index: r2/TODO diff -u r2/TODO:1.10 r2/TODO:1.11 --- r2/TODO:1.10 Sat Jul 14 17:58:50 2001 +++ r2/TODO Sat Jul 14 18:14:10 2001 @@ -1,66 +1,51 @@ # cvs: -# $Id: TODO,v 1.10 2001/07/15 00:58:50 alex Exp $ +# $Id: TODO,v 1.11 2001/07/15 01:14:10 alex Exp $ -Init -------------------------------------------- -* check that each ini_set is actually settable, looks like allow-call time isn't - -Core -------------------------------------------- -* create a caching class which can either: - -cache a file based on the _entire_ request_uri (including query string) - -cache a file based on the script location only - this should work through Page, i.e. page is responsible for checking the cache - if it sees that Init has loaded the Cache component. this should be fairly easy to - add. control would be through: $bc_page[init][cache] - -* integrate the Request class which allows us to turn off register_globals. - all code should request incoming variables through Request. - this is a core component. - -* implement the new Auth/Perm system with roles. will function essentially - the same, but file_permissions.conf will no longer exist. each role will - have a complete set of URIs associated with it. - -* re metabase: - -allow users to specify tablespace for a create user event in the - options array. very important. ** manuel did this last time I asked him - duh, so we can just get the new code and integrate it. - - -build in a little config that allows us to prevent metabase from - selecting the entire contents of a table on every schema change - this can be catastrophic for production installations with large datasets - -Managers -------------------------------------------- -* Integrate Entity, Query, etc Managers -* Build TemplateManager, first extension should be XSLT TemplateManager. -* Convert existing EntityManager, etc code to Debug and other conventions -* where possible, simplify and standardize: - -method naming - -public methods should contain private method calls that give a - reader a good idea of what's happening without actually having to - read any more of the code. - -Builders -------------------------------------------- -* Get a good sense of the existing "FML" (form markup language) spec, - apply this standard to XML output from FormBuilder, if it makes sense. -* If possible, adhere to the XForm standard when it is published (FormBuilder) -* Ensure that ListBuilder dosn't load any unnecessary functionality on every - page render. -* Create other builders where necessary: - CalendarBuilder - WizardBuilder, etc. - -* Where possible, find schema standards and adhere to them. - - -Pages -------------------------------------------- -* finalize the $bc_page format. -* ensure that the format is compatible with xml2php. +r2 build: +------------------------------- + +-create groovy multi-site make system that does not require makefile propagation. must support naming on the command line: +$ make {site_name} + +-construct clear standards for gifs, css, and browser-resources in htdocs/ + +-come up with and implement a proper encapsulation scheme for native php templates: all templates should be dumb about the data that is coming in - no global scope. the difference between a master template and a layout template should be semantic, not functional. + +-get a simple process down for pear installation, test imports of PEAR in Init. + +-test ext/ imports in general + +-once PEAR imports are functional, remove PEAR_Error.php from base/core/ + +-putz with bc_edit a bit more, check it into cvs. + +-get PHPDoc functional and integrated into the make process + +-get testers to verify make on FreeBSD, Solaris, other Flavors of Linux, and Win(x) +-get a functional Error stack going, see if PEAR_Error is up to it. -Make -------------------------------------------- +-Merge old and new Request classes, start using the code and turn off register_globals. Introduce Debug warning about register_globals once that is done. + +-Get xml2php up and running (part of the make process) for: + -page definitions + -language definitions + -configuration + -datasource definitions + +-Once that's done, remove all php 'source' files from conf/, db/ lang, etc. + +-Don't make users explicitly define every page in htdocs/ in the user/htdocs/Makefile. + +-Get the xml string keyer working within the make language context. (and parsing + using user/lang/string_repository_name.xml's) + +-Establish clear naming conventions for xml2php files, entity files, query files, etc. + + + +Nice to have: +------------------------------- +-create a caching class which can either: + -cache a file based on the _entire_ request_uri (including query string) + -cache a file based on the script location only +this should work through Page, i.e. page is responsible for checking the cache if it sees that Init has loaded the Cache component. this should be fairly easy to add. control would be through: $gPageDef[init][cache] |
From: alex <bin...@li...> - 2001-07-15 00:59:35
|
alex Sat Jul 14 17:59:30 2001 EDT Added files: /r2/tools/misc BBEdit_Metabase_Glossary.zip Modified files: /r2 TODO Log: This is a BBEdit Metabase Schema glossary, kindly provided by David Weingart. Thanks Dave! Index: r2/TODO diff -u r2/TODO:1.9 r2/TODO:1.10 --- r2/TODO:1.9 Thu Jun 14 00:16:30 2001 +++ r2/TODO Sat Jul 14 17:58:50 2001 @@ -1,5 +1,5 @@ # cvs: -# $Id: TODO,v 1.9 2001/06/14 07:16:30 alex Exp $ +# $Id: TODO,v 1.10 2001/07/15 00:58:50 alex Exp $ Init ------------------------------------------- @@ -64,5 +64,3 @@ Make ------------------------------------------- -* explore the use of xsl (sabcmd) as much as possible with makefiles, we may - be able to cheat and make meta-makefiles (ha-haha!) Index: r2/tools/misc/BBEdit_Metabase_Glossary.zip +++ r2/tools/misc/BBEdit_Metabase_Glossary.zip PK |
From: alex <bin...@li...> - 2001-07-15 00:28:22
|
alex Sat Jul 14 17:28:17 2001 EDT Modified files: /r2/binarycloud/base/core Page.php /r2/binarycloud/user/htdocs index.php Log: Added a unique id capability to page, ala Justin's suggestion. Some differences: we use 'id' not 'tag' and no global, it's $Page->modules_id['module_id']. This works quite nicely, and is convenient. Index: r2/binarycloud/base/core/Page.php diff -u r2/binarycloud/base/core/Page.php:1.9 r2/binarycloud/base/core/Page.php:1.10 --- r2/binarycloud/base/core/Page.php:1.9 Tue Jul 10 14:31:46 2001 +++ r2/binarycloud/base/core/Page.php Sat Jul 14 17:28:10 2001 @@ -1,7 +1,7 @@ <?php // Header {{{ /* - * -File $Id: Page.php,v 1.9 2001/07/10 21:31:46 alex Exp $ + * -File $Id: Page.php,v 1.10 2001/07/15 00:28:10 alex Exp $ * -License LGPL (http://www.gnu.org/copyleft/lesser.html) * -Copyright 2001, The Turing Studio, Inc. * -Authors alex black, en...@tu... @@ -129,10 +129,15 @@ foreach ($modules[$_group]['load'] as $pos=>$mod) { import("user.mod.$mod[package].$mod[name]"); $this->modules[$_group][$pos] = new $mod['name']($mod['options']); + + if (isset($mod['id'])) { + $this->modules_id[$mod['id']] =& $this->modules[$_group][$pos]; + } } } // }}} // {{{ Vars + var $modules_id; var $modules; var $output; var $title; Index: r2/binarycloud/user/htdocs/index.php diff -u r2/binarycloud/user/htdocs/index.php:1.11 r2/binarycloud/user/htdocs/index.php:1.12 --- r2/binarycloud/user/htdocs/index.php:1.11 Tue Jul 10 18:07:56 2001 +++ r2/binarycloud/user/htdocs/index.php Sat Jul 14 17:28:16 2001 @@ -1,7 +1,7 @@ <?php // {{{ Header /* - * -File $Id: index.php,v 1.11 2001/07/11 01:07:56 alex Exp $ + * -File $Id: index.php,v 1.12 2001/07/15 00:28:16 alex Exp $ * -License LGPL (http://www.gnu.org/copyleft/lesser.html) * -Copyright 2001, The Turing Studio, Inc. * -Author alex black, en...@tu... @@ -43,11 +43,13 @@ ), 'load' => array( array( + 'id' => 'mooboo', 'name' => "OtherWorld", 'package' => "hello_world", 'load_order' => "3" ), array( + 'id' => 'some_other_unique_name', 'name' => "Set_Lang_Example", 'package' => "set_lang_example", 'load_order' => "6" |
From: alex <bin...@li...> - 2001-07-15 00:07:38
|
alex Sat Jul 14 17:07:32 2001 EDT Added files: /r2/binarycloud/ext Makefile Log: The actual ext/ Makefile. |
From: alex <bin...@li...> - 2001-07-15 00:07:14
|
alex Sat Jul 14 17:06:53 2001 EDT Modified files: /r2/binarycloud Makefile Makefile.in /r2/binarycloud/base Makefile Log: Modified make to include ext/ in the make process. This will make metabase and pear classes (among others) usable with import. Index: r2/binarycloud/Makefile diff -u r2/binarycloud/Makefile:1.4 r2/binarycloud/Makefile:1.5 --- r2/binarycloud/Makefile:1.4 Mon Jun 25 09:42:41 2001 +++ r2/binarycloud/Makefile Sat Jul 14 17:06:50 2001 @@ -1,5 +1,5 @@ # {{{ Header -# -File $Id: Makefile,v 1.4 2001/06/25 16:42:41 odysseas Exp $ +# -File $Id: Makefile,v 1.5 2001/07/15 00:06:50 alex Exp $ # -License LGPL (http://www.gnu.org/copyleft/lesser.html) # -Copyright 2001, Intacct Corp. # -Author odysseas tsatalos, ody...@ya... @@ -13,6 +13,7 @@ MODULEDIRS= \ base \ user \ + ext \ $(EMPTY) @@ -25,6 +26,7 @@ BCLANG=$$i; export BCLANG; \ (echo "in user";cd 2>/dev/null user && make --no-print-directory ;); \ (echo "in base";cd 2>/dev/null base && make --no-print-directory ;); \ + (echo "in ext";cd 2>/dev/null ext && make --no-print-directory ;); \ done clean: Index: r2/binarycloud/Makefile.in diff -u r2/binarycloud/Makefile.in:1.5 r2/binarycloud/Makefile.in:1.6 --- r2/binarycloud/Makefile.in:1.5 Mon Jun 25 09:43:13 2001 +++ r2/binarycloud/Makefile.in Sat Jul 14 17:06:50 2001 @@ -1,5 +1,5 @@ # {{{ Header -# -File $Id: Makefile.in,v 1.5 2001/06/25 16:43:13 odysseas Exp $ +# -File $Id: Makefile.in,v 1.6 2001/07/15 00:06:50 alex Exp $ # -License LGPL (http://www.gnu.org/copyleft/lesser.html) # -Copyright 2001, Intacct Corp. # -Author odysseas tsatalos, ody...@ya... @@ -17,6 +17,7 @@ BCBUILD_DIR = $(BUILD_DIR)/binarycloud SITEBUILD_DIR = $(BUILD_DIR)/htdocs USERBUILD_DIR = $(BUILD_DIR)/user +EXTBUILD_DIR = $(BUILD_DIR)/ext TOOLS_DIR = $(SOURCE_DIR)/utils GETPKG = $(TOOLS_DIR)/pk2dir.pl Index: r2/binarycloud/base/Makefile diff -u r2/binarycloud/base/Makefile:1.3 r2/binarycloud/base/Makefile:1.4 --- r2/binarycloud/base/Makefile:1.3 Mon Jun 25 09:43:44 2001 +++ r2/binarycloud/base/Makefile Sat Jul 14 17:06:53 2001 @@ -1,5 +1,5 @@ # {{{ Header -# -File $Id: Makefile,v 1.3 2001/06/25 16:43:44 odysseas Exp $ +# -File $Id: Makefile,v 1.4 2001/07/15 00:06:53 alex Exp $ # -License LGPL (http://www.gnu.org/copyleft/lesser.html) # -Copyright 2001, Intacct Corp. # -Author odysseas tsatalos, ody...@ya... @@ -11,8 +11,8 @@ core \ bldr \ init \ - lib \ - mgr \ + lib \ + mgr \ $(EMPTY) all: dirs |
From: alex <bin...@li...> - 2001-07-13 19:16:57
|
alex Fri Jul 13 12:16:51 2001 EDT Modified files: /r2 INSTALL.WIN32 Log: Ronald TAO's more detailed windows installation instructions. Index: r2/INSTALL.WIN32 diff -u r2/INSTALL.WIN32:1.3 r2/INSTALL.WIN32:1.4 --- r2/INSTALL.WIN32:1.3 Thu Jul 12 16:07:22 2001 +++ r2/INSTALL.WIN32 Fri Jul 13 12:16:51 2001 @@ -1,12 +1,50 @@ -Test. -By Ronald Tao - 2001/06/30 +binarycloud make/r2 Win32 quick tutorial +------------------------------------------------------------------------------- +1. go to http://sources.redhat.com/cygwin/ install the latest cygwin +package, + up till now, I still not sure which package is a must to install, so try + hard to install all packages, make sure you set the default TEXT FILE +TYPE + to UNIX from the installation tools, sorry :) -1. go to http://sources.redhat.com/cygwin/ install the latest cygwin -package. -2. download the win32 version of PHP for http://www.php.net/ -3. unpack the r2 package in the cygwin environment. -4. set the environment variable BCHOME=c:/path/to/binarycloud -5. edit BCHOME/base/utils/installcode.sh, add #!/bin/sh in the first line -6. edit BCHOME/base/utils/processprepend.php and xml2php.php, replace the -first line with #!c:/path/to/php/php.exe -q -7. then let's make, and it should be fine....... :) +2. get the latest win32 version of PHP for http://www.php.net/, don't ask me + how to install PHP, ok... + +3. get the latest binarycloud r2 package, there are two ways to do so, first + you can download the tarball here, http://www.binarycloud.com/download/, + and unpack it in the cygwin environment, DO NOT UNPACK IT IN NATIVE WIN32 + ENVIRONMENT, or checkout from the latest CVS sourse tree. (I forgot the +a/c + and password for anonymous access, you ask alex, ok...) + +4. set the environment variable BCHOME to c:/path/to/binaryclound (yes, is +the + Windows sytle path, not the UNIX one, check your own), try to type these +in + cygwin shell. + export BCHOME='c:/path/to/binarycloud' + Then try the following to see if it is ok or not. + echo $BCHOME + +You need a text editor you familiar with for the following steps, no metter +it +is vi in cygwin or UltraEdit in Windows, but make sure it can work with UNIX +type EOL, otherwise you will find all the files are very messy. + +5. use a editor to open $BCHOME/base/utils/installcode.sh, add the following + line to the very begining of the file (the first line, ok...). + #!/bin/sh (yes, is UNIX style path this time) + +6. use a editor to open $BCHOME/base/utils/processprepend.php and +xml2php.php + you can see these in the first line, #!/usr/local/php4/bin/php -q, of +both + files, simply replace it by the following line. + #!c:/path/to/php/php.exe -q (yes, is Windows sytle again) + +7. things done, go back to $BCHOME, and type make, everythins should be +fine. +------------------------------------------------------------------------------- +Please send your comment to ron...@ho.... +have fun :) + |
From: alex <bin...@li...> - 2001-07-12 23:07:32
|
alex Thu Jul 12 16:07:22 2001 EDT Modified files: /r2 INSTALL.WIN32 Log: test Commit. Index: r2/INSTALL.WIN32 diff -u r2/INSTALL.WIN32:1.2 r2/INSTALL.WIN32:1.3 --- r2/INSTALL.WIN32:1.2 Wed Jul 11 12:11:05 2001 +++ r2/INSTALL.WIN32 Thu Jul 12 16:07:22 2001 @@ -1,3 +1,4 @@ +Test. By Ronald Tao - 2001/06/30 1. go to http://sources.redhat.com/cygwin/ install the latest cygwin |
From: alex <bin...@li...> - 2001-07-11 22:02:02
|
alex Wed Jul 11 15:01:56 2001 EDT Added files: /r2/binarycloud/ext get_pear.sh Log: This is a shell script to get the PEAR cvs from cvs.php.net (as I don't want to be in the habit of distro'ing pear!) binarycloud will now assume that you have at least the core PEAR components such as PEAR_Error. Index: r2/binarycloud/ext/get_pear.sh +++ r2/binarycloud/ext/get_pear.sh #!/bin/sh # # Note that the php repository password is "phpfi" # This will check out the entire PEAR tree (for the moment) # to pwd/pear # cvs -d :pserver:cv...@cv...:/repository login rm -rf pear/ cvs -d :pserver:cv...@cv...:/repository co pear |
From: alex <bin...@li...> - 2001-07-11 21:59:21
|
alex Wed Jul 11 14:59:16 2001 EDT Removed files: /r2/binarycloud/ext/pear README Log: don't need this any more. |