1. 16 Jun, 2016 2 commits
  2. 15 Jun, 2016 1 commit
  3. 09 Jun, 2016 1 commit
  4. 07 Jun, 2016 2 commits
  5. 25 May, 2016 1 commit
    • Thomas Van Lenten's avatar
      Add more warnings to for the ObjC runtime build · c8a440df
      Thomas Van Lenten authored
      Working on https://github.com/google/protobuf/issues/1599, specifically:
      - Turn on more warnings that the Xcode UI calls out with individual controls.
      - Manually add:
        -Wundef
        -Wswitch-enum
      - Manually add and then diable in the unittests because of XCTest's headers:
        -Wreserved-id-macro
        -Wdocumentation-unknown-command
      - Manually add -Wdirect-ivar-access, but disable it for the unittests and in
        the library code (via #pragmas to suppress it). This is done so proto users
        can enable the warning.
      c8a440df
  6. 24 May, 2016 1 commit
    • Thomas Van Lenten's avatar
      Better support for using the proto library from a framework. · 7da023b8
      Thomas Van Lenten authored
      - Add generator constant for the default framework name.
      - Add generator api for making the CPP symbol from the name.
      - Add generator api to see if it is a bundled proto file.
      - Output a CPP conditional and two imports for the core library headers.
      - Add helper for generating the #import for file headers to deal with the
        framework imports.
      - Add a reference from the unittests to a WKT to use that to inspect how
        imports generate.
      - Update the podspec to define the CPP symbol and require pods 1.0 (or later).
      
      Fixes https://github.com/google/protobuf/issues/1457
      7da023b8
  7. 18 May, 2016 1 commit
  8. 17 May, 2016 2 commits
  9. 14 May, 2016 1 commit
  10. 11 May, 2016 1 commit
  11. 10 May, 2016 1 commit
  12. 07 May, 2016 1 commit
  13. 06 May, 2016 3 commits
  14. 28 Apr, 2016 1 commit
  15. 26 Apr, 2016 1 commit
  16. 21 Apr, 2016 1 commit
    • Petr Prokhorenkov's avatar
      Fix bug with silent message corruption in LITE_RUNTIME. · f4f9aec5
      Petr Prokhorenkov authored
      A protobuf message will be corrupted in the following scenario:
        1. Use LITE_RUNTIME.
        2. Have an optional enum field following some other field.
        3. Update protocol by adding new values to the enum.
        4. Have an old client parse and serialize a message having enum field
            set to a value the client does not understand.
        5. Field preceeding the enum is now corrupted.
      
      The bug is due to the fact that optimized fallthrough in parser code
      does not update variablle 'tag' when jumping to the parser code for the
      next field.
      f4f9aec5
  17. 20 Apr, 2016 3 commits
  18. 19 Apr, 2016 1 commit
  19. 15 Apr, 2016 1 commit
  20. 14 Apr, 2016 1 commit
  21. 11 Apr, 2016 1 commit
  22. 08 Apr, 2016 1 commit
  23. 07 Apr, 2016 2 commits
  24. 06 Apr, 2016 3 commits
    • Jie Luo's avatar
      c6120749
    • Jon Skeet's avatar
      Add more documentation for csharp_options.h · 2a18bb5a
      Jon Skeet authored
      This also renames generate_directories to base_namespace_specified; generating directories is the
      immediate *effect* of specifying a base namespace, but with this change the options reflect what has been
      specified rather than the effect. (There may be other effects in the future, of course.)
      2a18bb5a
    • Jon Skeet's avatar
      Line-wrapping changes only for C# generator code · bfd1c84a
      Jon Skeet authored
      This should have no behavioral changes at all.
      
      This doesn't strictly enforce an 80-column limit, but removes the most egregious violations.
      The indentation in the C# generator code is inconsistent in general, unfortunately - if we have
      any good tools that can be trusted to reformat, I'd be happy to apply them.
      bfd1c84a
  25. 05 Apr, 2016 1 commit
    • Gaurav Vaish's avatar
      Added access_level for types · 74d8b0be
      Gaurav Vaish authored
      * `csharp_options`: Added `Options` to encapsulate generator options.
         Supported options for now - file_extension, base_namespace
      * `{Blah}Generator`: Now accept `Options*` as parameter to constructor
      * `csharp_generator.cc`: Parse and populate options
      * `Makefile.am`: Added `csharp_options.h`
      * `extract_includes.bat.in`: Added `csharp_options.h`
      
      Refactoring code to two commits. This is the first commit
      74d8b0be
  26. 04 Apr, 2016 1 commit
  27. 01 Apr, 2016 3 commits
  28. 31 Mar, 2016 1 commit
    • Jisi Liu's avatar
      Fix WIN32 build for map_test. · bc1f2e7e
      Jisi Liu authored
      stubs/common.h undefines the GetMessage macro introduced in windows.h
      map_test however include stubs/common.h before windows.h is transitively
      included. This hack force map_test.cc to include windows.h first, so we
      have a chance to undefine the GetMessage macro.
      bc1f2e7e