Commit Graph
53 Commits
Author SHA1 Message Date
Jacques Le Roux fdd931774d Close https://issues.apache.org/jira/browse/OFBIZ-3112 - OFBIZ-3112 : Resolve java warnings exposed in Eclipse - framework - guiapp
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@833024 13f79535-47bb-0310-9956-ffa450edef68
2009-11-05 09:21:00 +00:00
Jacques Le Roux 2aae4156ec Fix a typo
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@826410 13f79535-47bb-0310-9956-ffa450edef68
2009-10-18 11:29:25 +00:00
Jacques Le Roux c6c27c59e4 This was working, because of the way logical font names works in Java.
But could lead to ambiguities letting the wrong file name in xpos.properties.
Anyway symmetry is beautiful, in code as in other places.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@826304 13f79535-47bb-0310-9956-ffa450edef68
2009-10-17 20:35:02 +00:00
Jacques Le Roux 8655543761 Actually there was no AWT bug. This is fixed in XuiContainer.java.
Note that this works but not the 1st time. 
Because it dynamically changes the xpos.properties file but XUI has to load it.
I tried using setPropertyValueInMemory, that I introduced recently for dynamic password changes, but it did not work.  I guess XUI would have to reload it, but did not try this way... yet...
So if you want it to work from the start, as for the Language parameter, you have to set it in xpos.properties by hand before launching the OFBiz-POS
Anyway I will rewrite a complete documentation about that and other things.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@826303 13f79535-47bb-0310-9956-ffa450edef68
2009-10-17 20:10:34 +00:00
Jacques Le Roux 6a652db7a3 New swipWithCard property in parameters.properties, only used in ClientProfile.java for card number field for now
+
* Suppress serial warning
* Better French translation
* replace ShowKeyboardInSaveSale by showKeyboardInSaveSale in Java code

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@825444 13f79535-47bb-0310-9956-ffa450edef68
2009-10-15 09:19:40 +00:00
Jacques Le Roux eac20099b0 I stupidly committed with "en" in 1st place :(
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@825185 13f79535-47bb-0310-9956-ffa450edef68
2009-10-14 16:42:51 +00:00
Adrian Crum 9ee18d37c5 Updated client code to use the new Delegator factory method.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@823633 13f79535-47bb-0310-9956-ffa450edef68
2009-10-09 17:44:24 +00:00
Adrian Crum 7fa08f9079 Replaced GenericDelegator.getGenericDelegator(...) calls with new factory method.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@821649 13f79535-47bb-0310-9956-ffa450edef68
2009-10-05 01:53:50 +00:00
Adrian Crum a4d68934c9 Converted GenericDelegator concrete class references to Delegator interface references.
This commit requires ant clean. Also, external libraries that reference GenericDelegator will need to be updated.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@821643 13f79535-47bb-0310-9956-ffa450edef68
2009-10-05 00:08:27 +00:00
Jacques Le Roux 5330401ba3 Allow to use another language than the default one (locale) in the POS
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@820234 13f79535-47bb-0310-9956-ffa450edef68
2009-09-30 10:23:18 +00:00
Adrian Crum 74ea95889c Reverted rev 802567.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@812692 13f79535-47bb-0310-9956-ffa450edef68
2009-09-08 20:56:14 +00:00
Jacques Le Roux 4c442ee379 Some fusiness
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@804895 13f79535-47bb-0310-9956-ffa450edef68
2009-08-17 08:20:38 +00:00
Adrian Crum 6786aa4dbc Refactored GenericDelegator:
1. Converted GenericDelegator to an interface. We already have DelegatorInterface, but it isn't being used anywhere. Removed DelegatorInterface.java.

2. Extracted the static, cached data from the GenericDelegator implementation and put it in its own class - DelegatorData. The GenericDelegator implementation holds a reference to the DelegatorData instance. This makes it possible to have per-thread instances of GenericDelegator.

3. Replaced the ThreadLocal variables with regular variables. ThreadLocal variables are no longer needed. Client code doesn't need to be concerned with pushing and popping the GenericDelegator state.

This commit paves the way for the forthcoming ExecutionContext.

User modifications will have to replace GenericDelegator.getGenericDelegator(...) with DelegatorFactory.getGenericDelegator(...). Also, replace the push code with the new setXxx methods, and remove the pop code. If modifications used DelegatorInterface, replace that with GenericDelegator.

Aside from those changes, this commit is backwards compatible.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@802567 13f79535-47bb-0310-9956-ffa450edef68
2009-08-09 18:04:26 +00:00
Adrian Crum 2b9121fd39 Chinese translation for the framework folder, provided by Shi Yusen - https://issues.apache.org/jira/browse/OFBIZ-2723.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@798559 13f79535-47bb-0310-9956-ffa450edef68
2009-07-28 15:24:23 +00:00
Jacques Le Roux 34cfcf2d60 Everybody agreed that it's simpler to use false than to explain ftrue...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@783905 13f79535-47bb-0310-9956-ffa450edef68
2009-06-11 21:08:16 +00:00
Jacques Le Roux b9c3ddef08 2d part and end of an effort to remove trailing spaces
[ \t]+$ => "" (empty)
Should be easier to review when committing changes with trailing spaces removed automatically by anyedit or such tool (please refer to http://docs.ofbiz.org/x/mg)

Of course this effort to remove trailing spaces has no functional implications.

Actually, I was doing a 1st commit and as it's long to upload, I got conflicts with r763135
In the meantime I did some refactoring also in *.java and *.groovy files :
){ => ) {
if( => if (
while( => while (
}else => } else
else{ => else {
switch( => switch (
try{ => try {
}catch => } catch
catch( => catch (
}finally{ => } finally {

So these changes are also in this commit, should not be a problem anyway.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@763175 13f79535-47bb-0310-9956-ffa450edef68
2009-04-08 10:54:51 +00:00
Adam Heath 5b4f6320c7 Fix lines that *only* have whitespace.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@759237 13f79535-47bb-0310-9956-ffa450edef68
2009-03-27 16:57:13 +00:00
Adam Heath 3cd2ee4be6 Fix purely empty whitespace lines, and remove trailing whitespace.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@757076 13f79535-47bb-0310-9956-ffa450edef68
2009-03-21 23:24:43 +00:00
Jacques Le Roux fc6db9e886 if( => if (
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@750997 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 17:36:09 +00:00
Jacques Le Roux 13a934f823 In spirit of Adam's r749341 and following http://java.sun.com/docs/codeconv/html/CodeConventions.doc7.html#489
The idea is also that a lot of code is duplicated and then changed (copy/paste). Hence having a rightly formatted code help to keep it rightly formatted
1st (simple) step : ){ => ) { (I checked all occurrences but of course other pairs of eyeballs are welcome)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@750993 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 17:31:13 +00:00
Jacques Le Roux 3c1e545b85 Partial Cleanup_labels34.patch from Marco Risaliti 'Clean up labels" (https://issues.apache.org/jira/browse/OFBIZ-1780) - OFBIZ-1780
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@735315 13f79535-47bb-0310-9956-ffa450edef68
2009-01-17 17:34:48 +00:00
Jacques Le Roux d5f99b443a A modified patch from Erik Wegner "Patch for all language files (*Labels.xml) to correct language order, find duplicates or invalid entries" (https://issues.apache.org/jira/browse/OFBIZ-2073) - OFBIZ-2073
I removed some hunks, see https://issues.apache.org/jira/browse/OFBIZ-2073?focusedCommentId=12656651#action_12656651



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@726808 13f79535-47bb-0310-9956-ffa450edef68
2008-12-15 21:28:06 +00:00
Jacques Le Roux 1842a5e863 More consistent French translation for User Login and misc.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@705926 13f79535-47bb-0310-9956-ffa450edef68
2008-10-18 21:29:17 +00:00
Adam Heath e410552cc9 No longer *copy* the extra support files into the classes dir;
instead, just add them straight to the final jar.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@685934 13f79535-47bb-0310-9956-ffa450edef68
2008-08-14 15:08:14 +00:00
Adam Heath b6a1ae5e5e Another minor optimization; no longer need to specify classpathref in
all the build.xml files.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@681935 13f79535-47bb-0310-9956-ffa450edef68
2008-08-02 03:41:46 +00:00
Jacques Le Roux 42ad26c45e Mmm; It seems that we should better keep our v3.2rc2b version :(
We loose colors with plain v3.2... No time to investigate more

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@674192 13f79535-47bb-0310-9956-ffa450edef68
2008-07-05 13:07:15 +00:00
Jacques Le Roux b5363d1b51 Oops, remove
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@674191 13f79535-47bb-0310-9956-ffa450edef68
2008-07-05 13:02:22 +00:00
Jacques Le Roux 22451981ee Replace by last XUI version (3.2 instead of 3.2rc2b)
I thought it was done, surely missed something...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@674190 13f79535-47bb-0310-9956-ffa450edef68
2008-07-05 13:01:34 +00:00
Jacques Le Roux 778c4c87be Replace by last XUI version (3.2 instead of 3.2rc2b)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@674183 13f79535-47bb-0310-9956-ffa450edef68
2008-07-05 11:46:43 +00:00
Adam Heath 9dcc373559 More generics.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@672673 13f79535-47bb-0310-9956-ffa450edef68
2008-06-29 20:36:17 +00:00
Adam Heath 18391f98a9 The build.xml files are now much smaller and simpler; they reuse a
few global definitions.  1585 lines removed.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@672657 13f79535-47bb-0310-9956-ffa450edef68
2008-06-29 18:39:36 +00:00
David E. Jones 329631a4b5 A whole bunch of cleanups to use newer and more consolidated delegator find methods; still lots of deprecation warnings, bots of deprecation warnings but this is a first pass, and things still run as before
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@653029 13f79535-47bb-0310-9956-ffa450edef68
2008-05-03 09:40:51 +00:00
Hans Bakker 1ac8c10955 converted several framework language labels files to the xml format and added the Thai language
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@630117 13f79535-47bb-0310-9956-ffa450edef68
2008-02-22 08:39:43 +00:00
Jacques Le Roux 8d53d4d4a5 Replaced by XuiCoreSwing-v3.2rc2b.jar and XuiOptional-v3.2rc2b.jar
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@615295 13f79535-47bb-0310-9956-ffa450edef68
2008-01-25 18:20:14 +00:00
Jacques Le Roux bc356caaa6 From a slightly modified Chris Lombardi's patch "XUI update to x3.2rc2b" (see comments in https://issues.apache.org/jira/browse/OFBIZ-1580) - OFBIZ-1580
I will remove the old XUI jar later


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@615262 13f79535-47bb-0310-9956-ffa450edef68
2008-01-25 16:45:21 +00:00
Jacques Le Roux 38e0ac0aab Now by default if an user is timed out user or has blocked the POS any other user can login.
This behavior is reversible using isSameLogin parameter in new xui.properties.file
Note that this behavior is not specific to POS and could be used by any applications using XUI

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@604423 13f79535-47bb-0310-9956-ffa450edef68
2007-12-15 12:56:27 +00:00
David E. Jones 07b48643c5 As noted needing to be done by Jacques Le Roux did a search/replace on source=1.4 and changed to 1.5
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@541997 13f79535-47bb-0310-9956-ffa450edef68
2007-05-27 15:55:18 +00:00
Jacopo Cappellato bba13d149b Applied patch from Jacques Le Roux to upgrade XuiCoreSwing to version 2_0_6_jdk1_5.
OFBIZ-999


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@540050 13f79535-47bb-0310-9956-ffa450edef68
2007-05-21 07:32:52 +00:00
David E. Jones 7d70c41c12 Did a big search/replace to change all xsd file refs from www.ofbiz.org to ofbiz.apache.org
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@539504 13f79535-47bb-0310-9956-ffa450edef68
2007-05-18 15:47:14 +00:00
David E. Jones b5a7493883 Cleanup of LocalDispatcher creation through the GenericDispatcher object; consolidates a bunch of code and hopefully simplifies a things; should also more permanently fix the weird problem we were having with the testing services a bit ago
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@516271 13f79535-47bb-0310-9956-ffa450edef68
2007-03-09 02:45:55 +00:00
Jacques Le Roux dad67935f7 A (large) patch from Scott Gray "Update ASL header" (https://issues.apache.org/jira/browse/OFBIZ-637).
I put also some svn:ignore for shark build and lib diretories and assetmaint/build 

I did some by hand lately, too much to remember. They were files with old header but without copyright. A 1st attempt I suppose, will have to check this after this commit.

I add some problems to commit this patch in one piece because it's so huge (specially with Eclipse I had to turn to Tortoise) !

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@499486 13f79535-47bb-0310-9956-ffa450edef68
2007-01-24 17:15:54 +00:00
Jacques Le Roux a5632fa086 This is hte change of ASL2 headers in java files only.
Seems correct (35827 lines to review ;o).
I just wonder if we should keep the copyright comment in Classpath.java (about MortBay)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@496982 13f79535-47bb-0310-9956-ffa450edef68
2007-01-17 10:22:33 +00:00
Jacques Le Roux a692142838 To resolve "Harcoded string to POS startupFile in GUIAPP component" (https://issues.apache.org/jira/browse/OFBIZ-471)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@487891 13f79535-47bb-0310-9956-ffa450edef68
2006-12-16 21:26:10 +00:00
Jacques Le Roux c5c6f90f32 I forgot that the new editing ComboBox in POS needs XUI 2.0.6
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@482703 13f79535-47bb-0310-9956-ffa450edef68
2006-12-05 16:31:58 +00:00
Jacopo Cappellato 2563ea3450 Applied patch from Stefan Huehner (OFBIZ-515) to fix string comparisons; plus some other formatting fixes.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@482264 13f79535-47bb-0310-9956-ffa450edef68
2006-12-04 17:53:16 +00:00
Jacques Le Roux 6c5dcb0cba Change harcoded string from
String xuiProps = System.getProperty("ofbiz.home") + "/applications/pos/config/" + startupFile;
to    
    String xuiProps = System.getProperty("ofbiz.home") + "/specialpurpose/pos/config/" + startupFile;

I have created a Jira issue to remember to find a better solution : https://issues.apache.org/jira/browse/OFBIZ-471.




git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@476517 13f79535-47bb-0310-9956-ffa450edef68
2006-11-18 12:59:18 +00:00
David E. Jones fc96cf5ab7 Changed all build files to add NOTICE and LICENSE files to the META-INF directory in each jar file that is created in OFBiz
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@472422 13f79535-47bb-0310-9956-ffa450edef68
2006-11-08 08:23:23 +00:00
Jacopo Cappellato e5bdcad34c Removed author information from all the files of the "geronimo", "guiapp", "jetty" components: keeping this information in source files is discouraged by the ASF (clearer information about the contributors of a file can be derived from the commit logs).
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@454123 13f79535-47bb-0310-9956-ffa450edef68
2006-10-08 10:38:51 +00:00
Jacques Le Roux 35c7e40d2c This complete (save part and more) and finish the OFBIZ-734 issue.
I will add some comments in code later.

git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@429165 13f79535-47bb-0310-9956-ffa450edef68
2006-08-06 17:56:24 +00:00
Jacques Le Roux b14396c4d6 Revert XUI engine to 2.0.5 version.
There is a conflict with Xpage.showPage which is waiting for a PageSupport result in 2.0.7.
Will see that later, after telling Xoetrope about the problem.
I tested it before and thought it was working well.
But using Eclipse I did rebuild only the POS component and XUI engine is in framework/guiapp component !

git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@426803 13f79535-47bb-0310-9956-ffa450edef68
2006-07-29 13:53:47 +00:00