Commit Graph
10472 Commits
Author SHA1 Message Date
Adrian Crum cd731c702b Fixed a small bug in UtilProperties.java where some properties files were cached twice.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@712201 13f79535-47bb-0310-9956-ffa450edef68
2008-11-07 17:06:48 +00:00
Adrian Crum a414ac0c9b Code cleanups in the base component - deprecated unused/unnecessary classes.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@712195 13f79535-47bb-0310-9956-ffa450edef68
2008-11-07 16:54:41 +00:00
Jacques Le Roux aa65c1ab6e 2 new promotions rules conditions derived from "Order sub-total X in last Y Months"
respectively 
    "Order sub-total X since beginning of current year" 
and  
    "Order sub-total X last year"
+ some French translation amendments

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@712167 13f79535-47bb-0310-9956-ffa450edef68
2008-11-07 15:43:24 +00:00
Jacques Le Roux bd0213dfa3 A patch from Nicolas Malin " Add filter on list to apply specific style" (https://issues.apache.org/jira/browse/OFBIZ-2032) - OFBIZ-2032
As suggested by Scott, Nicolas has replaced filter by altRowStyle, all is ok


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@711987 13f79535-47bb-0310-9956-ffa450edef68
2008-11-06 22:04:10 +00:00
Adam Heath 23fd64c410 Remove the prepare targets, they are already defined in common.xml.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@711773 13f79535-47bb-0310-9956-ffa450edef68
2008-11-06 06:17:36 +00:00
Adam Heath e928d0ba94 Rename a variable called foo to conversion.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@711757 13f79535-47bb-0310-9956-ffa450edef68
2008-11-06 02:46:21 +00:00
Jacopo Cappellato 69edd00736 Improved header alignment for the simple report builder screen in the BI component.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@711593 13f79535-47bb-0310-9956-ffa450edef68
2008-11-05 15:57:42 +00:00
Jacques Le Roux 04072c2e44 Better French translation
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@711239 13f79535-47bb-0310-9956-ffa450edef68
2008-11-04 12:23:58 +00:00
Jacques Le Roux 12f2d297e4 Fix last commit
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@709984 13f79535-47bb-0310-9956-ffa450edef68
2008-11-02 23:02:18 +00:00
Hans Bakker 20c2edb15a upgrade of jsgantt, the developer Shlomy Gantz fixed an error for me, thanks! Further the scheduler is improoved
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@709976 13f79535-47bb-0310-9956-ffa450edef68
2008-11-02 22:45:11 +00:00
Adam Heath 0c8e487006 This is a bit more map-like now.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@709906 13f79535-47bb-0310-9956-ffa450edef68
2008-11-02 18:55:05 +00:00
Adam Heath d8f09e9985 makeValidContext now takes a read-only context; the underlying
methods already did it this way, so this keeps calling code from
having to copy the context itself.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@709905 13f79535-47bb-0310-9956-ffa450edef68
2008-11-02 18:53:38 +00:00
Adrian Crum 2f85064cb5 Log simple method improvement - show source of log message.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@709886 13f79535-47bb-0310-9956-ffa450edef68
2008-11-02 14:51:45 +00:00
Jacques Le Roux e57e43fcc4 I forgot initially-collapsed in previous commit.
Put some documentation

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@709871 13f79535-47bb-0310-9956-ffa450edef68
2008-11-02 11:46:09 +00:00
Jacques Le Roux 30c6b789e2 Put requirementMethodEnumId in Inventoy fields group
And I forgot to update XSD in r707768 (OFBIZ-1992)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@709844 13f79535-47bb-0310-9956-ffa450edef68
2008-11-02 05:04:59 +00:00
Adam Heath 483e01ac49 Remove all empty javadocs, that only contain an empty @return.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@709642 13f79535-47bb-0310-9956-ffa450edef68
2008-11-01 04:06:23 +00:00
Adam Heath 7cecc5aaf2 Annotations are not the same thing as javadocs.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@709638 13f79535-47bb-0310-9956-ffa450edef68
2008-11-01 03:42:09 +00:00
Adam Heath bf5144d6a0 No more javadoc warnings.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@709634 13f79535-47bb-0310-9956-ffa450edef68
2008-11-01 03:35:29 +00:00
Adam Heath aea3931bbf Modify all <javadoc> to use the src sets, so that excluded files are
no longer processed.  Reduces javadoc warnings.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@709628 13f79535-47bb-0310-9956-ffa450edef68
2008-11-01 03:19:00 +00:00
Adam Heath 195170175b Use pattern sets in <javac/>, to include/exclude files, and modify
all build.xml to override the sets, if nescessary.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@709627 13f79535-47bb-0310-9956-ffa450edef68
2008-11-01 03:06:17 +00:00
Adam Heath e4566854d9 Javadoc updates; no warnings!
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@709585 13f79535-47bb-0310-9956-ffa450edef68
2008-10-31 22:15:48 +00:00
Adam Heath 9b82e6539f Few small javadoc changes; no warnings!
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@709584 13f79535-47bb-0310-9956-ffa450edef68
2008-10-31 22:15:15 +00:00
Jacques Le Roux 06f33869c3 A patch from Ray Barlow " Import CSV file using specify text delimiter" (https://issues.apache.org/jira/browse/OFBIZ-2031) - OFBIZ-2031
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@709002 13f79535-47bb-0310-9956-ffa450edef68
2008-10-29 20:30:15 +00:00
Adam Heath 2678df713a Make it work with clean global ant. Now both ./ant and a system
installed ant will work; tested in a brand new clean chroot.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@708993 13f79535-47bb-0310-9956-ffa450edef68
2008-10-29 19:47:20 +00:00
Adam Heath 422ee9eb03 Fix use of optional ant features, <scriptdef>.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@708924 13f79535-47bb-0310-9956-ffa450edef68
2008-10-29 15:51:41 +00:00
Adam Heath 08197bc0d6 Whoops; this didn't work when it was used from a parent build.xml,
and recursed into a sub build.xml.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@708775 13f79535-47bb-0310-9956-ffa450edef68
2008-10-29 04:49:39 +00:00
Adam Heath c3dcee492a No longer store a separate id/code combo; instead, store the
SQLFunction enum.  This gives a very slight memory reduction,
depending on how many instantiated functions are in the system.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@708771 13f79535-47bb-0310-9956-ffa450edef68
2008-10-29 04:36:42 +00:00
Adam Heath e8b37d65e3 Switch ID_FOO to Enum.ordinal().
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@708767 13f79535-47bb-0310-9956-ffa450edef68
2008-10-29 04:24:41 +00:00
Adam Heath f205b3564e Move the factory create stuff to an enum; this allows for looking
up functions by their string name.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@708766 13f79535-47bb-0310-9956-ffa450edef68
2008-10-29 04:16:59 +00:00
Adam Heath ae5757b54e Fix tabbing/spacing(minor).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@708761 13f79535-47bb-0310-9956-ffa450edef68
2008-10-29 03:29:01 +00:00
Adam Heath b32378737b Finish feature integration; the ofbiz-jjtree task now works.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@708760 13f79535-47bb-0310-9956-ffa450edef68
2008-10-29 03:22:05 +00:00
Adam Heath e8ba1f34d8 Add javacc, with support script.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@708734 13f79535-47bb-0310-9956-ffa450edef68
2008-10-29 00:05:36 +00:00
Adam Heath 658136e0e4 Add the standard license header.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@708730 13f79535-47bb-0310-9956-ffa450edef68
2008-10-28 23:52:44 +00:00
Adam Heath a60909100b Add a new ant task, <if><condition/><commands/><else/></if>, since
ant itself doesn't support such a construct.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@708699 13f79535-47bb-0310-9956-ffa450edef68
2008-10-28 22:08:24 +00:00
Jacques Le Roux a66e19d3b4 Typo
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@708473 13f79535-47bb-0310-9956-ffa450edef68
2008-10-28 08:02:54 +00:00
Hans Bakker 2a6ef131a6 scheduler now takes saturday/sundays into account
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@708444 13f79535-47bb-0310-9956-ffa450edef68
2008-10-28 05:54:21 +00:00
Jacques Le Roux b3e193e5a6 Fix an error reported by Bilin on dev ML. My fault [] is not equals to null !
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@708157 13f79535-47bb-0310-9956-ffa450edef68
2008-10-27 12:36:36 +00:00
Jacques Le Roux 9217b4b5f5 A simplified patch from Marco Risaliti "Errors listing entity in Webtools" (https://issues.apache.org/jira/browse/OFBIZ-1944) - OFBIZ-1944
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@708036 13f79535-47bb-0310-9956-ffa450edef68
2008-10-26 20:51:59 +00:00
Jacques Le Roux 4c7ca711ac French translation
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@707895 13f79535-47bb-0310-9956-ffa450edef68
2008-10-25 19:43:41 +00:00
Jacques Le Roux c6adcaaa0e Revert r707216 on Adam and David's advices (OFBIZ-1232)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@707830 13f79535-47bb-0310-9956-ffa450edef68
2008-10-25 10:02:40 +00:00
Bilgin Ismet Ibryam 09e537a333 A patch from Dimitri Unruh "Generate alt-attribute in the image element" - OFBIZ-1954
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@707800 13f79535-47bb-0310-9956-ffa450edef68
2008-10-25 00:42:11 +00:00
Jacques Le Roux a4382879e2 A patch from Bruno Busco "Collapsible field-group" (https://issues.apache.org/jira/browse/OFBIZ-1992) - OFBIZ-1992
I only added i18n (in renderFieldGroupOpen) and l10n (all in CommonUiLabels.xml) and made some changes in grouping


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@707768 13f79535-47bb-0310-9956-ffa450edef68
2008-10-24 22:26:46 +00:00
Bilgin Ismet Ibryam 828d56b761 A patch from Joe Eckard "Groovy & Beanshell Service Engines do not provide DispatchContext to scripts" - OFBIZ-1979
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@707599 13f79535-47bb-0310-9956-ffa450edef68
2008-10-24 10:35:00 +00:00
Adrian Crum 67c49da276 Improved TimeDuration.java - now supports negative durations.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@707488 13f79535-47bb-0310-9956-ffa450edef68
2008-10-23 22:38:56 +00:00
Jacques Le Roux b3a8df1ef9 Merged and modified Oscar Pablo's patch from "Data filtering in entity views" (https://issues.apache.org/jira/browse/OFBIZ-1232) - OFBIZ-1232
I put documentation in entitymodel.xsd, removed the need for an iterator, and strengthened makeViewFilterWhereClause.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@707216 13f79535-47bb-0310-9956-ffa450edef68
2008-10-22 22:22:00 +00:00
Jacques Le Roux fa9e4bccb9 A patch from Michael Imhof "Entity declaration: NOT NULL Fields on database" (https://issues.apache.org/jira/browse/OFBIZ-747) - OFBIZ-747
This is simple, clear and may turn useful in some cases. It can't hurt anything but will only work on a new data base.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@707135 13f79535-47bb-0310-9956-ffa450edef68
2008-10-22 17:03:27 +00:00
David E. Jones 055c5d9762 Changed GenericEntity.set data type warning to be far more obnoxious as discussed in the mailing list, not in a different file or anything yet; also added a similar check to the EntityExpr class, called for now just when creating the SQL because before then we don't even know which entity it is, though it would be nice to do in the constructor this at least gets us close when there are issues
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@706842 13f79535-47bb-0310-9956-ffa450edef68
2008-10-22 01:30:49 +00:00
David E. Jones 1f4ab8f090 Added exception to get location when the delegator name isn't passed in
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@706840 13f79535-47bb-0310-9956-ffa450edef68
2008-10-22 01:29:03 +00:00
David E. Jones cfce74a834 Fixed bad init parameter names for the delegator, was causing the messages on startup about a null delegator name
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@706838 13f79535-47bb-0310-9956-ffa450edef68
2008-10-22 01:25:51 +00:00
Jacques Le Roux 4108324e0f A patch patch from Marco Risaliti " Error parsing entity xml file: java.io.CharConversionException: Invalid UTF-8 Encoding" (https://issues.apache.org/jira/browse/OFBIZ-1957) - OFBIZ-1957
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@706692 13f79535-47bb-0310-9956-ffa450edef68
2008-10-21 17:56:55 +00:00