plcapi.git
8 years agoFix: debugger was not able any more to generate wrapped client code
gggeek [Sat, 30 May 2015 12:49:59 +0000 (14:49 +0200)]
Fix: debugger was not able any more to generate wrapped client code

8 years agoCorrectly reset php error handler even when user-code raises an exception
gggeek [Sat, 30 May 2015 11:48:28 +0000 (13:48 +0200)]
Correctly reset php error handler even when user-code raises an exception

8 years agoFix: reset debug and error messages between server execution calls
gggeek [Sat, 30 May 2015 10:09:55 +0000 (12:09 +0200)]
Fix: reset debug and error messages between server execution calls

8 years agoFix: better generation of method signatures in wrap_php_ calls
gggeek [Sat, 30 May 2015 09:47:07 +0000 (11:47 +0200)]
Fix: better generation of method signatures in wrap_php_ calls

8 years agoadd test for debug messages set into the server by client code
gggeek [Sat, 30 May 2015 09:28:06 +0000 (11:28 +0200)]
add test for debug messages set into the server by client code

8 years agoBetter support for 'undefined' values in debugger's 'load method synopsis'
gggeek [Sat, 30 May 2015 09:18:29 +0000 (11:18 +0200)]
Better support for 'undefined' values in debugger's 'load method synopsis'

8 years agotwo fixes for 'load method synopsis' action in the debugger; add tests for NIL values...
gggeek [Sat, 30 May 2015 09:04:18 +0000 (11:04 +0200)]
two fixes for 'load method synopsis' action in the debugger; add tests for NIL values in the dispatch map

8 years agoFix bugs found by Scrutinizer
gggeek [Mon, 25 May 2015 19:39:33 +0000 (20:39 +0100)]
Fix bugs found by Scrutinizer

8 years agoUpdate docs - in particular add one (incomplete) file describing all API changes...
gggeek [Mon, 25 May 2015 19:14:08 +0000 (20:14 +0100)]
Update docs - in particular add one (incomplete) file describing all API changes and the quirks of 'compatibility mode'

8 years agoAdd more compatibility stuff in xmlrpcs.inc; split the function used to serve system...
gggeek [Mon, 25 May 2015 18:47:00 +0000 (19:47 +0100)]
Add more compatibility stuff in xmlrpcs.inc; split the function used to serve system.getCapabilities call to allow it to be changed in subclasses

8 years agoAdd a warning to the manual; move more method names to camelCase; fix support for...
gggeek [Mon, 25 May 2015 17:42:21 +0000 (18:42 +0100)]
Add a warning to the manual; move more method names to camelCase; fix support for very legacy calling convention in wrap_xmlrpc_method

8 years agoAdd one more test for wrapped php functions: preserve php objects in results
gggeek [Sun, 24 May 2015 00:59:27 +0000 (01:59 +0100)]
Add one more test for wrapped php functions: preserve php objects in results

8 years agoAdd test for the method signature of wrapped functions
gggeek [Sat, 23 May 2015 23:49:08 +0000 (00:49 +0100)]
Add test for the method signature of wrapped functions

8 years agoSimplify code generated by wrap_php_function; make sure its closure version is identi...
gggeek [Sat, 23 May 2015 23:33:52 +0000 (00:33 +0100)]
Simplify code generated by wrap_php_function; make sure its closure version is identical wrt the nr. of parameters received

8 years agoMake sure all error messages have the method name
gggeek [Sat, 23 May 2015 22:13:56 +0000 (23:13 +0100)]
Make sure all error messages have the method name

8 years agoDo not generate invalid php code when wrapping a closure in generate-code mode
gggeek [Sat, 23 May 2015 22:13:31 +0000 (23:13 +0100)]
Do not generate invalid php code when wrapping a closure in generate-code mode

8 years agotest exceptions thrown in wrapped code; make testsuite faster by not wrapping the...
gggeek [Sat, 23 May 2015 20:40:54 +0000 (21:40 +0100)]
test exceptions thrown in wrapped code; make testsuite faster by not wrapping the whole server

8 years agoAdd a test for wrapping closures
gggeek [Sat, 23 May 2015 20:14:27 +0000 (21:14 +0100)]
Add a test for wrapping closures

