mustiikhalil
07c2eb5fe7
Moves away from @_exported import to add the import in the generated code ( #8637 )
2025-07-16 12:07:08 -07:00
mustiikhalil
bd1b2d0baf
[Swift] Adds new API to reduce memory copying within swift ( #8484 )
...
* Adds new API to reduce memory copying within swift
Adds new storage container _InternalByteBuffer which
will be holding the data that will be created within the swift
lib, however reading data will be redirected to ByteBuffer, which
should be able to handle all types of data that swift provide without
the need to copy the data itself. This is due to holding a reference to
the data.
Replaces assumingMemoryBinding with bindMemory which is safer
Adds function that provides access to a UnsafeBufferPointer for
scalars and NativeStructs within swift
Updates docs
Suppress compilation warnings by replacing var with let
Using overflow operators within swift to improve performance
Adds tests for GRPC message creation from a retained _InternalByteBuffer
2025-03-18 07:48:39 +01:00
Derek Bailey
1c514626e8
FlatBuffers Version 25.2.10
2025-02-10 20:25:03 -08:00
Derek Bailey
0312061985
FlatBuffers Version 25.1.24
2025-01-24 16:36:11 -08:00
Derek Bailey
df287ee6a7
FlatBuffers Version 25.1.21
2025-01-21 17:22:30 -08:00
Derek Bailey
a2cd1ea3b6
FlatBuffers Version 24.12.23 ( #8459 )
...
* FlatBuffers Release 24.12.23
* Fixed missing generated file version checks
* Run generate_code and fix cpp17 tests
2024-12-23 12:55:07 -08:00
mustiikhalil
1f4a9038ce
[Swift] Improves vectors performance & arrays within lib ( #8415 )
...
* Improves vectors performance and adds a benchmark to vectors of offsets in swift
Improves performance for all arrays and for loops
Uses a tuple instead of allocating a struct each time we start iterating over fieldloc
Updates benchmark library
* Fixing swift Wasm ci
2024-11-19 07:02:47 +01:00
mustiikhalil
b127c57ff0
Fixes spelling mistake in the word position ( #8330 )
2024-10-05 00:16:28 +02:00
mustiikhalil
75f05d6389
Sets Swift minimum version to 5.8 ( #8228 )
...
Updates copyright from 2023 to 2024 & formats code - updates formatting rules
Updates CI to run with swift 5.8
Adds wasmer & updates command to run carton as a swift plugin
Update bazelci to also accept swift 5.8
Adds swift 5.10 to the test matrix
2024-05-29 13:07:54 -07:00
Derek Bailey
595bf0007a
FlatBuffers Version v24.3.25
2024-03-26 05:18:07 +00:00
Derek Bailey
6ff9e90e7e
FlatBuffers Version v24.3.7
2024-03-07 15:16:33 -08:00
Derek Bailey
7cd216c51e
FlatBuffers Version v24.3.6
2024-03-07 06:52:51 +00:00
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
blindspotbounty
477b1b5d13
use Bool for flatbuffers bool instead of Byte ( #7876 )
...
Add test for Bool type in swift
Co-authored-by: mustiikhalil <26250654+mustiikhalil@users.noreply.github.com >
2023-03-27 01:45:48 +02: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
mr-swifter
74756e5d1b
[swift] fix broken swift test build ( #7633 ) ( #7634 )
...
* [swift] fix broken swift test build (#7633 )
* [swift] fix unused variable (#7633 )
* [swift] update generated code (#7633 )
* [swift] add binary & json test for nan, inf, -inf for swift (#7633 )
* [swift] use just '.infinity' instead of '+.infinity' (#7633 )
* [swift] remove commented code (#7633 )
Co-authored-by: Derek Bailey <derekbailey@google.com >
Co-authored-by: mustiikhalil <26250654+mustiikhalil@users.noreply.github.com >
2022-11-11 18:36:47 +01: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
a67e35aff9
Moves all of the swift test code into tests/swift ( #7509 )
...
Fixes failing tests by regenerating test cases
2022-09-09 22:35:42 -07:00