lwes-java/github-mirror.git
9 years agoGenerate a map between array and component types, rather than using big (and potentia... 12/head
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

9 years agoadded some debugging
Frank Maritato [Wed, 3 Apr 2013 18:50:49 +0000 (3 11:50 -0700)]
added some debugging

9 years agofixed fails with uint16 and uint32 sizes
Frank Maritato [Wed, 3 Apr 2013 18:11:51 +0000 (3 11:11 -0700)]
fixed fails with uint16 and uint32 sizes

9 years agofixed more type problems
Frank Maritato [Wed, 3 Apr 2013 16:34:50 +0000 (3 09:34 -0700)]
fixed more type problems

9 years agofix madness with nint32 and nuint32
Frank Maritato [Tue, 2 Apr 2013 23:24:02 +0000 (2 16:24 -0700)]
fix madness with nint32 and nuint32

9 years agoupdated enums for types
Frank Maritato [Tue, 2 Apr 2013 21:57:22 +0000 (2 14:57 -0700)]
updated enums for types

9 years agoremoved some debugging
Frank Maritato [Tue, 2 Apr 2013 21:00:52 +0000 (2 14:00 -0700)]
removed some debugging

9 years agoMerge pull request #11 from lwes/nullable_arrays_patch
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

9 years agoShould clear random elements for all nullable array types11/head
Preston Pfarner [Tue, 2 Apr 2013 20:51:54 +0000 (2 13:51 -0700)]
Should clear random elements for all nullable array types

9 years agoMerge branch 'nullable_arrays' into nullable_arrays_patch
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

9 years agoStarting to repair RandomEventTest, find gaps in nullable arrays
Preston Pfarner [Tue, 2 Apr 2013 20:41:36 +0000 (2 13:41 -0700)]
Starting to repair RandomEventTest, find gaps in nullable arrays

9 years agoremoved some unnecessary checks
Frank Maritato [Tue, 2 Apr 2013 20:27:44 +0000 (2 13:27 -0700)]
removed some unnecessary checks

9 years agoforgot to actually set the deserialized object
Frank Maritato [Tue, 2 Apr 2013 20:10:43 +0000 (2 13:10 -0700)]
forgot to actually set the deserialized object

9 years agoadded deserialization for nbytearray and nbiginteger arrays
Frank Maritato [Tue, 2 Apr 2013 18:41:53 +0000 (2 11:41 -0700)]
added deserialization for nbytearray and nbiginteger arrays

9 years agoreplaced large case statement with call to deserializeValue
Frank Maritato [Tue, 2 Apr 2013 18:41:32 +0000 (2 11:41 -0700)]
replaced large case statement with call to deserializeValue

9 years agoadded nstring array test
Frank Maritato [Wed, 27 Mar 2013 18:06:55 +0000 (27 11:06 -0700)]
added nstring array test

9 years agorestored the size check
Frank Maritato [Wed, 27 Mar 2013 18:06:39 +0000 (27 11:06 -0700)]
restored the size check

9 years agoadded NSTRING_ARRAY
Frank Maritato [Wed, 27 Mar 2013 18:06:17 +0000 (27 11:06 -0700)]
added NSTRING_ARRAY

9 years agoadded getStringObjArray
Frank Maritato [Wed, 27 Mar 2013 18:06:06 +0000 (27 11:06 -0700)]
added getStringObjArray

9 years agoadded getStringObjArray
Frank Maritato [Wed, 27 Mar 2013 18:05:49 +0000 (27 11:05 -0700)]
added getStringObjArray

9 years agoredid how byte sizes calculated
Frank Maritato [Wed, 27 Mar 2013 18:05:36 +0000 (27 11:05 -0700)]
redid how byte sizes calculated

9 years agoadded NSTRING_ARRAY
Frank Maritato [Wed, 27 Mar 2013 18:05:18 +0000 (27 11:05 -0700)]
added NSTRING_ARRAY

9 years agoadded a test for string arrays with nulls
Frank Maritato [Wed, 27 Mar 2013 17:13:50 +0000 (27 10:13 -0700)]
added a test for string arrays with nulls

9 years agoremoved non-array nullable enums
Frank Maritato [Wed, 27 Mar 2013 17:13:07 +0000 (27 10:13 -0700)]
removed non-array nullable enums

9 years agoremoved non-array nullable enums
Frank Maritato [Wed, 27 Mar 2013 17:12:38 +0000 (27 10:12 -0700)]
removed non-array nullable enums

9 years agoadded nstring
Frank Maritato [Wed, 27 Mar 2013 17:12:19 +0000 (27 10:12 -0700)]
added nstring

9 years agoremoved enums for nullable non-array types since that doesn't make sense
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

9 years agoreformatting
Frank Maritato [Wed, 27 Mar 2013 00:02:09 +0000 (26 17:02 -0700)]
reformatting

9 years agomodified unit tests for bitsets
Frank Maritato [Wed, 27 Mar 2013 00:01:08 +0000 (26 17:01 -0700)]
modified unit tests for bitsets

9 years agochanged how nullable arrays are referenced in the esf
Frank Maritato [Wed, 27 Mar 2013 00:00:10 +0000 (26 17:00 -0700)]
changed how nullable arrays are referenced in the esf

9 years agoreformatting, added a value that one can use to turn off storing comments
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

9 years agoupdates for nullable arrays
Frank Maritato [Tue, 26 Mar 2013 23:57:37 +0000 (26 16:57 -0700)]
updates for nullable arrays

9 years agostyle changes
Frank Maritato [Tue, 26 Mar 2013 23:57:13 +0000 (26 16:57 -0700)]
style changes

9 years agobug fix: forgot an nboolean reference; added some tests
Frank Maritato [Thu, 28 Feb 2013 22:24:06 +0000 (28 14:24 -0800)]
bug fix: forgot an nboolean reference; added some tests

9 years agoadded missing support for nbooleans
Frank Maritato [Thu, 28 Feb 2013 22:10:50 +0000 (28 14:10 -0800)]
added missing support for nbooleans

9 years agobug fix for array event to handle nullable arrays
Frank Maritato [Thu, 28 Feb 2013 21:57:03 +0000 (28 13:57 -0800)]
bug fix for array event to handle nullable arrays

9 years agoAdd new types to allow for arrays that can contain null values
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

9 years agoadded missing comment for release 1.2.2
Frank Maritato [Mon, 3 Dec 2012 18:54:43 +0000 (3 10:54 -0800)]
added missing comment for release 1.2.2

9 years ago[maven-release-plugin] prepare for next development iteration
Frank Maritato [Thu, 29 Nov 2012 00:21:30 +0000 (28 16:21 -0800)]
[maven-release-plugin] prepare for next development iteration

9 years ago[maven-release-plugin] prepare release lwes-java-1.2.2lwes-java-1.2.2
Frank Maritato [Thu, 29 Nov 2012 00:21:24 +0000 (28 16:21 -0800)]
[maven-release-plugin] prepare release lwes-java-1.2.2

9 years agonewline at end of file?
Frank Maritato [Thu, 29 Nov 2012 00:19:18 +0000 (28 16:19 -0800)]
newline at end of file?

9 years agoformatting
Frank Maritato [Thu, 29 Nov 2012 00:18:49 +0000 (28 16:18 -0800)]
formatting

9 years agoremoved some wrong documentation
Frank Maritato [Thu, 29 Nov 2012 00:18:32 +0000 (28 16:18 -0800)]
removed some wrong documentation

9 years agofixed javacc conflict message
Frank Maritato [Thu, 29 Nov 2012 00:17:20 +0000 (28 16:17 -0800)]
fixed javacc conflict message

9 years agoMerge pull request #6 from hiloboy0119/super_clean_pom
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

9 years agoMerge pull request #5 from rcongiu/master
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

9 years agoReverted bad POM version5/head
Roberto Congiu [Fri, 2 Nov 2012 23:18:09 +0000 (2 16:18 -0700)]
Reverted bad POM version

9 years agoAdded methods to manage/retrieve comments in the MetaEventInfo
Roberto Congiu [Mon, 22 Oct 2012 23:49:38 +0000 (22 16:49 -0700)]
Added methods to manage/retrieve comments in the MetaEventInfo

9 years ago[maven-release-plugin] prepare for next development iteration
Frank Maritato [Thu, 4 Oct 2012 21:41:08 +0000 (4 14:41 -0700)]
[maven-release-plugin] prepare for next development iteration

9 years ago[maven-release-plugin] prepare release lwes-java-1.2.1lwes-java-1.2.1
Frank Maritato [Thu, 4 Oct 2012 21:40:57 +0000 (4 14:40 -0700)]
[maven-release-plugin] prepare release lwes-java-1.2.1

9 years agoremoved release plugin. oss parent project provides that
Frank Maritato [Thu, 4 Oct 2012 21:38:18 +0000 (4 14:38 -0700)]
removed release plugin. oss parent project provides that

9 years agoModified the DatagramEnqueuer so that if a port of 0 is passed in and6/head
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.

9 years ago[maven-release-plugin] prepare for next development iteration
Frank Maritato [Thu, 4 Oct 2012 18:35:19 +0000 (4 11:35 -0700)]
[maven-release-plugin] prepare for next development iteration

9 years ago[maven-release-plugin] prepare release lwes-java-1.2.0lwes-java-1.2.0
Frank Maritato [Thu, 4 Oct 2012 18:35:09 +0000 (4 11:35 -0700)]
[maven-release-plugin] prepare release lwes-java-1.2.0

9 years agoadded 1.2.0 comment
Frank Maritato [Thu, 4 Oct 2012 18:33:58 +0000 (4 11:33 -0700)]
added 1.2.0 comment

9 years agoparsing comments before attribute list
Roberto Congiu [Thu, 4 Oct 2012 18:01:53 +0000 (4 11:01 -0700)]
parsing comments before attribute list

9 years agochangelog change
Roberto Congiu [Thu, 4 Oct 2012 02:55:14 +0000 (3 19:55 -0700)]
changelog change

9 years agoadded parsing for comments and attributes in a backward compatible fashion. Should...
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

9 years agofixed javadoc errors
Frank Maritato [Fri, 28 Sep 2012 21:23:59 +0000 (28 14:23 -0700)]
fixed javadoc errors

9 years agolicense changes
Frank Maritato [Fri, 28 Sep 2012 21:13:15 +0000 (28 14:13 -0700)]
license changes

9 years agoMerge branch 'master' of github.com:lwes/lwes-java
Frank Maritato [Fri, 28 Sep 2012 20:48:24 +0000 (28 13:48 -0700)]
Merge branch 'master' of github.com:lwes/lwes-java

9 years agoMerge pull request #3 from wh4t3ver/master
Frank Maritato [Fri, 28 Sep 2012 20:48:10 +0000 (28 13:48 -0700)]
Merge pull request #3 from wh4t3ver/master

emitter groups

9 years agoadded javadoc plugin
Frank Maritato [Fri, 28 Sep 2012 20:47:54 +0000 (28 13:47 -0700)]
added javadoc plugin

9 years agoadded some useful deployment comments
Frank Maritato [Fri, 28 Sep 2012 20:47:42 +0000 (28 13:47 -0700)]
added some useful deployment comments

9 years agoadd emitter groups code3/head
robert.wong [Fri, 28 Sep 2012 18:02:58 +0000 (28 11:02 -0700)]
add emitter groups code

9 years ago[maven-release-plugin] prepare for next development iteration
Frank Maritato [Thu, 27 Sep 2012 23:20:09 +0000 (27 16:20 -0700)]
[maven-release-plugin] prepare for next development iteration

9 years ago[maven-release-plugin] prepare release lwes-java-1.1.2lwes-java-1.1.2
Frank Maritato [Thu, 27 Sep 2012 23:20:02 +0000 (27 16:20 -0700)]
[maven-release-plugin] prepare release lwes-java-1.1.2

9 years agoadded a parent in order to deploy to central
Frank Maritato [Thu, 27 Sep 2012 22:54:19 +0000 (27 15:54 -0700)]
added a parent in order to deploy to central

9 years agoinitialize returns true/false depending on if it was able to parse the file. Fixed...
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.

9 years agoparse errors should be logged as errors, not warnings
Frank Maritato [Tue, 18 Sep 2012 23:29:09 +0000 (18 16:29 -0700)]
parse errors should be logged as errors, not warnings

9 years agoadded a requires for the rpm
Frank Maritato [Tue, 18 Sep 2012 18:51:21 +0000 (18 11:51 -0700)]
added a requires for the rpm

9 years agoexport variables and modify PATH
Frank Maritato [Tue, 18 Sep 2012 18:42:15 +0000 (18 11:42 -0700)]
export variables and modify PATH

9 years agoadded organization so rpm works and corrected path of lwes-java.sh
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

9 years agoadded a block to create an rpm (optional, not part of normal build for now)
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)

