Commit graph

29 commits

Author SHA1 Message Date
Protobuf Team Bot
cc2ae8ea97 Auto-generate files after cl/926158387 2026-06-03 18:37:22 +00:00
Protobuf Team Bot
6867822087 Auto-generate files after cl/884474939 2026-03-16 16:26:17 +00:00
Protobuf Team Bot
56d27b7900 Auto-generate files after cl/879595940 2026-03-06 14:29:50 +00:00
Protobuf Team Bot
74f182510d Auto-generate files after cl/816837388 2025-10-08 20:40:46 +00:00
Protobuf Team Bot
afe578f0fd Auto-generate files after cl/740773590 2025-03-26 15:29:16 +00:00
Protobuf Team Bot
6ccd2b145b Auto-generate files after cl/729120445 2025-02-20 16:37:20 +00:00
Protobuf Team Bot
37b2e3cb43 Internal changes.
PiperOrigin-RevId: 625086124
2024-04-15 14:37:15 -07:00
Protobuf Team Bot
9ef627938a Internal change
PiperOrigin-RevId: 512105133
2023-02-24 10:33:07 -08:00
Thomas Van Lenten
4bffbfa04a Internal change
PiperOrigin-RevId: 512095262
2023-02-24 10:32:24 -08:00
Protobuf Team Bot
6a5467ada7 Auto-generate files after cl/512093266 2023-02-24 17:57:04 +00:00
Mike Kruskal
d6dc0dc260 Internal changes
PiperOrigin-RevId: 512093266
2023-02-24 09:46:51 -08:00
Protobuf Team Bot
094511c858 Auto-generate files after cl/512087869 2023-02-24 17:31:39 +00:00
Mike Kruskal
0e48352e6d Expand lifetime of repository cache.
These are not growing fast at all, but are taking a long time to asymptotically fill out.

PiperOrigin-RevId: 512086597
2023-02-24 09:15:24 -08:00
Protobuf Team Bot
d32332dd81 Auto-generate files after cl/512076306 2023-02-24 16:35:52 +00:00
Mike Kruskal
086367f2c8 Internal changes
PiperOrigin-RevId: 512076306
2023-02-24 08:26:00 -08:00
Protobuf Team Bot
0ece9236f5 Auto-generate files after cl/512073294 2023-02-24 16:20:12 +00:00
Thomas Van Lenten
9c29c404bf [ObjC] Small cleanups to package level headers
- Reduce what headers the runtime import needs.
- Remove stale function prototype.
- Move one function to be full scoped to a single file.

PiperOrigin-RevId: 512073294
2023-02-24 08:10:29 -08:00
Protobuf Team Bot
1501afeb23 Auto-generate files after cl/512017807 2023-02-24 10:39:33 +00:00
Protobuf Team Bot
4ed02cc3a5 [ObjC] Generator changes for fullName and FileDescriptor improvements
PiperOrigin-RevId: 508063892
2023-02-08 06:37:35 -08:00
Protobuf Team Bot
48ff4f6219 [ObjC] Loosen the link between generate messages and roots.
The root class only needs to be started up if the message scopes extensions.
This updates the startup flows so the root is only started when the message
scopes extensions and thus the runtime requires that startup.

Bump the generated source version to account for the new initializer that
doesn't take the rootClass argument.

Fix typo while at it.

PiperOrigin-RevId: 504899046
2023-01-26 11:38:59 -08:00
Protobuf Team Bot
4df096f1e9 [ObjC] Move GenerateHeader over to Printer::Emit.
Update ImportWriter to have a second Emit api for the runtime files to
streamline things a bit better.

PiperOrigin-RevId: 492210147
2022-12-01 09:01:42 -08:00
Protobuf Team Bot
4a122474ce [ObjC] Update generation to include the new closed enum information.
Also bump the generation version since the generate files require the newer
library version.

PiperOrigin-RevId: 488711994
2022-11-15 11:24:30 -08:00
Thomas Van Lenten
672adeb84f [ObjC] Fix up clang-format directives in generate files.
- If the source name is long enough, clang-format can want to reflow that
  comment line, so move up the directive.
- Fix typo at the end of the file.
2022-10-06 18:50:48 -04:00
Thomas Van Lenten
7c64628669 [ObjC] Output directive to disable clang-format on generated files.
Regenerate the WKTs accordingly.
2022-09-23 14:09:00 -04:00
Mike Kruskal
7ff876d758
Migrating macos php builds from 7.0/7.3 to 7.4/8.0 (#10274)
* Migrating macos php builds from 7.0/7.3 to 7.4/8.0

* Removing local comments

* Fix kokoro issues

* Further cleanup

* Fix permissions in Ruby release test
2022-07-20 20:58:32 -07:00
Thomas Van Lenten
020e4e33d1 Simplify imports of the WKTs within the library itself.
Overdue followup to https://github.com/protocolbuffers/protobuf/pull/7173

Since all the files are at the same level as the runtime headers, there is no
need for things to be framework based imports, they should all just work like
the other headers do.

- Directly generate the bundled header imports into the preamble section when
  generating for a bundled proto.
- Update the preamble generation to skip the CPP wrapper when generating for a
  bundled proto file.
- Regenerate the WKTs.
- Update GPBProtocolBuffer.h/GPBWellKnownTypes.h to also skip the CPP wrapping.

GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS in the podspec and non bundled files still
has to exist because that comes into play for those files to find the runtime
headers.
2022-03-01 17:01:33 -05:00
Joshua Haberman
e5c570bb57 Sync from Piper @395706834
PROTOBUF_SYNC_PIPER
2021-09-09 08:21:42 -07:00
Joshua Haberman
32e5deb1ac Sync from Piper @308829107
PROTOBUF_SYNC_PIPER
2020-04-28 08:40:38 -07:00
Thomas Van Lenten
56c48ae592 Revisit how the WKTs are bundled with ObjC.
There are have been a few issues around people using case sensitive file systems
what Xcode/clang does when looking at the paths. In attempts to solve one set of
warnings, new warnings/errors happened in different setup. So, to hopefully put
these problem away for got, move the WKTs to be at the same level as the other
headers.

- Revert "Override CocoaPods module to lowercase (#6464)"
  This reverts commit 479ba8226b.
- Move WKTs to the objectivec directory and make the old headers shim back to
  the new locations.
- Update objectivec/generate_well_known_types.sh to check them one at a time
  and to deal with the new locations for them.

Fixes #6803
2020-02-10 12:20:05 -05:00