Preston Pfarner [Wed, 3 Apr 2013 20:11:22 +0000 (3 13:11 -0700)]
Generate a map between array and component types, rather than using big (and potentially inconsistent) switch blocks
Frank Maritato [Wed, 3 Apr 2013 18:50:49 +0000 (3 11:50 -0700)]
added some debugging
Frank Maritato [Wed, 3 Apr 2013 18:11:51 +0000 (3 11:11 -0700)]
fixed fails with uint16 and uint32 sizes
Frank Maritato [Wed, 3 Apr 2013 16:34:50 +0000 (3 09:34 -0700)]
fixed more type problems
Frank Maritato [Tue, 2 Apr 2013 23:24:02 +0000 (2 16:24 -0700)]
fix madness with nint32 and nuint32
Frank Maritato [Tue, 2 Apr 2013 21:57:22 +0000 (2 14:57 -0700)]
updated enums for types
Frank Maritato [Tue, 2 Apr 2013 21:00:52 +0000 (2 14:00 -0700)]
removed some debugging
Frank Maritato [Tue, 2 Apr 2013 20:58:35 +0000 (2 13:58 -0700)]
Merge pull request #11 from lwes/nullable_arrays_patch
Nullable arrays patch
Preston Pfarner [Tue, 2 Apr 2013 20:51:54 +0000 (2 13:51 -0700)]
Should clear random elements for all nullable array types
Preston Pfarner [Tue, 2 Apr 2013 20:44:54 +0000 (2 13:44 -0700)]
Merge branch 'nullable_arrays' into nullable_arrays_patch
Conflicts:
src/main/java/org/lwes/serializer/Deserializer.java
Preston Pfarner [Tue, 2 Apr 2013 20:41:36 +0000 (2 13:41 -0700)]
Starting to repair RandomEventTest, find gaps in nullable arrays
Frank Maritato [Tue, 2 Apr 2013 20:27:44 +0000 (2 13:27 -0700)]
removed some unnecessary checks
Frank Maritato [Tue, 2 Apr 2013 20:10:43 +0000 (2 13:10 -0700)]
forgot to actually set the deserialized object
Frank Maritato [Tue, 2 Apr 2013 18:41:53 +0000 (2 11:41 -0700)]
added deserialization for nbytearray and nbiginteger arrays
Frank Maritato [Tue, 2 Apr 2013 18:41:32 +0000 (2 11:41 -0700)]
replaced large case statement with call to deserializeValue
Frank Maritato [Wed, 27 Mar 2013 18:06:55 +0000 (27 11:06 -0700)]
added nstring array test
Frank Maritato [Wed, 27 Mar 2013 18:06:39 +0000 (27 11:06 -0700)]
restored the size check
Frank Maritato [Wed, 27 Mar 2013 18:06:17 +0000 (27 11:06 -0700)]
added NSTRING_ARRAY
Frank Maritato [Wed, 27 Mar 2013 18:06:06 +0000 (27 11:06 -0700)]
added getStringObjArray
Frank Maritato [Wed, 27 Mar 2013 18:05:49 +0000 (27 11:05 -0700)]
added getStringObjArray
Frank Maritato [Wed, 27 Mar 2013 18:05:36 +0000 (27 11:05 -0700)]
redid how byte sizes calculated
Frank Maritato [Wed, 27 Mar 2013 18:05:18 +0000 (27 11:05 -0700)]
added NSTRING_ARRAY
Frank Maritato [Wed, 27 Mar 2013 17:13:50 +0000 (27 10:13 -0700)]
added a test for string arrays with nulls
Frank Maritato [Wed, 27 Mar 2013 17:13:07 +0000 (27 10:13 -0700)]
removed non-array nullable enums
Frank Maritato [Wed, 27 Mar 2013 17:12:38 +0000 (27 10:12 -0700)]
removed non-array nullable enums
Frank Maritato [Wed, 27 Mar 2013 17:12:19 +0000 (27 10:12 -0700)]
added nstring
Frank Maritato [Wed, 27 Mar 2013 17:12:01 +0000 (27 10:12 -0700)]
removed enums for nullable non-array types since that doesn't make sense
Frank Maritato [Wed, 27 Mar 2013 00:02:09 +0000 (26 17:02 -0700)]
reformatting
Frank Maritato [Wed, 27 Mar 2013 00:01:08 +0000 (26 17:01 -0700)]
modified unit tests for bitsets
Frank Maritato [Wed, 27 Mar 2013 00:00:10 +0000 (26 17:00 -0700)]
changed how nullable arrays are referenced in the esf
Frank Maritato [Tue, 26 Mar 2013 23:59:03 +0000 (26 16:59 -0700)]
reformatting, added a value that one can use to turn off storing comments
Frank Maritato [Tue, 26 Mar 2013 23:57:37 +0000 (26 16:57 -0700)]
updates for nullable arrays
Frank Maritato [Tue, 26 Mar 2013 23:57:13 +0000 (26 16:57 -0700)]
style changes
Frank Maritato [Thu, 28 Feb 2013 22:24:06 +0000 (28 14:24 -0800)]
bug fix: forgot an nboolean reference; added some tests
Frank Maritato [Thu, 28 Feb 2013 22:10:50 +0000 (28 14:10 -0800)]
added missing support for nbooleans
Frank Maritato [Thu, 28 Feb 2013 21:57:03 +0000 (28 13:57 -0800)]
bug fix for array event to handle nullable arrays
Frank Maritato [Tue, 26 Feb 2013 22:42:44 +0000 (26 14:42 -0800)]
Add new types to allow for arrays that can contain null values
Frank Maritato [Mon, 3 Dec 2012 18:54:43 +0000 (3 10:54 -0800)]
added missing comment for release 1.2.2
Frank Maritato [Thu, 29 Nov 2012 00:21:30 +0000 (28 16:21 -0800)]
[maven-release-plugin] prepare for next development iteration
Frank Maritato [Thu, 29 Nov 2012 00:21:24 +0000 (28 16:21 -0800)]
[maven-release-plugin] prepare release lwes-java-1.2.2
Frank Maritato [Thu, 29 Nov 2012 00:19:18 +0000 (28 16:19 -0800)]
newline at end of file?
Frank Maritato [Thu, 29 Nov 2012 00:18:49 +0000 (28 16:18 -0800)]
formatting
Frank Maritato [Thu, 29 Nov 2012 00:18:32 +0000 (28 16:18 -0800)]
removed some wrong documentation
Frank Maritato [Thu, 29 Nov 2012 00:17:20 +0000 (28 16:17 -0800)]
fixed javacc conflict message
Frank Maritato [Mon, 12 Nov 2012 23:06:41 +0000 (12 15:06 -0800)]
Merge pull request #6 from hiloboy0119/super_clean_pom
Dynamic Port assignment for DatagramEnqueuer
Frank Maritato [Tue, 6 Nov 2012 01:01:30 +0000 (5 17:01 -0800)]
Merge pull request #5 from rcongiu/master
new feature: retrieve event and attribute comments programmatically
Roberto Congiu [Fri, 2 Nov 2012 23:18:09 +0000 (2 16:18 -0700)]
Reverted bad POM version
Roberto Congiu [Mon, 22 Oct 2012 23:49:38 +0000 (22 16:49 -0700)]
Added methods to manage/retrieve comments in the MetaEventInfo
Frank Maritato [Thu, 4 Oct 2012 21:41:08 +0000 (4 14:41 -0700)]
[maven-release-plugin] prepare for next development iteration
Frank Maritato [Thu, 4 Oct 2012 21:40:57 +0000 (4 14:40 -0700)]
[maven-release-plugin] prepare release lwes-java-1.2.1
Frank Maritato [Thu, 4 Oct 2012 21:38:18 +0000 (4 14:38 -0700)]
removed release plugin. oss parent project provides that
Drew [Thu, 4 Oct 2012 18:36:27 +0000 (4 11:36 -0700)]
Modified the DatagramEnqueuer so that if a port of 0 is passed in and
assigned dynamically, the port field is set to the chosen port.
Frank Maritato [Thu, 4 Oct 2012 18:35:19 +0000 (4 11:35 -0700)]
[maven-release-plugin] prepare for next development iteration
Frank Maritato [Thu, 4 Oct 2012 18:35:09 +0000 (4 11:35 -0700)]
[maven-release-plugin] prepare release lwes-java-1.2.0
Frank Maritato [Thu, 4 Oct 2012 18:33:58 +0000 (4 11:33 -0700)]
added 1.2.0 comment
Roberto Congiu [Thu, 4 Oct 2012 18:01:53 +0000 (4 11:01 -0700)]
parsing comments before attribute list
Roberto Congiu [Thu, 4 Oct 2012 02:55:14 +0000 (3 19:55 -0700)]
changelog change
Roberto Congiu [Thu, 4 Oct 2012 02:53:10 +0000 (3 19:53 -0700)]
added parsing for comments and attributes in a backward compatible fashion. Should not break any esf
Frank Maritato [Fri, 28 Sep 2012 21:23:59 +0000 (28 14:23 -0700)]
fixed javadoc errors
Frank Maritato [Fri, 28 Sep 2012 21:13:15 +0000 (28 14:13 -0700)]
license changes
Frank Maritato [Fri, 28 Sep 2012 20:48:24 +0000 (28 13:48 -0700)]
Merge branch 'master' of github.com:lwes/lwes-java
Frank Maritato [Fri, 28 Sep 2012 20:48:10 +0000 (28 13:48 -0700)]
Merge pull request #3 from wh4t3ver/master
emitter groups
Frank Maritato [Fri, 28 Sep 2012 20:47:54 +0000 (28 13:47 -0700)]
added javadoc plugin
Frank Maritato [Fri, 28 Sep 2012 20:47:42 +0000 (28 13:47 -0700)]
added some useful deployment comments
robert.wong [Fri, 28 Sep 2012 18:02:58 +0000 (28 11:02 -0700)]
add emitter groups code
Frank Maritato [Thu, 27 Sep 2012 23:20:09 +0000 (27 16:20 -0700)]
[maven-release-plugin] prepare for next development iteration
Frank Maritato [Thu, 27 Sep 2012 23:20:02 +0000 (27 16:20 -0700)]
[maven-release-plugin] prepare release lwes-java-1.1.2
Frank Maritato [Thu, 27 Sep 2012 22:54:19 +0000 (27 15:54 -0700)]
added a parent in order to deploy to central
Frank Maritato [Tue, 18 Sep 2012 23:29:43 +0000 (18 16:29 -0700)]
initialize returns true/false depending on if it was able to parse the file. Fixed the code to deal with this.
Frank Maritato [Tue, 18 Sep 2012 23:29:09 +0000 (18 16:29 -0700)]
parse errors should be logged as errors, not warnings
Frank Maritato [Tue, 18 Sep 2012 18:51:21 +0000 (18 11:51 -0700)]
added a requires for the rpm
Frank Maritato [Tue, 18 Sep 2012 18:42:15 +0000 (18 11:42 -0700)]
export variables and modify PATH
Frank Maritato [Tue, 18 Sep 2012 18:41:55 +0000 (18 11:41 -0700)]
added organization so rpm works and corrected path of lwes-java.sh
Frank Maritato [Tue, 18 Sep 2012 17:55:33 +0000 (18 10:55 -0700)]
added a block to create an rpm (optional, not part of normal build for now)
Frank Maritato [Tue, 18 Sep 2012 17:55:12 +0000 (18 10:55 -0700)]
initial checkin
Frank Maritato [Tue, 18 Sep 2012 16:52:27 +0000 (18 09:52 -0700)]
added a method that returns the Set<String> of event names since Enumeration<String> is pretty useless these days
Frank Maritato [Tue, 18 Sep 2012 16:51:14 +0000 (18 09:51 -0700)]
initial checkin
Frank Maritato [Tue, 18 Sep 2012 16:51:04 +0000 (18 09:51 -0700)]
initial checkin
Frank Maritato [Tue, 18 Sep 2012 16:49:31 +0000 (18 09:49 -0700)]
moved from test tree to main
Frank Maritato [Tue, 18 Sep 2012 16:49:18 +0000 (18 09:49 -0700)]
added default values for array types
Frank Maritato [Fri, 14 Sep 2012 20:22:00 +0000 (14 13:22 -0700)]
[maven-release-plugin] prepare for next development iteration
Frank Maritato [Fri, 14 Sep 2012 20:21:53 +0000 (14 13:21 -0700)]
[maven-release-plugin] prepare release lwes-java-1.1.1
Frank Maritato [Fri, 14 Sep 2012 20:18:43 +0000 (14 13:18 -0700)]
use the shade plugin and produce a jar with dependencies
Frank Maritato [Fri, 14 Sep 2012 20:18:26 +0000 (14 13:18 -0700)]
initial checkin
Frank Maritato [Thu, 13 Sep 2012 21:32:04 +0000 (13 14:32 -0700)]
added a test to verify that overriding a field with a default value works
Frank Maritato [Thu, 13 Sep 2012 21:29:04 +0000 (13 14:29 -0700)]
Default values were untested and not working. Call the set method that takes 3 arguments to fix the problem.
Frank Maritato [Thu, 13 Sep 2012 00:48:18 +0000 (12 17:48 -0700)]
added some information in preparation to deploy to maven central. For now, changed the goals of release plugin to just run package
Preston Pfarner [Tue, 11 Sep 2012 20:46:47 +0000 (11 13:46 -0700)]
[maven-release-plugin] prepare for next development iteration
Preston Pfarner [Tue, 11 Sep 2012 20:46:41 +0000 (11 13:46 -0700)]
[maven-release-plugin] prepare release lwes-java-1.1.0
Preston Pfarner [Wed, 5 Sep 2012 01:09:11 +0000 (4 18:09 -0700)]
Advancing version, because of the somewhat major FieldAccessor change
Preston Pfarner [Wed, 5 Sep 2012 00:59:02 +0000 (4 17:59 -0700)]
Using a single pass for validation, which is faster if the Event.iterate() iterator is faster than the old way of looping over all fields and then looking them up separately. This takes MapEvent from O(N*log(N)) to O(N) and ArrayEvent from O(N^2) to (N).
Preston Pfarner [Wed, 5 Sep 2012 00:50:32 +0000 (4 17:50 -0700)]
Made Event extend Iterable<FieldAccessor>, where FieldAccessor is (name,type,value). This allows more efficient traversal of the entire event.
Frank Maritato [Tue, 4 Sep 2012 21:54:08 +0000 (4 14:54 -0700)]
Merge pull request #1 from lwes/fuzz-tests
Fuzz tests (tests with randomly-generated events)
Preston Pfarner [Fri, 31 Aug 2012 01:37:33 +0000 (30 18:37 -0700)]
Deserialize UINT64 to BigInteger by default, to preserve the whole uint64 range.
Preston Pfarner [Fri, 31 Aug 2012 01:36:41 +0000 (30 18:36 -0700)]
Fixed a bug in getValueByteSize(); added a toStringDetailed() to show more information about the event, for debugging.
Preston Pfarner [Fri, 31 Aug 2012 00:43:09 +0000 (30 17:43 -0700)]
* Moved testLengthRestriction() to parent EventTest class, so it is done for both event types.
* Fixed an out-of-range uint32 test value
* Testing serialize()/deserialize() for consistency
* Added testIntBounds() to try extrema for integral types
Preston Pfarner [Fri, 31 Aug 2012 00:40:43 +0000 (30 17:40 -0700)]
Fixing Deserializer.deserializeUInt64ToBigInteger(), which was returning a signed int64
Preston Pfarner [Fri, 31 Aug 2012 00:39:35 +0000 (30 17:39 -0700)]
ArrayEvent should ensure that ENCODING is set, just as MapEvent always has.
Preston Pfarner [Fri, 31 Aug 2012 00:39:04 +0000 (30 17:39 -0700)]
Fixing DefaultEvent.setUInt64Array(String,long[]), which always set it to 0
Preston Pfarner [Thu, 30 Aug 2012 22:29:41 +0000 (30 15:29 -0700)]
Check event and field name lengths on both implementations