Commit graph

3207 commits

Author SHA1 Message Date
hns
faead64efc avoid sending an SQL statement in updateNode if the only thing
marked as dirty is a virtual node. This used to throw an exception
when adding subnodes to a node that also has a virtual node.
2001-03-11 15:25:34 +00:00
hns
9e2a4f561e first raw version of database-stored skins 2001-03-10 19:38:52 +00:00
hns
5eb8e03d77 added encodeForm functions to global object and
response object. This does HTML encoding, but
leaves newlines untouched.
2001-03-09 18:39:47 +00:00
hns
5f5d111f95 Removed some old db/Node garbage that didn't go along well with the
new parent recognition. Also fixed a bug where a Node could be stored
with an invalid key in setNode().
2001-03-09 18:38:46 +00:00
hns
405555278d Implemented caching of null nodes in getNode (Node, String, Relation). A singleton
nullNode is used to cache Node objects in the application cache if they don't exist.
2001-03-09 16:05:31 +00:00
hns
3f285ac8fd setting a node with null prototype will now set the prototype to the expected
value. If the prototype is already set to a different value, an exception is thrown.
2001-03-09 16:03:53 +00:00
hns
eb05a99a29 parse js and hac files even if they're empty 2001-03-08 18:58:31 +00:00
hns
127c98340f fix for 1.1 collection support 2001-03-08 18:39:12 +00:00
hns
067f7b4dd1 1.1 collection fixes 2001-03-08 18:25:03 +00:00
hns
a2909068a0 fixed generic replacements 2001-03-08 18:14:38 +00:00
hns
e9b5b7b5fa added ArrayList 2001-03-08 18:13:26 +00:00
hns
a845778d44 yet some more 1.1 collection fixes 2001-03-08 18:09:31 +00:00
hns
d0eaced696 fixed import statement for 1.1 collections 2001-03-08 17:59:02 +00:00
hns
9a128e960b 1.1 colleciton fixes 2001-03-08 17:53:03 +00:00
hns
6719812a68 1.1 collection fix for import statements 2001-03-08 17:25:50 +00:00
hns
f7db9309e0 fixed import statement for 1.1 collections 2001-03-08 17:13:01 +00:00
hns
ebba995765 fixed max id generation for empty tables 2001-03-08 17:12:39 +00:00
hns
7b30a1cd99 hopefully last 1.1 collections fix 2001-03-08 16:59:03 +00:00
hns
2c0d667750 still some more 1.1 collections fixes 2001-03-08 16:50:21 +00:00
hns
8106b25a0f more collection for 1.1 fixes 2001-03-08 16:45:24 +00:00
hns
3fab152c44 use explicit import statements for java.util.* imports 2001-03-08 16:37:52 +00:00
hns
7cf412f648 made import statement explicit to HashMap 2001-03-08 16:27:13 +00:00
hns
53d442ea8f more tinkering 2001-03-08 15:46:07 +00:00
hns
5b7fa928e5 some 1.1 collection fixes 2001-03-08 15:41:00 +00:00
hns
a51145e4a7 added support for collections in JDK 1.1 2001-03-08 15:20:54 +00:00
hns
4027b850ee typemanager now displays for which files an update
is performed, and updatables display their filename
 in the toString() method
2001-03-07 22:47:33 +00:00
hns
7d49b8b673 getNameOrID will now honor anonymous flag and not try to override it
setNode throws an exception when trying to set an object with wrong type
minor fixes in getParent()
2001-03-07 21:55:30 +00:00
hns
2a08d8150f "console" as logdir will direct log stream to standard out 2001-03-07 21:53:03 +00:00
hns
8e86be7c60 minor change in getParent() 2001-03-07 19:30:31 +00:00
hns
293c4e013a Implemented groupby support in automatic getParent lookup.
Also, the result is now cached which should increase performance.
2001-03-07 19:28:33 +00:00
hns
27d07e599c more work to solve "shringking prototypes" problem
in FunctionFile
2001-03-07 16:49:11 +00:00
hns
20e8bb8987 Fixed bug where SkinFile would always return true on needsUpdate()
when the skin object wasnt initialized.
2001-03-06 21:51:53 +00:00
hns
81ede81781 Made big changes to typemanager. This should make the regular checks much
faster, and functionfiles should clean up after themselves. Probability of new
bugs introduced by this is considerable.
2001-03-06 21:23:11 +00:00
hns
643e7ff12e Classes managed by helma.framework.core.Typemanager
implement this interface, but it is generic enough to be
used for other purposes.
2001-03-06 21:19:43 +00:00
hns
45da518a63 Minor fixes for StandaloneServletClient 2001-03-05 19:19:54 +00:00
hns
e383beaa08 check if xmlrpc server exists before trying to add handler 2001-03-05 17:12:51 +00:00
hns
904a446611 inital check-in of new parent info class 2001-03-05 16:11:25 +00:00
hns
7904cf2bca - switched logging ot application where possible
- implemented new _parent spec, including virtual nodes
- removed some rarely-used property settings for apps and db directory
2001-03-05 16:10:38 +00:00
hns
9e05814d90 Grouped all logging activity around Application, and made Application less
dependent on helma.objectmodel.db.Server.
2001-03-05 16:07:29 +00:00
hns
15cdc42eab Initial checkin 2001-03-05 16:05:05 +00:00
hns
9edd9cf670 minor formatting stuff 2001-03-05 16:04:29 +00:00
hns
d2ce49b6ef Changed app access from private to protected 2001-03-02 15:54:42 +00:00
hns
dd903bcdf2 We need to do something about db sources that are not defined... 2001-03-02 15:50:43 +00:00
hns
874e21b961 Rearrangement of servlet package. Introduced abstract base servlet
and wrote subclasses for one servlet to one hop application
(ServletClient) and one servlet to multiple hop applications on one server
(MultiServletClient).
2001-03-02 15:45:24 +00:00
hns
dd011fe911 Added global countActiveUsers() function 2001-03-01 16:02:34 +00:00
hns
63b63db8b5 implemented res.writeBinary() to directly write a java byte array to the response 2001-03-01 16:02:11 +00:00
hns
d45f3240ce made RequestTrans and ResponseTrans implement Externalizable instead of Serializable
renamed ResponseTrans.mainSkin to .skin to avoid confusion
2001-02-28 15:06:49 +00:00
hns
9f3dc4cfb8 switched back from BufferedOutputStream to unbuffered one 2001-02-27 22:16:52 +00:00
hns
8eb28ffd2e replaced flush() with close() 2001-02-27 21:24:19 +00:00
hns
6b52e4a797 Write byte[] instead of char[] 2001-02-27 20:54:57 +00:00