Directory cdx/scorebot/util/config/

Directory Created:
2007-01-22 12:58
Total Files:
8
Deleted Files:
1
Lines of Code:
645

[root]/cdx/scorebot/util/config

Lines of Code

cdx/scorebot/util/config/ Lines of Code

Developers

Author Changes Lines of Code Lines per Change
Totals 70 (100.0%) 1171 (100.0%) 16.7
dound 61 (87.1%) 590 (50.4%) 9.6
genned 9 (12.9%) 581 (49.6%) 64.5

Most Recent Commits

dound 2007-04-08 01:24

fixed serialVersionUID visibility / constancy

15 lines of code changed in:

  • cdx/scorebot/util/config: ConfigBoolean.java (+3 -3), ConfigDouble.java (+3 -3), ConfigInteger.java (+3 -3), ConfigOption.java (+3 -3), ConfigString.java (+3 -3)
dound 2007-04-08 01:09

Added public long serialVersionUID = 102L; to all serializable classes.

20 lines of code changed in:

  • cdx/scorebot/util/config: ConfigBoolean.java (+4 -2), ConfigDouble.java (+4 -2), ConfigInteger.java (+4 -2), ConfigOption.java (+4 -2), ConfigString.java (+4 -2)
dound 2007-04-02 10:48

The process which checks to see if the file currently being edited now prompts the user to see if they want to save changes or not only if the file has been changed, and always if the file has been changed. Previously, an imperfect method which didn't work as well was being used.
equals( Object o ) has also been overriden for all objects in the framework.

22 lines of code changed in:

  • cdx/scorebot/util/config: ConfigOption.java (+22 -2)
dound 2007-03-25 19:17

Bug fix: options without possible values were passing a single empty possible value on accident when they really should've been passing none.

18 lines of code changed in:

  • cdx/scorebot/util/config: ConfigDouble.java (+6 -3), ConfigInteger.java (+6 -3), ConfigString.java (+6 -3)
dound 2007-03-24 23:53

Framework Change: getShortCopy should have been keeping possValues and throwing away all (allowed) values except one. It was throwing out possValues too -- this has been changed. (really a mistake in the framework planning)

17 lines of code changed in:

  • cdx/scorebot/util/config: ConfigBoolean.java (+2 -8), ConfigDouble.java (+3 -9), ConfigInteger.java (+3 -9), ConfigOption.java (+6 -4), ConfigString.java (+3 -9)
dound 2007-03-24 21:10

Implemented toString

14 lines of code changed in:

  • cdx/scorebot/util/config: VariableType.java (+14 -2)
dound 2007-02-25 21:23

Changed the getType method so it only returns the name of the class itself, not its fully qualified name with the package it is in.

8 lines of code changed in:

  • cdx/scorebot/util/config: ConfigOption.java (+8 -4)
dound 2007-02-25 16:41

Refactored a changed method name from ConfigOption.

3 lines of code changed in:

  • cdx/scorebot/util/config: ConfigOption.java (+3 -3)
dound 2007-02-25 16:32

The role of the ConfigOption has changed significantly since its inception. Originally, its primary purpose was to provide the GUI and Tests a way to access options in a convenient way -- i.e. no worrying about translations between types. However, all translation has been abstracted away from ConfigOption's themselves and is now handled by the GUI which delegates that role to the Binding framework.
The ConfigOption is now only responsible for things which really belong to it -- how its "current value" varies over time (if at all) and the values it is allowed to contain (formerly called possible values, now called allowed values).
A number of methods changed as a result of this overhaul:
1) Name Change: getOption, setOption => getCurrentValue, setCurrentValue
2) Name Change: getOptionIndex => getSelectedIndex
3) Removed: all translation methods (nobody needed or used them anyway)
4) Changed: getType is now defined by ConfigOption and doesn't need to be overriden as it can determine the name of the type on its own without its children needing to specify a static string to return (as one done in the past).

59 lines of code changed in:

  • cdx/scorebot/util/config: ConfigBoolean.java (+4 -45), ConfigDouble.java (+4 -45), ConfigInteger.java (+4 -45), ConfigOption.java (+43 -88), ConfigString.java (+4 -42)
dound 2007-02-25 16:07

Removed the option field because it didn't contain any new information and was just intended to be a copy of the values.get(valueOn) option value. Fixed the getOption and setOption functionality to work properly with this and added a getOptionIndex to get the index in values that is currently representing the option's value.

13 lines of code changed in:

  • cdx/scorebot/util/config: ConfigOption.java (+13 -13)
dound 2007-02-24 22:02

ComponType BINARY now populates the ConfigOption with true and false values automatically.

4 lines of code changed in:

  • cdx/scorebot/util/config: ConfigOption.java (+4 -4)
dound 2007-02-23 15:20

rearranged...

21 lines of code changed in:

  • cdx/scorebot/util/config: ConfigOption.java (+21 -15)
dound 2007-02-23 14:55

toString added which gets the name

5 lines of code changed in:

  • cdx/scorebot/util/config: ConfigOption.java (+5 -2)
dound 2007-02-22 16:52

name support for options

16 lines of code changed in:

  • cdx/scorebot/util/config: ConfigOption.java (+16 -3)
dound 2007-02-20 08:15

Uses the new SelfTranslator vice TranslatorStringString.

4 lines of code changed in:

  • cdx/scorebot/util/config: ConfigString.java (+4 -4)
dound 2007-02-18 19:54

Fixed ConfingOption design flaw so it now allows its values to be set and retrieved from their string representations. Translators now do the translation.

101 lines of code changed in:

  • cdx/scorebot/util/config: ConfigBoolean.java (+17 -8), ConfigDouble.java (+16 -8), ConfigInteger.java (+16 -8), ConfigOption.java (+39 -4), ConfigString.java (+13 -7)
dound 2007-02-13 15:21

The ConfigVariableOption has been merged into the ConfigOption class. All methods and fields in the ConfigVariableOption class have been moved into the ConfigOption class. All ConfigOptions are now ConfigVariableOptions.
This change was made to simplify the proccessing of ConfigOptions. It also seems unnecessary to have a distinction between the two since ConfigVariableOption's may be of VarianceType STATIC.

121 lines of code changed in:

  • cdx/scorebot/util/config: ConfigBoolean.java (+3 -3), ConfigDouble.java (+3 -3), ConfigInteger.java (+3 -3), ConfigOption.java (+109 -2), ConfigString.java (+3 -3), ConfigVariableOption.java (del)
dound 2007-02-13 14:33

Added a helper class SettingsFile to allow GUIs to easily save/restore recently used filenames and other settings. Javadoc updated in ConfigOption so it makes sense!

7 lines of code changed in:

  • cdx/scorebot/util/config: ConfigOption.java (+7 -5)
dound 2007-01-30 21:11

ConfigOption now have a getType() method which returns a String which indicates what "type" of information it holds. The get/setType methods from ConfigVariableOption have been refactored to the name get/setVarianceType.

62 lines of code changed in:

  • cdx/scorebot/util/config: ConfigBoolean.java (+12 -2), ConfigDouble.java (+12 -2), ConfigInteger.java (+12 -2), ConfigOption.java (+5 -2), ConfigString.java (+12 -2), ConfigVariableOption.java (+9 -9)
dound 2007-01-25 00:50

Fixed JavaDoc problems.

3 lines of code changed in:

  • cdx/scorebot/util/config: ConfigVariableOption.java (+3 -3)

(3 more)

Generated by StatCVS 0.3