← Back to team overview

anewt-developers team mailing list archive

[Branch ~uws/anewt/anewt.uws] Rev 1696: [core, datetime] Merge datetime module into core

 

------------------------------------------------------------
revno: 1696
committer: Wouter Bolsterlee <uws@xxxxxxxxx>
branch nick: anewt.uws
timestamp: Mon 2009-07-20 22:39:48 +0200
message:
  [core, datetime] Merge datetime module into core
  
  Updated all other code to never include the datetime module
  directly anymore, since it is gone and its functionality
  will be available by default.
removed:
  datetime/
  datetime/main.lib.php
renamed:
  datetime/datetime.lib.php => core/datetime.lib.php
  datetime/datetime.test.php => core/datetime.test.php
modified:
  calendar/ical.lib.php
  core/main.lib.php
  database.old/mysql/resultset.lib.php
  database.old/postgresql/resultset.lib.php
  database.old/sqltemplate.lib.php
  database/sql-template.lib.php
  logging/loghandlers.lib.php
  page/page.lib.php
  rss/rss.lib.php
  validator/date.lib.php
  core/datetime.test.php

=== modified file 'calendar/ical.lib.php'
--- calendar/ical.lib.php	2008-10-25 22:03:26 +0000
+++ calendar/ical.lib.php	2009-07-20 20:39:48 +0000
@@ -23,8 +23,6 @@
  */
 
 
-anewt_include('datetime');
-
 /*
  * Content types not (yet) supported (not really needed for the basic
  * functionality):

=== renamed file 'datetime/datetime.lib.php' => 'core/datetime.lib.php'
=== renamed file 'datetime/datetime.test.php' => 'core/datetime.test.php'
--- datetime/datetime.test.php	2008-12-09 14:53:02 +0000
+++ core/datetime.test.php	2009-07-20 20:39:48 +0000
@@ -2,7 +2,6 @@
 
 error_reporting(E_ALL | E_STRICT);
 require_once '../anewt.lib.php';
-anewt_include('datetime');
 
 
 /* TODO: rewrite using assertions. Split into 2 parts:

=== modified file 'core/main.lib.php'
--- core/main.lib.php	2009-03-26 19:11:28 +0000
+++ core/main.lib.php	2009-07-20 20:39:48 +0000
@@ -12,6 +12,7 @@
 anewt_include('core/constants');
 anewt_include('core/string');
 anewt_include('core/array');
+anewt_include('core/datetime');
 anewt_include('core/noquotes');
 anewt_include('core/container');
 anewt_include('core/redirect');

=== modified file 'database.old/mysql/resultset.lib.php'
--- database.old/mysql/resultset.lib.php	2009-02-16 15:37:57 +0000
+++ database.old/mysql/resultset.lib.php	2009-07-20 20:39:48 +0000
@@ -8,9 +8,6 @@
  */
 
 
-anewt_include('datetime');
-
-
 /**
  * MySQL-specific database result set.
  */

=== modified file 'database.old/postgresql/resultset.lib.php'
--- database.old/postgresql/resultset.lib.php	2009-02-16 15:37:57 +0000
+++ database.old/postgresql/resultset.lib.php	2009-07-20 20:39:48 +0000
@@ -21,9 +21,6 @@
  */
 
 
-anewt_include('datetime');
-
-
 /**
  * PostgreSQL-specific database result set.
  */

=== modified file 'database.old/sqltemplate.lib.php'
--- database.old/sqltemplate.lib.php	2009-03-27 15:48:32 +0000
+++ database.old/sqltemplate.lib.php	2009-07-20 20:39:48 +0000
@@ -22,8 +22,6 @@
  */
 
 
-anewt_include('datetime');
-
 
 /* Query types */
 mkenum(

=== modified file 'database/sql-template.lib.php'
--- database/sql-template.lib.php	2009-07-18 12:21:57 +0000
+++ database/sql-template.lib.php	2009-07-20 20:39:48 +0000
@@ -8,9 +8,6 @@
  */
 
 
-anewt_include('datetime');
-
-
 /**
  * SQL template class with mandatory type checking.
  *

=== removed directory 'datetime'
=== removed file 'datetime/main.lib.php'
--- datetime/main.lib.php	2008-10-24 19:59:34 +0000
+++ datetime/main.lib.php	1970-01-01 00:00:00 +0000
@@ -1,13 +0,0 @@
-<?php
-
-/*
- * Anewt, Almost No Effort Web Toolkit, datetime module
- *
- * This code is copyrighted and distributed under the terms of the GNU LGPL.
- * See the README file for more information.
- */
-
-
-anewt_include('datetime/datetime');
-
-?>

=== modified file 'logging/loghandlers.lib.php'
--- logging/loghandlers.lib.php	2008-10-24 19:50:51 +0000
+++ logging/loghandlers.lib.php	2009-07-20 20:39:48 +0000
@@ -8,9 +8,6 @@
  */
 
 
-anewt_include('datetime');
-
-
 /**
  * Base class for log handlers. This class should be subclassed to be useful.
  * Sample implementations are included.

=== modified file 'page/page.lib.php'
--- page/page.lib.php	2009-07-19 19:44:45 +0000
+++ page/page.lib.php	2009-07-20 20:39:48 +0000
@@ -8,7 +8,6 @@
  */
 
 
-anewt_include('datetime');
 anewt_include('xhtml');
 
 

=== modified file 'rss/rss.lib.php'
--- rss/rss.lib.php	2009-04-12 22:31:48 +0000
+++ rss/rss.lib.php	2009-07-20 20:39:48 +0000
@@ -8,7 +8,6 @@
  */
 
 
-anewt_include('datetime');
 anewt_include('xml/dom');
 
 

=== modified file 'validator/date.lib.php'
--- validator/date.lib.php	2008-10-26 16:01:57 +0000
+++ validator/date.lib.php	2009-07-20 20:39:48 +0000
@@ -7,8 +7,6 @@
  * See the README file for more information.
  */
 
-anewt_include('datetime');
-
 
 /**
  * Validator for dates.



--
lp:anewt
https://code.launchpad.net/~uws/anewt/anewt.uws

Your team Anewt developers is subscribed to branch lp:anewt.
To unsubscribe from this branch go to https://code.launchpad.net/~uws/anewt/anewt.uws/+edit-subscription.