8 years agoFix buildWrapFunctionSource which had been forgotten when moving analyzed phpdoc...
gggeek [Sat, 23 May 2015 20:13:49 +0000 (21:13 +0100)]
Fix buildWrapFunctionSource which had been forgotten when moving analyzed phpdoc params to named instead of positional

8 years agoremove last global variable from the codebase
gggeek [Sat, 23 May 2015 19:41:11 +0000 (20:41 +0100)]
remove last global variable from the codebase

8 years agoAdd one more test for wrap_method; add some comments to tests files; mark http tests...
gggeek [Sat, 23 May 2015 18:58:45 +0000 (19:58 +0100)]
Add one more test for wrap_method; add some comments to tests files; mark http tests skipped when skipped instead of failed

8 years agoRemove usage of one global var in favor of static class var
gggeek [Sat, 23 May 2015 18:57:34 +0000 (19:57 +0100)]
Remove usage of one global var in favor of static class var

8 years agoFix one signature of proxy method in proxy.php demo file
gggeek [Sat, 23 May 2015 18:29:03 +0000 (19:29 +0100)]
Fix one signature of proxy method in proxy.php demo file

8 years agoWIP: Make wrap_xmlrpc_method return a closure by default instead of eval'ing a functi...
gggeek [Sun, 17 May 2015 22:44:14 +0000 (23:44 +0100)]
WIP: Make wrap_xmlrpc_method return a closure by default instead of eval'ing a function definition

8 years agorename variables and clean up comments
gggeek [Sun, 17 May 2015 15:55:46 +0000 (16:55 +0100)]
rename variables and clean up comments

8 years agofix previous commit: leftover debug code in server.php
gggeek [Sun, 17 May 2015 01:25:49 +0000 (02:25 +0100)]
fix previous commit: leftover debug code in server.php

8 years agoImprove generation of methods signature by the Wrapper class
gggeek [Sun, 17 May 2015 01:17:04 +0000 (02:17 +0100)]
Improve generation of methods signature by the Wrapper class

8 years agoShow in debugger the count of server methods found
gggeek [Fri, 15 May 2015 00:52:23 +0000 (01:52 +0100)]
Show in debugger the count of server methods found

8 years agoFix wrap_php_class(); add more tests for wrapping
gggeek [Fri, 15 May 2015 00:51:53 +0000 (01:51 +0100)]
Fix wrap_php_class(); add more tests for wrapping

8 years agoUpdate comments
gggeek [Tue, 12 May 2015 22:56:03 +0000 (23:56 +0100)]
Update comments

8 years agoRefactor demo files (client side): remove redundant ones; make sure all use existing...
gggeek [Tue, 12 May 2015 22:49:19 +0000 (23:49 +0100)]
Refactor demo files (client side): remove redundant ones; make sure all use existing servers; add a proxy example

8 years agoRefactor the Wrapper class to generate closures by default and avoid usage of 'eval'
gggeek [Wed, 6 May 2015 22:38:35 +0000 (23:38 +0100)]
Refactor the Wrapper class to generate closures by default and avoid usage of 'eval'

8 years agoAdd a test for registering anonymous functions in the server dispatch map
gggeek [Sat, 2 May 2015 16:45:12 +0000 (17:45 +0100)]
Add a test for registering anonymous functions in the server dispatch map

9 years agoset code highlighting in snippets
gggeek [Tue, 28 Apr 2015 23:47:39 +0000 (00:47 +0100)]
set code highlighting in snippets

9 years agoimprove readme
gggeek [Tue, 28 Apr 2015 23:30:12 +0000 (00:30 +0100)]
improve readme

9 years agoMove to asciidoc as principal documentation format
gggeek [Tue, 28 Apr 2015 23:20:41 +0000 (00:20 +0100)]
Move to asciidoc as principal documentation format

9 years agotry again fixing xsl paths for docs
gggeek [Mon, 27 Apr 2015 21:41:03 +0000 (22:41 +0100)]
try again fixing xsl paths for docs

9 years agoone more doc build fix
gggeek [Mon, 27 Apr 2015 21:01:29 +0000 (22:01 +0100)]
one more doc build fix

9 years agoFixes for doc generation with new dir structure
gggeek [Mon, 27 Apr 2015 20:56:58 +0000 (21:56 +0100)]
Fixes for doc generation with new dir structure

9 years agoRestructure the documentation folder; add more options to makefile
gggeek [Mon, 27 Apr 2015 20:49:08 +0000 (21:49 +0100)]
Restructure the documentation folder; add more options to makefile

