]> git.stg.codes - stg.git/log
stg.git
11 years agoRemoved some conflicting macros.
Maxim Mamontov [Sat, 9 Nov 2013 13:40:24 +0000 (15:40 +0200)]
Removed some conflicting macros.

11 years agoImplemented new command line options parser.
Maxim Mamontov [Sat, 9 Nov 2013 13:40:07 +0000 (15:40 +0200)]
Implemented new command line options parser.

11 years agoAdded command line parser prototype.
Maxim Mamontov [Mon, 28 Oct 2013 20:24:44 +0000 (22:24 +0200)]
Added command line parser prototype.

11 years agoMade short and full help.
Maxim Mamontov [Sun, 20 Oct 2013 16:38:40 +0000 (19:38 +0300)]
Made short and full help.

11 years agoAdded all tariff options.
Maxim Mamontov [Sun, 20 Oct 2013 16:24:35 +0000 (19:24 +0300)]
Added all tariff options.

11 years agoAdded missing threshold value for dirprice data in the tariff.
Maxim Mamontov [Sun, 20 Oct 2013 15:56:01 +0000 (18:56 +0300)]
Added missing threshold value for dirprice data in the tariff.

11 years agoFull description of corporations management.
Maxim Mamontov [Sun, 20 Oct 2013 15:32:43 +0000 (18:32 +0300)]
Full description of corporations management.

11 years agoNew usage message.
Maxim Mamontov [Sun, 20 Oct 2013 14:27:11 +0000 (17:27 +0300)]
New usage message.

11 years agoMoved common code to a single file.
Maxim Mamontov [Sun, 20 Oct 2013 13:37:52 +0000 (16:37 +0300)]
Moved common code to a single file.

11 years agoRemoved dead code.
Maxim Mamontov [Sun, 20 Oct 2013 13:25:27 +0000 (16:25 +0300)]
Removed dead code.

11 years agoSimplified NETTRANSACT.
Maxim Mamontov [Sun, 20 Oct 2013 12:44:53 +0000 (15:44 +0300)]
Simplified NETTRANSACT.

11 years agoFixed compilation issues.
Maxim Mamontov [Sun, 20 Oct 2013 10:46:13 +0000 (13:46 +0300)]
Fixed compilation issues.

11 years agoReplaces vector parsers with a single one.
Maxim Mamontov [Sun, 20 Oct 2013 10:32:56 +0000 (13:32 +0300)]
Replaces vector parsers with a single one.

11 years agoRemoved another unused header.
Maxim Mamontov [Sun, 20 Oct 2013 10:12:29 +0000 (13:12 +0300)]
Removed another unused header.

11 years agoRemoved unused header.
Maxim Mamontov [Sun, 20 Oct 2013 10:10:24 +0000 (13:10 +0300)]
Removed unused header.

11 years agoAdded corporations management.
Maxim Mamontov [Sun, 20 Oct 2013 10:02:37 +0000 (13:02 +0300)]
Added corporations management.

11 years agoCosmetic changes.
Maxim Mamontov [Sun, 20 Oct 2013 10:02:04 +0000 (13:02 +0300)]
Cosmetic changes.

11 years agoAdded resetable corp conf.
Maxim Mamontov [Sun, 20 Oct 2013 10:01:33 +0000 (13:01 +0300)]
Added resetable corp conf.

11 years agoAdded services management.
Maxim Mamontov [Sun, 20 Oct 2013 09:37:13 +0000 (12:37 +0300)]
Added services management.

11 years agoAdded resetable service conf.
Maxim Mamontov [Sun, 20 Oct 2013 09:36:40 +0000 (12:36 +0300)]
Added resetable service conf.

11 years agoRemoved unused header.
Maxim Mamontov [Sun, 20 Oct 2013 09:36:25 +0000 (12:36 +0300)]
Removed unused header.

