summaryrefslogtreecommitdiff
path: root/README.Coding
Commit message (Collapse)AuthorAgeFilesLines
* README.Coding: Approve DBG statements using dom_sid_str_bufVolker Lendecke2018-11-221-0/+16
| | | | | Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
* README.Coding disable include sorting in clang formatGary Lockyer2018-07-101-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
* README.Coding: Fix link to Python coding style guide (PEP 8)Björn Baumbach2018-06-281-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
* README.Coding: remove reference to non-existent prog_guide4.txtDouglas Bagnall2018-03-231-4/+4
| | | | | Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* README.Coding: mention compatible Python versionsDouglas Bagnall2018-03-231-3/+3
| | | | | Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* README.Coding: codify line splitting on function callsUri Simchoni2018-03-131-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
* README.Coding: add "Error and out logic"Ralph Boehme2017-08-101-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
* README.Coding: Add clang-format style fileUri Simchoni2016-10-041-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
* README.Coding: Add rule about function declaration indentationUri Simchoni2016-10-041-0/+6
| | | | | Signed-off-by: Uri Simchoni <uri@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* README.Coding: Remove an extra spaceUri Simchoni2016-10-041-1/+1
| | | | | Signed-off-by: Uri Simchoni <uri@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* README.Coding: Improve pointer exampleAndreas Schneider2016-02-151-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
* README.Coding: Add a boolean example we use very oftenAndreas Schneider2016-02-151-0/+11
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
* README.Coding: Update section about debug macrosChristof Schmitt2015-10-211-9/+15
| | | | | Signed-off-by: Christof Schmitt <cs@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* README.Coding: initialize pointersRalph Boehme2015-10-201-1/+34
| | | | | | | Pointers must be initialized to NULL. Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* CodingStyle: Update example to use our coding practice.Andreas Schneider2015-01-201-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
* README.Coding: Add hint for if-statmentsVolker Lendecke2015-01-191-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
* Remove mention of compatibility with Python 2.4.Jelmer Vernooij2014-08-311-3/+0
| | | | | | Change-Id: I1f900e550f4fbed9d7b3ffdbf30aa5b54e799331 Signed-Off-By: Jelmer Vernooij <jelmer@samba.org> Reviewed-by: David Disseldorp <ddiss@samba.org>
* README.Coding: Add __func__Volker Lendecke2013-11-111-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
* Coding: Add comment disproving control-flow changing macrosVolker Lendecke2012-09-261-0/+10
|
* CodingStyle: Add some notes about Python 2.4 compatibility.Jelmer Vernooij2011-10-141-3/+7
|
* README.Coding: Mention that PEP8 is the standard for Python code.Jelmer Vernooij2011-07-231-1/+5
| | | | | Almost all of our existing code is PEP8, and virtually every other free software project in Python uses PEP8.
* README.Coding: fix typosStefan Metzmacher2010-07-101-5/+6
| | | | | | Thanks to Michael Wood <esiotrot@gmail.com> for the review. metze
* README.Coding: add examples for good and bad commentsStefan Metzmacher2010-07-101-1/+72
| | | | metze
* README.Coding - cosmetic changesMatthias Dieter Wallnöfer2010-05-111-42/+45
| | | | | | | - Fix typos - Wrap lines - Remove trailing whitespaces - use ":" instead of "::" - one colon should in all cases be enough
* README.Coding: fix good exampleStefan Metzmacher2010-05-111-1/+2
| | | | metze
* README.coding: Update rules about code blocks and braces.Kai Blin2009-11-181-15/+31
|
* README.Coding: add section about usage of helper variablesStefan Metzmacher2009-11-161-0/+26
| | | | metze
* README.Coding: fix error in "good example"Stefan Metzmacher2009-11-161-1/+1
| | | | metze
* Mention typedef struct in README.CodingVolker Lendecke2009-11-141-0/+8
|
* README.Coding: Fix typos.Matt Kraai2009-11-101-7/+7
|
* README: Fix indentation of bullet point.Jelmer Vernooij2009-06-031-1/+1
| | | | README.Coding: Use consistent header.
* Update to refer to 3 and 4, not just Samba 3.Jelmer Vernooij2008-10-011-33/+32
|
* Fix path, typo.Jelmer Vernooij2008-09-181-1/+1
|
* README.Coding: A few minor fixes.Karolin Seeger2008-08-051-3/+3
| | | | | Karolin (This used to be commit e61c6963cc25883c0b6e7e20596723397e294807)
* r25378: Add a vim configuration example to highlight overly long lines.Michael Adam2007-10-101-0/+5
| | | | (This used to be commit 95b7404836a723334d703825ab6f605ab38efe82)
* r25156: Update coding guiding wrt to primitive data typesGerald Carter2007-10-101-0/+15
| | | | (This used to be commit 01d42744903d7ef9044fa4d2ad1cc64594717573)
* r23705: Add suggestion for vim from Andreas 'GlaDiaC' Schneider to show tabs,Lars Müller2007-10-101-1/+2
| | | | | trailing whitespace, and continued lines visually. (This used to be commit 6209ae79de3710ab9c2e91e2f6643b1c5fe2a6b2)
* r23645: add examples and try to answer some common questions in the coding ↵Gerald Carter2007-10-101-6/+134
| | | | | | style guide (This used to be commit c955151bb384c3edba3f2f17f1ebb7029b61d36c)
* r23636: Adding coding style guide for Samba 3.0 branches (no differences ↵Gerald Carter2007-10-101-0/+87
from Tridge's prog_guide.txt so we should have a similar style throughout the project) (This used to be commit ff1c2fdc08f6198bad1bf9f5bae8dc6bc5fb534a)