Commit Graph

53 Commits (b6ba43bed5dafd0f19862d2ff637909829fdc96f)

Author SHA1 Message Date
Andrey Lihatskiy 1b68f71348 #824 Process source files in bulk: replace tabs with spaces, convert CRLF to LF, and trim trailing whitespaces as needed 2024-04-29 07:56:09 +03:00
Mnikolenko Productengine a661367644 MAINT-7056 Viewer crash when opening many scripts. 2017-01-25 11:31:22 +02:00
Rider Linden 75c6549fde Set consistent terminology for yield/wait -> suspend for coroutines. 2015-09-18 11:39:22 -07:00
Nat Goodspeed efa9a0f99c Backed out changeset bab1000e1b2d: restore 'selfless' changes 2015-07-10 19:30:10 -04:00
Rider Linden 247eb0c9c3 Backout selfles merge 738255dbbfd679d9e615baab3398e5e345bbb3c5 2015-07-07 19:41:27 +01:00
Nat Goodspeed b262ded7e0 MAINT-5351: Remove 'self' parameter from coroutine functions.
lleventcoro_test.cpp runs clean (as modified for new API), and all the rest
builds clean, but the resulting viewer is as yet untested.
2015-07-01 18:33:29 -04:00
Rider Linden 0d3fb07bfa Remove vestigial httpclient.h include from files that no longer need it. 2015-06-03 16:04:40 -07:00
Rider Linden aa47516e89 Convert LSL syntax download to coroutine. 2015-05-28 14:02:36 -07:00
Oz Linden 5c6cf3e7fb restore the ll[io]fstream because we need them as wrappers on Windows for wide char paths; on other platforms they are now just typedefs to the std classes 2015-04-10 11:02:37 -04:00
Oz Linden 8b42c7898e replace llifstream and llofstream with std::ifstream and std::ofstream respectively 2015-04-07 17:59:28 -04:00
Oz Linden 3a57b18896 convert llifstream and llofstream to std::ifstream and std::ofstream respectively 2015-04-07 17:28:05 -04:00
Cinder e3a27586f1 STORM-2037 - Update fetchKeywordsFileresponder to use latest LLHTTPClient::responder changes 2014-07-09 09:10:10 -06:00
Cinder 984353d7ca STORM-2036 - Fix trying to parse caps too early by adding a callback to check region caps when they haven't already been received 2014-06-20 11:02:50 -06:00
Cinder d949bee053 BUG-6425 - Init default keywords file during ctor so we have something to fallback on should caps or fetch fail 2014-06-20 10:17:31 -06:00
Cinder 78be5c3aa5 STORM-2026 - Use more unique syntax colors by default, also clean up some indentation 2014-06-09 16:19:20 -06:00
Cinder 41f6c5ce48 Greatly simplify LLSyntaxIdLSL:
* Move file fetched callback to the singleton and handle all syntax id changes within the singleton
* Remove a fair number of bool checks and method relying more on callbacks to drive syntax changes.
* Don't pretty print the cache file to conserve space and to speed up xml to llsd parsing
* Clean up includes
2014-06-09 15:14:09 -06:00
Cinder e6b20328c2 A little more cleanup in LLSyntaxIDLSL and LLKeywords 2014-06-04 22:51:20 -06:00
Oz Linden 15d8f35507 clean up the constructor for LLSyntaxIdLSL 2014-05-14 16:43:13 -04:00
Cinder 82cd99d6eb Style - rename previously static members, fix scope, ease up on the exclamation points in debug messages 2014-05-12 07:49:18 -06:00
Cinder 059a29e976 Fix callback signal, Eliminate some unnecessary statics 2014-05-11 23:17:31 -06:00
Cinder 8501d6494b Code policy 2014-05-07 19:58:56 -06:00
Cinder e8422e5bed Let's get started: some code policy cleanup, reference arguments where we can, correct spelling 2014-05-06 11:09:50 -06:00
Ima Mechanique 08ca5279ff storm-1831: Fixing the remaining LL_ERRS. 2014-03-28 21:32:30 +00:00
Oz Linden 3ee3d4a8f4 correct logging levels (ERR causes a crash), and a minor style fix 2014-03-14 16:19:21 -04:00
Ima Mechanique 5067f1eed9 storm-1831 Converting LLSyntaxIdLSL to a singleton. Adding callback for signalling arrival of Syntax file from capability. 2014-03-06 13:11:48 +00:00
Oz Linden acc71d628d fix typo 2014-02-25 17:20:44 -05:00
Oz Linden 64816059b6 don't use the simulator channel in the keywords cache file name 2014-02-25 14:44:53 -05:00
Ima Mechanique 01b7ae8abe Changing how state of loading is reported to better allow other classes to know what is happening. 2014-02-06 16:41:07 +00:00
Ima Mechanique 5551e8f04c Checking version for cached files so older versions cannot sneak through on upgrading of format. 2014-02-05 16:29:43 +00:00
Ima Mechanique 566b10e225 Cleaning up a little. Using assigned values for simFeature/Capability name instead of literal values. 2014-02-05 15:27:22 +00:00
Ima Mechanique 2dc2ce9959 strom-1831 Cleaning up a number of issues raised.
Adding some constants and member variables.
Moving arguments into constructor signature and adding new signature.
Breaking saving of file into its own method to separate it from checking the LLSD.
Cleaning up severla of the logging messages.
Differentiating between successful and failed loads/fetches using sLoaded/sLoadFail.
2014-01-31 11:44:54 +00:00
Ima Mechanique 93322ff176 Removing duplication of messages 2014-01-30 14:03:34 +00:00
Ima Mechanique f14521e1d4 strom-1832 Adding checks for validity and version when downloading XML 2014-01-30 12:59:24 +00:00
Ima Mechanique 11f7dd8cc7 Adding TODO for LLSD validating and version check, while I wait for some info on how to do it. 2014-01-14 18:28:04 +00:00
Ima Mechanique b18c9578b5 Fixing loading of default keywords file when nothing has been previously loaded. 2013-12-19 04:27:28 +00:00
Ima Mechanique 380334956c storm-1831 Fixing message string UUID assignment 2013-11-21 21:29:24 +00:00
Ima Mechanique b5eb40cfd4 storm-1831 Cleaning up output messages SyntaxLSL. 2013-11-21 19:28:35 +00:00
Ima Mechanique 483c829aa3 storm-1831 Removing am uneccessary message. 2013-11-21 02:37:40 +00:00
Ima Mechanique 2a893e7cda Cleanup of output messages. Converting most of the LL_WARNS to LL_INFOS, now testing is done. 2013-11-16 22:24:23 +00:00
Ima Mechanique 06ed74f177 Tidying up llsyntaxid files 2013-11-10 18:29:22 +00:00
Ima Mechanique da0cd7b845 Adding getter for mFullFileSpec, shortening loadKeywordsFileIntoLLSD to loadKeywordsIntoLLSD. 2013-11-10 17:43:17 +00:00
Ima Mechanique a4c5b5c416 Fixing missing parenthesis. 2013-11-10 17:39:34 +00:00
Ima Mechanique bea2e9822b Fixing some references to 'filename' I forgot to rename to mFullFileSpec. 2013-11-09 11:51:45 +00:00
Ima Mechanique 3b03ffbd70 Changing method openKeywordFile to loadKeywordFileIntoLLSD to load cached/default syntax file and method to access sKeyWordsXML.
loadKeywordFileIntoLLSD was taken almost verbatim from LLKeywords::loadIntoLLSD which can be removed later.
I know the name is long but I wanted to remember where it came from and why it is how it is.
Removed a little cruft also.
2013-11-09 11:39:53 +00:00
Ima Mechanique 29b2129e1e Backed out changeset: e82d9467bec8 2013-11-09 11:32:08 +00:00
Ima Mechanique 4af2158029 Adding method to load cached/default syntax file and method to access sKeyWordsXML. 2013-11-09 11:31:32 +00:00
Ima Mechanique c8b8c29371 Fixing LL_WARNS without labels and removing some crufty comments missed before 2013-11-07 18:31:05 +00:00
Ima Mechanique 0ce27cfdeb storm-1831 General cleanup of cruft created during caps experiments ;-) 2013-11-07 18:12:45 +00:00
Ima Mechanique bf2aad25f4 cleaning out extra (commented) setKeywordsXml call 2013-10-25 19:29:06 +01:00
Ima Mechanique 87978dc481 storm-1831 fixes for setKeywordsXml 2013-10-25 16:30:33 +01:00