9 years agoinitial checkin
Frank Maritato [Tue, 18 Sep 2012 17:55:12 +0000 (18 10:55 -0700)]
initial checkin

9 years agoadded a method that returns the Set<String> of event names since Enumeration<String...
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

9 years agoinitial checkin
Frank Maritato [Tue, 18 Sep 2012 16:51:14 +0000 (18 09:51 -0700)]
initial checkin

9 years agoinitial checkin
Frank Maritato [Tue, 18 Sep 2012 16:51:04 +0000 (18 09:51 -0700)]
initial checkin

9 years agomoved from test tree to main
Frank Maritato [Tue, 18 Sep 2012 16:49:31 +0000 (18 09:49 -0700)]
moved from test tree to main

9 years agoadded default values for array types
Frank Maritato [Tue, 18 Sep 2012 16:49:18 +0000 (18 09:49 -0700)]
added default values for array types

9 years ago[maven-release-plugin] prepare for next development iteration
Frank Maritato [Fri, 14 Sep 2012 20:22:00 +0000 (14 13:22 -0700)]
[maven-release-plugin] prepare for next development iteration

9 years ago[maven-release-plugin] prepare release lwes-java-1.1.1lwes-java-1.1.1
Frank Maritato [Fri, 14 Sep 2012 20:21:53 +0000 (14 13:21 -0700)]
[maven-release-plugin] prepare release lwes-java-1.1.1

