Commit Graph
1338 Commits
Author SHA1 Message Date
Adam Heath 62e143afa2 OPTIMIZE: Turn off some additional debug log calls for
catalina-related sources.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1139853 13f79535-47bb-0310-9956-ffa450edef68
2011-06-26 18:07:29 +00:00
Adam Heath 7047b2b80b FEATURE: Add support to Debug.logFoo() for using %-style format
strings.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1139852 13f79535-47bb-0310-9956-ffa450edef68
2011-06-26 18:07:24 +00:00
Adam Heath 07e802c9d8 FEATURE: Add helper method to fetch the results of all futures in a
collection, into a new list.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1139699 13f79535-47bb-0310-9956-ffa450edef68
2011-06-26 02:50:41 +00:00
Adam Heath 276ecca353 FEATURE: Allow the ThreadGroup to be specified for created threads.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1139698 13f79535-47bb-0310-9956-ffa450edef68
2011-06-26 02:50:35 +00:00
Adam Heath cb0f5a3b46 FEATURE: if the threadCount passed to getExecutor is negative, then use
the abs() value of that times the number of cpus, to specify the actual
number of threads.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1139697 13f79535-47bb-0310-9956-ffa450edef68
2011-06-26 02:50:29 +00:00
Adam Heath 22ebafd3de FEATURE: Add a flag to getExecutor that specifies whether to prestart
the threads in the pool.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1139696 13f79535-47bb-0310-9956-ffa450edef68
2011-06-26 02:50:23 +00:00
Adam Heath 2a0c3c3fc7 OPTIMIZE: getExecutor now calls createThreadFactory, instead of creating
one itself.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1139695 13f79535-47bb-0310-9956-ffa450edef68
2011-06-26 02:50:17 +00:00
Adam Heath 920ed26326 Fix broken 1078215, the object instance variable was removed, because
dumb smart code editors thought it was unused.  Please understand the
code you change.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1139396 13f79535-47bb-0310-9956-ffa450edef68
2011-06-24 18:16:55 +00:00
Marco Risaliti f5284f787a Fix a javadoc warning into ContainerLoader
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1128028 13f79535-47bb-0310-9956-ffa450edef68
2011-05-26 18:46:35 +00:00
Marco Risaliti acc8ecf6a3 Removed the method UtilNumber.stringToBigDecimal and the references in webpos component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1127651 13f79535-47bb-0310-9956-ffa450edef68
2011-05-25 19:45:44 +00:00
Marco Risaliti a153d0a34f Removed some javadoc warning (wrong param/return) into framework components no functional changes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1126708 13f79535-47bb-0310-9956-ffa450edef68
2011-05-23 20:11:12 +00:00
Jacques Le Roux a26929f6b8 Correct indentation for r1126379
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1126399 13f79535-47bb-0310-9956-ffa450edef68
2011-05-23 09:10:57 +00:00
Jacques Le Roux 7e900f23b3 A patch from Philippe Mouawad "UtilCache#getPropertyParam should test property existence instead of rely on MissingResourceException" https://issues.apache.org/jira/browse/OFBIZ-4290
UtilCache#getPropertyParam should call res.containsKey instead of relying on catching MissingResourceException, which will reduce number of Exceptions created so CPU.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1126379 13f79535-47bb-0310-9956-ffa450edef68
2011-05-23 08:33:42 +00:00
Marco Risaliti 65d922b529 Change a wrong class name in the base test suite to be executed
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1125971 13f79535-47bb-0310-9956-ffa450edef68
2011-05-22 14:17:08 +00:00
Marco Risaliti 0291aa60d8 Change a wrong package name in the test suite to be executed
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1125970 13f79535-47bb-0310-9956-ffa450edef68
2011-05-22 14:11:55 +00:00
Marco Risaliti c4c446369c Webpos2 improved version (OFBIZ-4287)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1125951 13f79535-47bb-0310-9956-ffa450edef68
2011-05-22 13:11:17 +00:00
Jacques Le Roux c35abeb2cd Adds ant-contrib-1.0b3.jar
Replaces the <if> task (used javascript in a file with .py suffix :/ ). I kept it commented out for now, in case someone is using it (not used OOTB)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1100795 13f79535-47bb-0310-9956-ffa450edef68
2011-05-08 19:18:27 +00:00
Jacques Le Roux 2653806a87 Fixes some other forgotten formatting issues in previous commit (r1100130). And Mostly removes an useless duplicated snippet
<<A patch from Philippe Mouawad "ResourceBundleMapWrapper memory usage improvement" https://issues.apache.org/jira/browse/OFBIZ-4268