9 years agoRemove gitignore from docs dir, as we now build in a separate directory
gggeek [Mon, 27 Apr 2015 01:50:07 +0000 (02:50 +0100)]
Remove gitignore from docs dir, as we now build in a separate directory

9 years agoInstall the docbook xslts via composer for doc generation
gggeek [Mon, 27 Apr 2015 01:36:19 +0000 (02:36 +0100)]
Install the docbook xslts via composer for doc generation

9 years agoMore readme tags to display on github
gggeek [Mon, 27 Apr 2015 01:33:24 +0000 (02:33 +0100)]
More readme tags to display on github

9 years agoAdd generation of docs to pakefile
gggeek [Mon, 27 Apr 2015 01:32:42 +0000 (02:32 +0100)]
Add generation of docs to pakefile

9 years agoAdd pakefile as replacement for makefile
gggeek [Mon, 27 Apr 2015 00:10:46 +0000 (01:10 +0100)]
Add pakefile as replacement for makefile

9 years agocosmetic
Thierry Parmentelat [Fri, 24 Apr 2015 15:17:36 +0000 (17:17 +0200)]
cosmetic

9 years agodefine new boot_state 'upgrade'
Thierry Parmentelat [Fri, 24 Apr 2015 15:17:26 +0000 (17:17 +0200)]
define new boot_state 'upgrade'

9 years agoSetting tag plcapi-5.3-8 plcapi-5.3-8
Thierry Parmentelat [Fri, 24 Apr 2015 13:12:32 +0000 (15:12 +0200)]
Setting tag plcapi-5.3-8
GetBootMedium now keeps logs of created bootCD's in /var/tmp/bootmedium

9 years agoGetBootMedium: when running build.sh, the log used to be trashed, we now keep it...
Thierry Parmentelat [Fri, 24 Apr 2015 10:09:28 +0000 (12:09 +0200)]
GetBootMedium: when running build.sh, the log used to be trashed, we now keep it under
/var/tmp/bootmedium/{date}-{nodename}.log
plus, a lot of cosmetic changes that use .format() instead of %, and other styling of that kind

9 years agofixed make sync - use ssh and not lxc-enter-namespace
Thierry Parmentelat [Fri, 24 Apr 2015 09:24:42 +0000 (11:24 +0200)]
fixed make sync - use ssh and not lxc-enter-namespace
also properly restart httpd

9 years agoTest if we can get faster tests for hhvm
gggeek [Sun, 19 Apr 2015 22:03:43 +0000 (23:03 +0100)]
Test if we can get faster tests for hhvm

9 years agoMake debugger use utf8 by default
gggeek [Sun, 19 Apr 2015 21:59:55 +0000 (22:59 +0100)]
Make debugger use utf8 by default

9 years agoSet default internal charset to UTF8 and change tests accordingly; add function has_e...
gggeek [Sun, 19 Apr 2015 20:22:22 +0000 (21:22 +0100)]
Set default internal charset to UTF8 and change tests accordingly; add function has_encoding() from lib ver. 3.0.1; fixed one missing autoload in xmlrpc.inc; proper usage of actual and expected in all tests

9 years agoComments and whitespace in discuss.php
gggeek [Sun, 19 Apr 2015 18:48:03 +0000 (19:48 +0100)]
Comments and whitespace in discuss.php

9 years agoRemove legacy api usage from comment.php
gggeek [Sun, 19 Apr 2015 18:42:57 +0000 (19:42 +0100)]
Remove legacy api usage from comment.php

9 years agoFix: encoder needs the kindOf method on requests
gggeek [Sun, 19 Apr 2015 18:42:13 +0000 (19:42 +0100)]
Fix: encoder needs the kindOf method on requests

9 years agofix: the client can now successfully call methods using ISO-8859-1 or UTF-8 character...
gggeek [Sat, 18 Apr 2015 01:06:44 +0000 (02:06 +0100)]
fix: the client can now successfully call methods using ISO-8859-1 or UTF-8 characters in their name

9 years agoMake the debugger tolerate latin-1 characters in all fields, not just method payload
gggeek [Sat, 18 Apr 2015 00:40:26 +0000 (01:40 +0100)]
Make the debugger tolerate latin-1 characters in all fields, not just method payload

