Commit Graph

202 Commits

Author SHA1 Message Date
Ben Fry
00fbc65f6f fix up HTML export handling 2015-03-07 22:49:50 -05:00
Ben Fry
fdf24efc4b let's get pedantic with this HTML export, shall we? 2015-03-07 09:09:06 -05:00
Ben Fry
6d6e8a291d table debugging for iterator constructor and HTML export 2015-03-07 08:54:07 -05:00
Ben Fry
7096c953b2 refinements/simplification 2015-01-21 15:53:55 -05:00
Patrick Vares
faf989a5b9 Added text to the exceptions for FloatList and IntList
Fixed formatting of IntList
2015-01-21 15:26:46 -05:00
Patrick Vares
aee68cdf29 IntList exceptions added 2015-01-21 10:23:11 -05:00
pvrs12
89ec6f1d27 FloatList exceptions added 2015-01-21 09:22:30 -05:00
Ben Fry
ebc4162709 better parameter name 2014-11-24 15:38:21 -05:00
Ben Fry
0cbe2fce94 Merge pull request #2865 from federicobond/misc-fixes
Miscellaneous fixes
2014-11-14 14:48:57 -07:00
Ben Fry
b3e3ebea72 add insert(index, item) for single elements 2014-11-11 09:26:13 -05:00
Ben Fry
920a0e0e94 fix how missing values are handled in dictionaries 2014-11-07 09:30:25 -05:00
Ben Fry
091d095b61 support "header" option with ODS files 2014-10-31 11:05:26 -04:00
Ben Fry
866b1aa305 fix getInt() with default when no attrs at all 2014-10-31 11:05:11 -04:00
Ben Fry
017d32fb22 new addRows(Table) method 2014-10-30 18:29:47 -04:00
Ben Fry
40788807ee y'all should handle nulls too 2014-10-30 16:57:44 -04:00
Ben Fry
5048bba606 add (simple) ODS writer to Table 2014-10-29 18:47:07 -04:00
Federico Bond
73f46c2d5b Add missing static modifier to inner classes 2014-10-28 14:30:09 -03:00
Federico Bond
69b5953203 Use valueOf factory method instead of constructor 2014-10-28 14:30:09 -03:00
Ben Fry
f27da8509b fix replace() with nulls 2014-10-28 11:52:35 -04:00
Ben Fry
897656c9b9 ignore case on types, add category to javadoc 2014-10-22 18:56:43 -04:00
Federico Bond
84b2efd8f8 Use correct parameter types in FloatList methods 2014-10-13 15:16:32 -03:00
Federico Bond
768c72e4e8 Replace instances of StringBuffer with StringBuilder 2014-09-13 20:12:23 -03:00
Ben Fry
8efee02839 Merge pull request #2826 from federicobond/primitive-optimization
Optimize creation of boxed primitives
2014-08-28 11:02:02 -04:00
Federico Bond
80f64013a4 Optimize creation of boxed primitives 2014-08-26 19:40:19 -03:00
Federico Bond
7d09cd08a7 Remove merge artifact in IntDict javadoc 2014-08-25 14:58:42 -03:00
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