Ben Fry
7d11ece606
add trim() method to XML (removes #text nodes)
2014-08-12 10:15:05 -04:00
Jason Sigal
b89dbc46d0
fix tiny typo in Table writeHTML()
...
just noticed a tiny typo in the writeHTML method of saveTable()
2014-08-10 22:13:00 -04:00
Ben Fry
8405fdcc4f
more NaN check business
2014-08-02 07:38:34 -04:00
Ben Fry
e7c3f3f2c2
fix AIOOBE when sorting all NaN FloatList or FloatDict
2014-08-02 07:08:50 -04:00
Ben Fry
2943469482
add print method to the Dict and List classes
2014-07-30 21:22:10 -04:00
Ben Fry
76dedb1d5b
move NaN values to the end of the list when sorting
2014-07-30 20:42:40 -04:00
Ben Fry
c5b2bda620
Merge pull request #2672 from aengelke/string-list-insert-fix
...
Fix insert bug in StringList
2014-07-30 12:39:34 -04:00
Ben Fry
cb2629c37b
Merge pull request #2343 from jordanorelli/master
...
fixes #2341 - inconsistent bounds checks
2014-07-30 12:36:00 -04:00
Alexis Engelke
ca0a0580c3
Fix processing/processing#2548
2014-07-30 17:51:58 +02:00
Ben Fry
a0bc02db16
return null on getString() for NaN values
2014-07-30 09:38:19 -04:00
Ben Fry
cf4e7a7c46
add copy() method to Table
2014-07-30 09:15:02 -04:00
Yong Bakos
fe7d4b8ad5
Correcting descriptions of reverse method for FloatList, IntList and StringList.
...
Fixes https://github.com/processing/processing-docs/issues/50
2014-07-28 18:34:26 -05:00
Ben Fry
a9a4d48ba9
more bug fixes
2014-07-25 10:21:08 -04:00
Ben Fry
8873944ef9
add setRow() and fixes for Table(Iterable) performance
2014-07-22 17:30:35 -04:00
Ben Fry
5cf458e539
actually fix the category bug, and remove debug lines. ahem.
2014-07-22 16:21:00 -04:00
Ben Fry
c3f0e62b1c
table bug fixes and additions
2014-07-22 16:03:28 -04:00
Ben Fry
7a6018b8e2
table fixes and notes
2014-07-10 14:18:40 -04:00
Ben Fry
3513a01c59
working on launch4j builder
2014-05-10 09:27:38 -04:00
codeanticode
e3ccd69ce6
missing categories are correctly saved in binary
2014-04-25 22:53:50 -04:00
Ben Fry
400fda8bb0
fix for categorical missing values
2014-04-16 15:40:33 -04:00
Ben Fry
16e972f674
check on indices settings for the other Dict classes
2014-04-11 13:35:34 -04:00
Ben Fry
434d8138cc
remove a handful of warnings
2014-02-06 23:31:58 -05:00
Jordan Orelli
6f2b4ce9a9
fixes #2341 - inconsistent bounds checks
...
The core datastructure IntLost, FloatList, and StringList all have
unsafe .get methods that do not perform bounds checking. This is in
contrast to their .remove methods, which do perform bounds checking.
Prior to this patch, the following would print 0:
IntList il = new IntList();
println(il.get(5));
But if we tried to *remove* that element, we would get an
ArrayIndexOutOfBoundException:
il.remove(5);
This patch causes calls to .get to throw exceptions instead of returning
0 (or null in the case of StringList) for uninitialized values.
2014-02-02 22:27:02 -05:00
Ben Fry
40170baa91
fix for indices not set properly with StringDict(Reader)
2014-01-26 17:29:38 -05:00
Ben Fry
fd57fac8b6
added print() method
2014-01-21 18:26:28 -05:00
Ben Fry
b92df88eca
fix random insertRow() issue
2013-10-20 10:09:30 -04:00
Ben Fry
c1b076ba07
fix indents for child elements when using -1 ( #2119 )
2013-10-11 19:27:10 -04:00
Ben Fry
9b2d4bcb11
workaround for unicode issues with NLF in XML files ( #2100 )
2013-09-28 15:53:46 -04:00
Ben Fry
da0b526f68
making swap public
2013-09-13 02:19:56 -04:00
Ben Fry
c90d7ce0f3
fix for indices with alternate constructor
2013-09-05 00:02:09 -04:00
Ben Fry
575d7ab313
minor Table bug fixes, add static version of JSON load for File
2013-08-24 12:14:33 -04:00
Ben Fry
41d403889c
fix options parsing to handle spaces in the names
2013-08-21 12:28:02 -04:00
Ben Fry
fa07dc1dbc
add constructor for Table to deal with iterator ( #1956 )
2013-08-13 22:21:19 -04:00
Ben Fry
55b7719367
adding dictionary option for table loading
2013-08-13 21:51:35 -04:00
Ben Fry
d7fde748a0
aborted attempt to add split() to StringList
2013-08-13 21:51:12 -04:00
Ben Fry
fd21bb3378
fix JSON handling of null and optional items
2013-08-12 17:46:35 -04:00
Ben Fry
99eef5107b
add getContent(defaultValue) to XML
2013-08-12 17:22:06 -04:00
Ben Fry
61b34b4f9b
add join() method to Int/Float/StringList
2013-08-12 08:57:28 -04:00
Ben Fry
5f7a63aad3
add auto-resize to IntList.increment()
2013-08-08 14:48:32 -04:00
Ben Fry
c638d7c81b
add sum() to IntList and FloatList ( #1893 )
2013-08-07 19:07:09 -04:00
Ben Fry
d28ecd79ee
fix up getPercentages() -> getPercent()... also add sort() to Table
2013-08-02 09:40:20 -04:00
Ben Fry
0f92ad1c94
add methods to sum up the values in a dict, and return percentages for each
2013-07-24 10:53:21 -04:00
REAS
10f3899ac6
Reference fix for IntList
2013-07-19 08:22:28 -07:00
Ben Fry
65b05aed71
fixes for getSubset() ( #1979 )
2013-07-18 15:27:48 -07:00
Dhruv Jawali
2ad8797198
Fixes issue #1929 , with insert method in IntList and FloatList.
2013-06-30 21:46:41 +02:00
Scott Murray
77624572f3
Added related links to reference for IntList, FloatList, StringList
2013-06-15 11:26:36 -04:00
Ben Fry
6306bc4818
report row where table goes bad while parsing
2013-06-14 16:40:10 -04:00
Ben Fry
b635f8a2cf
modify XML.toString() to use indent(-1) instead of indent(2)
2013-06-03 14:59:48 -04:00
Ben Fry
9209745631
change how indent, returns work with xml formatting
2013-06-03 14:44:17 -04:00
Ben Fry
5684907cd6
Merge branch 'master' of github.com:processing/processing
2013-06-03 14:04:57 -04:00