11 years agoAdded tariff parsers/serializers.
Maxim Mamontov [Sun, 20 Oct 2013 08:45:14 +0000 (11:45 +0300)]
Added tariff parsers/serializers.

11 years agoAdded x2str for double type.
Maxim Mamontov [Sun, 20 Oct 2013 08:44:41 +0000 (11:44 +0300)]
Added x2str for double type.

11 years agoRemoved unused method.
Maxim Mamontov [Sun, 20 Oct 2013 08:43:50 +0000 (11:43 +0300)]
Removed unused method.

11 years agoAdded RawXML method and related stuff.
Maxim Mamontov [Fri, 18 Oct 2013 21:26:35 +0000 (00:26 +0300)]
Added RawXML method and related stuff.

11 years agoImproved CHG_USER.
Maxim Mamontov [Fri, 18 Oct 2013 21:06:31 +0000 (00:06 +0300)]
Improved CHG_USER.

11 years agoUSER_STAT refactoring.
Maxim Mamontov [Tue, 8 Oct 2013 16:14:50 +0000 (19:14 +0300)]
USER_STAT refactoring.

11 years agoChanged USER_STAT_RES.
Maxim Mamontov [Tue, 8 Oct 2013 16:01:48 +0000 (19:01 +0300)]
Changed USER_STAT_RES.

11 years agoPre-allocate DIR_TRAFF container with DIR_NUM items.
Maxim Mamontov [Tue, 8 Oct 2013 15:51:17 +0000 (18:51 +0300)]
Pre-allocate DIR_TRAFF container with DIR_NUM items.

11 years agoChanges in SendMessage method.
Maxim Mamontov [Tue, 8 Oct 2013 15:20:15 +0000 (18:20 +0300)]
Changes in SendMessage method.

11 years agoAdded DIR_TRAFF_RES, refactored DIR_TRAFF.
Maxim Mamontov [Tue, 8 Oct 2013 15:19:42 +0000 (18:19 +0300)]
Added DIR_TRAFF_RES, refactored DIR_TRAFF.

11 years agoUse simple parser fro CHG_ADMIN.
Maxim Mamontov [Tue, 8 Oct 2013 12:58:48 +0000 (15:58 +0300)]
Use simple parser fro CHG_ADMIN.

11 years agoUse single simple parser for one-tag answers.
Maxim Mamontov [Tue, 8 Oct 2013 12:56:11 +0000 (15:56 +0300)]
Use single simple parser for one-tag answers.

11 years agoAdded CHG/ADD/DEL_ADMIN parsers.
Maxim Mamontov [Tue, 8 Oct 2013 11:51:42 +0000 (14:51 +0300)]
Added CHG/ADD/DEL_ADMIN parsers.

11 years agoTemporarily disabled unimplemented code.
Maxim Mamontov [Mon, 7 Oct 2013 22:06:18 +0000 (01:06 +0300)]
Temporarily disabled unimplemented code.

11 years agoAdded new parsers to compilation.
Maxim Mamontov [Mon, 7 Oct 2013 22:05:16 +0000 (01:05 +0300)]
Added new parsers to compilation.

11 years agoAdded GET_ADMIN parser.
Maxim Mamontov [Mon, 7 Oct 2013 22:04:57 +0000 (01:04 +0300)]
Added GET_ADMIN parser.

11 years agoAdded missing include.
Maxim Mamontov [Mon, 7 Oct 2013 22:04:41 +0000 (01:04 +0300)]
Added missing include.

11 years agoAdded GET_ADMINS parser.
Maxim Mamontov [Mon, 7 Oct 2013 21:53:02 +0000 (00:53 +0300)]
Added GET_ADMINS parser.

11 years agoRemoved empty line.
Maxim Mamontov [Mon, 7 Oct 2013 21:52:38 +0000 (00:52 +0300)]
Removed empty line.

11 years agoAdded admins manipulation interface.
Maxim Mamontov [Mon, 7 Oct 2013 21:48:45 +0000 (00:48 +0300)]
Added admins manipulation interface.

