core.git
8 years agoAdded renamed exception, TODOs.txt updated
Roland Häder [Sat, 11 Feb 2012 16:03:14 +0000 (16:03 +0000)]
Added renamed exception, TODOs.txt updated

8 years agoRenamed 'seperator' to 'separator'
Roland Häder [Sat, 11 Feb 2012 16:02:26 +0000 (16:02 +0000)]
Renamed 'seperator' to 'separator'

8 years agoAdded missing exceptions
Roland Häder [Sat, 11 Feb 2012 00:08:56 +0000 (00:08 +0000)]
Added missing exceptions

8 years agoSome minor rewrites
Roland Häder [Sat, 11 Feb 2012 00:08:16 +0000 (00:08 +0000)]
Some minor rewrites

8 years agoAdded missing exceptions (opps)
Roland Häder [Tue, 7 Feb 2012 20:28:46 +0000 (20:28 +0000)]
Added missing exceptions (opps)

8 years agoMany more ore less important changes:
Roland Häder [Tue, 7 Feb 2012 20:27:34 +0000 (20:27 +0000)]
Many more ore less important changes:
- All socket-related exceptions are now extending AbstractSocketException
- New socket-related exceptions added (hub project)
- Minor improvements, comments improved

8 years agoRenamed tue to conflicts with same exception in 'hub' project
Roland Häder [Wed, 14 Dec 2011 04:47:11 +0000 (04:47 +0000)]
Renamed tue to conflicts with same exception in 'hub' project

8 years agoSome minor improvements
Roland Häder [Wed, 9 Nov 2011 01:51:30 +0000 (01:51 +0000)]
Some minor improvements

8 years ago$selfInstance is better
Roland Häder [Tue, 8 Nov 2011 07:46:19 +0000 (07:46 +0000)]
$selfInstance is better

8 years agoStatic method getInstance() conflicts with getInstance() in class BaseRegistry,
Roland Häder [Tue, 8 Nov 2011 06:35:06 +0000 (06:35 +0000)]
Static method getInstance() conflicts with getInstance() in class BaseRegistry,
better it gets renamed to something else.

8 years agoOwn implementations of magic functions always on top
Roland Häder [Tue, 8 Nov 2011 06:27:11 +0000 (06:27 +0000)]
Own implementations of magic functions always on top

8 years agoNo! More numbers! ;)
Roland Häder [Tue, 8 Nov 2011 05:05:04 +0000 (05:05 +0000)]
No! More numbers! ;)

8 years agoFor better reading
Roland Häder [Tue, 8 Nov 2011 05:04:25 +0000 (05:04 +0000)]
For better reading

8 years agoSeveral debug things (e.g. for timing) added
Roland Häder [Tue, 8 Nov 2011 05:02:00 +0000 (05:02 +0000)]
Several debug things (e.g. for timing) added
- Startup time (in miliseconds) is now being stored "genericly"
- getPrintableExecutionTime() added which will output the currently needed time
  in seconds to execute until that line
- Things like "\r", "\n" and "\t" replaced with chr(x) to (hopefully) speedup
  things

