Skip to content
Snippets Groups Projects
  1. Dec 19, 2016
    • Wouter van Oortmerssen's avatar
      Add default values (if they exist) to native tables. · e6fa14a0
      Wouter van Oortmerssen authored
      From cl/142307012.
      
      Change-Id: I54d550573f6506b92ad18e7cc90bcd8589259e52
      e6fa14a0
    • Wouter van Oortmerssen's avatar
      Add ::Set function to Unions to make memory ownership clear. · c66683f2
      Wouter van Oortmerssen authored
      Unions own the NativeTable* value member because they need to destroy them
      when the Union goes out of scope.  Currently, the data is destroyed by calling
      delete, which means that the member needs to be allocated with new.  However,
      making the allocation the responsibility of the client and the destruction
      the responsibility of the Union can lead to potential errors.  Adding a
      Set function will ensure that the memory is allocated correctly so that it
      can be deleted later.
      
      From cl/142161569.
      
      Change-Id: I4605f26d2749164819bfae0140e5fae08442b50a
      c66683f2
  2. Dec 14, 2016
  3. Dec 13, 2016
  4. Dec 12, 2016
  5. Dec 09, 2016
  6. Dec 07, 2016
  7. Dec 05, 2016
    • Ronak Jain's avatar
      Support for Golang GRPC (Experimental) (#4082) · a31ddd2b
      Ronak Jain authored
      * support for grpc golang
      
      * refactored grpc go generator
      
      * added grpc-go test and refactored
      
      * refactored idl_gen_grpc.cpp
      
      * fixed grpc generate method name
      
      * refactored flatc and fixed line length issue
      
      * added codec to go lib and fixed formatting issues
      
      * fixed spacing issues
      a31ddd2b
  8. Dec 02, 2016
    • Wouter van Oortmerssen's avatar
      Adds typedefs and functions to help write generic code. · bc2ec711
      Wouter van Oortmerssen authored
      The following changes have been made to the C++ codegen to enable writing generic code
      that uses the Table and NativeTable types.
      
      - Adds TableType and NativeTableType typedefs to NativeTable and Table structs.
      - Adds GetFullyQualifiedName() to NativeTables if --gen-name-strings is set.
      - Adds a static Pack function to Tables that simply calls the global CreateX functions.
      
      See cr/140391505 as an example of improved usage.
      
      From cl/140529288.
      
      Change-Id: Idec137c16129e15c1783f94fabdcea24aeeaaef6
      bc2ec711
    • Wouter van Oortmerssen's avatar
      Allows structs to be stored directly as member variables. · 641b397f
      Wouter van Oortmerssen authored
      Introduce a "native_inline" attribute that can be applied on fields that are structs.
      This results in NativeTable code generation that sets the struct "inline" rather than
      storing it in a pointer.
      
      From cl/140527470.
      
      Change-Id: I208724f552b8b921b20923e0bf82f42cb3582416
      641b397f
  9. Nov 21, 2016
  10. Nov 18, 2016
  11. Nov 16, 2016
    • Antoine Descamps's avatar
      [PHP] Use mb_detect_encoding when available (#3952) · dbecdf20
      Antoine Descamps authored
      I've faced an issue where I want to serialize UTF-8 emojis and FlatBufferBuilder::is_utf8 would return false on them.
      I was not able to add the corresponding hexadecimal code because I don't understand how the whole thing works but what i've done is using the `mb_detect_encoding` function which handles correctly all supposed UTF-8 characters.
      dbecdf20
  12. Nov 09, 2016
  13. Nov 07, 2016
  14. Nov 02, 2016
  15. Oct 26, 2016
  16. Oct 24, 2016
  17. Oct 22, 2016
  18. Oct 21, 2016
  19. Oct 19, 2016
  20. Oct 17, 2016
  21. Oct 12, 2016
Loading