core.git
10 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

10 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

10 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.

10 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.

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

10 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.

10 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.

10 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() ).

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

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

10 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

10 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?

10 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.

10 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

10 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

10 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

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

10 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")

10 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

10 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

10 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

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

10 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()

10 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

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

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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

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

10 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

10 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

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

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

10 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

10 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

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

10 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

10 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

10 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

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

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

10 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 :(

10 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()

10 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

10 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

10 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

10 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

10 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

10 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

10 years agoHelper script added, externals are now no longer with www. (because it is really...
Roland Häder [Sat, 12 Feb 2011 23:44:08 +0000 (23:44 +0000)]
Helper script added, externals are now no longer with  (because it is really out-dated)

10 years agoSome methods moved, speed improved
Roland Häder [Thu, 11 Nov 2010 18:31:46 +0000 (18:31 +0000)]
Some methods moved, speed improved

11 years agoSVN properties globally set
Roland Häder [Tue, 14 Sep 2010 14:19:30 +0000 (14:19 +0000)]
SVN properties globally set

11 years agoProperties set/changed
Roland Häder [Tue, 14 Sep 2010 13:18:06 +0000 (13:18 +0000)]
Properties set/changed

11 years agoChanged (still ugly code) the way of determining external IP
Roland Häder [Thu, 17 Jun 2010 02:26:18 +0000 (02:26 +0000)]
Changed (still ugly code) the way of determining external IP

11 years agoRewritten to static method
Roland Häder [Thu, 17 Jun 2010 01:31:45 +0000 (01:31 +0000)]
Rewritten to static method

11 years agoDebug lines added, empty folder removed
Roland Häder [Thu, 17 Jun 2010 01:19:17 +0000 (01:19 +0000)]
Debug lines added, empty folder removed

11 years agoMore relaxed check (only first X characters)
Roland Häder [Thu, 17 Jun 2010 00:37:15 +0000 (00:37 +0000)]
More relaxed check (only first X characters)

11 years agoSocket resource added, port for bootstrap nodes is 9061 now
Roland Häder [Sun, 13 Jun 2010 21:36:29 +0000 (21:36 +0000)]
Socket resource added, port for bootstrap nodes is 9061 now

11 years agoFix for 'undefined variable cacheInstance', should be a field
Roland Häder [Sun, 13 Jun 2010 20:51:00 +0000 (20:51 +0000)]
Fix for 'undefined variable cacheInstance', should be a field

11 years agoNew factory for database wrappers added, some code cosmetics
Roland Häder [Sun, 6 Jun 2010 12:50:25 +0000 (12:50 +0000)]
New factory for database wrappers added, some code cosmetics

11 years agoMoved...
Roland Häder [Fri, 28 May 2010 03:07:58 +0000 (03:07 +0000)]
Moved...

11 years ago can now be set/get
Roland Häder [Fri, 28 May 2010 02:57:19 +0000 (02:57 +0000)]
 can now be set/get

11 years agoIf no valid entry (e.g. failed query) is counted, this does now return -1
Roland Häder [Fri, 28 May 2010 02:30:41 +0000 (02:30 +0000)]
If no valid entry (e.g. failed query) is counted, this does now return -1

11 years agoNew SocketShutdownException added, this should be thrown if the socket cannot be...
Roland Häder [Fri, 28 May 2010 01:36:26 +0000 (01:36 +0000)]
New SocketShutdownException added, this should be thrown if the socket cannot be shutted down and last error is not 107

11 years agoRequired interface updated
Roland Häder [Sat, 22 May 2010 17:09:31 +0000 (17:09 +0000)]
Required interface updated

11 years agoMoved socket registry to hub project, extended socket container with more parameters
Roland Häder [Sat, 22 May 2010 15:59:46 +0000 (15:59 +0000)]
Moved socket registry to hub project, extended socket container with more parameters

11 years agoSome code-cosmetics applied:
Roland Häder [Tue, 18 May 2010 19:44:22 +0000 (19:44 +0000)]
Some code-cosmetics applied:
- No longer gettings a $configInstance, lets use
  $templateInstance->getConfigInstance() instead.
- Some other minor costemical changes

11 years agoSocketRegistry basicly finished:
Roland Häder [Mon, 26 Apr 2010 14:52:24 +0000 (14:52 +0000)]
SocketRegistry basicly finished:
- A newly added SubRegistry was required for the socket registry
- Added container for sockets (so they can be stored in registries)
- Getter/setter added for socket resource (no validation)

11 years agoMore widen interface ProtocolHandler (which should be extended by listener and writer...
Roland Häder [Sat, 24 Apr 2010 02:04:04 +0000 (02:04 +0000)]
More widen interface ProtocolHandler (which should be extended by listener and writer interfaces) applied

11 years agoIncomplete SocketRegistry class added, code cosmetics applied
Roland Häder [Sat, 24 Apr 2010 01:43:47 +0000 (01:43 +0000)]
Incomplete SocketRegistry class added, code cosmetics applied

11 years agoOther naming convention...
Roland Häder [Sat, 24 Apr 2010 01:08:28 +0000 (01:08 +0000)]
Other naming convention...

11 years agoAdded missing file
Roland Häder [Sat, 24 Apr 2010 01:06:48 +0000 (01:06 +0000)]
Added missing file

11 years agoFixes... :(
Roland Häder [Sat, 24 Apr 2010 01:06:31 +0000 (01:06 +0000)]
Fixes... :(

11 years agoRegistry rewritten, exception added #2
Roland Häder [Sat, 24 Apr 2010 01:00:00 +0000 (01:00 +0000)]
Registry rewritten, exception added #2

11 years agoRegistry rewritten, exception added
Roland Häder [Sat, 24 Apr 2010 00:59:27 +0000 (00:59 +0000)]
Registry rewritten, exception added

11 years agoFIFO basicly finished
Roland Häder [Fri, 23 Apr 2010 23:01:25 +0000 (23:01 +0000)]
FIFO basicly finished

11 years agoSome methods are now public and added to the interface
Roland Häder [Mon, 12 Apr 2010 10:00:29 +0000 (10:00 +0000)]
Some methods are now public and added to the interface

11 years agoDouble quotes in single converted
Roland Häder [Sat, 27 Mar 2010 15:18:16 +0000 (15:18 +0000)]
Double quotes in single converted

11 years agoCompleted decorator, extended interface
Roland Häder [Wed, 24 Mar 2010 04:31:16 +0000 (04:31 +0000)]
Completed decorator, extended interface

11 years agoVariable handling in template engine rewritten
Roland Häder [Mon, 1 Mar 2010 01:15:38 +0000 (01:15 +0000)]
Variable handling in template engine rewritten

11 years agoCopyright upgraded to 2010
Roland Häder [Wed, 10 Feb 2010 20:41:10 +0000 (20:41 +0000)]
Copyright upgraded to 2010

11 years agoExtra new-line removed...
Roland Häder [Wed, 10 Feb 2010 00:07:57 +0000 (00:07 +0000)]
Extra new-line removed...

11 years agoTODOs.txt updated... :(
Roland Häder [Tue, 9 Feb 2010 23:56:27 +0000 (23:56 +0000)]
TODOs.txt updated... :(

11 years agoDecorators moved, naming convention applied:
Roland Häder [Tue, 9 Feb 2010 23:55:45 +0000 (23:55 +0000)]
Decorators moved, naming convention applied:
- Some generic decorators moved from hub project to this
- The naming convention requires $tplInstance to be not shorted, so
  $templateInstance is the right name
- Interface CompileableTemplate updated
- Deprecated methods removed from BaseTemplateEngine

11 years agoCompressor instances can now be set/get
Roland Häder [Fri, 5 Feb 2010 00:40:41 +0000 (00:40 +0000)]
Compressor instances can now be set/get

11 years agoFIFO stacker basicly implemented
Roland Häder [Thu, 4 Feb 2010 23:35:05 +0000 (23:35 +0000)]
FIFO stacker basicly implemented

11 years agosvn:executable removed, which isn't needed for PHP scripts.
Roland Häder [Wed, 3 Feb 2010 11:54:52 +0000 (11:54 +0000)]
svn:executable removed, which isn't needed for PHP scripts.

11 years agoThe ObjectFactory may now be extended e.g. done in hub project by a NodeStateFactory...
Roland Häder [Wed, 27 Jan 2010 01:48:25 +0000 (01:48 +0000)]
The ObjectFactory may now be extended e.g. done in hub project by a NodeStateFactory class

11 years agoFake template engine added, variables can now be compiled for config entries:
Roland Häder [Tue, 5 Jan 2010 05:14:16 +0000 (05:14 +0000)]
Fake template engine added, variables can now be compiled for config entries:
- New fake template engine ConsoleTemplateEngine added (unfinished)
- New method to compile configuration entries in 'general' variable stack added

11 years agoNew method replaceControlCharacters() introduced (very basic implementation), typo...
Roland Häder [Tue, 22 Dec 2009 15:43:40 +0000 (15:43 +0000)]
New method replaceControlCharacters() introduced (very basic implementation), typo fixed

11 years agoUnsupported parameter removed
Roland Häder [Tue, 22 Dec 2009 10:19:18 +0000 (10:19 +0000)]
Unsupported parameter removed

11 years agoComment fixed (important for later admin area script)
Roland Häder [Tue, 22 Dec 2009 08:31:12 +0000 (08:31 +0000)]
Comment fixed (important for later admin area script)

11 years agodie() removed... :(
Roland Häder [Tue, 22 Dec 2009 08:22:49 +0000 (08:22 +0000)]
die() removed... :(

11 years agoLanguage support can now be disabled (e.g. good for hub announcement descriptor)
Roland Häder [Tue, 22 Dec 2009 08:21:53 +0000 (08:21 +0000)]
Language support can now be disabled (e.g. good for hub announcement descriptor)