# # ChangeLog for trunk/FACT++/src/InterpreterV8.cc # # Generated by Trac 1.5.2 # 11/17/24 06:43:42 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 ... Fri, 19 Oct 2012 18:36:37 GMT tbretz [14500] * trunk/FACT++/src/InterpreterV8.cc (modified) Allow sleep without argument. Fri, 19 Oct 2012 13:32:39 GMT tbretz [14499] * trunk/FACT++/src/InterpreterV8.cc (modified) * trunk/FACT++/src/InterpreterV8.h (modified) Added th possibility to disable the alarm state. Fri, 19 Oct 2012 13:10:34 GMT tbretz [14497] * trunk/FACT++/src/InterpreterV8.cc (modified) * trunk/FACT++/src/InterpreterV8.h (modified) * trunk/FACT++/src/MessageImp.cc (modified) * trunk/FACT++/src/MessageImp.h (modified) * trunk/FACT++/src/RemoteControl.h (modified) Added some basic infrastructure to send alarms e.g. to smartfact. Mon, 18 Jun 2012 20:54:20 GMT tbretz [14185] * trunk/FACT++/src/InterpreterV8.cc (modified) Some small updated to the database enine,mainly ReadOnlys Wed, 13 Jun 2012 16:38:21 GMT tbretz [14177] * trunk/FACT++/src/InterpreterV8.cc (modified) * trunk/FACT++/src/InterpreterV8.h (modified) Added a simple database interface. Fri, 08 Jun 2012 21:01:56 GMT tbretz [14135] * trunk/FACT++/src/InterpreterV8.cc (modified) * trunk/FACT++/src/InterpreterV8.h (modified) * trunk/FACT++/src/RemoteControl.h (modified) Added a function dim.out which will only print to the local console; ... Fri, 08 Jun 2012 16:24:12 GMT tbretz [14125] * trunk/FACT++/src/InterpreterV8.cc (modified) * trunk/FACT++/src/InterpreterV8.h (modified) Store pointer to event in external field -- not sure if we'll ever ... Fri, 08 Jun 2012 16:03:27 GMT tbretz [14122] * trunk/FACT++/src/InterpreterV8.cc (modified) Fixed a typo. Thu, 07 Jun 2012 10:05:08 GMT tbretz [14103] * trunk/FACT++/src/InterpreterV8.cc (modified) Added qos to service-object. Wed, 06 Jun 2012 15:27:15 GMT tbretz [14093] * trunk/FACT++/src/InterpreterV8.cc (modified) * trunk/FACT++/src/InterpreterV8.h (modified) Implemented and/or fixed the support for service subscriptions. Tue, 05 Jun 2012 17:49:48 GMT tbretz [14088] * trunk/FACT++/src/InterpreterV8.cc (modified) Made 'command line' arguments ReadOnly Tue, 05 Jun 2012 16:28:10 GMT tbretz [14084] * trunk/FACT++/src/InterpreterV8.cc (modified) * trunk/FACT++/src/InterpreterV8.h (modified) Removed 'name' function and return a state-object instead. Mon, 04 Jun 2012 20:47:26 GMT tbretz [14068] * trunk/FACT++/src/InterpreterV8.cc (modified) * trunk/FACT++/src/InterpreterV8.h (modified) Added V8 disposal to destructor. Sun, 03 Jun 2012 21:50:55 GMT tbretz [14059] * trunk/FACT++/src/InterpreterV8.cc (modified) * trunk/FACT++/src/InterpreterV8.h (modified) Added special '$' array as arguments; moved sleep to dim-space; added ... Sun, 03 Jun 2012 20:39:43 GMT tbretz [14055] * trunk/FACT++/src/InterpreterV8.cc (modified) * trunk/FACT++/src/InterpreterV8.h (modified) * trunk/FACT++/src/RemoteControl.h (modified) Added the possibility to run with arguments; added exit() command to JS Sun, 03 Jun 2012 19:25:12 GMT tbretz [14051] * trunk/FACT++/src/InterpreterV8.cc (modified) * trunk/FACT++/src/InterpreterV8.h (modified) Allow stoppping the script from everyhwere. Sun, 03 Jun 2012 19:20:26 GMT tbretz [14049] * trunk/FACT++/src/InterpreterV8.cc (added) * trunk/FACT++/src/InterpreterV8.h (added) JavaScript engine based on google's v8.