https://git.reactos.org/?p=reactos.git;a=commitdiff;h=22d1e1017f8ca89aae73c…
commit 22d1e1017f8ca89aae73c2bb9131155cb20f96a2
Author: Giannis Adamopoulos <gadamopoulos(a)reactos.org>
AuthorDate: Mon Jan 29 17:28:29 2018 +0200
Commit: Giannis Adamopoulos <gadamopoulos(a)reactos.org>
CommitDate: Mon Jan 29 17:30:44 2018 +0200
[EXPLORER] CNotifyToolbar: Set TBMETRICS::cxBarPad and TBMETRICS::cyBarPad
MSDN says that these values are not used but apparently they are used as a padding around the buttons.
This helps to center the buttons in the notification area.
---
base/shell/explorer/syspager.cpp | 2 ++
1 file changed, 2 insertions(+)
diff --git a/base/shell/explorer/syspager.cpp b/base/shell/explorer/syspager.cpp
index 45f17023b9..4656d8f6fa 100644
--- a/base/shell/explorer/syspager.cpp
+++ b/base/shell/explorer/syspager.cpp
@@ -1189,6 +1189,8 @@ void CNotifyToolbar::Initialize(HWND hWndParent, CBalloonQueue * queue)
tbm.dwMask = TBMF_BARPAD | TBMF_BUTTONSPACING | TBMF_PAD;
tbm.cxPad = 1;
tbm.cyPad = 1;
+ tbm.cxBarPad = 1;
+ tbm.cyBarPad = 1;
tbm.cxButtonSpacing = 1;
tbm.cyButtonSpacing = 1;
SetMetrics(&tbm);
https://git.reactos.org/?p=reactos.git;a=commitdiff;h=19a67154c6bb612d324da…
commit 19a67154c6bb612d324da5c1ca824c9a3ca1e6b7
Author: Alexander Shaposhnikov <sanchaez(a)reactos.org>
AuthorDate: Mon Jan 29 16:09:04 2018 +0200
Commit: Alexander Shaposhnikov <sanchaez(a)reactos.org>
CommitDate: Mon Jan 29 16:09:04 2018 +0200
[CONTRIBUTING] Update .gitmessage template
---
.gitmessage | 11 ++++-------
1 file changed, 4 insertions(+), 7 deletions(-)
diff --git a/.gitmessage b/.gitmessage
index ebf493f1c4..f0b7ea10e1 100644
--- a/.gitmessage
+++ b/.gitmessage
@@ -4,20 +4,17 @@
# CORE-XXXX CIDXXXXX
-#--------------------------------------------------------------------^
-# 70^
# * [MODULE] should usually be the name of the CMake module, written
# in all caps.
#
-# * Summary should be imperative (not past tense), 70 characters or
-# less, and not end with a period.
+# * Summary should be imperative (not past tense), and not end with
+# a period.
#
-# * Description of commit should explain WHY a change was made and
-# lines should be also wrapped to 70 characters.
+# * Description of commit should explain WHY a change was made.
#
# * JIRA, Coverity ID references should be placed at the bottom and
# preceded by the newline.
#
# * Pull request should always be referenced in the summary in parens
-# unless it doesn't fit In this case it should be placed after bug
+# unless it doesn't fit. In this case it should be placed after bug
# IDs if any.
https://git.reactos.org/?p=reactos.git;a=commitdiff;h=d70741fa20aff5ee9dc19…
commit d70741fa20aff5ee9dc19b68dac6b7ef31475949
Author: Alexander Shaposhnikov <sanchaez(a)reactos.org>
AuthorDate: Sun Jan 28 00:51:48 2018 +0200
Commit: Alexander Shaposhnikov <sanchaez(a)reactos.org>
CommitDate: Mon Jan 29 15:08:04 2018 +0200
[CONTRIBUTING] Add a commit template and a paragraph about it
This template defines a general commit style, and will be most
helpful for newcomers. I will be using it personally :)
---
.gitmessage | 23 +++++++++++++++++++++++
CONTRIBUTING.md | 5 +++++
2 files changed, 28 insertions(+)
diff --git a/.gitmessage b/.gitmessage
new file mode 100644
index 0000000000..ebf493f1c4
--- /dev/null
+++ b/.gitmessage
@@ -0,0 +1,23 @@
+# [MODULE] A short but descriptive summary (#pr-num)
+
+# A comprehensible description of WHY you did this work.
+
+# CORE-XXXX CIDXXXXX
+
+#--------------------------------------------------------------------^
+# 70^
+# * [MODULE] should usually be the name of the CMake module, written
+# in all caps.
+#
+# * Summary should be imperative (not past tense), 70 characters or
+# less, and not end with a period.
+#
+# * Description of commit should explain WHY a change was made and
+# lines should be also wrapped to 70 characters.
+#
+# * JIRA, Coverity ID references should be placed at the bottom and
+# preceded by the newline.
+#
+# * Pull request should always be referenced in the summary in parens
+# unless it doesn't fit In this case it should be placed after bug
+# IDs if any.
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 028fe8bead..2d4b903b40 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -57,6 +57,10 @@ A __[patch]__ is a set of changes to existing source code. The changes in a patc
See [Submitting Patches] for details.
+### Commit style
+
+Our commit style is defined in a __[commit template]__. Use it as a reference or turn it on using `git config commit.template .gitmessage`. This will set this template as an initial commit message for the new commits in your local repository.
+
### Rules and Recommendations
- *Use your __real name__ and __real email__.* We do not accept anonymous contributions!
@@ -96,3 +100,4 @@ Finding a good project to start with can be a challenge, because when starting o
[README.FSD]: /media/doc/README.FSD
[Coverity]: https://scan.coverity.com/projects/reactos
[request-coverity]: https://scan.coverity.com/memberships/new?project_id=reactos
+ [commit template]: .gitmessage