1. 02 Dec, 2016 2 commits
    • 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
  2. 21 Nov, 2016 1 commit
  3. 18 Nov, 2016 2 commits
  4. 16 Nov, 2016 1 commit
    • 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
  5. 09 Nov, 2016 1 commit
  6. 07 Nov, 2016 3 commits
  7. 02 Nov, 2016 1 commit
  8. 26 Oct, 2016 1 commit
  9. 24 Oct, 2016 1 commit
  10. 22 Oct, 2016 1 commit
  11. 21 Oct, 2016 4 commits
  12. 19 Oct, 2016 1 commit
  13. 17 Oct, 2016 6 commits
  14. 12 Oct, 2016 8 commits
  15. 07 Oct, 2016 1 commit
    • Baptiste Lepilleur's avatar
      flatc java generator: namespace_test2.fbs is missing namespace prefix for… · 199157e8
      Baptiste Lepilleur authored
      flatc java generator: namespace_test2.fbs is missing namespace prefix for referToA2() return type (#4040)
      
      * Fix flatc generating incorrect java/c# code for namespace_test2.fbs. In code for TableInC, method referToA2() returned type SecondTableInA instead of NamespaceA.SecondTableInA.
      
      * Updated generated code.
      
      * Fixed indendation.
      199157e8
  16. 05 Oct, 2016 1 commit
  17. 03 Oct, 2016 1 commit
    • jbrads's avatar
      Generate type traits for unions to map a type to the corresponding u… (#4032) · b075b8c4
      jbrads authored
      *  Generate type traits for unions to map a type to the corresponding union enum value.
      
      * Fixed break with union enum type traits when type is in a namespace.
      
      * Fixed spacing and variable names in type traits generation to match style guidelines.
      
      *  Fixed spacing in type traits generation to match style guidelines.
      
      * Regenerated test schema header.
      b075b8c4
  18. 21 Sep, 2016 1 commit
  19. 19 Sep, 2016 2 commits
  20. 15 Sep, 2016 1 commit