core.git
9 years agoFixed parser error ...
Roland Haeder [Tue, 7 Apr 2015 21:01:03 +0000 (23:01 +0200)]
Fixed parser error ...

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoFixed parser error.
Roland Haeder [Tue, 7 Apr 2015 20:58:55 +0000 (22:58 +0200)]
Fixed parser error.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoNot so much double quotes for strings (convention).
Roland Haeder [Tue, 7 Apr 2015 16:46:45 +0000 (18:46 +0200)]
Not so much double quotes for strings (convention).

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoIt is better 'menu' + output of full fieldArray if DEVELOPER is defined.
Roland Haeder [Tue, 7 Apr 2015 16:33:28 +0000 (18:33 +0200)]
It is better 'menu' + output of full fieldArray if DEVELOPER is defined.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoThis is a public method.
Roland Haeder [Tue, 7 Apr 2015 16:07:54 +0000 (18:07 +0200)]
This is a public method.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoThrowing an NPE here hides the actual exception and it is much harder to track what...
Roland Haeder [Tue, 7 Apr 2015 15:45:44 +0000 (17:45 +0200)]
Throwing an NPE here hides the actual exception and it is much harder to track what is wrong.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoLet's see if this works better.
Roland Haeder [Tue, 7 Apr 2015 14:53:34 +0000 (16:53 +0200)]
Let's see if this works better.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoUpdated this as well.
Roland Haeder [Tue, 7 Apr 2015 14:49:47 +0000 (16:49 +0200)]
Updated this as well.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoUpdated signature of addCriteria().
Roland Haeder [Tue, 7 Apr 2015 14:47:51 +0000 (16:47 +0200)]
Updated signature of addCriteria().

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoUpdateCriteria currently needs to overwrite addCriteria().
Roland Haeder [Tue, 7 Apr 2015 14:46:04 +0000 (16:46 +0200)]
UpdateCriteria currently needs to overwrite addCriteria().

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoIntroduced genericHanleRequestLoginAreaFailedRedirect()
Roland Haeder [Tue, 7 Apr 2015 14:40:24 +0000 (16:40 +0200)]
Introduced genericHanleRequestLoginAreaFailedRedirect()

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoFixed parser error.
Roland Haeder [Tue, 7 Apr 2015 14:25:24 +0000 (16:25 +0200)]
Fixed parser error.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoThis old stuff needs to be rewritten.
Roland Haeder [Tue, 7 Apr 2015 14:24:19 +0000 (16:24 +0200)]
This old stuff needs to be rewritten.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoNo more needed to call parent execute().
Roland Haeder [Tue, 7 Apr 2015 14:14:33 +0000 (16:14 +0200)]
No more needed to call parent execute().

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoNope, no more ShipSimu here ...
Roland Haeder [Mon, 6 Apr 2015 23:20:58 +0000 (01:20 +0200)]
Nope, no more ShipSimu here ...

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoMoved from shipsimu project.
Roland Haeder [Mon, 6 Apr 2015 23:19:43 +0000 (01:19 +0200)]
Moved from shipsimu project.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoIntroduced genericHanleRequestLoginFailedRedirect().
Roland Haeder [Mon, 6 Apr 2015 23:13:02 +0000 (01:13 +0200)]
Introduced genericHanleRequestLoginFailedRedirect().

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoAlso call initWebOutputInstance() here.
Roland Haeder [Mon, 6 Apr 2015 23:00:57 +0000 (01:00 +0200)]
Also call initWebOutputInstance() here.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoAdded some more missing class fields.
Roland Haeder [Mon, 6 Apr 2015 22:56:48 +0000 (00:56 +0200)]
Added some more missing class fields.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoAdded missing field.
Roland Haeder [Mon, 6 Apr 2015 22:54:39 +0000 (00:54 +0200)]
Added missing field.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoSame for controller (?).
Roland Haeder [Mon, 6 Apr 2015 22:51:33 +0000 (00:51 +0200)]
Same for controller (?).

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoAdded 'default_image_command' as this is really the default for all applications...
Roland Haeder [Mon, 6 Apr 2015 22:49:04 +0000 (00:49 +0200)]
Added 'default_image_command' as this is really the default for all applications that create images.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoGee, found more copy-paste errors ...
Roland Haeder [Mon, 6 Apr 2015 22:46:06 +0000 (00:46 +0200)]
Gee, found more copy-paste errors ...

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoDon't look for commands in controller resolvers as this confuses the code (maybe).
Roland Haeder [Mon, 6 Apr 2015 22:44:02 +0000 (00:44 +0200)]
Don't look for commands in controller resolvers as this confuses the code (maybe).

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoresolveController() was everywhere the same, still you can overwrite it with
Roland Haeder [Mon, 6 Apr 2015 22:40:10 +0000 (00:40 +0200)]
resolveController() was everywhere the same, still you can overwrite it with
your own implementation.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoIt is actually a class.
Roland Haeder [Mon, 6 Apr 2015 22:24:58 +0000 (00:24 +0200)]
It is actually a class.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoAdded support for template suffix. This allows to load templates such as register_for...
Roland Haeder [Mon, 6 Apr 2015 22:16:11 +0000 (00:16 +0200)]
Added support for template suffix. This allows to load templates such as register_form, etc.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoSometimes 'page' is wanted, sometimes 'command' but basicly both want a command
Roland Haeder [Mon, 6 Apr 2015 09:48:07 +0000 (11:48 +0200)]
Sometimes 'page' is wanted, sometimes 'command' but basicly both want a command
instance. So it is better to rename it everywhere to 'command'.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoUse getResponseTypeFromSystem() to get 'html' or 'console', what is really needed.
Roland Haeder [Mon, 6 Apr 2015 00:03:06 +0000 (02:03 +0200)]
Use getResponseTypeFromSystem() to get 'html' or 'console', what is really needed.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoDon't allow underscores or dashes in application names (remove them).
Roland Haeder [Sun, 5 Apr 2015 23:52:51 +0000 (01:52 +0200)]
Don't allow underscores or dashes in application names (remove them).

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoRenamed a lot more stuff from 'web' to 'html'.
Roland Haeder [Sun, 5 Apr 2015 23:42:07 +0000 (01:42 +0200)]
Renamed a lot more stuff from 'web' to 'html'.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoForgot to rename classes as well ...
Roland Haeder [Sun, 5 Apr 2015 23:31:01 +0000 (01:31 +0200)]
Forgot to rename classes as well ...

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoOne to much?
Roland Haeder [Sun, 5 Apr 2015 23:22:32 +0000 (01:22 +0200)]
One to much?

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoCleanup + expanded CompileableTemplate with a lot public methods from BaseTemplateEngine
Roland Haeder [Sun, 5 Apr 2015 23:21:21 +0000 (01:21 +0200)]
Cleanup + expanded CompileableTemplate with a lot public methods from BaseTemplateEngine

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoConfiguration data is now being inserted as same as other data.
Roland Haeder [Sun, 5 Apr 2015 23:01:43 +0000 (01:01 +0200)]
Configuration data is now being inserted as same as other data.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoAdded 'base_url'
Roland Haeder [Sun, 5 Apr 2015 22:40:54 +0000 (00:40 +0200)]
Added 'base_url'

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoIntroduced executeGenericPrePostCommand() which will execute a command with
Roland Haeder [Sun, 5 Apr 2015 22:30:50 +0000 (00:30 +0200)]
Introduced executeGenericPrePostCommand() which will execute a command with
pre and post filters.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoAdded shutdown filter methods.
Roland Haeder [Sun, 5 Apr 2015 22:04:53 +0000 (00:04 +0200)]
Added shutdown filter methods.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoAdded sendGenericGetResponse() which sends a generic HTML GET response to the
Roland Haeder [Sun, 5 Apr 2015 21:59:13 +0000 (23:59 +0200)]
Added sendGenericGetResponse() which sends a generic HTML GET response to the
client. This means a header, menu, content and footer is compiled and send out
to the client.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoAdded isGetRequestMethod(), isHeadRequestMethod() and isPostRequestMethod().
Roland Haeder [Sun, 5 Apr 2015 21:54:05 +0000 (23:54 +0200)]
Added isGetRequestMethod(), isHeadRequestMethod() and isPostRequestMethod().

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoMoved some class fields and their setter/getter to BaseFrameworkSystem.
Roland Haeder [Sun, 5 Apr 2015 21:38:05 +0000 (23:38 +0200)]
Moved some class fields and their setter/getter to BaseFrameworkSystem.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoRenamed classes.
Roland Haeder [Sun, 5 Apr 2015 21:19:45 +0000 (23:19 +0200)]
Renamed classes.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoRenamed classes
Roland Haeder [Sun, 5 Apr 2015 21:06:07 +0000 (23:06 +0200)]
Renamed classes

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoFixed comments (minor)
Roland Haeder [Sun, 5 Apr 2015 20:59:06 +0000 (22:59 +0200)]
Fixed comments (minor)

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoAdded new method as the template engine may need additional
Roland Haeder [Sun, 5 Apr 2015 20:29:54 +0000 (22:29 +0200)]
Added new method as the template engine may need additional
application-depending data from the application.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoBasicly finished menu rendering (wow).
Roland Haeder [Sun, 5 Apr 2015 20:25:03 +0000 (22:25 +0200)]
Basicly finished menu rendering (wow).

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoAdded very basic support (unfinished) for menu rendering
Roland Haeder [Sun, 5 Apr 2015 20:06:38 +0000 (22:06 +0200)]
Added very basic support (unfinished) for menu rendering

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoKeep multi-line comments in their proper way with /* */.
Roland Haeder [Sun, 5 Apr 2015 18:48:32 +0000 (20:48 +0200)]
Keep multi-line comments in their proper way with /* */.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoIt is now html, not web.
Roland Haeder [Tue, 24 Mar 2015 20:56:28 +0000 (21:56 +0100)]
It is now html, not web.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoMove also this.
Roland Haeder [Tue, 24 Mar 2015 20:39:54 +0000 (21:39 +0100)]
Move also this.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoMoved from 'hub' (jepp, more to come!)
Roland Haeder [Tue, 24 Mar 2015 20:37:45 +0000 (21:37 +0100)]
Moved from 'hub' (jepp, more to come!)
Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoAdded from 'hub' project.
Roland Haeder [Tue, 24 Mar 2015 20:35:47 +0000 (21:35 +0100)]
Added from 'hub' project.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoMoved from 'hub' project, too.
Roland Haeder [Tue, 24 Mar 2015 20:33:04 +0000 (21:33 +0100)]
Moved from 'hub' project, too.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoMoved from 'hub' project.
Roland Haeder [Tue, 24 Mar 2015 20:31:57 +0000 (21:31 +0100)]
Moved from 'hub' project.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoMoved visitor stuff from 'hub'.
Roland Haeder [Tue, 24 Mar 2015 20:27:47 +0000 (21:27 +0100)]
Moved visitor stuff from 'hub'.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoMoved default iterator from 'hub'.
Roland Haeder [Tue, 24 Mar 2015 20:24:19 +0000 (21:24 +0100)]
Moved default iterator from 'hub'.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoMoved ListGroupList from 'hub'.
Roland Haeder [Tue, 24 Mar 2015 20:21:46 +0000 (21:21 +0100)]
Moved ListGroupList from 'hub'.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoAlso moved this interface (again more will come).
Roland Haeder [Tue, 24 Mar 2015 20:19:20 +0000 (21:19 +0100)]
Also moved this interface (again more will come).

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoAlso moved this stuff (more may come).
Roland Haeder [Tue, 24 Mar 2015 20:17:43 +0000 (21:17 +0100)]
Also moved this stuff (more may come).

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoAlso moved this interface.
Roland Haeder [Tue, 24 Mar 2015 20:13:55 +0000 (21:13 +0100)]
Also moved this interface.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoAdded task handler from 'hub' project.
Roland Haeder [Tue, 24 Mar 2015 20:10:57 +0000 (21:10 +0100)]
Added task handler from 'hub' project.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoMoved methods to reduce code duplicates.
Roland Haeder [Tue, 24 Mar 2015 19:53:09 +0000 (20:53 +0100)]
Moved methods to reduce code duplicates.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoClass prefixes can be now all lower-case.
Roland Haeder [Tue, 24 Mar 2015 19:47:05 +0000 (20:47 +0100)]
Class prefixes can be now all lower-case.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoResponse type fixed (opps).
Roland Haeder [Tue, 24 Mar 2015 19:41:22 +0000 (20:41 +0100)]
Response type fixed (opps).

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agogetDefaultCommand() is now moved to BaseResponse.
Roland Haeder [Tue, 24 Mar 2015 19:39:59 +0000 (20:39 +0100)]
getDefaultCommand() is now moved to BaseResponse.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoClass prefixes for actions, commands and controllers can now be like 'foo_bar'.
Roland Haeder [Tue, 24 Mar 2015 19:27:36 +0000 (20:27 +0100)]
Class prefixes for actions, commands and controllers can now be like 'foo_bar'.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoOutput system is now no longer initialized by loading a centralized
Roland Haeder [Tue, 24 Mar 2015 18:21:57 +0000 (19:21 +0100)]
Output system is now no longer initialized by loading a centralized
inc/output.php as this was a stupid idea and sometimes the same application
has a console and web part.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agogetResponseTypeFromSystem() is now static.
Roland Haeder [Tue, 24 Mar 2015 17:33:21 +0000 (18:33 +0100)]
getResponseTypeFromSystem() is now static.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoSeparate web and console debugging.
Roland Haeder [Tue, 24 Mar 2015 17:29:01 +0000 (18:29 +0100)]
Separate web and console debugging.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoImported from 'hub' code.
Roland Haeder [Tue, 24 Mar 2015 17:18:05 +0000 (18:18 +0100)]
Imported from 'hub' code.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoRenamed more stuff (will break app_die(), so it needs fixing).
Roland Haeder [Tue, 24 Mar 2015 01:15:15 +0000 (02:15 +0100)]
Renamed more stuff (will break app_die(), so it needs fixing).

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoVery noisy line (for web applications).
Roland Haeder [Tue, 24 Mar 2015 00:26:34 +0000 (01:26 +0100)]
Very noisy line (for web applications).

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoSome fixes for template parsing.
Roland Haeder [Tue, 24 Mar 2015 00:18:53 +0000 (01:18 +0100)]
Some fixes for template parsing.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoDon't shorten variable names, even when they become long. If so, then find a
Roland Haeder [Tue, 24 Mar 2015 00:09:09 +0000 (01:09 +0100)]
Don't shorten variable names, even when they become long. If so, then find a
better way of naming them.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoBetter use 'self'.
Roland Haeder [Mon, 23 Mar 2015 23:58:57 +0000 (00:58 +0100)]
Better use 'self'.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoLanguage base path is now optional.
Roland Haeder [Mon, 23 Mar 2015 23:56:49 +0000 (00:56 +0100)]
Language base path is now optional.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoAdded config entry.
Roland Haeder [Mon, 23 Mar 2015 23:36:37 +0000 (00:36 +0100)]
Added config entry.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoClass renamed + some cosmetical changes applied.
Roland Haeder [Mon, 23 Mar 2015 23:34:21 +0000 (00:34 +0100)]
Class renamed + some cosmetical changes applied.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoRenamed some more 'web' -> 'html' (more will come).
Roland Haeder [Mon, 23 Mar 2015 15:09:31 +0000 (16:09 +0100)]
Renamed some more 'web' -> 'html' (more will come).

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoEven more renamed 'web' -> 'html'
Roland Haeder [Mon, 23 Mar 2015 15:04:36 +0000 (16:04 +0100)]
Even more renamed 'web' -> 'html'

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years ago'Web' is to generic, better use 'Html' as it is for HTML.
Roland Haeder [Mon, 23 Mar 2015 15:02:41 +0000 (16:02 +0100)]
'Web' is to generic, better use 'Html' as it is for HTML.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoObsolete code removed.
Roland Haeder [Mon, 23 Mar 2015 14:07:40 +0000 (15:07 +0100)]
Obsolete code removed.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoUpdated a little unmaintained test cases (they need to be run sooner or later).
Roland Haeder [Mon, 23 Mar 2015 02:20:40 +0000 (03:20 +0100)]
Updated a little unmaintained test cases (they need to be run sooner or later).

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoHttpRequest and HttpResponse were to generic as they were only used for HTML
Roland Haeder [Mon, 23 Mar 2015 02:17:22 +0000 (03:17 +0100)]
HttpRequest and HttpResponse were to generic as they were only used for HTML
responses. Later on this framework will also handle other protocols or formats
that are based on HTTP (such as RSS). So by using Http as class prefix but
actually responding with HTML will exclude such other response types which is
not a good idea.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoIntroduced initWebOutputInstance() which will initialize a web output instance.
Roland Haeder [Sun, 22 Mar 2015 21:54:18 +0000 (22:54 +0100)]
Introduced initWebOutputInstance() which will initialize a web output instance.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoIt may rarely happen that no filters are registered. It is strange but it may
Roland Haeder [Sun, 22 Mar 2015 20:11:33 +0000 (21:11 +0100)]
It may rarely happen that no filters are registered. It is strange but it may
happen.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoMinor fix, don't mix space and tab for intending, except for comment block:
Roland Haeder [Sun, 22 Mar 2015 00:08:41 +0000 (01:08 +0100)]
Minor fix, don't mix space and tab for intending, except for comment block:

