-
Notifications
You must be signed in to change notification settings - Fork 262
Comparing changes
Open a pull request
base repository: wjakob/nanobind
base: master
head repository: revng/nanobind
compare: master
- 9 commits
- 33 files changed
- 2 contributors
Commits on Jul 16, 2025
-
Configuration menu - View commit details
-
Copy full SHA for e720641 - Browse repository at this point
Copy the full SHA e720641View commit details
Commits on Jul 30, 2025
-
Allow building as a standalone project
Add an additional `CMakeLists.txt` file which allows building nanobind as a standalone project, installing `libnanobind.so` under `/lib` and headers under `/include`.
Configuration menu - View commit details
-
Copy full SHA for 459b205 - Browse repository at this point
Copy the full SHA 459b205View commit details -
Drop the use of `typeid` and `std::type_info` from the codebase, they are now replaced with a thin shim through `shimTypeid<T>` and `shim::type_info`.
Configuration menu - View commit details
-
Copy full SHA for fe6fd2e - Browse repository at this point
Copy the full SHA fe6fd2eView commit details -
Search and replace uses of typeinfo
Search and replace all uses of uses of `std::type_info` and `typeid(...)` from the codebase and replace them with the shimmed functions/classes implemented in the previous commit. This commit can be regenerated during a rebase by running the following command: ``` find src include -type f \ \( -name '*.h' -or -name '*.cpp' \) \ -exec sed -i \ -e 's;std::type_info;shim::type_info;g' \ -e 's;typeid(\*ptr);typeidShim(*ptr);g' \ -e 's;typeid(\([^)]\+\));typeidShim<\1>();g' {} \; ```Configuration menu - View commit details
-
Copy full SHA for ee467eb - Browse repository at this point
Copy the full SHA ee467ebView commit details
Commits on Aug 19, 2025
-
Drop exceptions from the codebase
Drop the use of exceptions from the codebase. Where needed add an `abort`.
Configuration menu - View commit details
-
Copy full SHA for c24f8b9 - Browse repository at this point
Copy the full SHA c24f8b9View commit details -
Search and replace all exception code
Search and replace all exception-related code (`try`, `catch`, `throw`) and replace their use with functions/classes implemented in the previous commit. This commit can be regenerated during a rebase by running the following command: ``` find src include -type f \ \( -name '*.h' -or -name '*.cpp' \) \ -exec sed -i \ -e 's|try {|if (true) {|g' \ -e 's|catch (.*&\s*\(.\+\)) {|if (false) { shim::exception_placeholder \1;|g' \ -e 's|catch (.*) {|if (false) {|g' \ -e 's|throw \(.*\);$|throwShim(\1);|g' {} \; ```Configuration menu - View commit details
-
Copy full SHA for d4601a6 - Browse repository at this point
Copy the full SHA d4601a6View commit details -
standalone/CMakeLists.txt: add extra flags
Add extra compiler flags that make the compiler stricter.
Configuration menu - View commit details
-
Copy full SHA for 41ae829 - Browse repository at this point
Copy the full SHA 41ae829View commit details -
Remove "hidden" attribute from nanobind namespace
Remove the `hidden` attribute from the nanobind namespace, as it was causing linking problems.
Configuration menu - View commit details
-
Copy full SHA for 12a3b91 - Browse repository at this point
Copy the full SHA 12a3b91View commit details
Commits on Sep 17, 2025
-
Configuration menu - View commit details
-
Copy full SHA for 8358730 - Browse repository at this point
Copy the full SHA 8358730View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff master...master