39 Commits

Author SHA1 Message Date
azett
104b960211 PHP 8.2 compatibility: Fixed more "Creation of dynamic property is
deprecated" errors
2024-01-21 13:44:35 +01:00
azett
107f6d99eb Added missing properties to fix "Dynamic properties are deprecated"
errors under PHP 8.2
2023-10-28 13:56:05 +02:00
azett
61ec0d9f4d fixed some more each() calls;
core.utils.php: added new function utils_array_kshift();
code formatting changed slightly
2018-10-23 12:24:43 +02:00
azett
d8de4bfb02 Replaced some more class-named constructors (and calls to them).
Removed unused and/or commented code.
Replaced calls to deprecated each() with array_shift() (not completely done yet, still some more to fix!).
Replaced call to deprecated create_function() with real callback function.
2018-10-03 13:53:40 +02:00
azett
6b8a4776df Included Matthias Mauch's PHP7.1 patch. Besides other changes regarding PHP7 compatibility, it replaces all the class-named constructors with __construct(). Thanks a lot, Matthias!
Please visit his website http://www.aadmm.org/fp-patch/ and read patch-description.txt to learn more about the details of the patch.

I adapted the patch slighty: It now does not just add a __construct() function to the existing class-named one, instead it replaces it completely. Therefore, some parent::__construct() calls had to be changed, too.
2018-10-03 11:00:55 +02:00
real_nowhereman
2b054364fe in_array converted strings to INTs before leading to errors on some architectures.
fixed by making all calls to in_array and array_search STRICT (3d param, bool = true)
(thanks to henkjan)
2010-11-05 09:05:47 +00:00
real_nowhereman
b8be9cb27a fixed a VERY nasty bug with BPlusTree (header was erroneously overwritten) 2009-12-10 20:47:55 +00:00
real_nowhereman
345ad28d5f bplustree: making a message more explicit (walker)
fpdb:      fixed problem with single post navigation (new method)
2009-12-03 10:41:54 +00:00
real_nowhereman
c601593a59 should suppress the other E_STRICT error 2009-11-30 17:35:56 +00:00
real_nowhereman
483b98f330 fix for boring signature conflict (PHP5.3.1) 2009-11-30 17:23:45 +00:00
real_nowhereman
1f7fcf6f38 caching_BPT/caching_SBPT did NOT really cache a heck, sinche $cache was the local variable!
also, fixed broken pass-by-ref which broke loose search for SBPT
2009-11-17 15:25:45 +00:00
real_nowhereman
eccfec41ee porting to PHP5-style object assignments (it should work now...) 2009-07-23 15:19:06 +00:00
real_nowhereman
72880e6e16 congrats, we're back to this morning! :D (temporary workarounds) 2009-07-21 16:46:09 +00:00
real_nowhereman
744e16a9bb reverting awful mess in fp-includes 2009-07-21 16:41:35 +00:00
real_nowhereman
5e7f579ff5 future proofing, changed all object assignments to PHP5-style 2009-07-21 07:24:42 +00:00
real_nowhereman
06d15d67fd temporary fix for php5.3 2009-07-20 17:33:31 +00:00
real_nowhereman
d46ac619b5 suppress notice 2009-02-06 20:16:01 +00:00
real_nowhereman
f153a25b39 typo cause index to fail; fixed minor issues with static pages 2009-02-04 22:46:20 +00:00
real_nowhereman
d5e666a1a1 big commit: implemented sort-of 2-phase (3-phase actually) safe commit in FP; first entry is saved as draft, then content is moved along when indices have been succesfully updated; this way if btree fails, entry is anyway kept in a safe place; added a few cosmetic changes, a bunch of new, more descriptive language strings for the entry panel; added a "you are editing a draft" notice in the panel; hope you will like it :) 2009-02-03 16:53:52 +00:00
real_nowhereman
9413e4dee7 missing $place-1 caused returning following item in getitem() 2009-02-03 16:26:05 +00:00
real_nowhereman
68dd57242a fixing another BAD unsigned-long related bug, by re-defining the NULL and NULLSEEK value to 0, since an unsigned long cannot of course be -1! this will require you to kindly rebuild your index 2009-01-17 16:40:35 +00:00
real_nowhereman
aeadfd3a74 again suppressing notices... 2009-01-03 19:59:34 +00:00
real_nowhereman
45aabd2427 fixing loose search edge case 2009-01-03 13:50:18 +00:00
real_nowhereman
769236ff33 fixing dumb notice (php4 compat) 2009-01-03 12:08:22 +00:00
real_nowhereman
d86ddd0eae php4 compatibility 2009-01-01 19:11:34 +00:00
real_nowhereman
aa1b273031 preparing for .812; fixed version number, added rebuild index option in MAINTAIN panel, muted debug mode in bplustree 2008-12-23 10:56:24 +00:00
real_nowhereman
96ca82205a *really* fixing matching brackets 2008-12-08 08:42:03 +00:00
real_nowhereman
3efe77d517 typo, remove closing bracket 2008-12-07 20:37:50 +00:00
real_nowhereman
009032c95c TERRIBLE bug to appear right before the discussion of my thesis, but in fact quite trivial: a long were read as unsigned, while in fact it was signed 2008-12-07 14:04:58 +00:00
real_nowhereman
e052fa4e4a huge commit, bringing back text links, even though not completely functional if nextpage link comes _before_ the {entry} block; the commit contains the 'loose' search option for bplustree, which lets loosely search the tree for the nearest key to a given search key, which makes the thing possible; a few fixes to 404 error handling and related prettyurls stuff 2008-11-12 16:54:40 +00:00
real_nowhereman
993c58fc4e reverting back bplustree to ceiling.. hope it works 2008-09-18 16:19:51 +00:00
real_nowhereman
d16d523b23 pagination now working, archives working, set comments=false as default 2008-09-14 10:01:57 +00:00
real_nowhereman
29a9e6bbd1 suppressing "file not found" errors for indices, fall back to 404 error; correctly return seek position when inserting into SBPlusTrees 2008-09-08 15:20:07 +00:00
real_nowhereman
621cefb175 [BPlus] fixing seek pos in string file 2008-09-08 08:33:38 +00:00
real_nowhereman
522d3616b8 fixed typo in bplustree and workaround for notice in return value (reference) 2008-09-08 08:21:00 +00:00
real_nowhereman
141ef1292a iterators should now work; need to update the behaviour of the upper lever classes 2008-09-07 15:19:13 +00:00
real_nowhereman
8df42deeba now FP set-ups (first need to create fp-content/index/); it won't work anyway 2008-09-07 14:43:17 +00:00
real_nowhereman
dea2a2fa87 a few preliminar changes, not working yet 2008-09-06 10:10:30 +00:00
real_nowhereman
caa6e32751 first commit of bplustree class 2008-09-04 15:17:50 +00:00