11 years agoFixed typo.
Maxim Mamontov [Mon, 7 Oct 2013 21:48:34 +0000 (00:48 +0300)]
Fixed typo.

11 years agoFixed compilation issue.
Maxim Mamontov [Mon, 7 Oct 2013 21:35:23 +0000 (00:35 +0300)]
Fixed compilation issue.

11 years agoRemoved ServerInfo helper.
Maxim Mamontov [Mon, 7 Oct 2013 21:34:40 +0000 (00:34 +0300)]
Removed ServerInfo helper.

11 years agoRemoved redundant methods from SERVCONF implementation.
Maxim Mamontov [Mon, 7 Oct 2013 21:33:02 +0000 (00:33 +0300)]
Removed redundant methods from SERVCONF implementation.

11 years agoSimplified SERVCONF implementation.
Maxim Mamontov [Mon, 7 Oct 2013 21:28:16 +0000 (00:28 +0300)]
Simplified SERVCONF implementation.

11 years agoReturn value from assignment operator.
Maxim Mamontov [Mon, 7 Oct 2013 21:28:02 +0000 (00:28 +0300)]
Return value from assignment operator.

11 years agoSimplified parser interfaces.
Maxim Mamontov [Mon, 7 Oct 2013 21:21:37 +0000 (00:21 +0300)]
Simplified parser interfaces.

11 years agoUse ::tolower from cctype in std::transform.
Maxim Mamontov [Mon, 7 Oct 2013 20:36:59 +0000 (23:36 +0300)]
Use ::tolower from cctype in std::transform.

11 years agoAdded missing header.
Maxim Mamontov [Mon, 7 Oct 2013 20:30:36 +0000 (23:30 +0300)]
Added missing header.

11 years agoFixed compilation issues.
Maxim Mamontov [Mon, 7 Oct 2013 20:25:47 +0000 (23:25 +0300)]
Fixed compilation issues.

11 years agoSmall refactoring in RESETABLE.
Maxim Mamontov [Mon, 7 Oct 2013 20:25:25 +0000 (23:25 +0300)]
Small refactoring in RESETABLE.

11 years agoRemoved historical files.
Maxim Mamontov [Mon, 7 Oct 2013 19:06:24 +0000 (22:06 +0300)]
Removed historical files.

11 years agoCosmetic changes.
Maxim Mamontov [Fri, 20 Sep 2013 22:53:13 +0000 (01:53 +0300)]
Cosmetic changes.

11 years agoFixes in paths.
Maxim Mamontov [Fri, 20 Sep 2013 22:41:17 +0000 (01:41 +0300)]
Fixes in paths.

11 years agoMoved parsers into a separate directory.
Maxim Mamontov [Fri, 20 Sep 2013 22:41:01 +0000 (01:41 +0300)]
Moved parsers into a separate directory.

11 years agoAdded missing header.
Maxim Mamontov [Fri, 20 Sep 2013 22:26:57 +0000 (01:26 +0300)]
Added missing header.

11 years agoSilence compiler about empty body in 'for'.
Maxim Mamontov [Fri, 20 Sep 2013 22:24:44 +0000 (01:24 +0300)]
Silence compiler about empty body in 'for'.

11 years agoMoved base and utility classes from global scope.
Maxim Mamontov [Fri, 20 Sep 2013 22:23:31 +0000 (01:23 +0300)]
Moved base and utility classes from global scope.

11 years agoMoved CHG_USER and SEND_MESSAGE parsers from global scope.
Maxim Mamontov [Fri, 20 Sep 2013 22:04:12 +0000 (01:04 +0300)]
Moved CHG_USER and SEND_MESSAGE parsers from global scope.

11 years agoMoved GET_USER and GET_USERS parsers from global scope.
Maxim Mamontov [Fri, 20 Sep 2013 21:53:18 +0000 (00:53 +0300)]
Moved GET_USER and GET_USERS parsers from global scope.