9 years agouse the shade plugin and produce a jar with dependencies
Frank Maritato [Fri, 14 Sep 2012 20:18:43 +0000 (14 13:18 -0700)]
use the shade plugin and produce a jar with dependencies

9 years agoinitial checkin
Frank Maritato [Fri, 14 Sep 2012 20:18:26 +0000 (14 13:18 -0700)]
initial checkin

9 years agoadded a test to verify that overriding a field with a default value works
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

9 years agoDefault values were untested and not working. Call the set method that takes 3 argume...
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.

9 years agoadded some information in preparation to deploy to maven central. For now, changed...
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

9 years ago[maven-release-plugin] prepare for next development iteration
Preston Pfarner [Tue, 11 Sep 2012 20:46:47 +0000 (11 13:46 -0700)]
[maven-release-plugin] prepare for next development iteration

9 years ago[maven-release-plugin] prepare release lwes-java-1.1.0lwes-java-1.1.0
Preston Pfarner [Tue, 11 Sep 2012 20:46:41 +0000 (11 13:46 -0700)]
[maven-release-plugin] prepare release lwes-java-1.1.0

9 years agoAdvancing version, because of the somewhat major FieldAccessor change2/head
Preston Pfarner [Wed, 5 Sep 2012 01:09:11 +0000 (4 18:09 -0700)]
Advancing version, because of the somewhat major FieldAccessor change

