# # ChangeLog for trunk/FACT++/src/InterpreterV8.cc # # Generated by Trac 1.5.2 # 12/18/24 18:53:14 Sun, 01 Sep 2019 10:18:48 GMT tbretz [19582] * trunk/FACT++/src/InterpreterV8.cc (modified) Added a missing sanity check in the $ function, use dereferencing ... Thu, 28 Mar 2019 21:26:04 GMT tbretz [19456] * trunk/FACT++/src/InterpreterV8.cc (modified) * trunk/FACT++/src/InterpreterV8.h (modified) Use the script location as the root path for relative file locations. Thu, 05 Apr 2018 18:00:31 GMT tbretz [18978] * trunk/FACT++/src/InterpreterV8.cc (modified) clang++ complained about the way some arrays are initialized and ... Wed, 19 Apr 2017 13:53:33 GMT tbretz [18840] * trunk/FACT++/src/InterpreterV8.cc (modified) Fixed a typo in an exception. Wed, 19 Apr 2017 13:47:20 GMT tbretz [18839] * trunk/FACT++/src/InterpreterV8.cc (modified) Output which is the current state if dim.wait times out. Fri, 14 Apr 2017 19:58:01 GMT tbretz [18833] * trunk/FACT++/src/InterpreterV8.cc (modified) * trunk/FACT++/src/Readline.cc (modified) Secured Tools::Split against exceptions from boost::tokenize Fri, 14 Apr 2017 16:20:35 GMT tbretz [18828] * trunk/FACT++/src/InterpreterV8.cc (modified) * trunk/FACT++/src/InterpreterV8.h (modified) Restructured the astrometry interface to allow setting the ... Fri, 14 Apr 2017 11:18:40 GMT tbretz [18820] * trunk/FACT++/src/InterpreterV8.cc (modified) * trunk/FACT++/src/Time.cc (modified) * trunk/FACT++/src/drivectrl.cc (modified) * trunk/Mars/mcore/nova.h (modified) Slightly modified the interface to access the observatory. This ... Sat, 17 Sep 2016 22:37:05 GMT tbretz [18614] * trunk/FACT++/src/InterpreterV8.cc (modified) Another mystery of thenew system Ubuntu 16.04... the tokenizer here ... Fri, 29 Jan 2016 13:18:53 GMT tbretz [18426] * trunk/FACT++/src/InterpreterV8.cc (modified) * trunk/FACT++/src/InterpreterV8.h (modified) Added the curl object to allow for simple http requests. Tue, 24 Nov 2015 13:26:53 GMT Daniela Dorner [18383] * trunk/FACT++/src/InterpreterV8.cc (modified) fixed bug in interrupt that made dimserver crash Fri, 04 Apr 2014 21:05:30 GMT tbretz [17655] * trunk/FACT++/src/InterpreterV8.cc (modified) To check for not equal one should use != not == and to add a text to ... Tue, 07 Jan 2014 16:11:13 GMT tbretz [17498] * trunk/FACT++/scripts/doc/dim.js (modified) * trunk/FACT++/src/InterpreterV8.cc (modified) Implemented that one can wait for 'not a state' to check if a state ... Fri, 11 Oct 2013 14:49:32 GMT tbretz [17213] * trunk/FACT++/src/InterpreterV8.cc (modified) Some additons to the tab-completion. Thu, 19 Sep 2013 15:17:09 GMT tbretz [17184] * trunk/FACT++/src/InterpreterV8.cc (modified) Reverting to last revision. Thu, 19 Sep 2013 15:15:12 GMT tbretz [17174] * trunk/FACT++/Makefile.am (modified) * trunk/FACT++/Makefile.in (modified) * trunk/FACT++/aclocal.m4 (modified) * trunk/FACT++/configure (modified) * trunk/FACT++/scripts/Main.js (modified) * trunk/FACT++/scripts/Observation_class.js (modified) * trunk/FACT++/scripts/Startup.js (modified) * trunk/FACT++/scripts/getSchedule.js (modified) * trunk/FACT++/src/DimServiceInfoList.cc (modified) * trunk/FACT++/src/InterpreterV8.cc (modified) * trunk/FACT++/src/biasctrl.cc (modified) * trunk/FACT++/src/fscctrl.cc (modified) Some minor updates and a bug fix in the format of the NOMINAL service. Fri, 26 Jul 2013 12:23:17 GMT tbretz [16985] * trunk/FACT++/src/InterpreterV8.cc (modified) Every context which we enter, we have to exit as well, otherwise ... Thu, 27 Jun 2013 19:11:41 GMT tbretz [16936] * trunk/FACT++/src/InterpreterV8.cc (modified) * trunk/FACT++/src/InterpreterV8.h (modified) * trunk/FACT++/src/RemoteControl.h (modified) Added a very simple command completion for java. Fri, 14 Jun 2013 09:52:43 GMT tbretz [16833] * trunk/FACT++/src/InterpreterV8.cc (modified) The disposed handle fInterruptCallback must also be cleared, ... Mon, 10 Jun 2013 16:22:45 GMT tbretz [16802] * trunk/FACT++/src/InterpreterV8.cc (modified) * trunk/FACT++/src/InterpreterV8.h (modified) Allow arguments to be given to the interrupt handler and added a ... Sat, 01 Jun 2013 11:04:31 GMT tbretz [16538] * trunk/FACT++/src/InterpreterV8.cc (modified) Improved a bit the interpretation of a int64, now it is interpreted ... Fri, 24 May 2013 12:36:21 GMT tbretz [16102] * trunk/FACT++/scripts/doc/Thread.js (modified) * trunk/FACT++/scripts/doc/v8.js (modified) * trunk/FACT++/src/InterpreterV8.cc (modified) * trunk/FACT++/src/InterpreterV8.h (modified) Added a user supplied 'this' argument to v8.timeout and the Thread class. Thu, 23 May 2013 18:12:31 GMT tbretz [16095] * trunk/FACT++/src/InterpreterV8.cc (modified) Replaced size() by empty() Thu, 23 May 2013 10:08:38 GMT tbretz [16071] * trunk/FACT++/scripts/doc/console.js (modified) * trunk/FACT++/src/InterpreterV8.cc (modified) * trunk/FACT++/src/InterpreterV8.h (modified) * trunk/FACT++/src/RemoteControl.h (modified) Added console.warn to print a highlighted message to the ocnsole. Wed, 24 Apr 2013 21:40:45 GMT tbretz [15430] * trunk/FACT++/src/InterpreterV8.cc (modified) * trunk/FACT++/src/InterpreterV8.h (modified) * trunk/FACT++/src/RemoteControl.h (modified) * trunk/FACT++/src/StateMachineDimControl.cc (modified) * trunk/FACT++/src/StateMachineDimControl.h (modified) * trunk/FACT++/src/dimctrl.cc (modified) Implemented the possibility to send an interrupt request (irq) to a ... Mon, 15 Apr 2013 20:00:55 GMT tbretz [15350] * trunk/FACT++/src/InterpreterV8.cc (modified) Forgot to add a check for a valid size Mon, 15 Apr 2013 19:57:20 GMT tbretz [15349] * trunk/FACT++/src/InterpreterV8.cc (modified) Added Shebang (#!) support Sun, 07 Apr 2013 22:38:46 GMT tbretz [15272] * trunk/FACT++/src/InterpreterV8.cc (modified) Added magic values __DATE__, __FILE__ and __START__ Thu, 04 Apr 2013 13:19:55 GMT tbretz [15253] * trunk/FACT++/src/InterpreterV8.cc (modified) The problem with the izsream is solved. It was the allocation of the ... Sun, 31 Mar 2013 01:43:06 GMT tbretz [15208] * trunk/FACT++/src/InterpreterV8.cc (modified) * trunk/FACT++/src/smartfact.cc (modified) Fixed a problem with the coordinate system... libnova's hrz has a ... Sat, 30 Mar 2013 16:38:37 GMT tbretz [15204] * trunk/FACT++/src/InterpreterV8.cc (modified) Use some simplifications coming with the new C++ wrapper of libnova Wed, 27 Mar 2013 18:00:31 GMT tbretz [15172] * trunk/FACT++/scripts/doc/Mail.js (added) * trunk/FACT++/src/InterpreterV8.cc (modified) * trunk/FACT++/src/InterpreterV8.h (modified) Changed the Mail class a bit to have the arrays as data members ReadOnly. Tue, 26 Mar 2013 17:23:19 GMT tbretz [15158] * trunk/FACT++/src/InterpreterV8.cc (modified) Fixed a typo in an exception. Tue, 26 Mar 2013 17:17:52 GMT tbretz [15156] * trunk/FACT++/src/InterpreterV8.cc (modified) * trunk/FACT++/src/InterpreterV8.h (modified) Implemented sendmail class (via mailx) Mail. Re-structured the ... Mon, 25 Mar 2013 09:52:31 GMT tbretz [15150] * trunk/FACT++/src/InterpreterV8.cc (modified) dim.wait now uses undefined instead of null as the value for infinite ... Sat, 23 Mar 2013 20:34:51 GMT tbretz [15143] * trunk/FACT++/src/InterpreterV8.cc (modified) Fixed another problem with the display of exceptions in certain ... Sat, 23 Mar 2013 20:08:51 GMT tbretz [15141] * trunk/FACT++/src/InterpreterV8.cc (modified) Allow null as third argument in dim.wait; return undefined in by include. Fri, 22 Mar 2013 23:28:01 GMT tbretz [15140] * trunk/FACT++/src/InterpreterV8.cc (modified) Improved handling of exceptions coming from included files. This ... Fri, 22 Mar 2013 22:45:30 GMT tbretz [15139] * trunk/FACT++/src/InterpreterV8.cc (modified) Fixed a problem with the return value in the timeout function. The ... Fri, 22 Mar 2013 17:31:33 GMT tbretz [15138] * trunk/FACT++/src/InterpreterV8.cc (modified) Replaced the pre-compiled v8.sleep() by an ulock and a usleep, which ... Thu, 21 Mar 2013 09:13:27 GMT tbretz [15129] * trunk/FACT++/src/InterpreterV8.cc (modified) Added an additional sanity check in timeout. Mon, 18 Mar 2013 14:54:54 GMT tbretz [15101] * trunk/FACT++/src/InterpreterV8.cc (modified) * trunk/FACT++/src/InterpreterV8.h (modified) Set a script depth!=0 when a script is running to avoid smartfact ... Fri, 15 Mar 2013 13:40:37 GMT tbretz [15078] * trunk/FACT++/src/InterpreterV8.cc (modified) * trunk/FACT++/src/InterpreterV8.h (modified) Emit an empty string if no arguments are given in dim.log Fri, 15 Mar 2013 12:19:59 GMT tbretz [15073] * trunk/FACT++/src/InterpreterV8.cc (modified) * trunk/FACT++/src/InterpreterV8.h (modified) Implemented v8::timeout and let dim.getDescription return an object ... Wed, 13 Mar 2013 11:05:59 GMT tbretz [15046] * trunk/FACT++/src/InterpreterV8.cc (modified) * trunk/FACT++/src/InterpreterV8.h (modified) Renamed getService to getDescription Wed, 13 Mar 2013 11:01:00 GMT tbretz [15044] * trunk/FACT++/src/InterpreterV8.cc (modified) Rename command property to isCommand Wed, 13 Mar 2013 10:49:50 GMT tbretz [15043] * trunk/FACT++/src/InterpreterV8.cc (modified) * trunk/FACT++/src/InterpreterV8.h (modified) Added new dim functions to get access to the description of a single ... Sat, 09 Mar 2013 13:42:05 GMT tbretz [15003] * trunk/FACT++/src/InterpreterV8.cc (modified) Make it compile also with the older g++ on gate. Sat, 09 Mar 2013 11:01:59 GMT tbretz [14994] * trunk/FACT++/src/InterpreterV8.cc (modified) Avoid to output results of internal functions (ExecuteCode called ... Mon, 04 Mar 2013 20:52:12 GMT tbretz [14987] * trunk/FACT++/src/InterpreterV8.cc (modified) Print result went it is NOT undefined, not when it is undefined. Mon, 04 Mar 2013 20:13:19 GMT tbretz [14983] * trunk/FACT++/src/InterpreterV8.cc (modified) * trunk/FACT++/src/InterpreterV8.h (modified) Implemented to possibility to run an interactive javascript interpreter. Sat, 08 Dec 2012 13:29:00 GMT tbretz [14741] * trunk/FACT++/src/InterpreterV8.cc (modified) * trunk/FACT++/src/InterpreterV8.h (modified) * trunk/FACT++/src/RemoteControl.h (modified) * trunk/FACT++/src/StateMachineDimControl.cc (modified) * trunk/FACT++/src/StateMachineDimControl.h (modified) Added the possibility to return states of a given server back from ... Sat, 01 Dec 2012 18:59:31 GMT tbretz [14709] * trunk/FACT++/src/InterpreterV8.cc (modified) * trunk/FACT++/src/InterpreterV8.h (modified) added dist function to Sky class Sun, 25 Nov 2012 13:35:14 GMT tbretz [14695] * trunk/FACT++/src/InterpreterV8.cc (modified) Throw an exception if the expected Date argument is not a Date Sun, 25 Nov 2012 13:20:46 GMT tbretz [14694] * trunk/FACT++/src/InterpreterV8.cc (modified) Added 'FACT' horizon level Sun, 25 Nov 2012 13:18:37 GMT tbretz [14693] * trunk/FACT++/src/InterpreterV8.cc (modified) Exchanged the arguments to Sun.horizon Sun, 25 Nov 2012 12:57:11 GMT tbretz [14692] * trunk/FACT++/src/InterpreterV8.cc (modified) Fixed handling the second argument in SunHorizon Sun, 25 Nov 2012 12:50:06 GMT tbretz [14691] * trunk/FACT++/src/InterpreterV8.cc (modified) Added 'horizon' as option for the Sun Sun, 25 Nov 2012 12:44:56 GMT tbretz [14690] * trunk/FACT++/src/InterpreterV8.cc (modified) * trunk/FACT++/src/InterpreterV8.h (modified) Bettr support for circumpolar objects added 'isUp' proprty to th ... Sun, 25 Nov 2012 12:01:03 GMT tbretz [14689] * trunk/FACT++/src/InterpreterV8.cc (modified) * trunk/FACT++/src/InterpreterV8.h (modified) Added functions to calculate Sun and Moon rise and set times. Sun, 25 Nov 2012 10:44:29 GMT tbretz [14688] * trunk/FACT++/src/InterpreterV8.cc (modified) * trunk/FACT++/src/InterpreterV8.h (modified) A lot of bug fixes; improved ConvertEvent; ensure that an exception ... Tue, 20 Nov 2012 19:57:27 GMT tbretz [14674] * trunk/FACT++/src/InterpreterV8.cc (modified) * trunk/FACT++/src/RemoteControl.cc (modified) * trunk/FACT++/src/RemoteControl.h (modified) * trunk/FACT++/src/StateMachineDimControl.cc (modified) * trunk/FACT++/src/StateMachineDimControl.h (modified) Implemenetd a way to just check if a server is available and command ... Tue, 20 Nov 2012 17:55:35 GMT tbretz [14672] * trunk/FACT++/src/InterpreterV8.cc (modified) This shadowed the This member of the class - replaced by self. Tue, 20 Nov 2012 10:25:03 GMT tbretz [14665] * trunk/FACT++/src/InterpreterV8.cc (modified) Return undefined when a state is requested for a server which is not ... Mon, 19 Nov 2012 18:29:24 GMT tbretz [14663] * trunk/FACT++/src/InterpreterV8.cc (modified) Properly escape string arguments sent via dim.send Mon, 19 Nov 2012 00:04:52 GMT tbretz [14655] * trunk/FACT++/src/InterpreterV8.cc (modified) Implemented onchange callback as second function in Subscription ... Sun, 18 Nov 2012 15:14:26 GMT tbretz [14643] * trunk/FACT++/src/InterpreterV8.cc (modified) Changed Utf8Value to AsciiValue; some minor changes and fixed about ... Sat, 17 Nov 2012 16:03:15 GMT tbretz [14642] * trunk/FACT++/src/InterpreterV8.cc (modified) Allow to call subscriptpion as none constructor to access an existing ... Sat, 17 Nov 2012 15:52:14 GMT tbretz [14641] * trunk/FACT++/src/InterpreterV8.cc (modified) * trunk/FACT++/src/InterpreterV8.h (modified) Converted dim.subscrib into object Subscription Sat, 17 Nov 2012 15:33:57 GMT tbretz [14640] * trunk/FACT++/src/InterpreterV8.cc (modified) Fixed a problem with the onchange of services because the return ... Sat, 17 Nov 2012 15:24:58 GMT tbretz [14639] * trunk/FACT++/src/InterpreterV8.cc (modified) Some code cleanup. Sat, 17 Nov 2012 15:20:45 GMT tbretz [14638] * trunk/FACT++/src/InterpreterV8.cc (modified) * trunk/FACT++/src/InterpreterV8.h (modified) Converted dim.timeout into a Thread object. Sat, 17 Nov 2012 14:36:27 GMT tbretz [14637] * trunk/FACT++/src/InterpreterV8.cc (modified) * trunk/FACT++/src/InterpreterV8.h (modified) Re-did (once more) the exception handling and script termination to ... Sat, 17 Nov 2012 01:32:38 GMT tbretz [14634] * trunk/FACT++/src/InterpreterV8.cc (modified) Reverting to last revision. Sat, 17 Nov 2012 01:32:07 GMT tbretz [14633] * trunk/FACT++/src/InterpreterV8.cc (modified) Removed fGlobalcontext, using the one bound in which th ... Sat, 17 Nov 2012 01:24:15 GMT tbretz [14632] * trunk/FACT++/src/InterpreterV8.cc (modified) * trunk/FACT++/src/InterpreterV8.h (modified) Removed fGlobalcontext, using the one bound in which th ... Fri, 16 Nov 2012 23:21:27 GMT tbretz [14631] * trunk/FACT++/src/InterpreterV8.cc (modified) I assume that PrototypeTemplate() will never return an empty handle ... Fri, 16 Nov 2012 23:19:19 GMT tbretz [14630] * trunk/FACT++/src/InterpreterV8.cc (modified) Fixed the HandleScope in the astrometry functions. Fri, 16 Nov 2012 23:05:41 GMT tbretz [14629] * trunk/FACT++/src/InterpreterV8.cc (modified) * trunk/FACT++/src/InterpreterV8.h (modified) Check only if state was already defined since script start; added a ... Thu, 15 Nov 2012 17:40:17 GMT tbretz [14626] * trunk/FACT++/src/InterpreterV8.cc (modified) Changes to th bahaviour of get(); fixex a problem with the return ... Tue, 13 Nov 2012 13:38:22 GMT tbretz [14607] * trunk/FACT++/src/InterpreterV8.cc (modified) * trunk/FACT++/src/InterpreterV8.h (modified) Some improvements to internal exception throwing; some improvements ... Sun, 11 Nov 2012 19:53:36 GMT tbretz [14603] * trunk/FACT++/src/InterpreterV8.cc (modified) * trunk/FACT++/src/InterpreterV8.h (modified) Added AddFormatToGlobal; improved exception reporting (enabled stack ... Sat, 10 Nov 2012 22:41:29 GMT tbretz [14602] * trunk/FACT++/src/InterpreterV8.cc (modified) Some fixes from the latest changes; added some comments. Sat, 10 Nov 2012 13:19:58 GMT tbretz [14601] * trunk/FACT++/src/InterpreterV8.cc (modified) Allow 0 timeout, added a check for Locking in Terminate; added some ... Sat, 10 Nov 2012 13:08:18 GMT tbretz [14600] * trunk/FACT++/src/InterpreterV8.cc (modified) Made lockers const and moved the chck for a valid main thread behin ... Sat, 10 Nov 2012 13:03:32 GMT tbretz [14599] * trunk/FACT++/src/InterpreterV8.cc (modified) Made lockers const and moved the chck for a valid main thread behin ... Sat, 10 Nov 2012 12:16:14 GMT tbretz [14598] * trunk/FACT++/src/InterpreterV8.cc (modified) * trunk/FACT++/src/InterpreterV8.h (modified) Instead of catching exception everywhere to check for termination of ... Thu, 08 Nov 2012 17:09:50 GMT tbretz [14591] * trunk/FACT++/src/InterpreterV8.cc (modified) * trunk/FACT++/src/InterpreterV8.h (modified) Some improvements to exeption texts; stored the issued query for ... Wed, 07 Nov 2012 17:43:27 GMT tbretz [14579] * trunk/FACT++/src/InterpreterV8.cc (modified) Some minor updates; reordered the function in the file for a btter ... Wed, 07 Nov 2012 17:33:10 GMT tbretz [14578] * trunk/FACT++/src/InterpreterV8.cc (modified) * trunk/FACT++/src/InterpreterV8.h (modified) Added a simple astrometry interface. Wed, 07 Nov 2012 11:05:20 GMT tbretz [14576] * trunk/FACT++/src/InterpreterV8.cc (modified) Changed the output for the script engine slightly. Tue, 06 Nov 2012 13:49:43 GMT tbretz [14572] * trunk/FACT++/src/InterpreterV8.cc (modified) Allow double subscription to a service. Tue, 06 Nov 2012 00:25:32 GMT tbretz [14568] * trunk/FACT++/src/InterpreterV8.cc (modified) A bug fix to event compilation; a new implementation of get() which ... Mon, 05 Nov 2012 18:40:30 GMT tbretz [14562] * trunk/FACT++/src/InterpreterV8.cc (modified) Distinguish the case between 'no data received' and 'data received ... Mon, 05 Nov 2012 12:03:43 GMT tbretz [14560] * trunk/FACT++/src/InterpreterV8.cc (modified) * trunk/FACT++/src/InterpreterV8.h (modified) Added the possibility to change the state of the state machine and ... Sat, 03 Nov 2012 19:43:32 GMT tbretz [14556] * trunk/FACT++/src/InterpreterV8.cc (modified) Added 'comment' to state info. Sat, 03 Nov 2012 19:20:55 GMT tbretz [14555] * trunk/FACT++/src/InterpreterV8.cc (modified) * trunk/FACT++/src/InterpreterV8.h (modified) Added processing of callbacks for state changes; some fixes to the ... Wed, 31 Oct 2012 15:00:10 GMT tbretz [14548] * trunk/FACT++/src/InterpreterV8.cc (modified) Do only escape string arguments in the command string. Wed, 31 Oct 2012 14:30:01 GMT tbretz [14547] * trunk/FACT++/src/InterpreterV8.cc (modified) * trunk/FACT++/src/InterpreterV8.h (modified) Added a callback for the case when an event is received. To allow v8 ... Tue, 30 Oct 2012 12:52:15 GMT tbretz [14540] * trunk/FACT++/src/InterpreterV8.cc (modified) * trunk/FACT++/src/InterpreterV8.h (modified) * trunk/FACT++/src/RemoteControl.h (modified) Use State in JsState and added 'time' to the data members. Make sure ...