/*
 * This is an intended comment block with tabs and spaces to call doBla().
 */
$this->doBla();

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoMoved getter near it's setter counter part to have them next to each other.
Roland Haeder [Sat, 21 Mar 2015 20:59:02 +0000 (21:59 +0100)]
Moved getter near it's setter counter part to have them next to each other.
Still this particular "base" class needs cleanup in things of position of
methods: first private, then protected then public and always keep setter
and getter close to each other and at top position (right after contructor).
All existing factory methods always lead setters and getters (right after
constructor).

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoCommented added switch to MHASH_SHA256 + 5-times hashing and some other improvements.
Roland Haeder [Sat, 21 Mar 2015 20:58:26 +0000 (21:58 +0100)]
Commented added switch to MHASH_SHA256 + 5-times hashing and some other improvements.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoCommented out noisy debug lines, closeFile() should now be okay.
Roland Haeder [Thu, 19 Mar 2015 00:48:03 +0000 (01:48 +0100)]
Commented out noisy debug lines, closeFile() should now be okay.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoMore cleanups of public closeFile() method as it is private now and shall only
Roland Haeder [Wed, 18 Mar 2015 00:36:17 +0000 (01:36 +0100)]
More cleanups of public closeFile() method as it is private now and shall only
be called by the destructor.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoFixed parser error.
Roland Haeder [Wed, 18 Mar 2015 00:34:09 +0000 (01:34 +0100)]
Fixed parser error.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoDon't "abuse" setters for actually "unsetting" (closing) instances. Better use
Roland Haeder [Wed, 18 Mar 2015 00:31:09 +0000 (01:31 +0100)]
Don't "abuse" setters for actually "unsetting" (closing) instances. Better use
explicit "unsetter" methods which seems to be a cleaner way.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoUpdated copyright:
Roland Haeder [Tue, 17 Mar 2015 21:13:14 +0000 (22:13 +0100)]
Updated copyright:
- Added a really lame script for doing this
- Updated copyright year to 2015 (as it has been changed this year)

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoRenamed DatabaseResult to CachedDatabaseResult as it is actually "caching" the
Roland Haeder [Mon, 16 Mar 2015 18:57:33 +0000 (19:57 +0100)]
Renamed DatabaseResult to CachedDatabaseResult as it is actually "caching" the
whole result. This means that the result is kept in array and this result can be
used as an iterator to "walk" over the whole result. Later on if a non-cached
version is coming the iteration will callback the backend for the actual
iteration.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoFixed loading of chash.pos (wrong indexes) + added cast to float for nonce.
Roland Haeder [Fri, 13 Mar 2015 03:10:55 +0000 (04:10 +0100)]
Fixed loading of chash.pos (wrong indexes) + added cast to float for nonce.

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoRenamed BaseFile to BaseAbstractFile to make it more clear that this class is
Roland Haeder [Tue, 10 Mar 2015 00:40:30 +0000 (01:40 +0100)]
Renamed BaseFile to BaseAbstractFile to make it more clear that this class is
an abstracted file and is not responsible for the actual I/O (which is done by
the linked pointer instance).

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoContinued:
Roland Haeder [Sat, 7 Mar 2015 22:01:20 +0000 (23:01 +0100)]
Continued:
- Added new class field $urlSourceInstance (What?! Not added before?) with
  interface UrlSource as type-hint
