Commit graph

74 commits

Author SHA1 Message Date
Patrik Nordwall
d8ef6b358a =act #17898 Limit length of ByteString.toString 2015-08-18 10:40:17 +02:00
Patrik Nordwall
740f006a38 +act #17576 Support serializer with string manifest
* useful when evolution is needed, e.g. Akka Persistence

* docs, comments, cluster-metrics and cluster-tools serializers
2015-06-01 13:45:31 +02:00
Konrad Malawski
8ad51fba39 Merge pull request #17144 from colinrgodsey/15170-bytestringser-2
ByteString serialization
2015-04-08 11:44:03 +02:00
Colin Godsey
1984a76195 =act #15170 bytestring serialization 2015-04-07 09:34:21 -05:00
Konrad Malawski
faefc32237 Merge pull request #17086 from hepin1989/master
#15825 add isEmpty and nonEmpty to ByteStringBuilder
2015-04-02 10:57:47 +02:00
Konrad Malawski
71529cb4b5 Merge pull request #17069 from colinrgodsey/colinrgodsey-17028-2
optimized temp buffer for IndexedSeq
2015-03-30 17:07:22 +02:00
hepin
954a86bf80 -#15825 add isEmpty and nonEmpty to ByteStringBuilder 2015-03-28 13:39:46 +08:00
Colin Godsey
8aa610a2aa optimized tmp buffer for IndexedSeq
Avoid resizing and potentially copying the tmp buffer for IndexedSeqs
larger than the tmp buffer
2015-03-24 16:53:10 -05:00
Julian Tescher
00f6a58e7c Changes all occurances of Typesafe copyright to extend to 2015 2015-03-10 14:12:19 -07:00
Andrei Pozolotin
6332f888ce +all #16632 Make serialization identifiers configurable in reference.conf 2015-03-05 11:55:05 -06:00
Konrad Malawski
4da2593de5 +act adds missing java api for byte string 2015-03-02 09:00:33 +01:00
Mathias
fc20042d03 =act Add putByteArrayUnsafe optimization to ByteStringBuilder 2014-05-21 10:18:31 +02:00
Adam Voss
cce29dfa51 Changes all occurances of Typesafe copyright to extend to 2014. 2014-02-04 21:20:09 -06:00
Viktor Klang
6783bb2729 #3520 - fixing putLongParts in ByteStringBuilder and adding tests 2013-08-06 02:14:07 +02:00
Roland
d794b14b2b implement and document Pipelines, see #3174
- heavily inspired by spray.io.Pipeline
- fully functional style: a stage returns the resulting commands and
  events, which makes it impossible to mess with the pipeline from the
  inside
- object allocations are optimized away for emtpy and 1-elem results
- added type-safety, verifying that stages match up
- management commands “from the side” for configuration or async events
- full Java API and docs
2013-04-08 20:57:04 +02:00
Roland
bcfbea42c1 fix formatting of Java API in doc comments + genjavadoc 0.3 2013-03-07 09:05:55 +01:00
Viktor Klang
2f86107b10 #2913 - Adding asByteBuffers to ByteString 2013-01-28 14:42:53 +01:00
Viktor Klang
adfeb2c1f0 #2879 - updating copyright info 2013-01-09 11:38:00 +01:00
Viktor Klang
24566c167c #2673 + #2674 - Seq[Byte] becomes ByteString and Frame gets removed, lots of cleanup in ZMQ API 2012-12-14 18:25:04 +01:00
Viktor Klang
af8ce260d3 Correcting erronous code links 2012-07-25 13:26:33 +02:00
Viktor Klang
52d33113d9 Partial work + broken commit 2012-07-04 15:25:30 +02:00
Viktor Klang
6fb06ee46b Merge with master and adding copyright notices on the osgi stuff 2012-07-01 22:31:39 +02:00
Oliver Schulz
777addc66c Merge branch master into bs-iterators
Resolved Conflicts:
	akka-actor/src/main/scala/akka/util/ByteString.scala
