diff options
author | fluxgen <fluxgen> | 2002-01-18 01:38:44 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2002-01-18 01:38:44 (GMT) |
commit | b0d1c04c119711167fccd1b30e266269a0e2262c (patch) | |
tree | 4a83e076cc4b54b9f94530182d2538ae86a9b8a3 | |
parent | 0c409f4e6a2f3e67c2fd6a8722585fee73076567 (diff) | |
download | fluxbox_lack-b0d1c04c119711167fccd1b30e266269a0e2262c.zip fluxbox_lack-b0d1c04c119711167fccd1b30e266269a0e2262c.tar.bz2 |
update
-rw-r--r-- | ChangeLog | 14 | ||||
-rw-r--r-- | doc/Coding_style | 12 |
2 files changed, 21 insertions, 5 deletions
@@ -1,5 +1,17 @@ | |||
1 | Changes for 0.1.7: | ||
2 | *02/01/18: | ||
3 | * Fixed ResourceManager | ||
4 | * Changed resources to Resource<T> in class Fluxbox | ||
5 | * Added Resource.hh/.cc, XrmDatabaseHelper.hh, NotCopyable.hh | ||
6 | *02/01/16: | ||
7 | * Fixed indent in Window.hh | ||
8 | *02/01/15: | ||
9 | * Fixed exception in FluxboxWindow::FluxboxWindow | ||
10 | *02/01/14: | ||
11 | * Fixed throw statement in FluxboxWindow | ||
12 | |||
1 | Changes for 0.1.6: | 13 | Changes for 0.1.6: |
2 | *01/01/11: | 14 | *02/01/11: |
3 | * Fixed small bug in keybindings code, now killwindow and shade will | 15 | * Fixed small bug in keybindings code, now killwindow and shade will |
4 | work as supposed with tabs. (Claes Nästén) | 16 | work as supposed with tabs. (Claes Nästén) |
5 | * Fixed so it compiles with cygwin (Thanks Eric Nicolas) | 17 | * Fixed so it compiles with cygwin (Thanks Eric Nicolas) |
diff --git a/doc/Coding_style b/doc/Coding_style index eff9eea..a5bc90c 100644 --- a/doc/Coding_style +++ b/doc/Coding_style | |||
@@ -1,8 +1,6 @@ | |||
1 | The coding style is almost the same as i blackbox. | 1 | The coding style is almost the same as i blackbox. |
2 | Instead of 2 spaces there is tab. | 2 | Instead of 2 spaces there is tab. |
3 | It might look strange now in some places, that is because | 3 | Use a tab size of 2 or 4 and you will be fine. |
4 | the code hasnt been "translated" to tab 100% yet. | ||
5 | Use a tab size of 2 and you will be fine. | ||
6 | 4 | ||
7 | if-statements: | 5 | if-statements: |
8 | 6 | ||
@@ -29,6 +27,12 @@ It should look like this | |||
29 | stuff); | 27 | stuff); |
30 | } | 28 | } |
31 | 29 | ||
30 | If a line need to be splited in an if-statement then it should use two | ||
31 | tab for indent next row in if-statement like this: | ||
32 | |||
33 | if ( longline && longline && longling && | ||
34 | longline && longline && longline) | ||
35 | funktion(); | ||
32 | 36 | ||
33 | The include guards: | 37 | The include guards: |
34 | _FILENAME_HH_ | 38 | _FILENAME_HH_ |
@@ -46,7 +50,7 @@ type classname::function(...) { | |||
46 | } | 50 | } |
47 | 51 | ||
48 | 52 | ||
49 | enums must be in uppercase letters: | 53 | enums must be in uppercase letters and not in file scope: |
50 | enum {WHITE, RED, BLUE}; | 54 | enum {WHITE, RED, BLUE}; |
51 | 55 | ||
52 | Class data members are prefixed by m_ | 56 | Class data members are prefixed by m_ |