Derek Bailey
0100f6a577
FlatBuffers Version 23.5.26 ( #7976 )
2023-05-26 10:33:09 -07:00
Derek Bailey
72b56fd081
FlatBuffers Version 23.5.9 ( #7945 )
2023-05-09 09:33:30 -07:00
RishabhDeep Singh
13fc75cb6b
FlatBuffers Version 23.5.8 ( #7943 )
2023-05-09 08:05:25 -07:00
Derek Bailey
01834de25e
FlatBuffers Version 23.3.3 ( #7852 )
2023-03-03 11:46:55 -08:00
Derek Bailey
ee848a02e1
FlatBuffers Version 23.1.21 ( #7796 )
2023-01-21 12:46:57 -08:00
Michael Le
1703662285
Flatbuffers Version 23.1.20 ( #7794 )
...
* Flatbuffers Version 23.1.20
* Fix warnings
* Fix warnings
2023-01-21 12:03:17 -08:00
mustiikhalil
4d6a7aa8b7
Removes Dead code & regenerate code ( #7744 )
...
Formats the swift project
Update Sample files
Update docc documentation
Updates swift docs in the website
Updates code for Wasm
2023-01-06 16:40:40 -08:00
Derek Bailey
af9ceabeef
FlatBuffers Version 23.1.4 ( #7758 )
2023-01-04 15:22:46 -08:00
Derek Bailey
acf39ff056
FlatBuffers Version 22.12.06 ( #7702 )
2022-12-06 22:54:49 -08:00
Derek Bailey
8f625561d0
FlatBuffers Version 22.11.23 ( #7662 )
2022-11-23 11:32:19 -08:00
Derek Bailey
9d2c04d629
FlatBuffers Version 22.11.22
2022-11-22 14:40:01 -08:00
Derek Bailey
203241ed32
FlatBuffers Version 22.10.26 ( #7607 )
2022-10-26 16:02:38 -07:00
Derek Bailey
a54ca1e759
FlatBuffers Version 22.10.25 ( #7604 )
2022-10-26 00:03:49 -07:00
Derek Bailey
c92e78a9f8
FlatBuffers Version 22.9.29 ( #7557 )
2022-09-29 22:12:07 -07:00
mustiikhalil
dadbff5714
Moves swift package to root of repository so it can be used directly … ( #7548 )
...
* Moves swift package to root of repository so it can be used directly from the main repo
Fixing paths for swift directory
* Update swift readme
2022-09-27 14:32:05 -07:00
Derek Bailey
76ddae006f
FlatBuffers Version 22.9.24 ( #7547 )
2022-09-27 11:55:25 -07:00
mustiikhalil
a79d61ea85
Fixes issue with cocoapods failing to be published because of docc ( #7505 )
...
Co-authored-by: Derek Bailey <derekbailey@google.com>
2022-09-01 11:44:13 -07:00
mustiikhalil
37e37b8cad
Updates cocoapods version ( #7497 )
2022-08-31 10:20:11 -07:00
Derek Bailey
06c5c7ed0b
FlatBuffers Version 2.0.8 ( #7492 )
2022-08-29 20:43:36 -07:00
mustiikhalil
967df08b1d
Adds full supposed for Wasm in the swift lib ( #7328 )
...
Adds tests for wasm module & github action
2022-05-29 20:56:33 +02:00
Keith Smiley
9917a168cd
[swift] Make swift module public ( #7274 )
2022-04-26 18:58:51 +02:00
Joakim Hassila
a45f564cf1
[performance] Add aggressive systematic inlining in ByteBuffer and FlatBufferBuilder ( #7253 )
...
Co-authored-by: Joakim Hassila <hassila@users.noreply.github.com>
2022-04-20 08:59:47 +02:00
Joakim Hassila
e37156a305
Keep the underlying storage capacity when clearing the FlatBufferBuilder. Gives a significant performance boost for serialisation of many small messages. ( #7250 )
2022-04-16 11:25:44 +02:00
mustiikhalil
2049e52101
Adds a way to verify/exposes Entities ids ( #7221 )
2022-04-06 22:54:01 +02:00
Keith Smiley
fec1a8d015
[swift] Add bazel configuration for Swift ( #7195 )
...
* [swift] Add bazel configuration for Swift
This change adds a simple bazel BUILD file for consuming the Swift
support. This also bumps the platforms bazel repo to fix support for M1s
and bazel 5.1+ https://github.com/bazelbuild/bazel/issues/15099#issuecomment-1075368289
The rules_swift inclusion here must happen before gRPC to ensure we
don't pull in an older version.
* Add CC=clang which is a requirement for Swift on Linux
* Add Swift to PATH
2022-03-29 21:30:33 -07:00
Matt Grippaldi
a94132a45f
Swift FlatBufferBuilder.sizedByteArray to ByteBuffer.toArray() ( #7093 )
...
* Moved code from FlatBufferBuilder.sizedByteArray to ByteBuffer.toArray() in Swift
* ByteBuffer.toArray() to ByteBuffer.underlyingBytes
2022-02-11 13:26:16 -08:00
mustiikhalil
f63c130c28
Improves documentation, and adding DocC ( #6784 )
...
Finished documenting flatbuffersbuilder
Replaces swift 5.5 with 5.2 packages
Starts building the tutorial for xcode 13
Finishes building the tutorial for xcode 13
Removes docc files from old swift versions
Updates swift style guide
2021-09-27 20:59:19 +02:00
mustiikhalil
a5175c513a
Implements verifier and code gen for swift ( #6373 )
...
Updates test cases on linux
Adhere to new protocol naming
Adds fuzzing
Adds documentation
Adds support for string unions
Updated fuzzer generated code
2021-05-14 20:59:28 +03:00
mustiikhalil
a1730fcea8
[Swift] Updated cocoapods to 2.0.0 ( #6634 )
2021-05-11 00:13:41 +03:00
Wouter van Oortmerssen
8a7d013f85
Updated main version numbers to 2.0
2021-05-10 11:14:47 -07:00
mustiikhalil
8a582883ac
Updates swift generated monster sample file ( #6616 )
...
Updates swift generated monster sample file
Adds frozen attribute
2021-05-06 07:55:03 +03:00
mustiikhalil
4ccc52c7a0
[swift] Implements union strings ( #6589 )
2021-04-24 14:47:24 +03:00
mustiikhalil
a20f606c29
[Swift] Renaming protocols ( #6469 )
...
* Renaming protocols
* Updates Generated code
* format code
2021-02-16 14:55:47 +03:00
mustiikhalil
815d3e820d
Upgrade swift grpc to alpha 24 ( #6439 )
...
Upgrade swift grpc to alpha 24
2021-02-04 02:01:18 +03:00
mustiikhalil
44cf2bde19
Updates license date to 2021 ( #6378 )
2021-01-02 11:46:46 +03:00
mustiikhalil
4e79d129cb
[Swift] Rebuild the way swift handles structs from scratch ( #6326 )
...
* Rebuild the way swift handles structs from scratch
* Updates docs, and sample binary
* Replaces InMemory to Mutable
* Migrates docs from inmemory
* use inline for some functions
* Renamed Mutable objects
* Updates documentation
2020-12-17 14:55:32 -08:00
mustiikhalil
537212afee
[Swift] Adds a format file and reformats the swift project ( #6250 )
...
* Formats files & adds licence
* Revert arrays
* Keeps array indentation as is
* Adds licence to code formatter
* Updates code generators
2020-11-16 19:52:38 +03:00
mustiikhalil
8778dc7c2b
Resets buffer without deallocating current pointer ( #6247 )
...
Resets buffer without deallocating current pointer & Bumps version
2020-11-09 17:55:53 +03:00
mustiikhalil
42d7c79977
Adds readable size to asserts in read functions ( #6210 )
2020-10-25 15:59:30 +03:00
mustiikhalil
e1be8aaadd
Bump version for latest swift version ( #6121 )
2020-09-17 12:28:42 -07:00
mustiikhalil
89435303b7
[Swift] Migrates struct write APIS to write directly to the buffer ( #6093 )
...
* Migrates struct write APIS to in place APIS
* Fixes indentation in grpc swift
2020-09-17 17:10:59 +03:00
mustiikhalil
63cc0eec4e
Adds a serialize helper function to native table ( #6059 )
...
* Adds a serialize helper function to native table
* Updated version
2020-08-04 13:53:40 +03:00
mustiikhalil
f1025b2847
[Feature] Checks for Nullable strings ( #6050 )
...
* Allows null strings in createString method c#
* Adds nullable strings to JS and swift
* Changes js checks
* Fixes typo
2020-07-27 09:57:50 -07:00
mustiikhalil
ff1b73128d
[Swift] Optional Scalars Preparation ( #6028 )
...
* Perpares swift to take optional scalars + adds optional string helper method + disables linters in generated code
* Small fix for generated code
* Update grpc support to alpha 17 for swift
2020-07-20 20:38:50 +03:00
mustiikhalil
37a5dee105
Code cleanup + updates test and readme ( #6004 )
...
Updates Readme + adds asserts
Fixes documentation
2020-06-30 21:37:43 +03:00
Liu Liu
d64078eb27
[Swift] Initialize memory when clear ByteBuffer ( #5982 )
...
* Initialize memory when clear ByteBuffer
It seems (based on my limited understanding) that FlatBuffers requires
the writable area to be 0 initialized. However, we missed it when clear
the buffer to reinitialize it.
This PR fixed that by calling initialize (also fixed the typo)
explicitly.
* Update version to 0.5.3
2020-06-25 15:11:38 -07:00
Liu Liu
f35184aef9
[Swift] Add parsing from unowned UnsafeMutableRawPointer for ByteBuffer ( #5981 )
...
* RFC: Add ExternalStorage for ByteBuffer in Swift implementation
This PR proposed one more API for ByteBuffer such that no copy is
required to parse FlatBuffers content. This API has limited use, but for
cases that you need to read part of the flatbuffers' data to decide
whether you want to parse / copy the full buffer out, it is useful.
* Use a variable rather than protocol.
* Revert grouping changes from the other PR.
* Add unit test to read from unowned UnsafePointer.
* Manifest changed.
2020-06-22 17:05:36 -07:00
mustiikhalil
2e57d80b13
[Swift] Internal library improvements ( #5965 )
...
* Moves addition to overflow addition in swift by using &+
Moves code to use Int instead of UInt32 & fixes functions
Updates swift performance to great
Updated version to 0.5.2
Updated swift package version to 5.2
Updated docker to swift 5.2
Removed all none & arithmetic operations
* Small refactoring
2020-06-18 10:14:38 -07:00
mustiikhalil
7cb4762a61
[Swift] Improving reallocation time by using memcpy and moving reallocation code to storage ( #5960 )
...
Removes stride
Use capacity - current size to initialize
Fixes memory leak
Updated test code for linux
2020-06-11 08:53:32 -07:00
mustiikhalil
108e981dbe
Required is now implemented in swift ( #5952 )
2020-06-08 10:08:16 -07:00