]> git.llucax.com Git - software/bife/bife-all.git/commitdiff
Moved other modules to new src structure.
authorLeandro Lucarella <llucax@gmail.com>
Sun, 6 Jul 2003 03:11:31 +0000 (03:11 +0000)
committerLeandro Lucarella <llucax@gmail.com>
Sun, 6 Jul 2003 03:11:31 +0000 (03:11 +0000)
38 files changed:
album/Doxyfile
album/Makefile
album/examples/index.php
album/examples/index.xbf
album/package.xml
album/src/BIFE/Album/Pager.php [moved from album/BIFE/Album/Pager.php with 100% similarity]
album/src/BIFE/Album/Photo.php [moved from album/BIFE/Album/Photo.php with 100% similarity]
album/src/BIFE/Album/Thumbs.php [moved from album/BIFE/Album/Thumbs.php with 100% similarity]
album/xmi2code.config
base/examples/index.php
base/package.xml
bife/Doxyfile
bife/Makefile
bife/examples/index.php
bife/examples/index.xbf [deleted file]
bife/examples/link.xbf [deleted file]
bife/examples/templates/bife_link.tpl.html [deleted file]
bife/examples/templates/bife_page.tpl.html [deleted file]
bife/examples/templates/bife_title.tpl.html [deleted file]
bife/package.xml
bife/src/BIFE/Container.php [moved from bife/BIFE/Container.php with 100% similarity]
bife/src/BIFE/Fallback.php [moved from bife/BIFE/Fallback.php with 100% similarity]
bife/src/BIFE/Link.php [moved from bife/BIFE/Link.php with 100% similarity]
bife/src/BIFE/Parser.php [moved from bife/BIFE/Parser.php with 100% similarity]
bife/src/BIFE/Translate.php [moved from bife/BIFE/Translate.php with 100% similarity]
bife/src/BIFE/Widget.php [moved from bife/BIFE/Widget.php with 100% similarity]
bife/xmi2code.config
hit/Doxyfile
hit/Makefile
hit/examples/index.php [moved from hit/examples/hit.php with 96% similarity]
hit/package.xml
hit/src/HTML/Template/HIT.php [moved from hit/HTML/Template/HIT.php with 100% similarity]
hit/xmi2code.config
menu/Doxyfile
menu/Makefile
menu/package.xml
menu/src/BIFE/Menu/Menu.php [moved from menu/BIFE/Menu/Menu.php with 100% similarity]
menu/xmi2code.config

index 116883f371264501eb2f9352448eceb2bbc07982..ef391b15fff800533bf07627b3fd988383e70390 100644 (file)
@@ -1,31 +1,5 @@
-# vim: set expandtab tabstop=4 softtabstop=4 shiftwidth=4:
-# +--------------------------------------------------------------------+
-# |                       BIFE - Buil It FastEr                        |
-# +--------------------------------------------------------------------+
-# | This file is part of BIFE.                                         |
-# |                                                                    |
-# | BIFE is free software; you can redistribute it and/or modify it    |
-# | under the terms of the GNU General Public License as published by  |
-# | the Free Software Foundation; either version 2 of the License, or  |
-# | (at your option) any later version.                                |
-# |                                                                    |
-# | BIFE is distributed in the hope that it will be useful, but        |
-# | WITHOUT ANY WARRANTY; without even the implied warranty of         |
-# | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU   |
-# | General Public License for more details.                           |
-# |                                                                    |
-# | You should have received a copy of the GNU General Public License  |
-# | along with Hooks; if not, write to the Free Software Foundation,   |
-# | Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA      |
-# +--------------------------------------------------------------------+
-# | Created: Mon May 19 00:16:56 ART 2003                              |
-# | Authors: Leandro Lucarella <luca@lugmen.org.ar>                    |
-# +--------------------------------------------------------------------+
-#
-# $Id$
-#
+# Doxyfile 1.3.2
 
-# Doxyfile 1.3-rc3
 #---------------------------------------------------------------------------
 # General configuration options
 #---------------------------------------------------------------------------
@@ -33,6 +7,7 @@ PROJECT_NAME           = "BIFE Album"
 PROJECT_NUMBER         = 0.11
 OUTPUT_DIRECTORY       = api
 OUTPUT_LANGUAGE        = English
+USE_WINDOWS_ENCODING   = NO
 EXTRACT_ALL            = YES
 EXTRACT_PRIVATE        = YES
 EXTRACT_STATIC         = YES
@@ -51,7 +26,6 @@ INTERNAL_DOCS          = YES
 CASE_SENSE_NAMES       = YES
 SHORT_NAMES            = NO
 HIDE_SCOPE_NAMES       = NO
-VERBATIM_HEADERS       = YES
 SHOW_INCLUDE_FILES     = YES
 JAVADOC_AUTOBRIEF      = YES
 MULTILINE_CPP_IS_BRIEF = NO
@@ -60,7 +34,7 @@ INHERIT_DOCS           = YES
 INLINE_INFO            = YES
 SORT_MEMBER_DOCS       = YES
 DISTRIBUTE_GROUP_DOC   = NO
-TAB_SIZE               = 8
+TAB_SIZE               = 4
 GENERATE_TODOLIST      = YES
 GENERATE_TESTLIST      = YES
 GENERATE_BUGLIST       = YES
@@ -83,7 +57,7 @@ WARN_LOGFILE           = doxygen.warn
 #---------------------------------------------------------------------------
 # configuration options related to the input files
 #---------------------------------------------------------------------------
