Commit Graph
10472 Commits
Author SHA1 Message Date
Scott Gray 60f6517b74 Organized imports
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@912210 13f79535-47bb-0310-9956-ffa450edef68
2010-02-20 20:19:23 +00:00
Scott Gray bee57642b3 Removed use of deprecated EntityExpr constructors
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@912209 13f79535-47bb-0310-9956-ffa450edef68
2010-02-20 20:19:18 +00:00
Scott Gray aa815051f5 The following deprecated classes, constructors or methods have been removed:
org.ofbiz.entity.condition.EntityDateFilterCondition(String, String)
- Use EntityCondition.makeConditionDate(String, String) instead

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@912203 13f79535-47bb-0310-9956-ffa450edef68
2010-02-20 19:54:33 +00:00
Scott Gray fee56d9f59 The following deprecated classes, constructors or methods have been removed:
org.ofbiz.entity.condition.EntityConditionList(EntityJoinOperator, T…)
- Use EntityCondition.makeCondition(EntityJoinOperator, T…) instead

org.ofbiz.entity.condition.EntityConditionList(List<T>, EntityJoinOperator)
- Use EntityCondition.makeCondition(List<T>, EntityJoinOperator) instead

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@912202 13f79535-47bb-0310-9956-ffa450edef68
2010-02-20 19:49:18 +00:00
Scott Gray bd8459e2ff Removed use of a deprecated constructor
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@912201 13f79535-47bb-0310-9956-ffa450edef68
2010-02-20 19:49:12 +00:00
Adrian Crum e984c0afcf Have XmlSerializer delegate object deserialization to XStream if the serialization method is not from XmlSerializer.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@912072 13f79535-47bb-0310-9956-ffa450edef68
2010-02-20 03:05:49 +00:00
Bilgin Ismet Ibryam 9e016506aa Fixed calendar lookups in Temporal expressions screen.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@911843 13f79535-47bb-0310-9956-ffa450edef68
2010-02-19 15:34:25 +00:00
Bilgin Ismet Ibryam 6587bead76 Fixed a typo in labels.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@911541 13f79535-47bb-0310-9956-ffa450edef68
2010-02-18 19:46:54 +00:00
Bilgin Ismet Ibryam 3b8784b6ab Renamed a variable.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@911540 13f79535-47bb-0310-9956-ffa450edef68
2010-02-18 19:40:28 +00:00
Bilgin Ismet Ibryam 52e2dc1f42 Allowed specifying InfoWindowHtml for each GMarker in google map. Before this fix, only the last GMarker had InfoWindowHtml.
Commented out duplicate code.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@911539 13f79535-47bb-0310-9956-ffa450edef68
2010-02-18 19:38:44 +00:00
Scott Gray 8fb9b48c66 Added entity-count documentation regarding the java type of the value returned.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@911517 13f79535-47bb-0310-9956-ffa450edef68
2010-02-18 18:40:47 +00:00
Bruno Busco 2302c33259 Fixed wrong markup for Date-Time field introduced in rev. 911079.
Thank you Adrian for reporting in ML

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@911305 13f79535-47bb-0310-9956-ffa450edef68
2010-02-18 10:05:41 +00:00
Bruno Busco 41aeeb3317 Added "create" classes to pertinent buttons
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@911187 13f79535-47bb-0310-9956-ffa450edef68
2010-02-17 22:02:54 +00:00
Bruno Busco ee1f838fa3 Removed unused calGif parameter from Form rendering Macros
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@911186 13f79535-47bb-0310-9956-ffa450edef68
2010-02-17 21:57:22 +00:00
Adrian Crum 96fb7950ad Added a test for TimeDuration pre-epoch elapsed time, plus added SVN properties.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@911182 13f79535-47bb-0310-9956-ffa450edef68
2010-02-17 21:40:41 +00:00
Adrian Crum b0d8ce0ebf Improved TimeDuration.java JavaDocs.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@911181 13f79535-47bb-0310-9956-ffa450edef68
2010-02-17 21:38:13 +00:00
Adrian Crum aa1eb37875 Changed parameter name and JavaDoc for the TimeDuration fromLong method. No functional change.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@911131 13f79535-47bb-0310-9956-ffa450edef68
2010-02-17 18:16:55 +00:00
Adrian Crum 276a0b2f6d Fixed catch clause in TimeDuration equals method.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@911125 13f79535-47bb-0310-9956-ffa450edef68
2010-02-17 18:00:56 +00:00
Adam Heath 4c6bee67d5 Add support for arrays to doHashCode.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@911099 13f79535-47bb-0310-9956-ffa450edef68
2010-02-17 17:29:41 +00:00
Adam Heath fb9b6107e6 Add comments about unreachable blocks.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@911098 13f79535-47bb-0310-9956-ffa450edef68
2010-02-17 17:28:18 +00:00
Adam Heath 11b69ae10a Test for static helper pattern.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@911097 13f79535-47bb-0310-9956-ffa450edef68
2010-02-17 17:27:48 +00:00
Adam Heath 0c3320bfe3 Add assertion helper to verify that a class is a static helper.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@911096 13f79535-47bb-0310-9956-ffa450edef68
2010-02-17 17:26:53 +00:00
Adam Heath acc29cc257 Follow the static helper class pattern.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@911095 13f79535-47bb-0310-9956-ffa450edef68
2010-02-17 17:26:16 +00:00
Adam Heath 151a9dbc1a Refactored the object serialization methods to not have to test for null
as much.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@911093 13f79535-47bb-0310-9956-ffa450edef68
2010-02-17 17:25:43 +00:00
Adam Heath e0eb9976f6 Some tests for UtilObject; not full coverage, but very close.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@911092 13f79535-47bb-0310-9956-ffa450edef68
2010-02-17 17:25:09 +00:00
Adam Heath a3191bd5c0 Helper method for testing compareTo results.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@911090 13f79535-47bb-0310-9956-ffa450edef68
2010-02-17 17:24:22 +00:00
Adam Heath b6c4fc80a9 Rename millis parameters everywhere to milliseconds. Also rename the
millis method.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@911089 13f79535-47bb-0310-9956-ffa450edef68
2010-02-17 17:23:39 +00:00
Adam Heath 0f004e41d5 Remove calls to toLong in compareTo.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@911088 13f79535-47bb-0310-9956-ffa450edef68
2010-02-17 17:23:07 +00:00
Adam Heath f5d3f7cec4 Remove isNegative field.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@911087 13f79535-47bb-0310-9956-ffa450edef68
2010-02-17 17:22:33 +00:00
Adam Heath 33174cf039 The fields in TimeDuration are now final.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@911086 13f79535-47bb-0310-9956-ffa450edef68
2010-02-17 17:22:07 +00:00
Adam Heath 0e65841e71 Remove makeNegative calls.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@911085 13f79535-47bb-0310-9956-ffa450edef68
2010-02-17 17:21:39 +00:00
Adam Heath afe6cde3af Switch fromLong to use the 7-arg constructor, instead of setting each
field directly.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@911084 13f79535-47bb-0310-9956-ffa450edef68
2010-02-17 17:20:57 +00:00
Adam Heath 122abb4afe Don't need to set default values for variables.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@911083 13f79535-47bb-0310-9956-ffa450edef68
2010-02-17 17:20:31 +00:00
Adam Heath 8a71e50c8b Move the calendar helper methods to right after the constructor.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@911082 13f79535-47bb-0310-9956-ffa450edef68
2010-02-17 17:20:04 +00:00
Adam Heath 8285aad542 Make calendar constructor helper methods private static.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@911081 13f79535-47bb-0310-9956-ffa450edef68
2010-02-17 17:19:31 +00:00
Adam Heath 6eea736c18 Inline set(Calendar, Calendar) into the constructor.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@911080 13f79535-47bb-0310-9956-ffa450edef68
2010-02-17 17:18:31 +00:00
Bruno Busco 024a4afc4d The Visual Theme can now re-define the calendar button icon
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@911079 13f79535-47bb-0310-9956-ffa450edef68
2010-02-17 17:17:52 +00:00
Adrian Crum 6134cdd88b Fixed a bug in TimeDuration.java reported by Adam Heath on the dev mailing list. The elapsed time constructor would produce an incorrect duration if either Calendar was prior to the epoch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@911054 13f79535-47bb-0310-9956-ffa450edef68
2010-02-17 16:25:55 +00:00
Erwan de Ferrieres f532a75616 update library iText 2.0.1 to iText 2.1.7 (http://issues.apache.org/jira/browse/OFBIZ-3407)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@910871 13f79535-47bb-0310-9956-ffa450edef68
2010-02-17 09:09:44 +00:00
Erwan de Ferrieres d195283e7d As spotted by Scott on the dev mailing list, removed a println and re-formatted a if statement
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@910844 13f79535-47bb-0310-9956-ffa450edef68
2010-02-17 07:21:51 +00:00
Adam Heath 17a5647902 A rather complex fix for dealing with calendar dates that have a DAY
value that is in the special window of 29-31.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@910830 13f79535-47bb-0310-9956-ffa450edef68
2010-02-17 05:18:27 +00:00
Adam Heath d24e18f72c Fix parsing of trailing empty components in TimeDuration string values.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@910829 13f79535-47bb-0310-9956-ffa450edef68
2010-02-17 05:17:37 +00:00
Adam Heath 66d451e590 In isZero(), remove useless check for this == ZeroTimeDuration, as the
latter overrides the isZero method, so the comparison never succeeds.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@910828 13f79535-47bb-0310-9956-ffa450edef68
2010-02-17 05:16:48 +00:00
Adam Heath 2feee8bec9 Add TimeDurationTests; full line coverage, almost full branch coverage.
There are some bugs not fixed by this commit, those will come shortly.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@910827 13f79535-47bb-0310-9956-ffa450edef68
2010-02-17 05:15:59 +00:00
Jacques Le Roux 8a84e2dfb7 As promised last cleanup
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@910648 13f79535-47bb-0310-9956-ffa450edef68
2010-02-16 18:50:02 +00:00
Jacques Le Roux 1a2a570550 Some more cleanup after Adam's intervention at r910610 on my error on r910590. I will do one more soon...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@910635 13f79535-47bb-0310-9956-ffa450edef68
2010-02-16 18:12:43 +00:00
Adam Heath dfead1c73d Switch default theme back from VINOPS to BIZZNESS_TIME
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@910610 13f79535-47bb-0310-9956-ffa450edef68
2010-02-16 17:28:20 +00:00
Jacques Le Roux 74786c1d4e Just realized that I made an error while patching general.properties : wrong line, I removed
locale.properties.fallback=en

In this commit I put it back and put 
locales.available=de,en,es,fr,it
at the right place

Sorry for that (by chance this has not much effects)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@910590 13f79535-47bb-0310-9956-ffa450edef68
2010-02-16 16:55:14 +00:00
Erwan de Ferrieres e717e378ed The auto-completer (in lookup fields) default behavior is "%fieldValue%" (contains operation).
This allows to change the behavior to "fieldValue%"(statrWith operation) when setting to "Y" the searchTypeStartWith field

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@910587 13f79535-47bb-0310-9956-ffa450edef68
2010-02-16 16:42:00 +00:00
Hans Bakker c021cd1379 corrected: used field name as a value for fieldname defaultCurrencyUomId as reported in OFBIZ-3482
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@910460 13f79535-47bb-0310-9956-ffa450edef68
2010-02-16 10:45:16 +00:00