- Removed deprecated classes/include files
- Added some "life" to FiFoFileStack as this class may happen the same was the
  memory-based counter part FiFoStack. Still the BaseFileStack needs a lot
  enhancement (unfinished).

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoRenamed some paths and a class for better understanding them:
Roland Haeder [Fri, 6 Mar 2015 23:19:12 +0000 (00:19 +0100)]
Renamed some paths and a class for better understanding them:
- Classes in 'databases' were backend classes (doing the hard work) so it got renamed to 'backend'
- Classes in 'wrapper' were frontend classes (which classes from e.g. the "business logic" may use) so it got renamed to 'frontend'
- To both above renames there are already proper "base" classes
- Renamed 'LocalFileDatabase' to 'CachedLocalFileDatabase' as the entire (!) result is stored in $resultData. This is maybe fine for small tables but never good for tables with a lot rows (I don't want to name a number here).
- TODOs.txt updated

Signed-off-by: Roland Häder <roland@mxchange.org>
9 years agoContinued CSV parsing:
Roland Haeder [Thu, 5 Mar 2015 01:56:56 +0000 (02:56 +0100)]
Continued CSV parsing:
- Introduced readCsvFileLine() which reads a line from a CSV file and parses it to an indexed array
- Introduced readLine() which will read a line (not limited) from a text file
- Method read() will now work without parameters (depending on implementation, e.g. binary files must always be read with a buffer length)
- Other improvements
- TODOs.txt updated

Signed-off-by: Roland Häder <roland@mxchange.org>