-INPUT                  = 
+INPUT                  = src
 FILE_PATTERNS          = *.php
 RECURSIVE              = YES
 EXCLUDE                = 
@@ -103,6 +77,7 @@ INLINE_SOURCES         = NO
 STRIP_CODE_COMMENTS    = YES
 REFERENCED_BY_RELATION = YES
 REFERENCES_RELATION    = YES
+VERBATIM_HEADERS       = YES
 #---------------------------------------------------------------------------
 # configuration options related to the alphabetical class index
 #---------------------------------------------------------------------------
@@ -143,6 +118,7 @@ LATEX_HEADER           =
 PDF_HYPERLINKS         = YES
 USE_PDFLATEX           = NO
 LATEX_BATCHMODE        = NO
+LATEX_HIDE_INDICES     = NO
 #---------------------------------------------------------------------------
 # configuration options related to the RTF output
 #---------------------------------------------------------------------------
@@ -163,6 +139,7 @@ MAN_LINKS              = NO
 # configuration options related to the XML output
 #---------------------------------------------------------------------------
 GENERATE_XML           = NO
+XML_OUTPUT             = xml
 XML_SCHEMA             = 
 XML_DTD                = 
 #---------------------------------------------------------------------------
@@ -204,15 +181,18 @@ HIDE_UNDOC_RELATIONS   = YES
 HAVE_DOT               = YES
 CLASS_GRAPH            = YES
 COLLABORATION_GRAPH    = YES
+UML_LOOK               = YES
 TEMPLATE_RELATIONS     = YES
 INCLUDE_GRAPH          = YES
 INCLUDED_BY_GRAPH      = YES
+CALL_GRAPH             = YES
 GRAPHICAL_HIERARCHY    = YES
 DOT_IMAGE_FORMAT       = png
 DOT_PATH               = 
 DOTFILE_DIRS           = 
 MAX_DOT_GRAPH_WIDTH    = 1024
 MAX_DOT_GRAPH_HEIGHT   = 1024
+MAX_DOT_GRAPH_DEPTH    = 0
 GENERATE_LEGEND        = YES
 DOT_CLEANUP            = YES
 #---------------------------------------------------------------------------
index 6234a59d256b11621b03a55d710194db071d6cdc..a10b6b87052f0728aeebd9c56cdcd4c7c897fbe2 100644 (file)
@@ -27,7 +27,7 @@
 
 MODULE=album
 
-PHP_FILES=$(subst ./,,$(shell find BIFE -name '*.php'))
+PHP_FILES=$(subst ./,,$(shell find src -name '*.php'))
 EXAMPLE_FILES=$(subst ./,,$(shell find examples -regex '.*\.svn.*'))
 DOC_FILES=
 
@@ -38,4 +38,4 @@ code: $(MODULE).xmi xmi2code.config
        @xmi2code
 
 code-clean:
-       @find -name '*.bak' | xargs rm -vf
+       @find src -name '*.bak' | xargs rm -vf
index 3b9f86d86683abf6f34f0d9c202236e84970dc5f..dcc619f609f1b015cb4fdb7a0ad7f86ea96891f3 100644 (file)
@@ -26,9 +26,8 @@
 // $Id$
 //
 
-$tmp = ini_get('include_path');
-ini_set('include_path', "..:$tmp");
-unset($tmp);
+ini_set('include_path', '../src:../../hit/src:../../bife/src:../../base/src:'.
+    ini_get('include_path'));
 umask('002');
 
 require_once 'HTML/Template/HIT.php';
index 4ace0c30055e6ecf4f73d0361fa298b2ef69405c..75246428e05171a06679b794a464ff17c2c60b73 100644 (file)
@@ -2,6 +2,6 @@
 <Page title="Hola mundo!" menu="true">
     <Title>Datos!</Title>
     <H3>Photo album</H3>
-    <Album:Thumbs dir="../.." columns="8"/>
+    <Album:Thumbs dir="../../.." columns="8"/>
     <HR color="blue" size="3"/>
 </Page>
index 393e030448d7c0e1b5ca9ce37b0a9a0d11ae9989..3d671f3713dd6ed63a15035d0d627e44a5e03272 100644 (file)
         <version>0.11</version>
         <date>2003-06-29</date>
         <state>alpha</state>
-        <notes>Check http://www.llucax.hn.org/desarrollo/bife/ for details.</notes>
+        <notes>Check http://bife.llucax.hn.org/ for details.</notes>
         <provides type="class" name="BIFE_Album_Thumbs"/>
         <provides type="class" name="BIFE_Album_Photo"/>
         <provides type="class" name="BIFE_Album_Pager"/>
         <filelist>
             <!-- PHP -->
-            <file role="php">BIFE/Album/Thumbs.php</file>
-            <file role="php">BIFE/Album/Photo.php</file>
-            <file role="php">BIFE/Album/Pager.php</file>
+            <dir name="/" baseinstalldir="BIFE/Album" role="php">
+                <file install-as="Thumbs.php">src/BIFE/Album/Thumbs.php</file>
+                <file install-as="Photo.php">src/BIFE/Album/Photo.php</file>
+                <file install-as="Pager.php">src/BIFE/Album/Pager.php</file>
+            </dir>
             <!-- DOC -->