11 years agoMoved CHECK_USER parser from global scope.
Maxim Mamontov [Fri, 20 Sep 2013 21:35:08 +0000 (00:35 +0300)]
Moved CHECK_USER parser from global scope.

11 years agoMoved SERVER_INFO parser from global scope.
Maxim Mamontov [Fri, 20 Sep 2013 21:27:44 +0000 (00:27 +0300)]
Moved SERVER_INFO parser from global scope.

11 years agoMoved AUTH_BY parser from global scope.
Maxim Mamontov [Fri, 20 Sep 2013 21:17:50 +0000 (00:17 +0300)]
Moved AUTH_BY parser from global scope.

11 years ago[NY] Cosmetic changes.
Maxim Mamontov [Sun, 15 Sep 2013 02:10:19 +0000 (05:10 +0300)]
[NY] Cosmetic changes.

11 years ago[NY] Removed commented out stuff.
Maxim Mamontov [Sun, 15 Sep 2013 02:08:57 +0000 (05:08 +0300)]
[NY] Removed commented out stuff.

11 years ago[NY] Made NETUNIT private.
Maxim Mamontov [Sun, 15 Sep 2013 02:08:32 +0000 (05:08 +0300)]
[NY] Made NETUNIT private.

11 years ago[NY] Implemented SERVCONF using PIMPL.
Maxim Mamontov [Sun, 15 Sep 2013 02:05:04 +0000 (05:05 +0300)]
[NY] Implemented SERVCONF using PIMPL.

11 years ago[NY] Removed more garbage.
Maxim Mamontov [Sun, 15 Sep 2013 01:35:14 +0000 (04:35 +0300)]
[NY] Removed more garbage.

11 years ago[NY] Removed garbage.
Maxim Mamontov [Sun, 15 Sep 2013 01:33:25 +0000 (04:33 +0300)]
[NY] Removed garbage.

11 years ago[NY] Code deduplication.
Maxim Mamontov [Sun, 15 Sep 2013 01:30:53 +0000 (04:30 +0300)]
[NY] Code deduplication.

11 years ago[NY] Simplified SERVCONF interface.
Maxim Mamontov [Sun, 15 Sep 2013 01:27:32 +0000 (04:27 +0300)]
[NY] Simplified SERVCONF interface.

11 years ago[NY Flight] Improvements in parser dispatching.
Maxim Mamontov [Fri, 6 Sep 2013 17:55:55 +0000 (20:55 +0300)]
[NY Flight] Improvements in parser dispatching.

11 years ago[NY Flight] Improved XML parsing.
Maxim Mamontov [Fri, 6 Sep 2013 17:41:27 +0000 (20:41 +0300)]
[NY Flight] Improved XML parsing.

11 years ago[NY Flight] Improved socket reading for sgconf.
Maxim Mamontov [Fri, 6 Sep 2013 16:57:05 +0000 (19:57 +0300)]
[NY Flight] Improved socket reading for sgconf.

11 years ago[NY Flight] Use common encryption/decryption functions.
Maxim Mamontov [Fri, 6 Sep 2013 16:42:47 +0000 (19:42 +0300)]
[NY Flight] Use common encryption/decryption functions.

11 years ago[NY Flight] One time protocol initialization.
Maxim Mamontov [Fri, 6 Sep 2013 16:31:52 +0000 (19:31 +0300)]
[NY Flight] One time protocol initialization.

11 years agoFixed "always online" parameter.
Maxim Mamontov [Fri, 23 Aug 2013 19:19:51 +0000 (22:19 +0300)]
Fixed "always online" parameter.

11 years agoMerge branch 'naffanya-dev'
Maxim Mamontov [Fri, 23 Aug 2013 18:59:58 +0000 (21:59 +0300)]
Merge branch 'naffanya-dev'

11 years agoRemoved some unused stuff.
Maxim Mamontov [Fri, 23 Aug 2013 16:13:05 +0000 (19:13 +0300)]
Removed some unused stuff.

