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
Bruno Busco
00f6fee059
Removed framework dependency from tomahawk theme (same as rev. 908341)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@911170 13f79535-47bb-0310-9956-ffa450edef68
2010-02-17 20:44:40 +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
Bruno Busco
875b5a32b4
Better alignment of from/to date fields in tomahawk theme
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@911104 13f79535-47bb-0310-9956-ffa450edef68
2010-02-17 17:36:13 +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
Bruno Busco
20002e203b
Added refresh and search button icons to tomahawk theme
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@911075 13f79535-47bb-0310-9956-ffa450edef68
2010-02-17 17:03:40 +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
Jacopo Cappellato
a4ee540675
Some demo fixed asset settings useful for the upcoming tests for fixed asset depreciations.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@911032 13f79535-47bb-0310-9956-ffa450edef68
2010-02-17 16:00:40 +00:00
Jacques Le Roux
5d76d3edb3
At r907310 while working on layering lookups I found that some of them were inappropriately named lookups and were actually lists (locales, timezones and themes)
...
I renamed them List (instead of Lookup) to avoid future confusion. This has not been taken into account in the new Tomahawk theme. This commit fix these issues.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@910966 13f79535-47bb-0310-9956-ffa450edef68
2010-02-17 13:23:14 +00:00
Jacopo Cappellato
71fe967239
Fix for typo.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@910880 13f79535-47bb-0310-9956-ffa450edef68
2010-02-17 09:23:00 +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
56f4a172b6
geolocation wasn't working from the party profile, as reported by Abdullah Shaikh (OFBIZ-3481)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@910847 13f79535-47bb-0310-9956-ffa450edef68
2010-02-17 07:58:04 +00:00
Erwan de Ferrieres
7b2065936a
Adding a missing tabButtonItem on PartyGeoLocation screen
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@910846 13f79535-47bb-0310-9956-ffa450edef68
2010-02-17 07:54:21 +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
Adam Heath
1608935bd2
New theme, tomahawk, created by Bruno Busco and Erik Schuessler of
...
Brainfood.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@910652 13f79535-47bb-0310-9956-ffa450edef68
2010-02-16 19:08:04 +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
f90fe3e1d1
EditCategory page had some bad labels, this fixes those.
...
s/ProductNotModificationRecrationCategory/ProductNotModificationRecreationCategory/
s/ProductName/ProductProductCategoryName/
s/ProductProductDescription/ProductProductCategoryDescription/
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@910615 13f79535-47bb-0310-9956-ffa450edef68
2010-02-16 17:31:23 +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
Jacopo Cappellato
8f7ce6fb5e
new automated test for createProductionRunFromRequirement
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@910576 13f79535-47bb-0310-9956-ffa450edef68
2010-02-16 16:17:10 +00:00
Jacopo Cappellato
b85541a6df
Fixed typo.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@910551 13f79535-47bb-0310-9956-ffa450edef68
2010-02-16 15:11:46 +00:00
Jacopo Cappellato
68ca9c82cb
Now all the automated tests of the manufacturing component are executed with a user with a minumim set of permissions.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@910546 13f79535-47bb-0310-9956-ffa450edef68
2010-02-16 15:02:22 +00:00