1
0
Commit Graph

32 Commits

Author SHA1 Message Date
madmaxoft
b6ca98f380 Removed cStringMap.
It wasn't used for anything anymore.
2013-11-09 19:54:52 +01:00
Tiger Wang
a263dc8e83 Implemented suggestions
- Reverted changes to WebAdmin.cpp IPv6 ports and Server.cpp server
description
+ Added default value explicitly for HardCore value
* Split PluginManager plugin defaults write to new function
- Removed a commented block from BlockTorch and...
+ Added g_BlockIsTorchPlaceable to Defines.h
2013-11-05 21:15:39 +00:00
Tiger Wang
e832736e0b Autogeneration of settings.ini and webadmin.ini
Fixes issue #75
2013-11-04 21:51:24 +00:00
madmaxoft
9e9198e090 cIniFile doesn't store filename internally anymore. 2013-10-25 11:15:44 +02:00
madmaxoft
5174d9cbd6 Fixed GetHTMLEscapedString() binding, removed obsolete memory function from API. 2013-10-21 13:22:47 +02:00
madmaxoft
0258213d24 Merge branch 'htmlescape'. 2013-10-20 09:14:30 +02:00
Alexander Harkness
3272b45bc5 Added a string reserve. 2013-10-19 21:30:54 +01:00
Alexander Harkness
5ba998174a Fixed compile error. silly parentheses creeping in. 2013-10-19 21:21:44 +01:00
Alexander Harkness
0677872d88 Changed the code according to xoft's suggestions. 2013-10-19 21:13:47 +01:00
Alexander Harkness
f7c9230106 Fixed general failings with everything. Fixes #211.
My editor fixed some extra tabs in globals.
2013-10-19 17:37:47 +01:00
Alexander Harkness
9701a7fb84 Added a HTML escaping function to cWebAdmin.
Apparently my editor fixed some failed tabs too.
2013-10-19 17:17:33 +01:00
madmaxoft
e6bb025a9f Fixed webadmin logging.
This fixes #262.
2013-10-18 12:50:50 +02:00
madmaxoft
18bbe82f30 WebAdmin honors the [WebAdmin].Enable setting.
This fixes #234.
2013-10-13 22:19:13 +02:00
madmaxoft
efb7d4fd3e Fixed WebAdmin's request parameters.
Also added doxycomments on what they really contain.
2013-10-13 20:29:57 +02:00
madmaxoft
a120507be0 Implemented the two memory-statistics functions in cRoot.
This fixes #185. cWebAdmin::GetMemoryUsage() is accessible but deprecated (with a warning output to the screen).
2013-10-08 20:12:34 +02:00
madmaxoft
f55b77a98a Fixed memory leaks in the HTTP framework 2013-10-06 16:40:28 +02:00
madmaxoft
fe582b69d5 Removed remnants of the old webserver. 2013-10-06 14:38:10 +02:00
madmaxoft
b5c90d7b20 WebAdmin uses the new HTTP functionality.
This is a partial implementation of #183.
2013-10-05 23:08:16 +02:00
madmaxoft
19d5cc0e66 Updated coding style to match ours. 2013-09-22 09:46:23 +02:00
Samuel Barney
adf84a05fa Implemented Apple-specific GetMemoryUsage. 2013-09-21 18:21:37 -06:00
madmaxoft
184bcd3dd1 Prepared cWebAdmin for Apple-specific GetMmeoryUsage() 2013-09-21 22:40:14 +02:00
madmaxoft
6b61df3b73 Implemented cWebAdmin:GetMemoryUsage() on Linux proper.
Also the function now returns an int, number of KiB used, or -1 on failure.
2013-09-21 19:00:01 +02:00
madmaxoft
1a7912744f Moved entities into the Entities subfolder. 2013-08-19 11:39:13 +02:00
madmaxoft
eb323166d9 Removed LuaScript.
The WebAdmin now uses LuaState directly to call the one function it needs.
2013-08-08 16:30:02 +02:00
madmaxoft
c55fabb5ad cLuaScript now uses cLuaState 2013-08-06 19:28:09 +02:00
madmaxoft
20e7221c7c WebAdmin: Removed the duplicate memory usage querying 2013-07-29 10:59:10 +02:00
FakeTruth
5a9d4f89c2 WebAdmin templates can use Lua
New WebAdmin templates can use Lua to completely compose the pages
themselves. This should allow infinite WebAdmin design possibilities.
2013-07-29 02:37:59 +02:00
madmaxoft@gmail.com
dedb414a50 Added new hooks: OnChunkAvailable(), OnChunkUnloaded() and OnChunkUnloading(). Modified OnChunkGenerated() signature.
http://forum.mc-server.org/showthread.php?tid=464&pid=6312#pid6312

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1193 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-02-05 19:57:22 +00:00
madmaxoft@gmail.com
43e6840719 Merged branch "branches/hooks" into "trunk".
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1139 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-01-12 04:46:01 +00:00
madmaxoft@gmail.com
b65a22fc1f Fixed boolean comparison.
Don't compare booleans to false / true, use them directly.

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1048 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-11-16 16:03:56 +00:00
faketruth
41ba1a7642 Completely removed support for old style Lua plugins (can use both Plugin and NewPlugin in settings.ini for now)
Removed cPlugin_Lua, obviously
cPluginManager stores plugins by their (folder)name
cPluginManager now scans the Plugins folder for potential plugins and adds them as non-loaded plugins
Added a DisablePlugin and LoadPlugin to disable and load plugins on a per-plugin basis instead of all at once
cPluginManager::FindPlugins refreshes the plugin list by removing non-existing plugins and adding new plugins
Made it incredibly easy to use new plugins from the WebAdmin
Exposed some food/hunger related functions in cPlayer to Lua

git-svn-id: http://mc-server.googlecode.com/svn/trunk@959 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-13 23:34:47 +00:00
madmaxoft@gmail.com
ecfe6ab65b Source files cleanup: The rest of the files renamed.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@887 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-23 22:09:57 +00:00