11 years agoImproved handling errors got from server.
Maxim Mamontov [Fri, 23 Aug 2013 15:59:53 +0000 (18:59 +0300)]
Improved handling errors got from server.

11 years agoAdded result on success for GetAuthBy.
Maxim Mamontov [Fri, 23 Aug 2013 15:59:29 +0000 (18:59 +0300)]
Added result on success for GetAuthBy.

11 years agoFixed response for GetAuthBy on error.
Maxim Mamontov [Fri, 23 Aug 2013 15:58:13 +0000 (18:58 +0300)]
Fixed response for GetAuthBy on error.

11 years agoAdded result and reason attributes for <user>.
Maxim Mamontov [Fri, 23 Aug 2013 15:57:37 +0000 (18:57 +0300)]
Added result and reason attributes for <user>.

11 years agoDelete debug output scriptParams
Naffanya [Fri, 23 Aug 2013 12:06:09 +0000 (15:06 +0300)]
Delete debug output scriptParams

11 years agoBetter handling of errors from server. Refactoring.
Maxim Mamontov [Mon, 19 Aug 2013 05:57:38 +0000 (08:57 +0300)]
Better handling of errors from server. Refactoring.

11 years agoCorrecting return in method GetParamValue and cycle in methods OnConnect and OnDisconnect
Naffanya [Sun, 18 Aug 2013 20:22:13 +0000 (23:22 +0300)]
Correcting return in method GetParamValue and cycle in methods OnConnect and OnDisconnect

11 years agoFixed error handling in SetUser.
Maxim Mamontov [Sun, 18 Aug 2013 10:16:42 +0000 (13:16 +0300)]
Fixed error handling in SetUser.

11 years agoMinor changes.
Maxim Mamontov [Sun, 18 Aug 2013 09:56:51 +0000 (12:56 +0300)]
Minor changes.

11 years agoRemoved unused parser.cpp.
Maxim Mamontov [Sun, 18 Aug 2013 09:46:39 +0000 (12:46 +0300)]
Removed unused parser.cpp.

11 years agoSend message parser was moved to a separate files.
Maxim Mamontov [Sun, 18 Aug 2013 09:45:56 +0000 (12:45 +0300)]
Send message parser was moved to a separate files.

11 years agoFixed compilation issues.
Maxim Mamontov [Sat, 10 Aug 2013 20:35:00 +0000 (23:35 +0300)]
Fixed compilation issues.

11 years agoAdded setter.
Maxim Mamontov [Sat, 10 Aug 2013 19:56:09 +0000 (22:56 +0300)]
Added setter.

11 years agoRemoved "stg" prefix from inclusion of parser.h
Maxim Mamontov [Sat, 10 Aug 2013 19:55:38 +0000 (22:55 +0300)]
Removed "stg" prefix from inclusion of parser.h

11 years agoAdded license header.
Maxim Mamontov [Sat, 10 Aug 2013 19:55:25 +0000 (22:55 +0300)]
Added license header.

11 years agoMade getters work.
Maxim Mamontov [Sat, 10 Aug 2013 15:57:29 +0000 (18:57 +0300)]
Made getters work.

11 years agoFixed stupid bug in case conversion functions.
Maxim Mamontov [Sat, 10 Aug 2013 15:54:50 +0000 (18:54 +0300)]
Fixed stupid bug in case conversion functions.

11 years agoDifferent small fixes plus error logging.
Maxim Mamontov [Sat, 10 Aug 2013 07:51:39 +0000 (10:51 +0300)]
Different small fixes plus error logging.

11 years agoRenamed a variable.
Maxim Mamontov [Sat, 10 Aug 2013 07:04:49 +0000 (10:04 +0300)]
Renamed a variable.

11 years agoCosmetic changes.
Maxim Mamontov [Sat, 10 Aug 2013 07:03:42 +0000 (10:03 +0300)]
Cosmetic changes.