9 years agoTerminate files with a NL to appease sensiolabs
gggeek [Fri, 17 Apr 2015 23:38:14 +0000 (00:38 +0100)]
Terminate files with a NL to appease sensiolabs

9 years agoRemove legacy code from vardemo demo file
gggeek [Fri, 17 Apr 2015 23:34:23 +0000 (00:34 +0100)]
Remove legacy code from vardemo demo file

9 years agoFor travis tests, use the version of phpunit which we install via composer, instead...
gggeek [Fri, 17 Apr 2015 23:21:22 +0000 (00:21 +0100)]
For travis tests, use the version of phpunit which we install via composer, instead of the system one (might fix autoloading pbl for Logger)

9 years agoRefactor demo server: do not rely any more on legacy, more CamelCasiness
gggeek [Fri, 17 Apr 2015 23:05:30 +0000 (00:05 +0100)]
Refactor demo server: do not rely any more on legacy, more CamelCasiness

9 years agoFix debugger for the case of a big payload with latin1 characters
gggeek [Fri, 17 Apr 2015 23:03:23 +0000 (00:03 +0100)]
Fix debugger for the case of a big payload with latin1 characters

9 years agoFix: php_2_xmlrpc_type is not a public function anymore
gggeek [Fri, 17 Apr 2015 23:02:43 +0000 (00:02 +0100)]
Fix: php_2_xmlrpc_type is not a public function anymore

9 years agoRemove docblock injected by phpstorm
gggeek [Tue, 14 Apr 2015 23:52:46 +0000 (00:52 +0100)]
Remove docblock injected by phpstorm

9 years agoMake charset-related tests more friendly to hhvm; stricter tests for demo files
gggeek [Tue, 14 Apr 2015 23:15:44 +0000 (00:15 +0100)]
Make charset-related tests more friendly to hhvm; stricter tests for demo files

9 years agoTry to echo hhvm error log on failure
gggeek [Tue, 14 Apr 2015 22:33:50 +0000 (23:33 +0100)]
Try to echo hhvm error log on failure

9 years agoImprove the way test suite reports error messages at DEBUG=1
gggeek [Tue, 14 Apr 2015 22:29:15 +0000 (23:29 +0100)]
Improve the way test suite reports error messages at DEBUG=1

9 years agoFix: fatal hhvm error when outputting log messages in us-ascii charset
gggeek [Tue, 14 Apr 2015 22:04:27 +0000 (23:04 +0100)]
Fix: fatal hhvm error when outputting log messages in us-ascii charset

9 years agoFix: lowercase class name makes debugger break on HHVM
gggeek [Tue, 14 Apr 2015 21:48:11 +0000 (22:48 +0100)]
Fix: lowercase class name makes debugger break on HHVM

9 years agoFix 2 comments
gggeek [Sun, 12 Apr 2015 13:31:42 +0000 (14:31 +0100)]
Fix 2 comments

9 years agoConsistent with server, at debug level 1, request will not dump the rebuilt php objec...
gggeek [Sun, 12 Apr 2015 12:48:05 +0000 (13:48 +0100)]
Consistent with server, at debug level 1, request will not dump the rebuilt php object to screen; let paring tests echo the xml they use, as http tests do

9 years agoFix one phpdoc
gggeek [Sun, 12 Apr 2015 12:11:09 +0000 (13:11 +0100)]
Fix one phpdoc

9 years agoMinor fix in one charset-related test
gggeek [Sun, 12 Apr 2015 12:05:28 +0000 (13:05 +0100)]
Minor fix in one charset-related test

9 years agoMake latin-1 tests more ide-proof
gggeek [Sun, 12 Apr 2015 11:59:05 +0000 (12:59 +0100)]
Make latin-1 tests more ide-proof

9 years agoComments fixing
gggeek [Sun, 12 Apr 2015 11:44:05 +0000 (12:44 +0100)]
Comments fixing

9 years agoMove from static logging calls to a singleton
gggeek [Sun, 12 Apr 2015 11:43:38 +0000 (12:43 +0100)]
Move from static logging calls to a singleton

9 years agobetter name for undefined var used for testing
gggeek [Sun, 12 Apr 2015 11:42:22 +0000 (12:42 +0100)]
better name for undefined var used for testing

