hns
78d647f521
Implement HopObject.persist() to store HopObjects to db without adding them to any collections.
2005-03-08 11:46:15 +00:00
hns
bee76afeb7
Fix bug where collections are reloaded on change of private properties.
2005-03-08 11:33:09 +00:00
hns
46fc141e97
Fix bug in getZipEntryContent() where entries aren't fully read if not immediately available.
2005-03-07 17:15:20 +00:00
hns
d66c3965d4
Use helma.[appname].sql.log as SQL log file by default,
...
configurable by sqlLog entry in app.properties.
2005-03-07 15:10:44 +00:00
hns
156ad8f721
Michael Platzer's SQL Logging patch, with millisecond timeing and a few stylistic changes.
2005-03-07 13:42:57 +00:00
hns
183e222f67
Reset some fields that were previously left out in reset().
2005-03-01 12:50:30 +00:00
hns
21d0cffb54
Check for empty tag stack, fixing bug 414
...
http://helma.org/bugs/show_bug.cgi?id=414
2005-03-01 12:15:51 +00:00
hns
05753dc7e5
Implement per-HTTP method action names, e.g. main_action_post.
...
The methods that were handled by Helma traditionally (GET, POST, HEAD) are still
mapped to actions without method name in case no per-method action is defined.
2005-03-01 11:43:14 +00:00
hns
4d0d1b33bb
* Fix bug where 0 is assumed as id of the root object in getParent()
...
* Fix bug where child node is set to anonymous after calling addNode()
2005-02-26 08:57:43 +00:00
hns
700f2b41ea
Remove global getById() in favor of Constructor.getById() which now takes
...
an optional second prototype argument.
2005-02-15 14:27:54 +00:00
hns
91136fed4c
Implement static HopObject.getById() function as described in this thread:
...
http://grazia.helma.org/pipermail/helma-user/2005-February/002777.html
2005-02-11 16:58:24 +00:00
hns
0c3997ccc3
Use package name as log name in getInstance(Class)
2005-02-10 22:59:38 +00:00
hns
7aa8a8ac87
Added global getById() function which allows to retrieve any persistent HopObject
...
by type name and id.
2005-02-10 16:07:17 +00:00
hns
c93316078c
* Make sure we use the absolute path in getInstallDir()
...
* Fixing indentation in getInstallDir()
* Print stack trace on bootstrap error
2005-02-03 17:56:58 +00:00
hns
3933fbf91b
Don't write out response body for HEAD requests.
2005-01-31 17:05:14 +00:00
hns
44dedeb839
Fixed date format in getStringValue()
2005-01-31 15:45:00 +00:00
hns
4f7de157b1
Catch AbortException to abort the transaction but not generate an
...
error message, leaving the response untouched.
2005-01-31 15:34:21 +00:00
hns
8014a390cb
Committing Robert's patch for bug 394.
...
http://helma.org/bugs/show_bug.cgi?id=394
2005-01-28 15:07:00 +00:00
hns
4f074f329a
Skip response closing and writing if the response was already written
...
and committed by the application.
2005-01-28 13:52:44 +00:00
hns
0143f7a9dc
Add support for res.getServletResponse() and res.servletResponse
2005-01-28 13:16:56 +00:00
hns
9778df82eb
Add getServletRequest()
2005-01-27 14:13:48 +00:00
hns
51d814d56f
Try to generate a minimal HTML page in sendError()
2005-01-27 12:10:39 +00:00
hns
479a70509d
More shifting and shoving and cleaning up in RequestEvaluator.
2005-01-26 15:43:56 +00:00
hns
1c635f8b5c
Add writeErrorReport() method for plain vanilla error pages.
2005-01-26 15:19:36 +00:00
hns
755a0f5606
Always convert java.util.Dates to JavaScript Date objects in Wrap Factory.
2005-01-26 13:28:36 +00:00
hns
7e45ee5fbf
substitute /HopMacro/Macro/ in messages.
2005-01-25 17:04:47 +00:00
hns
771c13d82d
* Implement macro comments as <% // ..... %>
...
* Display an error message for unhandled global macros
2005-01-25 16:43:08 +00:00
hns
b3e46bd821
Added getTransactionName() plus a few JavaDoc comments.
2005-01-25 16:13:48 +00:00
hns
026dd7faad
* Handle all HTTP methods (all the same way, this is temporary behaviour
...
until we find a way to deal with them)
* Add req.getMethod() that returns method name as string
* Add req.getServletRequest() that returns the HttpServletRequest object
for HTTP requests
* Set up req, path, session... objects for all types of requests
* Restructured helma.framework.core.RequestEvaluator to allow for more
cleanup in the future
2005-01-25 16:13:04 +00:00
hns
255d6e9812
Adding AbortException used in res.abort().
2005-01-25 16:10:47 +00:00
hns
d15113234e
Make the class Serializable instead of Externalizable.
2005-01-25 15:59:48 +00:00
hns
20851907c2
Implement res.commit() and res.abort() methods.
...
res.commit() commits all changes to DB and starts a new transaction.
res.abort() aborts the current transaction and request.
2005-01-25 15:59:14 +00:00
hns
bb399fc79d
Only manage those properties that were set in previous script compilations,
...
and never manage predefined properties because they may be set
unintentionally by code like Image.foo = bar. Should fix bug 397.
2005-01-25 07:57:55 +00:00
hns
24a973e662
Implement hashCode() and equals() for ActionFile, FunctionFile, SkinFile and
...
Template classes. This is required for ZippedAppFile to when removing
Updatables that are no longer contained (revision 1.19 from Dec 7 2004).
Fixes bug 395.
2005-01-24 14:06:51 +00:00
hns
e3d8976274
Always return empty array for propery enumerations on HopObject prototypes.
...
This is to stop prototype properties from showing up in HopObject proprerty
enumerations. HopObject.getAllIds() can be used to get a prototypes properties.
2005-01-14 13:46:53 +00:00
hns
5cc104466c
Introduce PropertyRecorder interface that allows us to keep track of
...
changed properties in prototypes during code compilation. This way
we're able to remove prototype properties that haven't been renewed
in the last compilation (i.e. have been removed from the code).
2005-01-14 13:23:12 +00:00
hns
da007f9506
Set parent scope rather than prototype for temporary global prototype.
...
This should solve the problems described in bug 390 where global functions
were called on the temporary prototype in some cases.
2004-12-20 13:14:39 +00:00
hns
35791bf5fb
Fixes for bug 390 < http://www.helma.org/bugs/show_bug.cgi?id=390 >
...
* Use the same class for temporary compile time prototypes as for live protos
* Switch over parent scope when moving properties to live prototype. This
does not fix any problems because the functions causing the problems in
AntvilleLib are nested properties, but it seems like the right thing to do.
2004-12-20 12:15:35 +00:00
hns
9b9028df72
Refactored code compilation so that code is compiled against a temporary prototype object
...
rather than the actual live prototype. Moved much compilation code into two new methods in
TypeInfo called prepareCompilation() and commitCompilation. The first one sets up the
temporary prototype object to compile against, the latter copies over new properties to
the live prototype and removes properties that are no longer present. Also, some field
names have been shortened.
2004-12-17 15:32:52 +00:00
hns
90ef29fb1b
Use super.getIds() for property enumeration in HopObject prototypes.
2004-12-17 15:30:17 +00:00
hns
20ea453c35
* Include application name in source names.
...
* Make sure files from zip files are removed from prototypes and prototypes
are updated properly when they are no longer present.
2004-12-07 14:39:55 +00:00
hns
0620912aa2
Update to Jetty 4.2.22
2004-12-07 13:12:48 +00:00
hns
70b3069cb9
Always clean up old properties in prototypes regardless if they are functions or not.
2004-12-07 12:52:21 +00:00
hns
d1b5b820ad
Add parent nodes with updated child collections to NodeChangeListener protocol.
...
Make Node.setLastSubnodeChange() public.
2004-11-25 14:17:01 +00:00
hns
f042bbd36a
Register child object with synthetic key in node manager when adding to a collection with
...
accessname set.
2004-11-09 22:30:26 +00:00
hns
ba42d67be6
Set DbMapping in deserialized Nodes along with prototype name.
2004-11-08 21:59:40 +00:00
hns
1b27fedb9f
Immediately copy new jar file to lib/helma.jar in jar task.
2004-11-05 15:19:36 +00:00
hns
e4343eb563
Fix bug where collection in embedded db is erraneously set to anonymous.
2004-11-05 15:02:13 +00:00
hns
01edf54603
Catch up on the promise of separating child nodes from properties: do not
...
set node properties for child nodes with groupby or accessname set. This
means that lookups for groupby/accessname nodes becomes pretty expensive
for the embedded database because we have to loop through child nodes, but
the overhead seems acceptable, and the embedded db is not for high performance
deployment anyhow. (Eventually we can implement some kind of caching mechanism
here if necessary.)
2004-11-05 08:04:11 +00:00
hns
418976539e
Make SyntheticKey case insensitive without compromising name capitalization.
2004-11-05 06:41:41 +00:00