[geos-commits] [SCM] GEOS branch main updated. 4b3a02bff93266d2e85ea3bdb842357f0b634baa
git at osgeo.org
git at osgeo.org
Fri Nov 8 15:04:32 PST 2024
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GEOS".
The branch, main has been updated
via 4b3a02bff93266d2e85ea3bdb842357f0b634baa (commit)
from feb4459969212ced293e4ead339dc95457631bcc (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 4b3a02bff93266d2e85ea3bdb842357f0b634baa
Author: Martin Davis <mtnclimb at gmail.com>
Date: Fri Nov 8 15:04:12 2024 -0800
Updater Developer Notes
diff --git a/DEVELOPER-NOTES.md b/DEVELOPER-NOTES.md
index bfa94f66f..c21bbbf70 100644
--- a/DEVELOPER-NOTES.md
+++ b/DEVELOPER-NOTES.md
@@ -87,6 +87,10 @@ public:
* It lowers the number of heap allocations, because it allocates larger blocks of space to store multiple `HalfEdge` objects.
* It handles the lifecycle of the `HalfEdge` objects that make up the `EdgeGraph`, because when the `EdgeGraph` is deallocated, the `std::deque<>` and all its contents are also automatically deallocated.
+### Use `pragma once` to limit header inclusion
+
+Use `#pragma once` to limit header inclusion. It is simpler and faster.
+
### Use forward declarations in header files
Where possible, in header files use **forward declarations** rather than header includes.
@@ -106,10 +110,6 @@ rather than:
#include <geos/geom/Geometry.h>
```
-### Use `pragma once` to limit header inclusion
-
-Use `#pragma once` to limit header inclusion. It is simpler and faster.
-
### Use `using` to reduce namespace qualifiers
GEOS is organized into many nested namespaces to reflect the JTS package structure.
diff --git a/web/content/project/development/_index.md b/web/content/project/development/_index.md
index 2f4eb6855..b397be7dc 100644
--- a/web/content/project/development/_index.md
+++ b/web/content/project/development/_index.md
@@ -25,7 +25,6 @@ When submitting bugs caused by particular geometries, you must
[WKB]({{< ref "../../specifications/wkb" >}}), so that we can re-produce
the failure cases.
-
## Contributing
To contribute fixes to outstanding issues, enhancements, and other smaller
@@ -37,3 +36,7 @@ is not a "smaller" change, please join the
[**geos-devel** mailing list](https://lists.osgeo.org/mailman/listinfo/geos-devel)
and describe your plans. **Join the list!** It is a great way to get
acquainted with what the development community is working on.
+
+## Coding Style
+
+For guidance on the coding style used in GEOS see the [**Developer Notes**](https://github.com/libgeos/geos/blob/main/DEVELOPER-NOTES.md).
-----------------------------------------------------------------------
Summary of changes:
DEVELOPER-NOTES.md | 8 ++++----
web/content/project/development/_index.md | 5 ++++-
2 files changed, 8 insertions(+), 5 deletions(-)
hooks/post-receive
--
GEOS
More information about the geos-commits
mailing list