-            <file role="doc">examples/index.php</file>
-            <file role="doc">examples/index.xbf</file>
-            <file role="doc">examples/photo.xbf</file>
-            <file role="doc">examples/templates/album/item.tpl.html</file>
-            <file role="doc">examples/templates/album/empty.tpl.html</file>
-            <file role="doc">examples/templates/album/cell.tpl.html</file>
-            <file role="doc">examples/templates/album/row.tpl.html</file>
-            <file role="doc">examples/templates/album/photo.tpl.html</file>
-            <file role="doc">examples/templates/album/body.tpl.html</file>
-            <file role="doc">examples/templates/bife_page.tpl.html</file>
-            <file role="doc">examples/templates/bife_link.tpl.html</file>
-            <file role="doc">examples/templates/bife_title.tpl.html</file>
+            <dir name="examples" role="doc">
+            <file>index.php</file>
+            <file>index.xbf</file>
+            <file>photo.xbf</file>
+                <dir name="templates">
+                    <file>bife_page.tpl.html</file>
+                    <file>bife_link.tpl.html</file>
+                    <file>bife_title.tpl.html</file>
+                    <dir name="album">
+                        <file>item.tpl.html</file>
+                        <file>empty.tpl.html</file>
+                        <file>cell.tpl.html</file>
+                        <file>row.tpl.html</file>
+                        <file>photo.tpl.html</file>
+                        <file>body.tpl.html</file>
+                    </dir>
+                </dir>
+            </dir>
         </filelist>
     </release>
     <deps>
         <dep type="php" rel="ge">4.2.3</dep>
-        <dep type="pkg" rel="ge" version="1.0.0beta">HTML_Template_HIT</dep>
-        <dep type="pkg" rel="ge" version="0.11">BIFE</dep>
+        <dep type="pkg" rel="ge" version="1.0.0beta1">HTML_Template_HIT</dep>
+        <dep type="pkg" rel="ge" version="1.0.0beta1">BIFE</dep>
+        <dep type="pkg" rel="ge" version="1.0.0beta1">BIFE_Basic</dep>
     </deps>
 </package>
index b33898331bfd9eb7ff61a23d63f6d160b85d5c82..f470b79cb9fc0632de9cc52f51e794cd8ce79b68 100644 (file)
@@ -34,7 +34,7 @@
   <option key="config-file" value="xmi2code.config"/>
   <option key="config-file-set" value="false"/>
   <option key="handler" value="umbrello"/>
-  <option key="generator-path" value="."/>
+  <option key="generator-path" value="src"/>
   <option key="use-package-as-dir" value="true"/>
   <option key="indent" value="    "/>
   <option key="files-case" value="preserve"/>
index 898334990513cce894c051b5c28fc0e4020ad2e8..5a7e24a28748009d84c150ec259ef32fb721c65c 100644 (file)
@@ -26,7 +26,7 @@
 // $Id$
 //
 
