Ignore:
Timestamp:
06/22/13 21:51:33 (11 years ago)
Author:
psniegowski
Message:

HIGHLIGHTS:

  • simplification of entities management model
  • cleanup around params (improve hierarchy)
  • migrate from JUnit to TestNG
  • introduce FEST to automatically test GUI
  • improve slider control
  • loosen synchronization between gui tree and backend representation
  • and many other bug fixes

NOTICE:

  • a great many of lines is changed only because of substituting spaces with tabs

CHANGELOG (oldest changes at the bottom):

Some cleaning after fix found.

Fix bug with tree.

More changes with TreeNodes?.

Finally fix issue with tree.

Improve gui tree management.

Decouple update of values from fetch request in gui.

Minor changes.

Minor changes.

Minor change.

Change Path construction wording.

More fixes to SliderControl?.

Fix SliderControl?.

Fix SliderControl?.

Minor improvement.

Several changes.

Make NumberParam? a generic class.

Add robot to the gui test.

Setup common testing logging configuration.

Remove Parameters class.

Remove entityOwner from Parameters.

Move name out from Parameters class.

Move configuration to after the construction.

Simplify observers and endpoints.

Remove superfluous configureEntity overrides.

Add dependency on fest-swing-testng.

Use FEST for final print test.

Use FEST for more concise and readable assertions.

Divide test of F0Parser into multiple methods.

Migrate to TestNG

Minor change.

Change convention from LOGGER to log.

Fix reporting of errors during controls filling.

Bound maximal height of SliderControl?.

Minor improvements.

Improve tooltips for controls.

Also use Delimeted in more places.

Move static control utilities to Gui.

Rename package gui.components to controls.

Some cleaning in controls.

Improve Param classes placing.

Move ValueParam?, PrimitiveParam? and CompositeParam? one package up.

Improve ParamBuilder?.

Move getDef to ValueParam? and PrimitiveParam?.

Move getMax and getDef to ValueParam?.

Move getMin to ValueParam?.

Upgrade to laters apache commons versions.

Use filterInstanceof extensively.

Add instanceof filters.

Make ValueParam? in many places of Param.

Place assertions about ValueParam?.

Add ValueParam?

Rename ValueParam? to PrimitiveParam?

Minor changes.

Several improvements to params types.

Add NumberParam?.

Add TextControl? component.

Add .swp files to .gitignore

Greatly improved slider component.

Some improvements.

Make Param.reassign return also a state.

Add IterableIterator?.

Several changes.

  • Move util classes to better packages.
  • Remove warnings from eclim.

Several improvements.

Fix bug with BooleanParam?.

Some experiments with visualization.

Another fix to panel management.

Improve panel management.

Some refactorization around panels.

Add root class for panel.

Location:
java/main
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • java/main

    • Property svn:ignore set to
      target
  • java/main/src/main/java/com/framsticks/communication/Request.java

    r77 r84  
    22
    33import com.framsticks.communication.queries.*;
    4 
    5 import java.util.Collection;
    6 import java.util.regex.Matcher;
    7 import java.util.regex.Pattern;
    84
    95/**
     
    128public abstract class Request {
    139
    14     public static void quoteValue(StringBuilder builder, String value) {
     10        public static void quoteValue(StringBuilder builder, String value) {
    1511                String quote = ((value.indexOf(' ') > 0) || (value.length() == 0) ? "\"" : "");
    1612                builder.append(quote).append(value).append(quote);
     
    1915        public abstract String getCommand();
    2016
    21     protected abstract StringBuilder construct(StringBuilder buffer);
     17        protected abstract StringBuilder construct(StringBuilder buffer);
    2218        //private static Pattern queryPattern = Pattern.compile("^(\\S+)\\s+(\\S+)(?:\\s+(\\S+))?$");
    2319
     
    3531                        return new CallRequest();
    3632                }
    37         if (type.equals("reg")) {
    38             return new RegistrationRequest();
    39         }
    40         if (type.equals("use")) {
    41             return new UseRequest();
    42         }
    43         if (type.equals("version")) {
    44             return new VersionRequest();
    45         }
    46         return null;
     33                if (type.equals("reg")) {
     34                        return new RegistrationRequest();
     35                }
     36                if (type.equals("use")) {
     37                        return new UseRequest();
     38                }
     39                if (type.equals("version")) {
     40                        return new VersionRequest();
     41                }
     42                return null;
    4743        }
    4844
    49     public abstract void parseRest(String rest);
     45        public abstract void parseRest(String rest);
    5046
    51     @Override
    52     public String toString() {
    53         return construct(new StringBuilder().append(getCommand())).toString();
    54     }
     47        @Override
     48        public String toString() {
     49                return construct(new StringBuilder().append(getCommand())).toString();
     50        }
    5551}
Note: See TracChangeset for help on using the changeset viewer.