summaryrefslogtreecommitdiffstats
path: root/system/libraries/Xmlrpcs.php
AgeCommit message (Collapse)AuthorFilesLines
2013-03-04Updated in accordance with feedback from @narfbgDaniel Hunsaker1-1/+1
- Removed commented lists of constants from the three reference conventions, replacing each with the URLs at which more information can be found. - Renamed a few constants to more closely reflect CodeIgniter conventions. - Modified a couple of lines which were in violation of the CI Style Guide. Signed-off-by: Daniel Hunsaker <danhunsaker@gmail.com>
2013-02-23Updated exit codes as constant valuesDaniel Hunsaker1-1/+1
Re-allocated exit status codes according to three references, which follow: BSD sysexits.h:http://www.gsp.com/cgi-bin/man.cgi?section=3&topic=sysexits GNU recomendations:http://www.gnu.org/software/libc/manual/html_node/Exit-Status.html Bash scripting:http://tldp.org/LDP/abs/html/exitcodes.html The GNU recommendations stem from and expand upon the standard C/C++ library (stdlibc) definitions, while also suggesting some best-practice conventions which happen to prevent exit status code collisions with bash, and probably other shells. The re-allocated codes are now mapped to constant values, set in *application/config/constants.php*, and used throughout the CodeIgniter core. They would additionally be used in *index.php*, but the constants file hasn't been loaded at that point, so the integer values are used instead, and a comment follows each such use with amplifying information on why that particular value was selected. Finally, the errors documentation has been updated accordingly. Signed-off-by: Daniel Hunsaker <danhunsaker@gmail.com>
2013-02-22Merge branch 'develop' of github.com:EllisLab/CodeIgniter into ↵Daniel Hunsaker1-1/+1
feature/exit-status
2013-02-21Disable autoloader call from class_exists() occurences to improve performanceAndrey Andreev1-1/+1
Note: The Driver libary tests seem to depend on that, so one occurence in CI_Loader is left until we resolve that.
2013-01-25Updated all cases of exit() to return a valid codeDaniel Hunsaker1-1/+2
Specific codes are as follows, but can easily be changed if a different order/breakdown makes more sense: - 0: Success; everything executed as planned - 1: Configuration Error; something is wrong with/in the configuration file(s) - 2: Class Not Found; what it says - 3: Driver Method Unsupported; the method you're trying to use on a Driver doesn't exist - 4: File Not Found; 404 error - 5: Database Error; something is broken in the database somewhere - 6: Invalid Input; the user attempted to submit a request with invlaid characters in 1+ key names 7 through 26 are reserved for future use - 27: Generic Error; generated by show_error() when the status code is >= 100 28 through 127 are errors generated by user applications, normally by using show_error() with a status code below 100 128 through 254 should not be used by applications, as they are reserved by system-level functions - 255: PHP Fatal Error; automatically generated by PHP for fatal errors, and therefore not allowed for our use Status codes below 100 are shifted up by 28 to place them in the user error range. It may make more sense to have these codes left alone and instead shift the CI errors into the 101 through 127 space, but that's not what I opted for here. It would probably also be a good idea to replace the hard-coded numbers with constants or some such, but I was in a bit of a hurry when I made these changes, so I didn't look around for the best place to do this. With proper guidance, I could easily amend this commit with another that uses such constant values. Signed-off-by: Daniel Hunsaker <danhunsaker@gmail.com>
2013-01-01[ci skip] Happy new yearAndrey Andreev1-1/+1
2012-11-23Minor changes to Xmlrpcs.phpvkeranov1-30/+27
2012-11-01Manually apply PR #1594 (fixing phpdoc page-level generation/warnings)Andrey Andreev1-1/+2
Also partially fixes issue #1295, fixes inconsistencies in some page-level docblocks and adds include checks in language files.
2012-07-15Changed TRUE and FALSE values to be uppercaseAlex Bilbie1-1/+1
2012-06-14Replace strncmp() usage with strpos()Andrey Andreev1-1/+1
2012-06-02Replaced `==` with `===` and `!=` with `!==` in /system/librariesAlex Bilbie1-12/+12
2012-05-17Clean up the librariesAndrey Andreev1-4/+5
2012-04-20Start comment cleanup of librariesTimothy Warren1-5/+32
2012-03-26Remove access description lines and cleanup the Xmlrpcs libraryAndrey Andreev1-44/+20
2012-03-09Bumped CodeIgniter's PHP requirement to 5.2.4.Phil Sturgeon1-1/+1
Yes I know PHP 5.4 just came out, and yes I know PHP 5.3 has lovely features, but there are plenty of corporate systems running on CodeIgniter and PHP 5.3 still is not widely supported enough. CodeIgniter is great for distributed applications, and this is the highest we can reasonably go without breaking support. PHP 5.3 will most likely happen in another year or so. Fingers crossed on that one anyway...
2012-01-02Updating copyright date to 2012Greg Aker1-1/+1
2011-12-25Improve the Xmlrpcs libraryAndrey Andreev1-76/+68
2011-10-20adding new license file (OSL 3.0) and updating readme to ReSTDerek Jones1-4/+16
added notice of license to all source files. OSL to all except the few files we ship inside of the application folder, those are AFL. Updated license in user guide. incrementing next dev version to 3.0 due to licensing change
2011-07-02backed out 648b42a75739, which was a NON-trivial whitespace commit. It ↵Derek Jones1-22/+22
broke the Typography class's string replacements, for instance
2011-04-25Fixed double-space typo.Razican1-22/+22
2011-02-14Large cleanup of xmlrpcs docblocks.Pascal Kriete1-55/+123
2011-01-05Hey look, it's 2011Greg Aker1-1/+1
2010-11-10Changing all class constructors to __construct()Greg Aker1-7/+5
2010-11-10Updating PHP requirements in files 5.1.6Greg Aker1-1/+1
2010-10-04Cleanup of stray spaces and tabsBarry Mieny1-76/+76
2010-03-18Added a $xss_clean class variable to the XMLRPC library, enabling control ↵Robin Sowell1-0/+10
over the use of the Security library's xss_clean() method.
2010-03-03whitespaceDerek Jones1-3/+3
2010-01-05updated copyrightsDerek Jones1-1/+1
2009-06-24some mods to xmlrpc library to handle data types better, and to exit() ↵Derek Jones1-1/+1
content so Output class does not muck with it
2009-04-22updated copyrights to 2009Derek Jones1-1/+1
2009-02-02replaced all sizeof() in favor of count() - aliases are teh sux0rDerek Jones1-8/+8
2008-11-13Changing EOL style to LFDerek Allard1-535/+535
2008-09-13updated copyrightRick Ellis1-1/+1
2008-05-13Some sweeping syntax changes for consistency:Derek Jones1-13/+13
(! foo) changed to ( ! foo) || changed to OR changed newline standardization code in various places from preg_replace to str_replace
2008-05-11Removed closing PHP tags, replaced with a comment block identifying the end ↵Derek Jones1-1/+3
of the file
2008-05-11Undoing change committed in r1115Derek Jones1-0/+1
2008-05-11removed closing PHP tag from all framework filesDerek Jones1-1/+0
2008-05-08added 'object' key to the XML-RPCS config allowing the passing of a class ↵Derek Jones1-6/+18
object for method calls that aren't part of the CI super object
2008-05-05Added get_dir_file_info(), get_file_info(), and get_mime_by_extension() to ↵Derek Allard1-4/+4
the File Helper. Changed ( ! condition) into (! condition) within the code
2008-01-23*Enabled the default 'system' methods for the XML-RPC Server library, except ↵paulburdick1-75/+91
for 'system.multicall' which is still disabled.
2008-01-21replaced www.codeigniter.com with codeigniter.comDerek Jones1-3/+3
2008-01-18ExpressionEngine Dev Team in creditDerek Allard1-2/+2
2007-10-10Put a debug conditional around some debugging code so that it does not use ↵paulburdick1-1/+4
up memory unintentionally. http://codeigniter.com/forums/viewthread/50918/
2007-10-04Fixed a typo in the docblock comments that had CodeIgniter spelled CodeIgnitor.Derek Allard1-1/+1
2007-04-30fixed a typo in rpcs.php libraryDerek Allard1-1/+1
2007-04-15update pMachine to EllisLabDerek Allard1-502/+502
update copyright year update Code Igniter to CodeIgniter
2006-10-21(no commit message)admin1-25/+25
2006-10-07(no commit message)admin1-2/+2
2006-09-28(no commit message)admin1-5/+0
2006-09-27(no commit message)admin1-14/+6