8 years agoFixed this :(
Roland Häder [Tue, 8 Nov 2011 03:00:46 +0000 (03:00 +0000)]
Fixed this :(

8 years agoRemoved duplicate getIndexKey()
Roland Häder [Tue, 8 Nov 2011 02:59:16 +0000 (02:59 +0000)]
Removed duplicate getIndexKey()

8 years agoMoved getIndexKey() from hub project because this is very generic code.
Roland Häder [Sun, 6 Nov 2011 03:19:03 +0000 (03:19 +0000)]
Moved getIndexKey() from hub project because this is very generic code.

8 years agoUse $this->debugBackTrace() instead of die()
Roland Häder [Sun, 6 Nov 2011 02:42:15 +0000 (02:42 +0000)]
Use $this->debugBackTrace() instead of die()

8 years agoSome minor improvements:
Roland Häder [Fri, 4 Nov 2011 19:30:52 +0000 (19:30 +0000)]
Some minor improvements:
- $socket renamed to $socketResource
- InvalidSocketException enhanced to accept a socket resource at index 1

8 years agoresultType is now removed (was not used anyway)
Roland Häder [Thu, 27 Oct 2011 16:26:39 +0000 (16:26 +0000)]
resultType is now removed (was not used anyway)

8 years agoMinor cleanups:
Roland Häder [Mon, 24 Oct 2011 23:23:43 +0000 (23:23 +0000)]
Minor cleanups:
- Commented out noisy debug line
- Added TODO, this method shall be more configurable

8 years agoSome 'static' array elements rewritten to constant, other cleanups
Roland Häder [Thu, 1 Sep 2011 07:42:12 +0000 (07:42 +0000)]
Some 'static' array elements rewritten to constant, other cleanups

8 years agoImplemented a fall-back if the first compressor class doesn't work
Roland Häder [Wed, 31 Aug 2011 20:43:41 +0000 (20:43 +0000)]
Implemented a fall-back if the first compressor class doesn't work

8 years agoGzipCompressor now uses the right functions
Roland Häder [Wed, 31 Aug 2011 20:30:56 +0000 (20:30 +0000)]
GzipCompressor now uses the right functions

8 years agoAdded ZlibCompressor class, GzipCompressor used zlib functions by mistake
Roland Häder [Wed, 31 Aug 2011 20:29:04 +0000 (20:29 +0000)]
Added ZlibCompressor class, GzipCompressor used zlib functions by mistake

8 years agoAll backtraces now have a small message.
Roland Häder [Wed, 31 Aug 2011 20:03:08 +0000 (20:03 +0000)]
All backtraces now have a small message.

8 years agoSome cleanups, more usage of ObjectFactory:
Roland Häder [Wed, 31 Aug 2011 19:27:22 +0000 (19:27 +0000)]
Some cleanups, more usage of ObjectFactory:
- Used more ObjectFactory to instance a new class (in local file database)
- The class LocalFileDatabase and CompressorChannel can now be instanced without
  any paramters
- Renamed 'null' to 'NULL'

8 years agoMethod getResponseTypeFromSystem() introduced
Roland Häder [Wed, 31 Aug 2011 09:10:08 +0000 (09:10 +0000)]
Method getResponseTypeFromSystem() introduced

9 years agoMinor improvements here and there:
Roland Häder [Thu, 21 Jul 2011 20:17:38 +0000 (20:17 +0000)]
Minor improvements here and there:
- Messages of socket exceptions made more clear
- $protocolInstance can be NULL

9 years agoDebug lines slightly extended
Roland Häder [Wed, 20 Jul 2011 00:50:03 +0000 (00:50 +0000)]
Debug lines slightly extended

9 years agoMore concrete exceptions added, BaseController rewritten:
Roland Häder [Wed, 20 Jul 2011 00:32:03 +0000 (00:32 +0000)]
More concrete exceptions added, BaseController rewritten:
- Exceptions added, please use these instead of InvalidSocketExceptio
- All filters in BaseController are now named in class constants

9 years agoNow two methods should never be called, the UnsupportedOperationException will
Roland Häder [Tue, 17 May 2011 21:37:08 +0000 (21:37 +0000)]
Now two methods should never be called, the UnsupportedOperationException will
be thrown if you still do so.

9 years agoClass loader instance "cached"
Roland Häder [Thu, 12 May 2011 09:24:12 +0000 (09:24 +0000)]
Class loader instance "cached"

9 years agoGetter for source instance added.
Roland Häder [Sat, 30 Apr 2011 00:13:30 +0000 (00:13 +0000)]
Getter for source instance added.

9 years agoOpps...
Roland Häder [Thu, 28 Apr 2011 14:35:21 +0000 (14:35 +0000)]
Opps...

9 years agopopNamed() does also now return the current stacker's value.
Roland Häder [Thu, 28 Apr 2011 14:34:37 +0000 (14:34 +0000)]
popNamed() does also now return the current stacker's value.

9 years agoAdded a counter for all generated objects.
Roland Häder [Mon, 25 Apr 2011 19:47:01 +0000 (19:47 +0000)]
Added a counter for all generated objects.

9 years agoBetter IP than hostname
Roland Häder [Wed, 20 Apr 2011 23:23:01 +0000 (23:23 +0000)]
Better IP than hostname

9 years agoUpdated port number for default bootstrapper
Roland Häder [Wed, 20 Apr 2011 23:20:04 +0000 (23:20 +0000)]
Updated port number for default bootstrapper

9 years agoSupport for application local configuration file 'config-local.php' added
Roland Häder [Wed, 20 Apr 2011 05:35:14 +0000 (05:35 +0000)]
Support for application local configuration file 'config-local.php' added

9 years agoReverted last commit for 3rd party libs
Roland Häder [Wed, 20 Apr 2011 04:23:48 +0000 (04:23 +0000)]
Reverted last commit for 3rd party libs

9 years agoeol-style set #3
Roland Häder [Wed, 20 Apr 2011 04:22:48 +0000 (04:22 +0000)]
eol-style set #3

9 years agoeol-style set #2
Roland Häder [Wed, 20 Apr 2011 04:08:28 +0000 (04:08 +0000)]
eol-style set #2

9 years agoeol-style set
Roland Häder [Wed, 20 Apr 2011 04:06:52 +0000 (04:06 +0000)]
eol-style set

9 years agoVisitor instances can now be stored in all objects for speeding up the code.
Roland Häder [Wed, 20 Apr 2011 01:52:56 +0000 (01:52 +0000)]
Visitor instances can now be stored in all objects for speeding up the code.

9 years agoMoved $handlerInstance from BaseHubSystem to BaseFrameworkSystem
Roland Häder [Tue, 19 Apr 2011 01:15:11 +0000 (01:15 +0000)]
Moved $handlerInstance from BaseHubSystem to BaseFrameworkSystem

9 years agoPrimeraApi improved, some code cosmetics:
Roland Häder [Tue, 19 Apr 2011 00:23:39 +0000 (00:23 +0000)]
PrimeraApi improved, some code cosmetics:
- PrimerApi improved:
  + All methods and fields are now written "lowerCamelCase"
  + Many double-quotes replaced with single to speed up things
  + POST request is now sent in one big pice (and not line-by-line)
- Code cosmetics applied

9 years agoAdded 'abstract' to the class because doExecute() is abstract, too.
Roland Häder [Mon, 18 Apr 2011 22:16:45 +0000 (22:16 +0000)]
Added 'abstract' to the class because doExecute() is abstract, too.

9 years agoErrors from time_sleep_until() are now ignored, it may sometimes happen and annoying...
Roland Häder [Mon, 18 Apr 2011 20:53:00 +0000 (20:53 +0000)]
Errors from time_sleep_until() are now ignored, it may sometimes happen and annoying in console output.

9 years agoAdded missing brace... :(
Roland Häder [Mon, 18 Apr 2011 20:48:52 +0000 (20:48 +0000)]
Added missing brace... :(

9 years agoRewritten private fields (for seperators) to public class constants.
Roland Häder [Mon, 18 Apr 2011 20:36:12 +0000 (20:36 +0000)]
Rewritten private fields (for seperators) to public class constants.

9 years agoAdded isBase64Encoded() with a simple check on Base64-encoded messages.
Roland Häder [Mon, 18 Apr 2011 16:53:56 +0000 (16:53 +0000)]
Added isBase64Encoded() with a simple check on Base64-encoded messages.

9 years agoAdded missing field wrapperInstance (thanks to __set() ).
Roland Häder [Sun, 17 Apr 2011 23:52:41 +0000 (23:52 +0000)]
Added missing field wrapperInstance (thanks to __set() ).

9 years agoAlso wrong ... :(
Roland Häder [Sun, 17 Apr 2011 18:54:27 +0000 (18:54 +0000)]
Also wrong ... :(

9 years agoWrong naming...
Roland Häder [Sun, 17 Apr 2011 18:52:48 +0000 (18:52 +0000)]
Wrong naming...

9 years agoAdded class templates for I/O classes
Roland Häder [Sun, 17 Apr 2011 18:49:10 +0000 (18:49 +0000)]
Added class templates for I/O classes

9 years agoAdded required method streamData(), maybe someday we will rewrite these classes?
Roland Häder [Sun, 17 Apr 2011 18:16:13 +0000 (18:16 +0000)]
Added required method streamData(), maybe someday we will rewrite these classes?

9 years agoThese classes won't be used because all I/O streams can easily extend BaseStream.
Roland Häder [Thu, 14 Apr 2011 21:11:21 +0000 (21:11 +0000)]
These classes won't be used because all I/O streams can easily extend BaseStream.

9 years agoAdded streamData() method to interface Streamable
Roland Häder [Thu, 14 Apr 2011 21:09:20 +0000 (21:09 +0000)]
Added streamData() method to interface Streamable

9 years agoAdded setter/getter for I/O streams
Roland Häder [Thu, 14 Apr 2011 20:52:26 +0000 (20:52 +0000)]
Added setter/getter for I/O streams

9 years agoAdded new general I/O stream classes and interfaces. Still the interfaces have no...
Roland Häder [Thu, 14 Apr 2011 20:41:26 +0000 (20:41 +0000)]
Added new general I/O stream classes and interfaces. Still the interfaces have no methods but they will be added soon

9 years agoFixed... Opps.
Roland Häder [Thu, 7 Apr 2011 22:48:29 +0000 (22:48 +0000)]
Fixed... Opps.

9 years agoCleanups, re-initialization of stackers added:
Roland Häder [Thu, 7 Apr 2011 22:45:39 +0000 (22:45 +0000)]
Cleanups, re-initialization of stackers added:
- Moved patch_i.sh to contrib
- Marked MissingMethodException as deprecated (old-lost exception)
- Stackers can be forced to re-initialize (aka. "reset")

9 years agoExtra but optional instance now supported in UnsupportedOperationException
Roland Häder [Tue, 5 Apr 2011 21:20:59 +0000 (21:20 +0000)]
Extra but optional instance now supported in UnsupportedOperationException

9 years ago- Introduced prependStringToString() which can prepend a string to an other by
Roland Häder [Mon, 4 Apr 2011 23:44:28 +0000 (23:44 +0000)]
- Introduced prependStringToString() which can prepend a string to an other by
  maintaining the total length. The prepended string will be truncated so the
  total length will not be exceeded.
- Some debug messages added/commented out

9 years ago- Added a helper script to ease applying patches
Roland Häder [Mon, 4 Apr 2011 23:19:43 +0000 (23:19 +0000)]
- Added a helper script to ease applying patches
- Fixed naming of a variable $deg->dec
- Hexadecimal strings are now prepended with a '0' if the length cannot be
  devided by 2

9 years agoOpps...
Roland Häder [Mon, 4 Apr 2011 23:09:01 +0000 (23:09 +0000)]
Opps...

9 years agoMoved translation arrays, added new convertion functions:
Roland Häder [Mon, 4 Apr 2011 23:07:22 +0000 (23:07 +0000)]
Moved translation arrays, added new convertion functions:
- Moved translation arrays from previously added convertion functions as static,
  private attributes to the top
- Added two new functions dec2asc() and asc2dec()

9 years agoAdded methods dec2hex()/hex2dec() which are based on user comments at php.net documen...
Roland Häder [Mon, 4 Apr 2011 22:19:12 +0000 (22:19 +0000)]
Added methods dec2hex()/hex2dec() which are based on user comments at php.net documentation website

9 years agoSome rewrites/cleaups
Roland Häder [Mon, 4 Apr 2011 21:38:29 +0000 (21:38 +0000)]
Some rewrites/cleaups

9 years agoNew exception 'UnsupportedOperationException' added
Roland Häder [Sat, 2 Apr 2011 22:30:41 +0000 (22:30 +0000)]
New exception 'UnsupportedOperationException' added

9 years agoIntroduce setConfiguredLimit() to SearchCriteria class, this is much better than...
Roland Häder [Tue, 29 Mar 2011 21:55:19 +0000 (21:55 +0000)]
Introduce setConfiguredLimit() to SearchCriteria class, this is much better than before now

9 years agoAdded __unset() to catch unsetting of missing fields/attributes
Roland Häder [Tue, 29 Mar 2011 18:16:48 +0000 (18:16 +0000)]
Added __unset() to catch unsetting of missing fields/attributes

9 years agoRewritten class loader to skip deprecated class files:
Roland Häder [Tue, 29 Mar 2011 16:42:19 +0000 (16:42 +0000)]
Rewritten class loader to skip deprecated class files:
- Rewritten class loader to skip deprecated class files which should make all
  applications working again. This is done by checking its size because I
  will remove all code from the PHP include file and add a @DEPRECATED tag to
  it. A typical size is 24 bytes
- __set() and __get() are now calling debugBackTrace() with a message to aid
  finding e.g. typos in field/attribute names
- debugBackTrace() does now accept an optional parameter for a message
- TODOs.txt updated

9 years agoIntroduced new setter/getter and generic interface:
Roland Häder [Tue, 29 Mar 2011 16:29:03 +0000 (16:29 +0000)]
Introduced new setter/getter and generic interface:
- Added a generic Helper interface
- Moved some interfaces to maintain hierarchical directory style
- Used that interface in the generic setter which has been moved from the
  BaseCaptcha class to BaseFrameworkSystem
- Added source instance, setter and getter from 'hub' project
- TODOs.txt updated

9 years agoAdded magic methods __get/set(). Please watch these messages carefully
Roland Häder [Tue, 29 Mar 2011 15:52:55 +0000 (15:52 +0000)]
Added magic methods __get/set(). Please watch these messages carefully

9 years agoNew field/attribute 'cryptoInstance' introduced:
Roland Häder [Tue, 29 Mar 2011 12:30:00 +0000 (12:30 +0000)]
New field/attribute 'cryptoInstance' introduced:
- Getter/setter added for cryptoInstance field/attribute :-)
- Deprecated rngInstance removed from CryptoHelper, it is encapsulated in class
  BaseFrameworkSystem
- TODOs.txt updated

9 years agoAdded parameter 'key' to encryption methods to allow own keys
Roland Häder [Tue, 29 Mar 2011 09:09:08 +0000 (09:09 +0000)]
Added parameter 'key' to encryption methods to allow own keys

9 years agoSetting back compacted template content will reduce memory usage
Roland Häder [Mon, 28 Mar 2011 23:10:17 +0000 (23:10 +0000)]
Setting back compacted template content will reduce memory usage

9 years agoSome cleanups
Roland Häder [Fri, 25 Mar 2011 10:56:06 +0000 (10:56 +0000)]
Some cleanups

9 years agoAdded a XML template engine factory which encapsulates disabling of language support...
Roland Häder [Tue, 22 Mar 2011 00:10:07 +0000 (00:10 +0000)]
Added a XML template engine factory which encapsulates disabling of language support and enabling of XML-compacting

9 years agoObsolete parameter 'applicationInstance' removed from all template engines
Roland Häder [Mon, 21 Mar 2011 23:21:48 +0000 (23:21 +0000)]
Obsolete parameter 'applicationInstance' removed from all template engines

9 years agoReset script added
Roland Häder [Tue, 15 Mar 2011 20:50:59 +0000 (20:50 +0000)]
Reset script added

9 years agoSome documentary updated
Roland Häder [Tue, 15 Mar 2011 20:32:14 +0000 (20:32 +0000)]
Some documentary updated

9 years agoClass template for template engines updated
Roland Häder [Tue, 15 Mar 2011 20:11:04 +0000 (20:11 +0000)]
Class template for template engines updated

9 years agoRewritten static 'create' method in all compressors, some code-cleanup
Roland Häder [Sat, 12 Mar 2011 00:07:02 +0000 (00:07 +0000)]
Rewritten static 'create' method in all compressors, some code-cleanup

9 years agogetStackCount() is now public
Roland Häder [Fri, 11 Mar 2011 10:43:38 +0000 (10:43 +0000)]
getStackCount() is now public

9 years agoinitStacker() can be easily public
Roland Häder [Thu, 10 Mar 2011 22:05:52 +0000 (22:05 +0000)]
initStacker() can be easily public

9 years agoAs of a good naming convention, do not short-cut variables
Roland Häder [Thu, 10 Mar 2011 20:39:55 +0000 (20:39 +0000)]
As of a good naming convention, do not short-cut variables

9 years agoRefactured code for deprecated includes file_io and language:
Roland Häder [Thu, 10 Mar 2011 14:05:22 +0000 (14:05 +0000)]
Refactured code for deprecated includes file_io and language:
- Include inc/file_io.php and inc/language.php are now deprecated, please no
  longer use them
- Therefore the code needs some refacturing
- ... and two deprecated exceptions!
- TODOs.txt updated

9 years agoCopyright updated
Roland Häder [Sat, 5 Mar 2011 14:17:31 +0000 (14:17 +0000)]
Copyright updated

9 years agoBetter debug lines
Roland Häder [Sat, 5 Mar 2011 12:53:28 +0000 (12:53 +0000)]
Better debug lines

9 years agoTo much 'Deny from all' removed :(
Roland Häder [Sat, 5 Mar 2011 12:37:22 +0000 (12:37 +0000)]
To much 'Deny from all' removed :(

9 years agoDirectory prepared, missing variable fixed:
Roland Häder [Sat, 5 Mar 2011 12:35:18 +0000 (12:35 +0000)]
Directory prepared, missing variable fixed:
- Added missing class template for resolver class
- Prepared directory for request resolver (the method entryPoint() is to large)
- Fixed missing variable $result in method equals()

9 years agoNow required method equals() added
Roland Häder [Sat, 5 Mar 2011 12:26:17 +0000 (12:26 +0000)]
Now required method equals() added

9 years agoWho says 'hashCode()' says also 'equals()' ... Shame on me
Roland Häder [Sat, 5 Mar 2011 12:23:16 +0000 (12:23 +0000)]
Who says 'hashCode()' says also 'equals()' ... Shame on me

9 years agoHost name fixed (a redirect causes an error), duplicate code rewrriten to be more...
Roland Häder [Sat, 5 Mar 2011 11:09:11 +0000 (11:09 +0000)]
Host name fixed (a redirect causes an error), duplicate code rewrriten to be more generic

9 years ago'public static final' is correct
Roland Häder [Mon, 28 Feb 2011 00:09:47 +0000 (00:09 +0000)]
'public static final' is correct

9 years agoNew server IP is 188.138.90.169
Roland Häder [Wed, 16 Feb 2011 12:59:07 +0000 (12:59 +0000)]
New server IP is 188.138.90.169

9 years agoProperties set/deleted on .htaccess
Roland Häder [Sun, 13 Feb 2011 15:28:41 +0000 (15:28 +0000)]
Properties set/deleted on .htaccess