summaryrefslogtreecommitdiff
path: root/README.Coding
AgeCommit message (Collapse)AuthorFilesLines
2020-06-12doc: Add markup to README.Coding for samba wiki linksDavid Mulder1-532/+0
Adding markup to the README.Coding allows us to link to sections of the document from the samba wiki and prevents documentation duplication. Signed-off-by: David Mulder <dmulder@suse.com> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Fri Jun 12 23:32:30 UTC 2020 on sn-devel-184
2018-11-22README.Coding: Approve DBG statements using dom_sid_str_bufVolker Lendecke1-0/+16
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
2018-07-10README.Coding disable include sorting in clang formatGary Lockyer1-0/+1
Update the clang format configuration to disable include sorting. This is enabled by default and breaks samba code. Signed-off-by: Gary Lockyer <gary@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Gary Lockyer <gary@samba.org> Autobuild-Date(master): Tue Jul 10 04:40:51 CEST 2018 on sn-devel-144
2018-06-28README.Coding: Fix link to Python coding style guide (PEP 8)Björn Baumbach1-2/+2
Signed-off-by: Björn Baumbach <bb@sernet.de> Reviewed-by: David Mulder <dmulder@suse.com> Autobuild-User(master): Björn Baumbach <bbaumbach@samba.org> Autobuild-Date(master): Thu Jun 28 15:04:44 CEST 2018 on sn-devel-144
2018-03-23README.Coding: remove reference to non-existent prog_guide4.txtDouglas Bagnall1-4/+4
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2018-03-23README.Coding: mention compatible Python versionsDouglas Bagnall1-3/+3
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2018-03-13README.Coding: codify line splitting on function callsUri Simchoni1-2/+3
Signed-off-by: Uri Simchoni <uri@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Tue Mar 13 01:48:21 CET 2018 on sn-devel-144
2017-08-10README.Coding: add "Error and out logic"Ralph Boehme1-0/+49
Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Simo <simo@samba.org> Autobuild-User(master): Ralph Böhme <slow@samba.org> Autobuild-Date(master): Thu Aug 10 14:36:01 CEST 2017 on sn-devel-144
2016-10-04README.Coding: Add clang-format style fileUri Simchoni1-0/+10
Add how the coding style is represented in clang-format directives. Signed-off-by: Uri Simchoni <uri@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Tue Oct 4 05:43:18 CEST 2016 on sn-devel-144
2016-10-04README.Coding: Add rule about function declaration indentationUri Simchoni1-0/+6
Signed-off-by: Uri Simchoni <uri@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
2016-10-04README.Coding: Remove an extra spaceUri Simchoni1-1/+1
Signed-off-by: Uri Simchoni <uri@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
2016-02-15README.Coding: Improve pointer exampleAndreas Schneider1-0/+1
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Mon Feb 15 20:52:24 CET 2016 on sn-devel-144
2016-02-15README.Coding: Add a boolean example we use very oftenAndreas Schneider1-0/+11
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
2015-10-21README.Coding: Update section about debug macrosChristof Schmitt1-9/+15
Signed-off-by: Christof Schmitt <cs@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
2015-10-20README.Coding: initialize pointersRalph Boehme1-1/+34
Pointers must be initialized to NULL. Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
2015-01-20CodingStyle: Update example to use our coding practice.Andreas Schneider1-4/+4
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org> Autobuild-User(master): Volker Lendecke <vl@samba.org> Autobuild-Date(master): Tue Jan 20 18:51:55 CET 2015 on sn-devel-104
2015-01-19README.Coding: Add hint for if-statmentsVolker Lendecke1-19/+27
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Volker Lendecke <vl@samba.org> Autobuild-Date(master): Mon Jan 19 13:25:12 CET 2015 on sn-devel-104
2014-08-31Remove mention of compatibility with Python 2.4.Jelmer Vernooij1-3/+0
Change-Id: I1f900e550f4fbed9d7b3ffdbf30aa5b54e799331 Signed-Off-By: Jelmer Vernooij <jelmer@samba.org> Reviewed-by: David Disseldorp <ddiss@samba.org>
2013-11-11README.Coding: Add __func__Volker Lendecke1-0/+14
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Michael Adam <obnox@samba.org> Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Mon Nov 11 16:08:09 CET 2013 on sn-devel-104
2012-09-26Coding: Add comment disproving control-flow changing macrosVolker Lendecke1-0/+10
2011-10-14CodingStyle: Add some notes about Python 2.4 compatibility.Jelmer Vernooij1-3/+7
2011-07-23README.Coding: Mention that PEP8 is the standard for Python code.Jelmer Vernooij1-1/+5
Almost all of our existing code is PEP8, and virtually every other free software project in Python uses PEP8.
2010-07-10README.Coding: fix typosStefan Metzmacher1-5/+6
Thanks to Michael Wood <esiotrot@gmail.com> for the review. metze
2010-07-10README.Coding: add examples for good and bad commentsStefan Metzmacher1-1/+72
metze
2010-05-11README.Coding - cosmetic changesMatthias Dieter Wallnöfer1-42/+45
- Fix typos - Wrap lines - Remove trailing whitespaces - use ":" instead of "::" - one colon should in all cases be enough
2010-05-11README.Coding: fix good exampleStefan Metzmacher1-1/+2
metze
2009-11-18README.coding: Update rules about code blocks and braces.Kai Blin1-15/+31
2009-11-16README.Coding: add section about usage of helper variablesStefan Metzmacher1-0/+26
metze
2009-11-16README.Coding: fix error in "good example"Stefan Metzmacher1-1/+1
metze
2009-11-14Mention typedef struct in README.CodingVolker Lendecke1-0/+8
2009-11-10README.Coding: Fix typos.Matt Kraai1-7/+7
2009-06-03README: Fix indentation of bullet point.Jelmer Vernooij1-1/+1
README.Coding: Use consistent header.
2008-10-01Update to refer to 3 and 4, not just Samba 3.Jelmer Vernooij1-33/+32
2008-09-18Fix path, typo.Jelmer Vernooij1-1/+1
2008-08-05README.Coding: A few minor fixes.Karolin Seeger1-3/+3
Karolin (This used to be commit e61c6963cc25883c0b6e7e20596723397e294807)
2007-10-10r25378: Add a vim configuration example to highlight overly long lines.Michael Adam1-0/+5
(This used to be commit 95b7404836a723334d703825ab6f605ab38efe82)
2007-10-10r25156: Update coding guiding wrt to primitive data typesGerald Carter1-0/+15
(This used to be commit 01d42744903d7ef9044fa4d2ad1cc64594717573)
2007-10-10r23705: Add suggestion for vim from Andreas 'GlaDiaC' Schneider to show tabs,Lars Müller1-1/+2
trailing whitespace, and continued lines visually. (This used to be commit 6209ae79de3710ab9c2e91e2f6643b1c5fe2a6b2)
2007-10-10r23645: add examples and try to answer some common questions in the coding ↵Gerald Carter1-6/+134
style guide (This used to be commit c955151bb384c3edba3f2f17f1ebb7029b61d36c)
2007-10-10r23636: Adding coding style guide for Samba 3.0 branches (no differences ↵Gerald Carter1-0/+87
from Tridge's prog_guide.txt so we should have a similar style throughout the project) (This used to be commit ff1c2fdc08f6198bad1bf9f5bae8dc6bc5fb534a)