New revs

Nao

  • Dadman with a boy
  • Posts: 16,063
Re: New revs
« Reply #2925,  »
[Commit revision 9fd7470]
Author: Nao
Date: Sat, 11 May 2019 13:45:27 +0200
Stats: 1 file changed; +1 (insertion), -1 (deletion)

  • Fixing harmless issue when when trying to request a negative number of topics on the homepage. (Home.template.php)
Re: New revs
« Reply #2926,  »
[Commit revision 294d044]
Author: Nao
Date: Sat, 11 May 2019 19:00:02 +0200
Stats: 2 files changed; +5 (insertions), -5 (deletions)

  • Implemented proper calc() support in Wess. Well, that was easier than expected... I thought I'd have forgotten how to write proper recursive regexes by now. (Class-CSS.php, Subs-Cache.php)
Re: New revs
« Reply #2927,  »
[Commit revision a51158f]
Author: Nao
Date: Mon, 13 May 2019 20:50:43 +0200
Stats: 1 file changed; +2 (insertions), -2 (deletions)

  • Fixed calc() recursive pattern: it was trying to match against the whole pattern, instead of the second group of brackets. Also simplified the rest of the pattern. (Class-CSS.php)
Re: New revs
« Reply #2928,  »
Quote from Nao on May 13th, 08:50 PM
  • Fixed calc() recursive pattern: it was trying to match against the whole pattern, instead of the second group of brackets. Also simplified the rest of the pattern. (Class-CSS.php)
Not that it matters, but the reason I didn't notice the bug earlier was that usually, calc() calls don't include nested brackets, so I didn't test against a stronger string like 'calc(100% + (7px / 1em))', and even then, it probably would have worked in your browser even if not matched.
Re: New revs
« Reply #2929,  »
[Commit revision a0fe1de]
Author: Nao
Date: Wed, 26 Jun 2019 11:27:04 +0200
Stats: 1 file changed; +20 (insertions), -15 (deletions)

  • Updated thought (comment) editor to use asynchronous loading of comments with BBCode in them. Previously, it would wait for them to be retrieved, which now triggers a warning in the browser console. (script.js)
  • Fixed potential error when prefetching the next page of messages in a topic. I haven't seen it happen at wedge.org, but it happened at lestrades.com, so I'm guessing this is more of a fix for heavily modded forums that play around with a lot of events. (script.js)
Re: New revs
« Reply #2930,  »
[Commit revision 8b92ee8]
Author: Nao
Date: Wed, 26 Jun 2019 14:42:54 +0200
Stats: 1 file changed; +8 (insertions), -26 (deletions)

  • Fixed #80. This is why I never use switch() in my code: it's confusing (PHP 7.3 seems to report a bug here), and it's longer than if() tests. Rewrote this one to something understandable, and not buggy. (Subs.php)
Re: New revs
« Reply #2931,  »
[Commit revision 4b83267]
Author: Nao
Date: Tue, 02 Jul 2019 23:10:14 +0200
Stats: 1 file changed; +8 (insertions), -8 (deletions)

  • Updated Wess to remove prefixes from more modern browsers. (Class-CSS.php)
  • Details: Android 4+ browser supports box-shadow unprefixed; Firefox 29+ supports box-sizing unprefixed; Firefox 43+ supports hyphens unprefixed; Firefox 65+ supports column breaks unprefixed; Safari 9+ (also on iOS) supports flex unprefixed. Data courtesy of caniuse.com, as usual. Well, if I had a way to check these things automatically, that'd be nice...
Re: New revs
« Reply #2932,  »
[Commit revision f6c20a4]
Author: Nao
Date: Mon, 07 Oct 2019 20:03:54 +0200
Stats: 1 file changed; +5 (insertions), -2 (deletions)

  • Admins couldn't search for members in the admin area without specifying an IP, because the code was incorrectly trying to expand empty IP addresses and would thus force searching for an invalid IP. (ManageMembers.php)