9 years agoUsing a single pass for validation, which is faster if the Event.iterate() iterator...
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).

9 years agoMade Event extend Iterable<FieldAccessor>, where FieldAccessor is (name,type,value...
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.

9 years agoMerge pull request #1 from lwes/fuzz-tests
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)

9 years agoDeserialize UINT64 to BigInteger by default, to preserve the whole uint64 range.1/head
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.

9 years agoFixed a bug in getValueByteSize(); added a toStringDetailed() to show more informatio...
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.

9 years ago* Moved testLengthRestriction() to parent EventTest class, so it is done for both...
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

9 years agoFixing Deserializer.deserializeUInt64ToBigInteger(), which was returning a signed...
Preston Pfarner [Fri, 31 Aug 2012 00:40:43 +0000 (30 17:40 -0700)]
Fixing Deserializer.deserializeUInt64ToBigInteger(), which was returning a signed int64

9 years agoArrayEvent should ensure that ENCODING is set, just as MapEvent always has.
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.

9 years agoFixing DefaultEvent.setUInt64Array(String,long[]), which always set it to 0
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

9 years agoCheck event and field name lengths on both implementations
Preston Pfarner [Thu, 30 Aug 2012 22:29:41 +0000 (30 15:29 -0700)]
Check event and field name lengths on both implementations