Patch that creates the Map only when it is required>>

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1100138 13f79535-47bb-0310-9956-ffa450edef68
2011-05-06 08:53:52 +00:00
Jacques Le Roux cc7ee5ea71 Fixes some forgotten formatting issues in previous commit (r1100127). Due to tabs in patch.
<<A patch from Philippe Mouawad "ResourceBundleMapWrapper memory usage improvement" https://issues.apache.org/jira/browse/OFBIZ-4268

Patch that creates the Map only when it is required>>

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1100130 13f79535-47bb-0310-9956-ffa450edef68
2011-05-06 08:23:43 +00:00
Jacques Le Roux 9516b43bc7 A patch from Philippe Mouawad "ResourceBundleMapWrapper memory usage improvement" https://issues.apache.org/jira/browse/OFBIZ-4268
Patch that creates the Map only when it is required

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1100127 13f79535-47bb-0310-9956-ffa450edef68
2011-05-06 08:17:17 +00:00
Jacques Le Roux 545e828855 This is actually default values, better to keep them commented out as Chris Snow noticed some time ago in dev ml
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1098795 13f79535-47bb-0310-9956-ffa450edef68
2011-05-02 21:20:37 +00:00
Adrian Crum 891bc676f7 Updated HttpClient library to version 4.1. The newer version has a number of bug fixes and security fixes.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1097827 13f79535-47bb-0310-9956-ffa450edef68
2011-04-29 14:54:50 +00:00
Adrian Crum f635a84fcb Small code cleanup in Base64.java - no functional change.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1097824 13f79535-47bb-0310-9956-ffa450edef68
2011-04-29 14:46:18 +00:00
Jacques Le Roux 2b97e68c4f Put a doc about this unimplemented tag. A guy in the team thought it could rely on it for data loading order.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1097382 13f79535-47bb-0310-9956-ffa450edef68
2011-04-28 09:40:43 +00:00
Adrian Crum f7176d28e1 Updated ical4j library.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1090822 13f79535-47bb-0310-9956-ffa450edef68
2011-04-10 15:59:09 +00:00
Bruno Busco e5e4b73a82 Better Italian labels
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1090757 13f79535-47bb-0310-9956-ffa450edef68
2011-04-10 10:08:08 +00:00
Sascha Rodekamp fb880c80a1 Update - i18n from DateTime display fields (https://issues.apache.org/jira/browse/OFBIZ-4014). Ofbiz can now show and interprete i18n dates and times. The Patch uses the datejs library to i18n the displayd date and time fields from the datepicker this works vice versa.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1090231 13f79535-47bb-0310-9956-ffa450edef68
2011-04-08 13:05:42 +00:00
Andrew Zeneski 4d3223d2cc added fall back to default date formatter when conversion fails before
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1089946 13f79535-47bb-0310-9956-ffa450edef68
2011-04-07 19:27:53 +00:00
Sascha Rodekamp 13cf8abcc4 Bug - Create (upload) content in Party Profile does not work (https://issues.apache.org/jira/browse/OFBIZ-4179). The bug occurs when trying to upload a zip file. Tika was missing a class for dealing with zip files. I added commons-compress-1.1.jar. I also updated the UX for the upload function. When no file purpose was set the upload crashes. Therefore i added a field validation.
Orig. Msg.:
As it does not work in trunk I 1st thought it was a jQuery migration issue. But it does not work either in R9.04 and I guess this is the initial reason

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1087254 13f79535-47bb-0310-9956-ffa450edef68
2011-03-31 11:22:05 +00:00
Adrian Crum 3855697825 Moved nested class in Start.java to its own file - no functional change. This commit changes the StartupLoader API.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1085757 13f79535-47bb-0310-9956-ffa450edef68
2011-03-26 16:29:15 +00:00
Adrian Crum 355cc6a59e Fix framework/base tests that were not running. Patch from Bob Morley with a few changes by me - https://issues.apache.org/jira/browse/OFBIZ-3662.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1085735 13f79535-47bb-0310-9956-ffa450edef68
2011-03-26 15:11:00 +00:00
Erwan de Ferrieres ddea2b9136 OFBIZ-4220 a patch from Philippe Mouawad: Current implementation of UtilCache has a memory leak if maxInMemory is set
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1084732 13f79535-47bb-0310-9956-ffa450edef68
2011-03-23 20:44:17 +00:00
Adrian Crum 397889ae8f Some work on ContainerLoader.java - Fixes some thread-safe issues and try to have better control over loading/starting/stopping containers.
I'm not sure what the Geronimo code was supposed to do. It appeared to load all of the containers just so it could create/start the rmi-dispatcher container. So, I created a static method that allows client code to get a specific container. If this change causes problems with Geronimo just let me know and I will fix it.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1084238 13f79535-47bb-0310-9956-ffa450edef68
2011-03-22 16:22:54 +00:00
Adrian Crum c0ae7cfde6 More Container.java JavaDocs - no functional change.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1084202 13f79535-47bb-0310-9956-ffa450edef68
2011-03-22 14:51:46 +00:00
Adrian Crum e1acc655ee Reordered code in ContainerLoader.java - no functional change.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1084043 13f79535-47bb-0310-9956-ffa450edef68
2011-03-22 00:47:32 +00:00
Adrian Crum 99807645a9 Container.java JavaDocs - no functional change.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1084034 13f79535-47bb-0310-9956-ffa450edef68
2011-03-22 00:14:11 +00:00
Adrian Crum 1d3c353252 Some bug fixes and improvements to ComponentContainer.java and Classpath.java:
1. <classpath type="dir" .../> did not add jar files to the classpath. That has been fixed.
2. <classpath type="dir" .../> that contained an invalid path was added to the classpath anyway. That has been fixed.
3. Added ability to load native libraries (*.dll, *.so).


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1083554 13f79535-47bb-0310-9956-ffa450edef68
2011-03-20 20:02:48 +00:00
Jacques Le Roux 1806397b93 Update defaultValveFilter using http://tomcat.apache.org/tomcat-6.0-doc/config/cluster-valve.html as reference, with our own specificities (.*\.ico;.*\.htc;) even if I guess It's not a big deal. This is mostly a reference for future.
So adds.*\.png;.*\.css;.*\.ico;.*\.htc; 

I wonder though why "\" were not used previously, maybe an older version of Tomcat cluster-valve

Also update containers...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1081740 13f79535-47bb-0310-9956-ffa450edef68
2011-03-15 11:40:43 +00:00
Marco Risaliti bdcca6ed53 Remove some unused warning in ComparableRangeTests (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1078297 13f79535-47bb-0310-9956-ffa450edef68
2011-03-05 15:03:27 +00:00
Marco Risaliti 135ba2cf46 Remove some warning as unchecked "temporary" in JdbmSerializer/JdbmRecordManager (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1078219 13f79535-47bb-0310-9956-ffa450edef68
2011-03-04 23:39:12 +00:00
Marco Risaliti fe1e4da289 Remove some warning in MiscTests change the class JSONResult (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1078216 13f79535-47bb-0310-9956-ffa450edef68
2011-03-04 23:35:03 +00:00
Marco Risaliti a6079463c2 Remove some warning in TTLObject (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1078215 13f79535-47bb-0310-9956-ffa450edef68
2011-03-04 23:29:42 +00:00
Marco Risaliti db713a6fe5 Remove some warning in MapComparator (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1078209 13f79535-47bb-0310-9956-ffa450edef68
2011-03-04 23:15:45 +00:00
Marco Risaliti d0bc649190 Remove some warning in ReadOnlyMapEntry (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1078207 13f79535-47bb-0310-9956-ffa450edef68
2011-03-04 23:14:51 +00:00
Marco Risaliti 6fc064992e Remove some warning in GenericMapEntrySet (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1078206 13f79535-47bb-0310-9956-ffa450edef68
2011-03-04 23:13:49 +00:00
Marco Risaliti 7cd0c46514 Remove some warning in GenericMapValues (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1078204 13f79535-47bb-0310-9956-ffa450edef68
2011-03-04 23:12:45 +00:00
Marco Risaliti d112488267 Remove some warning in GenericMapSet (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1078203 13f79535-47bb-0310-9956-ffa450edef68
2011-03-04 23:11:42 +00:00
Marco Risaliti 8e34065a12 Remove some warning in GenericMapEntry (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1078202 13f79535-47bb-0310-9956-ffa450edef68
2011-03-04 23:10:49 +00:00
Marco Risaliti 44eb5d9d3c Remove some warning in GenericMap (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1078201 13f79535-47bb-0310-9956-ffa450edef68
2011-03-04 23:09:34 +00:00
Marco Risaliti 6bf3683a17 Remove some warning in MapContext (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1078198 13f79535-47bb-0310-9956-ffa450edef68
2011-03-04 23:02:44 +00:00