-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathHACKING
46 lines (33 loc) · 1.53 KB
/
HACKING
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
Hacking on EasyTAG
==================
Contributing
------------
If you have a suggestion or found a bug, please either file an issue:
https://gitlab.gnome.org/GNOME/easytag/-/issues/
or bring it up in the discussion forum:
https://discourse.gnome.org/tag/easytag
Patches are best filed as merge requests in Gitlab. For commits, please:
* keep the first line of the commit messages at 50 characters or less
* do not add a prefix to the commit message, for example "build:"
* add a link to the bug report or mailing list archives where the patch was
discussed, for example a URL for the issue
Coding Style
------------
The original EasyTAG coding style was close to K&R style, with four-space
indents. This has been changed slightly to the following guidelines:
* BSD/Allman brace style
* C89 comments
* one space before opening bracket, none after opening or closing
* four space indent
* try to keep to 80 character lines
* space after ',', spaces around logical operators
* function return values on a line separate from the function name
New code should follow this style.
GtkBuilder UI descriptions
--------------------------
GtkBuilder files are used for describing the EasyTAG UI. The UI files are in
the data directory, and named *.ui. The files are not created with Glade, and
Glade should not be used to edit them, as it will unnecessarily rearrange
content within the file, leading to commit diffs which are difficult to read.
The files are not installed, but instead compiled into a resource bundle and
built into the application binary.