[bugfix] fix of bug 3445900 "Restore writes info messages to sys error " ( https://sourceforge.net/tracker/?func=detail&aid=3445900&group_id=17691&atid=117691 )

svn path=/stable/eXist-1.4.x/; revision=16187
[bugfix] Prevent NPE ; fix of report 3400770 by r_botto ( https://sourceforge.net/tracker/index.php?func=detail&aid=3400770&group_id=17691&atid=117691 )

svn path=/stable/eXist-1.4.x/; revision=16235
[bugfix] Transaction was never commited, hence a trigger was never fired. Bugid 3419602 by r_botto ( https://sourceforge.net/tracker/?func=detail&aid=3419602&group_id=17691&atid=117691 ) 

svn path=/stable/eXist-1.4.x/; revision=16236
[ignore] preparing 1.4.2 final version

svn path=/stable/eXist-1.4.x/; revision=16237
[bugfix] updated mondial.dtd to match new file on remote server. Bug 3514166 reported by Isidre Guixà ( iguixa ) [https://sourceforge.net/tracker/index.php?func=detail&aid=3514166&group_id=17691&atid=117691] 

svn path=/stable/eXist-1.4.x/; revision=16238
[ignore] preparing for 1.4.2 final version

svn path=/stable/eXist-1.4.x/; revision=16239
[ignore] - removed stdout debug output from xslt

svn path=/stable/eXist-1.4.x/; revision=16241
[ignore] preparing for 1.4.2 final version

svn path=/stable/eXist-1.4.x/; revision=16244
[performance] Improved performance when using ft:query(): the function did not set type information on the returned node sets, thus forcing calling code to perform additional and expensive type checks. Port of rev 16233.

svn path=/stable/eXist-1.4.x/; revision=16251
[ignore] preparing for 1.4.2 final version - last attempt including significant performance increase of lucene index

svn path=/stable/eXist-1.4.x/; revision=16254
[bugfix] Reindex operation needs to lock the collection tree or there might be index corruptions if concurrent threads are uploading data. Port of rev 16414 from trunk.

svn path=/stable/eXist-1.4.x/; revision=16460
[performance] Optimizer did not analyze typeswitch/switch and except/union/intersect, so expressions below those were not optimized. Port of rev 16599.

svn path=/stable/eXist-1.4.x/; revision=16601
[performance] Collection cache was not scaling up properly to the limits set in conf.xml. This was a severe performance issue on databases with lots of collections (> 10000) and documents.

The cache has been fixed to scale up to the defined memory limit almost immediately if required.

Port of rev 16836.

svn path=/stable/eXist-1.4.x/; revision=16837
[bugfix] Avoid unnecessary recovery runs: if a long-running query had to be killed during shutdown, eXist started a recovery run upon next startup - even though all transactions might have been committed. Recovery runs are always risky, so it is better to avoid them. I thus changed the transaction manager to keep track of uncommitted transactions. If there are no uncommitted transactions, a checkpoint will be written and the system will not attempt a recovery. This should improve overall stability.

svn path=/stable/eXist-1.4.x/; revision=16975
[bugfix] Further improvement on crash recovery: ignore a started transaction, which is otherwise empty (i.e. no write operations were done).

svn path=/stable/eXist-1.4.x/; revision=16976
[bugfix] Added more checks on the XQuery watchdog and thus allow a long running query to be aborted properly.

svn path=/stable/eXist-1.4.x/; revision=16984
[bugfix] Added more checks on the XQuery watchdog and thus allow a long running query to be aborted properly.

svn path=/stable/eXist-1.4.x/; revision=16985
[bugfix] Set correct module load path for modules imported from URI.

svn path=/stable/eXist-1.4.x/; revision=17021

[feature] Added configuration option enforce-index-use=strict|always to control how range range indexes will be used if only parts of the collection hierarchy define a matching index or indexes are inconsistent across collections. Experience showed that new users often have problems with the "strict" behavior, which was previously the default. With setting "always" the query engine relies on the user to define the correct indexes. It is easier to see why a certain collection is missing in the result than to understand why a query is breaking down due to inconsistencies in the indexing. Port of revs 15780, 15781 and 17114 from trunk.

svn path=/stable/eXist-1.4.x/; revision=17116
[ignore] preparing for release 1.4.3

svn path=/stable/eXist-1.4.x/; revision=17123