-ini_set('include_path', '../src:../../hit/src:../../bife/src:',
+ini_set('include_path', '../src:../../hit/src:../../bife/src:' .
     ini_get('include_path'));
 umask('002');
 
index 03ff5effba9f6a98e371cd17458722da1c1ce6bd..e3280570258921030460f6415ebd4ac32d8d07ab 100644 (file)
                 <file>README</file>
                 <file>ROADMAP</file>
             </dir>
-            <!-- EXAMPLES -->
             <dir name="examples" role="doc">
                 <file>index.php</file>
                 <file>index.xbf</file>
-                <file>templates/bife_page.tpl.html</file>
-                <file>templates/bife_title.tpl.html</file>
-                <file>templates/bife_link.tpl.html</file>
+                <dir name="templates">
+                    <file>bife_page.tpl.html</file>
+                    <file>bife_title.tpl.html</file>
+                    <file>bife_link.tpl.html</file>
+                </dir>
             </dir>
         </filelist>
     </release>
index caed41fe647bfe32937d5be8a5415a5786fb653b..5336352e70c88587b8ab700e2728ee8f86ecb2b3 100644 (file)
@@ -1,38 +1,13 @@
-# vim: set expandtab tabstop=4 softtabstop=4 shiftwidth=4:
-# +--------------------------------------------------------------------+
-# |                       BIFE - Buil It FastEr                        |
-# +--------------------------------------------------------------------+
-# | This file is part of BIFE.                                         |
-# |                                                                    |
-# | BIFE is free software; you can redistribute it and/or modify it    |
-# | under the terms of the GNU General Public License as published by  |
-# | the Free Software Foundation; either version 2 of the License, or  |
-# | (at your option) any later version.                                |
-# |                                                                    |
-# | BIFE is distributed in the hope that it will be useful, but        |
-# | WITHOUT ANY WARRANTY; without even the implied warranty of         |
-# | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU   |
-# | General Public License for more details.                           |
-# |                                                                    |
-# | You should have received a copy of the GNU General Public License  |
-# | along with Hooks; if not, write to the Free Software Foundation,   |
-# | Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA      |
-# +--------------------------------------------------------------------+
-# | Created: Mon May 19 00:16:56 ART 2003                              |
-# | Authors: Leandro Lucarella <luca@lugmen.org.ar>                    |
-# +--------------------------------------------------------------------+
-#
-# $Id$
-#
+# Doxyfile 1.3.2
 
-# Doxyfile 1.3-rc3
 #---------------------------------------------------------------------------
 # General configuration options
 #---------------------------------------------------------------------------
 PROJECT_NAME           = "BIFE - Build It FastEr"
-PROJECT_NUMBER         = 0.11
+PROJECT_NUMBER         = 1.0.0beta1
 OUTPUT_DIRECTORY       = api
 OUTPUT_LANGUAGE        = English
+USE_WINDOWS_ENCODING   = NO
 EXTRACT_ALL            = YES
 EXTRACT_PRIVATE        = YES
 EXTRACT_STATIC         = YES
@@ -51,7 +26,6 @@ INTERNAL_DOCS          = YES
 CASE_SENSE_NAMES       = YES
 SHORT_NAMES            = NO
 HIDE_SCOPE_NAMES       = NO
-VERBATIM_HEADERS       = YES
 SHOW_INCLUDE_FILES     = YES
 JAVADOC_AUTOBRIEF      = YES
 MULTILINE_CPP_IS_BRIEF = NO
@@ -60,7 +34,7 @@ INHERIT_DOCS           = YES
 INLINE_INFO            = YES
 SORT_MEMBER_DOCS       = YES
 DISTRIBUTE_GROUP_DOC   = NO
-TAB_SIZE               = 8
+TAB_SIZE               = 4
 GENERATE_TODOLIST      = YES
 GENERATE_TESTLIST      = YES
 GENERATE_BUGLIST       = YES
@@ -83,7 +57,7 @@ WARN_LOGFILE           = doxygen.warn
 #---------------------------------------------------------------------------
 # configuration options related to the input files
 #---------------------------------------------------------------------------
-INPUT                  = 
+INPUT                  = src
 FILE_PATTERNS          = *.php
 RECURSIVE              = YES
 EXCLUDE                = 
@@ -103,6 +77,7 @@ INLINE_SOURCES         = NO
 STRIP_CODE_COMMENTS    = YES
 REFERENCED_BY_RELATION = YES
 REFERENCES_RELATION    = YES
+VERBATIM_HEADERS       = YES
 #---------------------------------------------------------------------------
 # configuration options related to the alphabetical class index
 #---------------------------------------------------------------------------
@@ -143,6 +118,7 @@ LATEX_HEADER           =
 PDF_HYPERLINKS         = YES
 USE_PDFLATEX           = NO
 LATEX_BATCHMODE        = NO
+LATEX_HIDE_INDICES     = NO
 #---------------------------------------------------------------------------
 # configuration options related to the RTF output
 #---------------------------------------------------------------------------
@@ -163,6 +139,7 @@ MAN_LINKS              = NO
 # configuration options related to the XML output
 #---------------------------------------------------------------------------
 GENERATE_XML           = NO
+XML_OUTPUT             = xml
 XML_SCHEMA             = 
 XML_DTD                = 
 #---------------------------------------------------------------------------
@@ -204,15 +181,18 @@ HIDE_UNDOC_RELATIONS   = YES
 HAVE_DOT               = YES
 CLASS_GRAPH            = YES
 COLLABORATION_GRAPH    = YES
+UML_LOOK               = YES
 TEMPLATE_RELATIONS     = YES
 INCLUDE_GRAPH          = YES
 INCLUDED_BY_GRAPH      = YES
+CALL_GRAPH             = YES
 GRAPHICAL_HIERARCHY    = YES
 DOT_IMAGE_FORMAT       = png
 DOT_PATH               = 
 DOTFILE_DIRS           = 
 MAX_DOT_GRAPH_WIDTH    = 1024
 MAX_DOT_GRAPH_HEIGHT   = 1024
+MAX_DOT_GRAPH_DEPTH    = 0
 GENERATE_LEGEND        = YES
 DOT_CLEANUP            = YES
 #---------------------------------------------------------------------------
index 4bfa3e552d30b0eee7c5afbd6061ec140b0e616b..e0c6cd443572646fae8e9ff38f614abf8222007d 100644 (file)
@@ -28,7 +28,7 @@
 VERSION=0.11
 MODULE_FILE=BIFE.php
 MODULE_NAME=Core
-PHP_FILES=$(filter-out $(MODULE_FILE),$(subst ./,,$(shell find -name '*.php')))
+PHP_FILES=$(filter-out $(MODULE_FILE),$(subst ./,,$(shell find src -name '*.php')))
 EXAMPLE_FILES=$(subst ./,,$(shell find examples -regex '.*\.svn.*'))
 DOC_FILES=README ROADMAP
 X2C_TEMPLATE=xmi2code.tpl.php
@@ -40,7 +40,7 @@ code: bife.xmi xmi2code.config
        @xmi2code
 
 code-clean:
-       @find -name '*.bak' | xargs rm -vf
+       @find src -name '*.bak' | xargs rm -vf
 
 $(MODULE_FILE): code $(PHP_FILES) $(X2C_TEMPLATE)
        @( \
index c38ac9c098d524c35dd3903f19b0bb0e13ff0098..fc2b1992c4553c6488331e58c4d2e31d48544393 100644 (file)
 // $Id$
 //
 
-$tmp = ini_get('include_path');
-ini_set('include_path', "..:$tmp");
-unset($tmp);
+ini_set('include_path', '../src:'.ini_get('include_path'));
 umask('002');
 
-require_once 'HTML/Template/HIT.php';
-require_once 'BIFE/Parser.php';
-require_once 'BIFE/Translate.php';
-
-$file = isset($_REQUEST['BIFE']) ? $_REQUEST['BIFE'] : 'index.xbf';
-#$file = isset($_SERVER['PATH_INFO']) ? ".{$_SERVER['PATH_INFO']}" : 'index.xbf';
-
-$template =& new HTML_Template_HIT('templates');
-
-$parser =& new BIFE_Parser('BIFE_Translate');
-$page =& $parser->parseFile($file);
-$parser->__destruct();
-echo $page->render($template);
-
 ?>
+
+BIFE is an abstract framework, to see a simple implementation download
+<A href="http://bife.llucax.hn.org/">BIFE_Base package</A>.
diff --git a/bife/examples/index.xbf b/bife/examples/index.xbf
deleted file mode 100644 (file)
index df29c36..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<Page title="Hello world!">
-    <Title>BIFE is working!</Title>
-    <H3>Translate Fallback is working too!</H3>
-    <P>This is a very bad use for BIFE, because I'm writing HTML :-P</P>
-    <Title>A little of 'real' use</Title>
-    <P>Here's a <Link bife="link.xbf">link</Link> to another BIFE file</P>
-    <HR color="blue" size="30"/>
-</Page>
diff --git a/bife/examples/link.xbf b/bife/examples/link.xbf
deleted file mode 100644 (file)
index 1eaa4a9..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<Page title="Hi again!">
-    <Title>BIFE Links are working too!</Title>
-    <P>Go <Link bife="index.xbf">back</Link>.</P>
-</Page>
diff --git a/bife/examples/templates/bife_link.tpl.html b/bife/examples/templates/bife_link.tpl.html
deleted file mode 100644 (file)
index 873ba85..0000000
+++ /dev/null
@@ -1 +0,0 @@
-<A href="{URL}" title="{DESC}">{CONTENTS}</A>
diff --git a/bife/examples/templates/bife_page.tpl.html b/bife/examples/templates/bife_page.tpl.html
deleted file mode 100644 (file)
index ea824f4..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-<HTML>
-    <HEAD>
-        <TITLE>{TITLE}</TITLE>
-    </HEAD>
-    <BODY>
-        <H1>{TITLE}</H1>
-        {CONTENTS}
-    </BODY>
-</HTML>
diff --git a/bife/examples/templates/bife_title.tpl.html b/bife/examples/templates/bife_title.tpl.html
deleted file mode 100644 (file)
index 3590da3..0000000
+++ /dev/null
@@ -1 +0,0 @@
-<H2>{CONTENTS}</H2>
index 1f9f3e5562fd8b58e36d6dc1845c1a136099e9fa..48cd2b65fe82a754559e91b03ecd2ffdeca7def2 100644 (file)
@@ -19,32 +19,28 @@ in mind. One of the main goals of BIFE is to be fast.
     </maintainers>
 
     <release>
-        <version>0.11</version>
+        <version>1.0.0beta1</version>
         <date>2003-06-29</date>
-        <state>alpha</state>
-        <notes>Check http://www.llucax.hn.org/desarrollo/bife/ for details.</notes>
+        <state>beta</state>
+        <notes>Check http://bife.llucax.hn.org/ for details.</notes>
         <provides type="class" name="BIFE_Parser"/>
         <provides type="class" name="BIFE_Widget"/>
         <provides type="class" name="BIFE_Container"/>
         <provides type="class" name="BIFE_Fallback"/>
-        <provides type="class" name="BIFE_Link"/>
-        <provides type="class" name="BIFE_Translate"/>
         <filelist>
             <!-- PHP -->
-            <file role="php">BIFE/Parser.php</file>
-            <file role="php">BIFE/Widget.php</file>
-            <file role="php">BIFE/Container.php</file>
-            <file role="php">BIFE/Fallback.php</file>
-            <file role="php">BIFE/Link.php</file>
-            <file role="php">BIFE/Translate.php</file>
+            <dir name="/" baseinstalldir="BIFE" role="php">
+                <file install-as="Parser.php">src/BIFE/Parser.php</file>
+                <file install-as="Widget.php">src/BIFE/Widget.php</file>
+                <file install-as="Container.php">src/BIFE/Container.php</file>
+                <file install-as="Fallback.php">src/BIFE/Fallback.php</file>
+            </dir>
             <!-- DOC -->
-            <file role="doc">README</file>
-            <file role="doc">ROADMAP</file>
-            <file role="doc">examples/index.php</file>
-            <file role="doc">examples/index.xbf</file>
-            <file role="doc">examples/templates/bife_page.tpl.html</file>
-            <file role="doc">examples/templates/bife_title.tpl.html</file>
-            <file role="doc">examples/templates/bife_link.tpl.html</file>
+            <dir name="/" role="doc">
+                <file>README</file>
+                <file>ROADMAP</file>
+                <file>examples/index.php</file>
+            </dir>
         </filelist>
     </release>
     <deps>
similarity index 100%
rename from bife/BIFE/Link.php
rename to bife/src/BIFE/Link.php
index 4e1a6cdbff639a54b57891708b586843fe0d8530..759b15580ce60aa2ecfeb01cf64a2684d0727903 100644 (file)
@@ -34,7 +34,7 @@
   <option key="config-file" value="xmi2code.config"/>
   <option key="config-file-set" value="false"/>
   <option key="handler" value="umbrello"/>
-  <option key="generator-path" value="."/>
+  <option key="generator-path" value="src"/>
   <option key="use-package-as-dir" value="true"/>
   <option key="indent" value="    "/>
   <option key="files-case" value="preserve"/>
index a7a8149001e376deb9e7a20def4821e05299b983..8f45f559563f1bd911e0a159446d9d686ee79d45 100644 (file)
@@ -1,31 +1,5 @@
-# vim: set expandtab tabstop=4 softtabstop=4 shiftwidth=4:
-# +--------------------------------------------------------------------+
-# |                       BIFE - Buil It FastEr                        |
-# +--------------------------------------------------------------------+
-# | This file is part of BIFE.                                         |
-# |                                                                    |
-# | BIFE is free software; you can redistribute it and/or modify it    |
-# | under the terms of the GNU General Public License as published by  |
-# | the Free Software Foundation; either version 2 of the License, or  |
-# | (at your option) any later version.                                |
-# |                                                                    |
-# | BIFE is distributed in the hope that it will be useful, but        |
-# | WITHOUT ANY WARRANTY; without even the implied warranty of         |
-# | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU   |
-# | General Public License for more details.                           |
-# |                                                                    |
-# | You should have received a copy of the GNU General Public License  |
-# | along with Hooks; if not, write to the Free Software Foundation,   |
-# | Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA      |
-# +--------------------------------------------------------------------+
-# | Created: Mon May 19 00:16:56 ART 2003                              |
-# | Authors: Leandro Lucarella <luca@lugmen.org.ar>                    |
-# +--------------------------------------------------------------------+
-#
-# $Id$
-#
+# Doxyfile 1.3.2
 
-# Doxyfile 1.3-rc3
 #---------------------------------------------------------------------------
 # General configuration options
 #---------------------------------------------------------------------------
@@ -33,6 +7,7 @@ PROJECT_NAME           = "HIT - Hook vs IT Template Engine"
 PROJECT_NUMBER         = 1.0.0beta
 OUTPUT_DIRECTORY       = api
 OUTPUT_LANGUAGE        = English
+USE_WINDOWS_ENCODING   = NO
 EXTRACT_ALL            = YES
 EXTRACT_PRIVATE        = YES
 EXTRACT_STATIC         = YES
@@ -51,7 +26,6 @@ INTERNAL_DOCS          = YES
 CASE_SENSE_NAMES       = YES
 SHORT_NAMES            = NO
 HIDE_SCOPE_NAMES       = NO
-VERBATIM_HEADERS       = YES
 SHOW_INCLUDE_FILES     = YES
 JAVADOC_AUTOBRIEF      = YES
 MULTILINE_CPP_IS_BRIEF = NO
@@ -60,7 +34,7 @@ INHERIT_DOCS           = YES
 INLINE_INFO            = YES
 SORT_MEMBER_DOCS       = YES
 DISTRIBUTE_GROUP_DOC   = NO
-TAB_SIZE               = 8
+TAB_SIZE               = 4
 GENERATE_TODOLIST      = YES
 GENERATE_TESTLIST      = YES
 GENERATE_BUGLIST       = YES
@@ -83,7 +57,7 @@ WARN_LOGFILE           = doxygen.warn
 #---------------------------------------------------------------------------
 # configuration options related to the input files
 #---------------------------------------------------------------------------
-INPUT                  = 
+INPUT                  = src
 FILE_PATTERNS          = *.php
 RECURSIVE              = YES
 EXCLUDE                = 
@@ -103,6 +77,7 @@ INLINE_SOURCES         = NO
 STRIP_CODE_COMMENTS    = YES
 REFERENCED_BY_RELATION = YES
 REFERENCES_RELATION    = YES
+VERBATIM_HEADERS       = YES
 #---------------------------------------------------------------------------
 # configuration options related to the alphabetical class index
 #---------------------------------------------------------------------------
@@ -143,6 +118,7 @@ LATEX_HEADER           =
 PDF_HYPERLINKS         = YES
 USE_PDFLATEX           = NO
 LATEX_BATCHMODE        = NO
+LATEX_HIDE_INDICES     = NO
 #---------------------------------------------------------------------------
 # configuration options related to the RTF output
 #---------------------------------------------------------------------------
@@ -163,6 +139,7 @@ MAN_LINKS              = NO
 # configuration options related to the XML output
 #---------------------------------------------------------------------------
 GENERATE_XML           = NO
+XML_OUTPUT             = xml
 XML_SCHEMA             = 
 XML_DTD                = 
 #---------------------------------------------------------------------------
@@ -204,15 +181,18 @@ HIDE_UNDOC_RELATIONS   = YES
 HAVE_DOT               = YES
 CLASS_GRAPH            = YES
 COLLABORATION_GRAPH    = YES
+UML_LOOK               = YES
 TEMPLATE_RELATIONS     = YES
 INCLUDE_GRAPH          = YES
 INCLUDED_BY_GRAPH      = YES
+CALL_GRAPH             = YES
 GRAPHICAL_HIERARCHY    = YES
 DOT_IMAGE_FORMAT       = png
 DOT_PATH               = 
 DOTFILE_DIRS           = 
 MAX_DOT_GRAPH_WIDTH    = 1024
 MAX_DOT_GRAPH_HEIGHT   = 1024
+MAX_DOT_GRAPH_DEPTH    = 0
 GENERATE_LEGEND        = YES
 DOT_CLEANUP            = YES
 #---------------------------------------------------------------------------
index 16d4cab3dcbd649e97f9a92076417a4d6c7ca4a1..5403ca565ec5c0c6741cf8fc184cb4a07a21d90b 100644 (file)
@@ -27,7 +27,7 @@
 
 MODULE=hit
 
-PHP_FILES=HTML/Template/HIT.php
+PHP_FILES=$(subst ./,,$(shell find src -name '*.php'))
 EXAMPLE_FILES=$(subst ./,,$(shell find examples -regex '.*\.svn.*'))
 DOC_FILES=
 
@@ -38,4 +38,4 @@ code: $(MODULE).xmi xmi2code.config
        @xmi2code
 
 code-clean:
-       @find -name '*.bak' | xargs rm -vf
+       @find src -name '*.bak' | xargs rm -vf
similarity index 96%
rename from hit/examples/hit.php
rename to hit/examples/index.php
index 9040f3b5430f6a41be18bebd686171faeb215d51..0e6aa250e4b92147e3194db3b11c455732b72502 100644 (file)
@@ -28,9 +28,7 @@
 
 // This is a simple test and example of HTML_Template_HIT
 
-$tmp = ini_get('include_path');
-ini_set('include_path', "..:$tmp");
-unset($tmp);
+ini_set('include_path', '../src:'.ini_get('include_path'));
 umask('002');
 
 require_once 'HTML/Template/HIT.php';
index d7f18ed8a19c724e6dbb2900a1691d5683e151ab..3663690a99d582cbeef163a9f6cc969fb307aabb 100644 (file)
@@ -25,12 +25,16 @@ like IT so every chunk must be in a separated file if you want to iterate it.
         <provides type="class" name="HTML_Template_HIT"/>
         <filelist>
             <!-- PHP -->
-            <file role="php">HTML/Template/HIT.php</file>
+            <file role="php" install-as="HTML/Template/HIT.php">src/HTML/Template/HIT.php</file>
             <!-- DOC -->
-            <file role="doc">examples/hit.php</file>
-            <file role="doc">examples/hooks/body.tpl.html</file>
-            <file role="doc">examples/hooks/cell.tpl.html</file>
-            <file role="doc">examples/hooks/row.tpl.html</file>
+            <dir name="examples" role="doc">
+                <file>index.php</file>
+                <dir name="hooks">
+                    <file>body.tpl.html</file>
+                    <file>cell.tpl.html</file>
+                    <file>row.tpl.html</file>
+                </dir>
+            </dir>
         </filelist>
     </release>
     <deps>
index 99e1ed68ef7f181c38db37e7db4e8a7ff24128c6..cb4908efb8322f16f55b6c1de5527e235b050619 100644 (file)
@@ -34,7 +34,7 @@
   <option key="config-file" value="xmi2code.config"/>
   <option key="config-file-set" value="false"/>
   <option key="handler" value="umbrello"/>
-  <option key="generator-path" value="."/>
+  <option key="generator-path" value="src"/>
   <option key="use-package-as-dir" value="true"/>
   <option key="indent" value="    "/>
   <option key="files-case" value="preserve"/>
index 850e96341b71ee7b2ae3858d6ffdb7893c300990..fbf4b68f92a762ed7cb70f640aad6e98f007c9d2 100644 (file)
@@ -1,31 +1,5 @@
-# vim: set expandtab tabstop=4 softtabstop=4 shiftwidth=4:
-# +--------------------------------------------------------------------+
-# |                       BIFE - Buil It FastEr                        |
-# +--------------------------------------------------------------------+
-# | This file is part of BIFE.                                         |
-# |                                                                    |
-# | BIFE is free software; you can redistribute it and/or modify it    |
-# | under the terms of the GNU General Public License as published by  |
-# | the Free Software Foundation; either version 2 of the License, or  |
-# | (at your option) any later version.                                |
-# |                                                                    |
-# | BIFE is distributed in the hope that it will be useful, but        |
-# | WITHOUT ANY WARRANTY; without even the implied warranty of         |
-# | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU   |
-# | General Public License for more details.                           |
-# |                                                                    |
-# | You should have received a copy of the GNU General Public License  |
-# | along with Hooks; if not, write to the Free Software Foundation,   |
-# | Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA      |
-# +--------------------------------------------------------------------+
-# | Created: Mon May 19 00:16:56 ART 2003                              |
-# | Authors: Leandro Lucarella <luca@lugmen.org.ar>                    |
-# +--------------------------------------------------------------------+
-#
-# $Id$
-#
+# Doxyfile 1.3.2
 
-# Doxyfile 1.3-rc3
 #---------------------------------------------------------------------------
 # General configuration options
 #---------------------------------------------------------------------------
@@ -33,6 +7,7 @@ PROJECT_NAME           = "BIFE Menu"
 PROJECT_NUMBER         = 0.1
 OUTPUT_DIRECTORY       = api
 OUTPUT_LANGUAGE        = English
+USE_WINDOWS_ENCODING   = NO
 EXTRACT_ALL            = YES
 EXTRACT_PRIVATE        = YES
 EXTRACT_STATIC         = YES
@@ -51,7 +26,6 @@ INTERNAL_DOCS          = YES
 CASE_SENSE_NAMES       = YES
 SHORT_NAMES            = NO
 HIDE_SCOPE_NAMES       = NO
-VERBATIM_HEADERS       = YES
 SHOW_INCLUDE_FILES     = YES
 JAVADOC_AUTOBRIEF      = YES
 MULTILINE_CPP_IS_BRIEF = NO
@@ -60,7 +34,7 @@ INHERIT_DOCS           = YES
 INLINE_INFO            = YES
 SORT_MEMBER_DOCS       = YES
 DISTRIBUTE_GROUP_DOC   = NO
-TAB_SIZE               = 8
+TAB_SIZE               = 4
 GENERATE_TODOLIST      = YES
 GENERATE_TESTLIST      = YES
 GENERATE_BUGLIST       = YES
@@ -83,7 +57,7 @@ WARN_LOGFILE           = doxygen.warn
 #---------------------------------------------------------------------------
 # configuration options related to the input files
 #---------------------------------------------------------------------------
-INPUT                  = 
+INPUT                  = src
 FILE_PATTERNS          = *.php
 RECURSIVE              = YES
 EXCLUDE                = 
@@ -103,6 +77,7 @@ INLINE_SOURCES         = NO
 STRIP_CODE_COMMENTS    = YES
 REFERENCED_BY_RELATION = YES
 REFERENCES_RELATION    = YES
+VERBATIM_HEADERS       = YES
 #---------------------------------------------------------------------------
 # configuration options related to the alphabetical class index
 #---------------------------------------------------------------------------
@@ -143,6 +118,7 @@ LATEX_HEADER           =
 PDF_HYPERLINKS         = YES
 USE_PDFLATEX           = NO
 LATEX_BATCHMODE        = NO
+LATEX_HIDE_INDICES     = NO
 #---------------------------------------------------------------------------
 # configuration options related to the RTF output
 #---------------------------------------------------------------------------
@@ -163,6 +139,7 @@ MAN_LINKS              = NO
 # configuration options related to the XML output
 #---------------------------------------------------------------------------
 GENERATE_XML           = NO
+XML_OUTPUT             = xml
 XML_SCHEMA             = 
 XML_DTD                = 
 #---------------------------------------------------------------------------
@@ -204,15 +181,18 @@ HIDE_UNDOC_RELATIONS   = YES
 HAVE_DOT               = YES
 CLASS_GRAPH            = YES
 COLLABORATION_GRAPH    = YES
+UML_LOOK               = YES
 TEMPLATE_RELATIONS     = YES
 INCLUDE_GRAPH          = YES
 INCLUDED_BY_GRAPH      = YES
+CALL_GRAPH             = YES
 GRAPHICAL_HIERARCHY    = YES
 DOT_IMAGE_FORMAT       = png
 DOT_PATH               = 
 DOTFILE_DIRS           = 
 MAX_DOT_GRAPH_WIDTH    = 1024
 MAX_DOT_GRAPH_HEIGHT   = 1024
+MAX_DOT_GRAPH_DEPTH    = 0
 GENERATE_LEGEND        = YES
 DOT_CLEANUP            = YES
 #---------------------------------------------------------------------------
index 81a61545425520cf63cdb2523fa6c5b87149526d..367b0ac4894b5ae056362797b8aa89c5cdc6b497 100644 (file)
@@ -27,7 +27,7 @@
 
 MODULE=menu
 
-PHP_FILES=$(subst ./,,$(shell find BIFE -name '*.php'))
+PHP_FILES=$(subst ./,,$(shell find src -name '*.php'))
 EXAMPLE_FILES=$(subst ./,,$(shell find examples -regex '.*\.svn.*'))
 DOC_FILES=
 
@@ -38,4 +38,4 @@ code: $(MODULE).xmi xmi2code.config
        @xmi2code
 
 code-clean:
-       @find -name '*.bak' | xargs rm -vf
+       @find src -name '*.bak' | xargs rm -vf
index 42a7dd6032d98ee3d16fa598a8e394c25073ce99..8047b950b61ef945759841ac3d737265db3b6197 100644 (file)
         <version>0.1</version>
         <date>2003-06-29</date>
         <state>alpha</state>
-        <notes>Check http://www.llucax.hn.org/desarrollo/bife/ for details.</notes>
+        <notes>Check http://bife.llucax.hn.org/ for details.</notes>
         <provides type="class" name="BIFE_Menu_Menu"/>
         <filelist>
             <!-- PHP -->
-            <file role="php">BIFE/Menu/Menu.php</file>
+            <dir name="/" baseinstalldir="BIFE/Menu" role="php">
+                <file install-as="Menu.php">src/BIFE/Menu/Menu.php</file>
+            </dir>
             <!-- DOC -->
             <!-- file role="doc">README</file -->
         </filelist>
     </release>
     <deps>
         <dep type="php" rel="ge">4.2.3</dep>
-        <dep type="pkg" rel="ge" version="1.0.0beta">HTML_Template_HIT</dep>
-        <dep type="pkg" rel="ge" version="0.11">BIFE</dep>
+        <dep type="pkg" rel="ge" version="1.0.0beta1">HTML_Template_HIT</dep>
+        <dep type="pkg" rel="ge" version="1.0.0beta1">BIFE</dep>
+        <dep type="pkg" rel="ge" version="1.0.0beta1">BIFE_Basic</dep>
     </deps>
 </package>
index 8278801038deba67c073fc7d856aa5171dc1e5da..86332561bc292d31f07f54affb1ca99051ab636f 100644 (file)
@@ -34,7 +34,7 @@
   <option key="config-file" value="xmi2code.config"/>
   <option key="config-file-set" value="false"/>
   <option key="handler" value="umbrello"/>
-  <option key="generator-path" value="."/>
+  <option key="generator-path" value="src"/>
   <option key="use-package-as-dir" value="true"/>
   <option key="indent" value="    "/>
   <option key="files-case" value="preserve"/>