Commit Graph

38 Commits

Author SHA1 Message Date
GoToLoop
27371a5fd1 Update ControllerGroup.java 2016-07-09 08:47:43 -03:00
GoToLoop
1ed22095ea Merge pull request #2 from GoToLoop/revert-1-ControllerList-patch-1
Revert "Change Vector to ArrayList"
2016-07-09 06:34:01 -03:00
GoToLoop
669b71bf81 Revert "Change Vector to ArrayList" 2016-07-09 06:33:27 -03:00
GoToLoop
2a15aaacbf Merge pull request #1 from GoToLoop/ControllerList-patch-1
Change Vector to ArrayList
2016-07-09 06:15:03 -03:00
GoToLoop
d9af4c2d9f Change Vector to ArrayList
Since __*ArrayList*__ isn't safe like __*Vector*__, I'm also adding `synchronized ()` at places where either of its structure's **size()** changes.
Those 6 methods are: **add()**, **addDrawable()**, **remove()**, **removeDrawable()**, **clear()** and **clearDrawable()**.
Of course, all loops traversing this class still needs to be synchronized externally as well; either over **get()** or **getDrawables()**.
Last word: This patch is just a standalone performant refactoring. It's not obligatory for __*ControllerGroup*__'s previous patch.
2016-07-09 06:10:46 -03:00
GoToLoop
d30c234759 Refactor for ControllerGroup + synchronized
* I wasn't expecting almost 1000 lines of code, but I've taken the challenge anyways.
* Placed localized `synchronized ()` not only for those 2 _**Vector**_ containers from _controllers_ field, but also for the 2 __*ArrayList*__ in __*ControllerGroup*__ class.
* Mostly for all sections doing iteration on them, but also when their **size()** changes.
* Prepended `@Override` for all inherited methods in __*ControllerGroup*__ class.
* Prepended `final` for all fields which didn't seem they would be re-assigned.
* Lotsa further cleanups I can't remember I did.  :P
2016-07-06 12:27:28 -03:00
sojamo
1f7cb64986 2.2.6 release 2016-04-14 18:39:16 +08:00
sojamo
665b0c1aa5 readme typo fix 2015-09-04 15:12:40 +08:00
sojamo
a4a4824bfe adjustments to fix issue #12 2015-07-30 17:38:55 +08:00
sojamo
12235cb462 fix for issue #12 2015-07-30 11:01:15 +08:00
andreas schlegel
096c553452 Merge pull request #8 from AmnonOwed/FixRadioButton.removeItem
Fix RadioButton.removeItem(String)
2015-07-30 10:34:19 +08:00
AmnonOwed
c3bdd53a3c Fix RadioButton.removeItem(String) 2015-05-05 09:13:10 +02:00
sojamo
8ade1d493b adding DOI to the readme 2015-03-29 22:05:16 +08:00
sojamo
3ef6bdf244 fix, see issue 3, release 2.2.4 updated 2015-03-29 21:59:13 +08:00
sojamo
d5c22c4be7 release for DOI 2015-03-24 12:43:40 +08:00
sojamo
388b13569b 2.2.3 release 2015-03-24 12:27:05 +08:00
sojamo
e2b6800bd3 wip 2014-09-08 15:58:00 +08:00
sojamo
395d525487 still fixing these links 2014-09-08 15:48:20 +08:00
sojamo
7886fc05d4 setSwitch now enabled 2014-09-08 15:45:08 +08:00
sojamo
abab5725aa adjusting comments for ColorWheel example 2014-09-08 15:37:46 +08:00
sojamo
e5f6594e75 .pde link fix 2014-09-08 15:37:14 +08:00
sojamo
ac6b47db33 readme wip 2014-09-08 15:31:15 +08:00
sojamo
a1c209a716 src updates, adding Background and Icon 2014-09-08 15:30:57 +08:00
sojamo
c7a75ff6cb resources update 2014-09-08 15:30:21 +08:00
sojamo
ba2144261e adding License 2014-09-08 15:30:02 +08:00
sojamo
17abb7d2d6 examples update 2014-09-08 15:27:17 +08:00
sojamo
a44e8cac2d readme wip 2014-08-16 19:43:47 +08:00
sojamo
218b65e2cf version number update 2014-08-16 19:43:33 +08:00
sojamo
04c4811582 updated for 2.2.2 release 2014-08-16 19:43:21 +08:00
sojamo
4d6cfbbc39 adding automation scripts to test examples 2014-08-16 19:43:00 +08:00
sojamo
9bc0a548ff modifying and testing examples for 2.2.2 release 2014-08-16 19:42:26 +08:00
sojamo
30d1070874 readme wip 2014-08-16 17:51:51 +08:00
sojamo
dc0df081c1 removing System.out.println from ControlP5Base 2014-08-16 17:51:29 +08:00
sojamo
2a516872a8 disabling tooltip 2014-08-16 17:49:39 +08:00
sojamo
e056913c43 wip 2014-08-15 11:19:30 +08:00
sojamo
b4ac76712b ignoring and removing folder reference 2014-08-15 11:13:52 +08:00
sojamo
39573872ae updating .gitignore 2014-07-22 14:22:25 +08:00
sojamo
e3a05cb1bc moving repository from google code to github. 2014-07-22 14:12:30 +08:00