turleypol
21577d8e5b
Clang Tidy concat namespaces ( #855 )
...
* tidy
* Automated clang-tidy change: modernize-concat-nested-namespaces
* compile test
* fix namespace
---------
Co-authored-by: Clang Tidy <clang-tidy@users.noreply.github.com>
2026-01-17 10:30:21 +01:00
Peter Wedder
62638190a6
Change outgoing packet handlers to write CP-1252 when appropriate ( #443 )
...
* - Change all (most?) outgoing packet handlers that should write CP-1252 to convert UTF-8 to CP-1252.
- Update Clib::sanitizeUnicodeWithIso() to sanitize with CP-1252, which is what UO uses instead of ISO-8859.
- Add a test for Clib::sanitizeUnicodeWithIso() to check if it's performing the conversion correctly (currently it is not).
* Fix stylecheck
* Revert changes to sanitizeUnicodeWithIso()
* Change test so it matches acceptable sanitizeUnicodeWithIso behavior.
* Fix warnings.
* Add corechanges.
2021-11-09 08:01:31 +01:00
turleypol
8b085e86ef
dont assume a tainted string by default
...
cfgfiles (which includes savefiles, datafiles) get sanizized on read,
filemod::readfile, xml module, sql handled
old ascii speech packets handled
2019-01-12 17:14:05 +01:00
turleypol
3257cda6ab
cleanup of cliloc unicode functions
2019-01-03 17:21:55 +01:00
turleypol
9cfb4ec5a5
moved pkt headers into network folder
2018-12-30 21:35:54 +01:00
esdete
dc2d29b433
NULL to nullptr
2018-07-31 14:30:29 +02:00
turleypol
dbb25bdb62
Include and buildsystem cleanup ( #45 )
...
Include cleanup
Reworked buildsystem (Linux only)
Removed dynamic libs, Linux now again uses static linking (like windows)
2018-01-29 21:55:48 +01:00
turleypol
798eda5b63
Cleanup of header includes.
2018-01-01 21:52:14 +01:00
Kevin Eady
6972fa62e9
Modified PrintTextAbove*() functions to display object's description, similar to PrintTextAbove*()
2017-07-17 15:49:20 +02:00
turley
189cad3479
Formating everything
...
Authors are not forced to use the clang-format setting, but should
atleast be inspired by the style.
The only thing which is now not allowed are tabs for ident/alignment!
2016-02-19 19:26:35 +01:00
turley
ed7b16b233
normalized lineendings
2016-02-11 22:54:43 +01:00
Gabriele Tozzi
d1ac902926
Documentation: reformatted headers for DoxyGen
2016-01-28 14:52:40 +01:00
Thomas Volkert
1dd2200c6b
Renamed endian.h to clib_endian.h to avoid redefinition problems in
...
system files and the general hiding of the endian.h from the system
2015-08-31 20:01:31 +02:00
turley
3c719ecf55
optimized HealthBarStatusUpdate pkt
2015-04-17 20:38:36 +02:00
turley
8d42a12b7c
Optimized ObjRevision pkt, GraphicEffect pkts, Damage pkt
2015-04-17 18:58:14 +02:00
turley
a08b5e4e4a
Packet writer improvement
...
parameter can now have different type, only allow integer and enums, same sign
added runtimecheck for max value
2014-11-14 17:54:41 +01:00
frozenblit
1ba2462cb6
More and more stl_inc.h cleanups
2014-11-01 20:09:12 +01:00
turley
31ee263a45
activated new logging facility
2014-01-18 13:29:38 +00:00
turley
99d7dc3037
namespaces...finally :)
...
Hard part is finished every file is touched. Namespaces are currently rough named by directory name.
Maybe we could split it more
2013-12-21 09:10:46 +00:00
turley
11ce4da294
changed pkt writer
...
generic definition, but gives linker error if unsupported type used, and compiler error if <..> is missing. Damn argument deduction
hopefully with this last pkt error in tooltips will never happen.
Chances that i broke a pkt .... high :P
2012-02-19 20:40:44 +00:00
turley
9edf8c2b52
gnaa fixed tooltips
...
added proposal for better write/writeflipped function def
Muad, Nando take a look at it.. :)
2012-02-19 13:58:11 +00:00
turley
4e7e400254
64bit compilation..
2011-12-23 13:28:38 +00:00
turley
b35cbd463d
finished pkt refactoring
...
gave threads names under windows for better debugging
fixed memoryleak in ItemGivenEvent
2011-12-19 16:34:21 +00:00
turley
796d4992f9
finished refactoring of pkthelper
2011-12-17 12:05:57 +00:00
dsourc
76c7662dd4
Changed: All Write(ctBeu16( calls for graphics and colors to use WriteFlipped, this seems to have fixed the assertion errors that occured with removal of the color_ext and graphic_ext
2011-11-29 18:00:51 +00:00
muaddib_pol
54023dbab7
- UObject->Graphic_Ext : Removed, and when used is replaced with ctBEu16() calls. This includes read/write of /data files.
2011-11-28 05:12:31 +00:00
turley
440e57bced
hsa mul support
...
changed objtype to max 0x20000
splitted pkt transmit
needs more testing
2011-06-14 15:20:00 +00:00
turley
823f18b0cc
Added: pol.cfg AccountDataSafe (default -1)
...
Values:
-1 : old behaviour, saves accounts.txt immediately after an account change
0 : saves only during worldsave (if needed)
>0 : saves every X seconds and during worldsave (if needed)
removed debugging stuff for pkts
2011-03-10 12:57:50 +00:00
turley
88c18237bd
some pkt fixes + several debugtests (will be removed later)
2010-04-24 07:35:19 +00:00
turley
03ed725f56
pkt 0xab-0xcc
...
had to move xmitoutbuffer to client class (threadsafty)
2010-04-10 10:30:25 +00:00
turley
606d9dea21
i hate unsigned...
2010-02-01 14:47:39 +00:00
turley
f7cf2cf1a6
fixed several possible bufferoverruns
...
multiplacement checks for valid loc with center+min/max
added uotool small helper param formatdesc to get singular/plural version of desc
removed needed "realm=" for staticdefrag
2010-01-30 12:49:54 +00:00
turley
0a0d152294
crypto cleanup - Tomi
...
polcfg cleanup - Tomi
gargoyle flying counts as mounted
fixes for faces
fixes of cliloc msgs
added 0xbf:0x0f handle
2009-12-04 12:49:26 +00:00
turley
7c54d3175f
gcc fixes, minor cleanup
2009-11-06 16:07:47 +00:00
muaddib_pol
4f01460d16
+ bscript project upgrade to use literal paths. Removed include of ".."
...
+ Couple format/cleanup
2009-09-11 12:15:05 +00:00
muaddib_pol
6a73041445
+ Network Code organized some. Baby steps, baby steps
2009-09-07 20:37:38 +00:00
muaddib_pol
49072c3c41
+ To-Do file updates
...
+ Beginning of Mobile and Module source file organization
+ Makefile.Gcc updates
2009-09-06 14:11:24 +00:00
muaddib_pol
d032ee448f
+ POL is now, open source.
2009-09-03 19:44:42 +00:00