2012-07-01 17:29:12 +02:00
Oliver Schulz
20e313e6a5 Removed final specifier on some ByteString and ByteIterator methods 2012-06-17 22:22:40 +02:00
Oliver Schulz
b6b117cf54 Improved ByteString.{head,tail,last, init} and added missing tests 2012-06-17 22:18:51 +02:00
Oliver Schulz
3b67a4fdef Added explicit apply method with return type Byte to class ByteString
This is necessary to prevent boxing/unboxing of Bytes on apply.
2012-06-17 22:11:55 +02:00
Oliver Schulz
394cce0af4 Simplified implementation of ByteStringBuilder.asOutputStream 2012-06-17 17:58:20 +02:00
Oliver Schulz
2ed00f0936 Removed some superfluous braces. 2012-06-15 17:27:27 +09:00
Oliver Schulz
a87faade06 Fixed serious bug in ByteStringBuilder.++= 2012-06-12 15:01:16 +09:00
Oliver Schulz
5b83dc366e Removed unnecessary implementations of ByteString.clone
* As all ByteString implementations are immutable, an explicit override
  of Object.clone doesn't seem necessary.
2012-05-31 00:44:21 +02:00
Oliver Schulz
b285b0821f Made things that don't need to be public private in ByteString / -Iterator 2012-05-31 00:39:15 +02:00
Oliver Schulz
d59fbbf8e4 Made bytestrings private in ByteString.ByteStrings 2012-05-30 00:02:50 +02:00
Oliver Schulz
60c7a57ddf Code formatting changes as requested by Victor 2012-05-30 00:02:50 +02:00
Oliver Schulz
34e469c609 Fixed typos in ByteString comments 2012-05-30 00:02:49 +02:00
Oliver Schulz
7a854a9a83 Changed MultiByteArrayIterator to operate on a LinearSeq
ByteString.ByteStrings new creates it's iterator on a Stream instead of
a List, making ByteStings.iterator an O(1) operation.
2012-05-30 00:02:49 +02:00
Oliver Schulz
93d5e440ea Removed object ByteStringBuilder
* ByteStringBuilder.apply was unusual for Scala Builders
* Moved OutputStreamWrapper implementation into ByteStringBuilder
2012-05-30 00:02:49 +02:00
Oliver Schulz
b54e9ba78e Improved documentation of ByteString methods compact and isCompact 2012-05-30 00:02:49 +02:00
Oliver Schulz
75c04d8944 Explicit types for everything related to ByteString and ByteStringIterator 2012-05-26 12:08:44 +02:00
Oliver Schulz
5d08cd0b92 Removed ContByteString
A proper implementation of ContByteString with specialized return
types for methods like take, drop, etc. would have made things more
complex than it is worth.
2012-05-26 11:40:23 +02:00
Oliver Schulz
d3177bf08f Improved return type specialization for methods implemented in super-type 2012-05-26 11:30:51 +02:00
Oliver Schulz
0c76e0f0f6 Moved ByteIterator implementations into object ByteIterator 2012-05-26 11:30:23 +02:00
Viktor Klang
94e71b7a18 Huge refactor + preparing for binary compatibility, last stretch for akka-actor.jar... 2012-05-18 19:25:43 +02:00
Oliver Schulz
7d3edcddbc Improved implementation of ByteStrings.iterator 2012-05-18 17:36:16 +02:00
Oliver Schulz
bc0693a2de Added variants of putBytes, putShorts, etc. to ByteStringBuilder
Also removed byteOrder defaults for all put... methods.
2012-05-18 01:09:01 +02:00
Oliver Schulz
266c67679a Added methods isCompact and isContiguous to ByteString
* The ability to check whether a ByteString is compact / contiguous
  can be very useful when optimizing user code
2012-05-18 01:09:01 +02:00
Oliver Schulz
5d7823fd49 Made byteOrder implicit in ByteStringBuilder methods 2012-05-18 01:09:01 +02:00
Oliver Schulz
15507dff85 Added methods putByte, putShort, etc. to ByteStringBuilder 2012-05-18 01:09:01 +02:00
Oliver Schulz
f127b50ca2 Added methods putBytes, putShorts, etc. to ByteStringBuilder 2012-05-18 01:09:01 +02:00
Oliver Schulz
53a01ecc12 Added a java.io.OutputStream wrapper to ByteStringBuilder 2012-05-18 01:09:01 +02:00
Oliver Schulz
3263f43060 Added a companion object, length and sizeHint to class ByteStreamBuilder 2012-05-18 01:09:01 +02:00