hns
fc9120d77f
Remove initDb() method, not used anymore
2005-05-13 14:07:23 +00:00
hns
70eb0c5e5d
Implement rootPrototype app property that allows to force-set the root object prototype.
2005-05-12 16:16:39 +00:00
hns
95dd5feb63
Fix bug where directories wrongly adopted resources as their children.
2005-04-29 13:27:54 +00:00
hns
6c44c5fa66
Implement appname.protectedSessionCookie property in apps.properties.
...
If set to "false", session cookies will not be bound to the client's ip subnet.
2005-04-22 13:23:25 +00:00
hns
21e98e793e
Print debug statement for session manager implementation
2005-04-22 12:49:18 +00:00
hns
8651432157
Switch back to ImageIO.read() on CVS HEAD
...
(we stay with Toolkit.createImage() on helma_1_4 branch for now)
2005-04-15 14:23:50 +00:00
hns
2b916bc2df
Only set response to 304 not modified if no cookies were set.
...
Apache will not set cookies in a 304 response.
2005-04-14 16:27:37 +00:00
hns
00070358f9
Fix app.getSessions()
2005-04-14 11:04:03 +00:00
hns
3eea4d97af
Use proper resource ordering for multiple type.properties files
2005-04-13 10:42:12 +00:00
hns
f889624d86
Fix bug in getSkin() that could result in skins not being fully read.
2005-04-13 09:22:59 +00:00
hns
c54d767b6e
Make sure script windows are updated when scripts are recompiled
2005-04-12 13:34:11 +00:00
hns
ed3220768a
Move helma.xsl from helma/objectmodel/db to helma/objectmodel/dom package
...
(following the move of XmlDatabase)
2005-04-12 13:10:22 +00:00
hns
8e96cfb709
Remove ominous apache-michi.jar from jar contents
2005-04-12 09:53:27 +00:00
hns
b8c6201d40
Always scan for repositories 0-9
2005-04-11 15:36:43 +00:00
hns
a021cbf791
Allow Helma to run without listening to any server ports.
2005-04-11 15:29:47 +00:00
hns
2ab0f17678
Add missing calls to checkNode()
2005-04-11 15:26:56 +00:00
hns
47e6955aa2
Don not use potentially deprecated ZipEntry to get an entry's size. The entry
...
may have been generated for an old version of the zip file and not exist at all.
As a fix, don't store the ZipEntry at all in ZipResource, just the ZipEntry's name.
2005-04-11 11:44:54 +00:00
hns
530afc9f88
Add calls to Graphics.dispose() and Image.flush() whereever possible.
...
Rewrite protected resize to directly set image, width, and height.
2005-04-07 14:15:46 +00:00
hns
a74ec62b68
Use Toolkit.createImage() to decode images until javax.imageio has matured.
2005-04-07 14:15:26 +00:00
hns
806260212e
Set lastmodified to 0 if repository doesn't exist
2005-04-05 13:13:32 +00:00
hns
5d754c46a7
Set initial value for lastChecksum to -1 to avoid null reference for empty repositories
2005-04-05 13:12:57 +00:00
hns
4d1e6868cd
Introduce updateSnooze that continously increases type check interval
...
from 1 to 5 seconds as the app remains unchanged.
2005-03-25 08:20:18 +00:00
hns
6b5713b80a
Mark prototype code updated when new resources are added
2005-03-25 08:15:36 +00:00
hns
67988a8d62
Add todo note in getUrl()
2005-03-25 00:27:45 +00:00
hns
48489e8200
Catch UnsupportedOperationException thrown by Resource.getUrl()
2005-03-25 00:27:16 +00:00
hns
fdf3915d9e
Move TypeManager.updatePrototype(Prototype) to Prototype.checkForUpdates().
...
Additionally, the inner workings of the Prototype update logic were vastly simplified.
2005-03-25 00:12:59 +00:00
hns
57efa85f29
remove void return
2005-03-24 23:03:03 +00:00
hns
c7d2534811
Change Application.getRepositories() to return a List instead of an Iterator
2005-03-24 22:38:51 +00:00
hns
514d9a353c
Use logError() instead of logEvent() to log original compilation errors.
2005-03-24 22:03:51 +00:00
hns
fde3b335db
No need to dump stack, logError does that for us (leads to multiple stack traces).
2005-03-24 22:02:21 +00:00
hns
0856559870
Optimize synchronization in updatePrototypes(): keep out of synchronized section if possible
2005-03-24 18:24:51 +00:00
hns
7af9cc6a22
* Implement createResource() method so child resources can be used even if they don't exist
...
* Fix horrible bug in update() where child items were created that weren't child resources at all
2005-03-24 18:23:50 +00:00
hns
cb02290e3d
Remove unnecessary casts
2005-03-24 18:20:57 +00:00
hns
c5996c52ea
Minor code reorg in constructor
2005-03-24 18:20:39 +00:00
hns
73e377dde1
Introduced Resource.getBaseName() to return name with extension cut off.
...
Fixed Resource lookup failure on Windows.
2005-03-23 19:28:04 +00:00
hns
908424d18a
* Actually add embedded top-level repositories to the app's repositories
...
* Simplify last-top-level-repository check in TypeManager
* Fix Application.getAppDir()
2005-03-23 16:42:38 +00:00
hns
92da97550c
Split IDatabase.saveNode() into insertNode() and updateNode(). Fixes bug 418.
2005-03-23 14:57:28 +00:00
hns
11257b4765
* Make TypeManager.createPrototypes() and TypeManager.checkPrototypes() throw IOException
...
* Propagate IOException in the callers of the above methods
2005-03-23 12:32:50 +00:00
hns
e5514d7099
* Don't use TreeSet for resources unless we can get a ResourceComparator
...
* Check if resources exist before trying to read from them
2005-03-23 12:30:04 +00:00
hns
4f59be6597
* Move initScriptingEngine() and scriptingEngine.updatePrototypes() call inside try statement
...
* Replace do.. while with wile statement
2005-03-23 12:28:26 +00:00
hns
14f8f1e8d2
* Implemented hashCode() and equals(Object) for all Repository and Resource implementations
...
* Some code improvements and minor fixes
2005-03-23 12:23:49 +00:00
hns
d3e5eaca9d
Display absolute path name for getName() and toString() in stand-alone file resources.
2005-03-22 16:24:35 +00:00
hns
7c9e4b0fa5
Do not merge lastModifieds in commit()
2005-03-22 13:01:04 +00:00
hns
2dc2851aee
Use higher (10 minutes) default request timeout if rhino debugger is on.
2005-03-22 10:53:09 +00:00
hns
773ef11ab0
Check for updates in lastModified()
2005-03-21 17:48:01 +00:00
hns
335f351c5c
Generally add the exception as second argument when logging errors.
...
Add check for null pointer when unregistering XML-RPC handler.
2005-03-21 17:46:39 +00:00
hns
60b61d63ca
Implement doGenerateID() that can safely be called by IDGenerator
...
without causing infinite recursion.
2005-03-21 15:38:26 +00:00
hns
a37a4e9216
Make generateID() throw Exception
2005-03-21 15:37:13 +00:00
hns
3ff46c6dd3
Add public setUserHandle(), setCacheNode(), getMessage(), setMessage() methods.
2005-03-21 13:29:49 +00:00
hns
034153f251
Make getLogger() public
2005-03-21 13:29:10 +00:00