From 9cc6b7fffd31f4b9ee9aceef9224c84dcf28aeb8 Mon Sep 17 00:00:00 2001
From: xue <>
Date: Tue, 4 Jul 2006 23:25:41 +0000
Subject: Merge from 3.0 branch till 1239.
---
HISTORY | 7 +
UPGRADE | 3 +
build.xml | 2 +
buildscripts/phing/bin/phing.php | 4 +
buildscripts/texbuilder/quickstart.tex | 6 +-
.../quickstart/protected/pages/Controls/Pager.page | 2 +-
framework/Collections/TList.php | 4 +-
framework/Collections/TMap.php | 4 +-
framework/Exceptions/messages.txt | 2 +
framework/Web/THttpResponse.php | 2 +-
framework/Web/UI/WebControls/TClientScript.php | 154 +++++++++++++++++++--
framework/Web/UI/WebControls/TDataGrid.php | 32 +++--
framework/Web/UI/WebControls/TFileUpload.php | 2 +-
framework/Web/UI/WebControls/TStyleSheet.php | 78 +++++++++++
framework/Web/UI/WebControls/TTable.php | 2 +-
index.html | 2 +-
.../features/protected/pages/ClientScripTest.page | 30 ++++
.../features/protected/pages/test.js | 4 +
18 files changed, 306 insertions(+), 34 deletions(-)
create mode 100644 framework/Web/UI/WebControls/TStyleSheet.php
create mode 100644 tests/FunctionalTests/features/protected/pages/ClientScripTest.page
create mode 100644 tests/FunctionalTests/features/protected/pages/test.js
diff --git a/HISTORY b/HISTORY
index d47ddf2e..f23dc280 100644
--- a/HISTORY
+++ b/HISTORY
@@ -10,6 +10,13 @@ NEW: TSessionPageStatePersister (Qiang)
NEW: SQLMap (Wei)
NEW: TFeedService, TRssFeedDocument (Knut, Qiang)
+Version 3.0.3 August 6, 2006
+============================
+BUG: Ticket#264 - Typos in some exception throw statements (Knut)
+BUG: Ticket#268 - THttpResponse.redirect() may fail for some browsers (Qiang)
+BUG: TDataGrid may complain getting ItemType on a non-object if the grid is not data-bound (Qiang)
+NEW: Added TStyleSheet (Wei)
+
Version 3.0.2 July 2, 2006
==========================
BUG: Ticket#182 - List and validator controls cause problem in child classes (Qiang)
diff --git a/UPGRADE b/UPGRADE
index 4640c9ca..61a84977 100644
--- a/UPGRADE
+++ b/UPGRADE
@@ -14,6 +14,9 @@ version B between A and C, you need to following the instructions
for both A and B.
+Upgrading from v3.0.2
+---------------------
+
Upgrading from v3.0.1
---------------------
- Postback enabled control will always disable default client-side browser action.
diff --git a/build.xml b/build.xml
index ad468d0a..5e995d97 100644
--- a/build.xml
+++ b/build.xml
@@ -42,6 +42,8 @@
+
+
diff --git a/buildscripts/phing/bin/phing.php b/buildscripts/phing/bin/phing.php
index 880adf41..7d0a774a 100644
--- a/buildscripts/phing/bin/phing.php
+++ b/buildscripts/phing/bin/phing.php
@@ -13,6 +13,7 @@
ini_set('track_errors', 1);
/* set classpath */
+/*
if (getenv('PHP_CLASSPATH')) {
// define('PHP_CLASSPATH', getenv('PHP_CLASSPATH') . PATH_SEPARATOR . get_include_path());
define('PHP_CLASSPATH', realpath(dirname(__FILE__).'/../classes') . PATH_SEPARATOR . get_include_path());
@@ -20,6 +21,9 @@ if (getenv('PHP_CLASSPATH')) {
} else {
define('PHP_CLASSPATH', get_include_path());
}
+*/
+define('PHP_CLASSPATH', realpath(dirname(__FILE__).'/../classes') . PATH_SEPARATOR . get_include_path());
+ini_set('include_path', PHP_CLASSPATH);
require_once 'phing/Phing.php';
diff --git a/buildscripts/texbuilder/quickstart.tex b/buildscripts/texbuilder/quickstart.tex
index 35ba86a5..a0553658 100644
--- a/buildscripts/texbuilder/quickstart.tex
+++ b/buildscripts/texbuilder/quickstart.tex
@@ -42,7 +42,7 @@
%----------------- TITLE --------------
-\title{\Huge \bfseries PRADO v3.0.2 Quickstart Tutorial
+\title{\Huge \bfseries PRADO v3.0.3 Quickstart Tutorial
\thanks{Copyright 2005-2006. All Rights Reserved.}
}
\author{Qiang Xue and Wei Zhuo}
@@ -68,7 +68,7 @@ Prado quick start doc
\chapter*{License}
\addcontentsline{toc}{chapter}{License}
PRADO is free software released under the terms of the following BSD license.\\
-Copyright 2004-2006, PradoSoft (http://www.pradosoft.com)\\
+Copyright 2004-2006, The PRADO Group (http://www.pradosoft.com)\\
All rights reserved.
Redistribution and use in source and binary forms, with or without
@@ -81,7 +81,7 @@ this list of conditions and the following disclaimer.
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
-\item Neither the name of the developer nor the names of its contributors may
+\item Neither the name of the PRADO Group nor the names of its contributors may
be used to endorse or promote products derived from this software without
specific prior written permission.
\end{enumerate}
diff --git a/demos/quickstart/protected/pages/Controls/Pager.page b/demos/quickstart/protected/pages/Controls/Pager.page
index 3c74d0de..821eab71 100644
--- a/demos/quickstart/protected/pages/Controls/Pager.page
+++ b/demos/quickstart/protected/pages/Controls/Pager.page
@@ -1,6 +1,6 @@
-