9 years agoAlways display debug messages even when there's badly encoded chars in them
gggeek [Sun, 12 Apr 2015 11:27:00 +0000 (12:27 +0100)]
Always display debug messages even when there's badly encoded chars in them

9 years agoPRS-2 formatting: else and braces
gggeek [Sat, 11 Apr 2015 23:49:34 +0000 (00:49 +0100)]
PRS-2 formatting: else and braces

9 years agoWhitespace and comments
gggeek [Sat, 11 Apr 2015 23:28:33 +0000 (00:28 +0100)]
Whitespace and comments

9 years agoOne more test dealing with latin-1
gggeek [Sat, 11 Apr 2015 23:27:44 +0000 (00:27 +0100)]
One more test dealing with latin-1

9 years agoAdd test for latest fixes and update NEWS
gggeek [Sat, 11 Apr 2015 23:09:16 +0000 (00:09 +0100)]
Add test for latest fixes and update NEWS

9 years agoFix server and client: support LATIN-1 requests/responses where the charset declarati...
gggeek [Sat, 11 Apr 2015 22:44:39 +0000 (23:44 +0100)]
Fix server and client: support LATIN-1 requests/responses where the charset declaration is in the xml prologue instead of http headers; reintroduce guess_encoding

9 years agoFix: debugger has problems with latin-1 characters in payload
gggeek [Fri, 10 Apr 2015 11:05:42 +0000 (12:05 +0100)]
Fix: debugger has problems with latin-1 characters in payload

9 years agoWhitespace and comments fixes
gggeek [Tue, 7 Apr 2015 11:06:48 +0000 (12:06 +0100)]
Whitespace and comments fixes

9 years agoImprove indentation of readme file for readability when viewed non-transformed
gggeek [Tue, 7 Apr 2015 11:06:09 +0000 (12:06 +0100)]
Improve indentation of readme file for readability when viewed non-transformed

9 years agoAdd a new test for verify_compat.php, refactor some test classes
gggeek [Tue, 7 Apr 2015 11:03:03 +0000 (12:03 +0100)]
Add a new test for verify_compat.php, refactor some test classes

9 years agoMove more docs to markdown format
gggeek [Mon, 6 Apr 2015 23:42:55 +0000 (00:42 +0100)]
Move more docs to markdown format

9 years agoMove very old release announcements to the NEWS file
gggeek [Mon, 6 Apr 2015 23:20:13 +0000 (00:20 +0100)]
Move very old release announcements to the NEWS file

9 years agoIncrease backwards compatibility with version 3: make ALL global vars available which...
gggeek [Mon, 6 Apr 2015 20:12:18 +0000 (21:12 +0100)]
Increase backwards compatibility with version 3: make ALL global vars available which were there before

9 years agoSetting tag plcapi-5.3-7 plcapi-5.3-7
Thierry Parmentelat [Fri, 3 Apr 2015 06:23:40 +0000 (08:23 +0200)]
Setting tag plcapi-5.3-7
reviewed logging strategy, no more direct print but use log instead

9 years agoTry fixing test case for hhvm
gggeek [Fri, 3 Apr 2015 00:06:53 +0000 (01:06 +0100)]
Try fixing test case for hhvm

9 years agoFix autoloader to work with helper classes on linux
gggeek [Thu, 2 Apr 2015 23:48:56 +0000 (00:48 +0100)]
Fix autoloader to work with helper classes on linux

9 years agoAdd one more test of the debugger
gggeek [Sun, 29 Mar 2015 16:41:10 +0000 (17:41 +0100)]
Add one more test of the debugger

9 years agoOne more round of CamelCase
gggeek [Sun, 29 Mar 2015 16:25:52 +0000 (17:25 +0100)]
One more round of CamelCase

9 years agoMore CamelCase
gggeek [Sun, 29 Mar 2015 16:13:43 +0000 (17:13 +0100)]
More CamelCase

9 years agoCamelCase everywhere!
gggeek [Sun, 29 Mar 2015 15:57:01 +0000 (16:57 +0100)]
CamelCase everywhere!

9 years agoFix 2 tests
gggeek [Sun, 29 Mar 2015 14:46:02 +0000 (15:46 +0100)]
Fix 2 tests

9 years agoMove debugger to new api and add basic unit tests for it
gggeek [Sun, 29 Mar 2015 14:35:48 +0000 (15:35 +0100)]
Move debugger to new api and add basic unit tests for it