peterbell10
13144a08e4
Enable some more clang-tidy linter checks ( #4738 )
...
* Avoid inefficient AString -> c_str() -> AString round trip
* Avoid redundant string init expressions
* Avoid unnecessary return, continue, etc.
* Add .clang-format to help with clang-tidy fix-its
* Avoid unnecessary passing by value
* Avoid unnecessary local copying
* Avoid copying in range-for loops
* Avoid over-complicated boolean expressions
* Some violations missed by my local clang-tidy
* Allow unnecessary continue statements
* Add brackets
* Another expression missed locally
* Move BindingsProcessor call into clang-tidy.sh and add space
* Fix pushd not found error
* Different grouping of CheckBlockInteractionRate
2020-05-14 22:15:35 +00:00
Lukas Pioch
0397535fa7
Removed unused forward declarations ( #3888 )
2017-08-03 15:10:29 +02:00
peterbell10
a56cfd1f42
Remove smart pointer macros
2017-07-21 14:41:51 +01:00
Lukas Pioch
e35ac1bfb9
Clang 5.0 fixes
...
- Added override keyword
- Removed inherited member variables
2017-05-21 12:19:06 +02:00
Lukas Pioch
74e6f41958
Don't return const ref params and removed functions from
...
ManualBindings.cpp
2017-05-01 11:10:21 +02:00
Mattes D
af8c96026d
Removed cWebPlugin, WebAdmin uses cLuaState::cCallback.
2016-06-27 20:51:48 +02:00
Mattes D
e3d34d9917
Revert "Lua callback"
2016-03-21 09:58:15 +01:00
Mattes D
62d81eb763
Removed cWebPlugin, WebAdmin uses cLuaState::cCallback.
2016-03-17 19:29:01 +01:00
Mattes D
52d18b4559
WebAdmin uses the new HTTP parser framework.
2016-03-01 16:19:58 +01:00
Mattes D
fea556ca1b
Renamed HTTPServer folder to HTTP.
...
It contains client code as well.
2016-03-01 16:19:56 +01:00
Mattes D
b92346e3cc
Moved cHTTPRequest to a separate file, renamed to cHTTPRequestParser.
2016-03-01 16:19:55 +01:00
Mattes D
2dbc54a148
Renamed the HTTP classes to indicate they're for server.
2016-03-01 16:19:55 +01:00
LogicParrot
ca6ef58b1e
Bulk clearing of whitespace
2016-02-05 23:50:18 +02:00
Mattes D
de27f66b59
Added URL member to the HTTPRequest API class.
2015-04-21 10:54:43 +02:00
Mattes D
2d1d4ae3e3
Removed unwanted base classes from Lua API.
2015-03-19 21:26:38 +01:00
Mattes D
f477b524bb
WebAdmin uses the new cNetwork API.
2015-01-27 14:53:26 +01:00
Mattes D
449d08cb3d
Merged IniFile into main MCS sources.
2014-10-23 15:15:10 +02:00
Alexander Harkness
15d4e543b1
Xoft fixes.
2014-09-06 09:56:22 +01:00
Howaner
017235e15c
[WebAdmin] Code improvements.
2014-09-02 20:02:52 +02:00
Howaner
7e5f22141f
WebAdmin: Added "files" folder and load the login template from login_template.html
2014-08-31 12:59:04 +02:00
Tycho
60ea4bb937
Removed unused method
2014-08-13 11:56:47 +01:00
madmaxoft
b0dedb0197
WebAdmin: Manually exported string conversion functions.
...
ToLua generated an extra return value for GetHTMLEscapedString() and GetURLEncodedString(), making them difficult to use.
2014-08-09 22:56:15 +02:00
madmaxoft
dcef688ccc
WebAdmin: Added GetURLEncodedString().
2014-08-09 22:56:06 +02:00
madmaxoft
7fff12bfac
Fixed spaces around single-line comments.
...
There should be at least two spaces in front and one space after //-style comments.
2014-07-17 19:13:23 +02:00
madmaxoft
1795cca552
Rewritten HTTPServer to use size_t for data lengths.
2014-04-01 16:36:00 +02:00
madmaxoft
e165da946e
WebAdmin is stopped properly on server shutdown / restart.
...
Fixes #272 .
2014-02-07 12:26:41 +01:00
Tycho Bickerstaff
d724241407
converted commneted paramater names to the unused macro
2013-12-22 13:46:55 +00:00
Tycho Bickerstaff
94ca07cfbf
Merge branch 'master' of github.com:mc-server/MCServer
2013-12-22 13:19:27 +00:00
STRWarrior
b424877448
Fixed getting configure button going to port 0.
2013-12-24 14:44:24 +01:00
Tycho Bickerstaff
9f41761e8e
Root is now warnings clean
2013-12-21 15:38:37 +00:00
madmaxoft
044fd237b6
Moved bindings-related to a Bindings subfolder.
...
Ref.: #407
2013-12-08 12:17:54 +01:00
Alexander Harkness
c775011c98
Fixed another.
2013-11-26 17:06:26 +00:00
Alexander Harkness
f792117ce5
Fixed a mis-include
2013-11-26 17:04:07 +00:00
Tiger Wang
e3db69c4ae
Attempt to fix compilation
2013-11-24 18:44:22 +00:00
Alexander Harkness
675b4aa878
Moved source to src
2013-11-24 14:19:41 +00:00