SMF icon indicating copy to clipboard operation
SMF copied to clipboard

Time to wrap-up?

Open emanuele45 opened this issue 14 years ago • 32 comments

We have several things in place and several pending, we are also "a bit" behind the schedule (not that there was any schedule :P), so maybe it's time to put a stop and wrap-up what we have.

Any objection if from Monday only bug-fixes will be accepted? (pull requests pending will be processed)

BTW I'm not the one that has to decide. :P

emanuele45 avatar Jul 27 '12 09:07 emanuele45

Are Ant's changes considered bug fixes, as his Curve fixes are a damn help to 2.1 :P

Trekkie101 avatar Jul 27 '12 09:07 Trekkie101

Curve is already there, it needs to be fixed so... :P

(BTW I have almost no idea what he is doing, I didn't follow the theme)

emanuele45 avatar Jul 27 '12 10:07 emanuele45

Ok :) he's ripping up some parts of the code and making it look a bit better. I just see whats on the board. But I fully agree on feature blocking and then bug fixing campaign :)

Trekkie101 avatar Jul 27 '12 10:07 Trekkie101

Its a mystery for sure (well other than a few screen pics), but my guess is it will not be drop and play. It started as cleanup as was in the 2.1 goals, now its appears to be curve 2, the return of the penguin dressed in curve :P

Spuds avatar Jul 27 '12 13:07 Spuds

I'd like an exception for features(s) to handle the mobile stuff. For example, we'll probably need to add code to auto-detect and display the mobile theme. Things like that.

IchBin avatar Jul 27 '12 14:07 IchBin

I think thats fine ... it was part of 2.1 goals and should only require source tweaks at this point

Spuds avatar Jul 27 '12 15:07 Spuds

I'm fine with it as long as you start a new branch for things that won't be going into SMF 2.1 :D

mikemill avatar Jul 27 '12 17:07 mikemill

Will there be a 2.2, out of curiosity?

live627 avatar Jul 27 '12 20:07 live627

I want to continue the 2.x line as long as it takes to get a new major version out. There should always be a branch for the next minor version.

As for wrapping up, I am all for it. I think we should look to push this out. Out of curiosity, there has been some talk about the pass-by-references in hooks, is that considered a bug or a feature? I think it will take a lot of work to get that working without issues but they make it so PHP 5.4 isn't really supported.

joshuaadickerson avatar Jul 27 '12 21:07 joshuaadickerson

Re this: "Its a mystery for sure (well other than a few screen pics), but my guess is it will not be drop and play. It started as cleanup as was in the 2.1 goals, now its appears to be curve 2, the return of the penguin dressed in curve :P"

Yeah it's a little bit like that, but with the important difference that, outside of a few key templates, the minor changes that are made in a range of templates shouldn't affect existing themes and mods. Basically I've just added more classes for styling existing useful elements, while getting rid of unnecessary old spans, etc.

It will still require some CSS revision in old themes, but not a lot. I can create a checklist against 2.0 Curve once Return of the Son of Penguin is sorted. :P

ghost avatar Jul 27 '12 22:07 ghost

Good to hear, I think a checklist will be a big help to the community ... between the template redo and the editor redo things are somewhat different to say the least ...... and OMG Ant's on GitHub !

Spuds avatar Jul 27 '12 22:07 Spuds

Out of curiosity, there has been some talk about the pass-by-references in hooks, is that considered a bug or a feature?

The way I'm currently using to define a bug is: is the relevant code in the current codebase? If the answer is yes: then it's a bug. If the answer is no: then it's a new feature.

If you want to add a new hook that doesn't exists that's a new feature, if you want to fix the behaviour of a present hook it's a bug-fixing.

emanuele45 avatar Jul 27 '12 22:07 emanuele45

I must say that doing the theming this time has been an absolute joy compared to doing it for 2.0, when I still had to contend with IE6 and IE7. 95% + of stuff just works now, in all browsers (apart from CSS3 frills not showing in IE8).

Note that I still haven't touched RTL, but that's just a bit donkey work once LTR is sorted. Not a big deal. I'll get a demo up today so the crew can start freaking about stuff. :D

ghost avatar Jul 27 '12 22:07 ghost

Is this the feature set we want? I feel we could do some more work on this still. What are we aiming for? Beta 1 or just a feature lock at this point?

It almost feels too early to do a Beta 1 release. I wanted to see some features make it to 2.1 still. I will work on those ideas as I can, hopefully having a pull request for one of them next week.

jdarwood007 avatar Jul 29 '12 21:07 jdarwood007

Feature lock and start public testing.

If we lock "now" we should (if we are lucky) be able to ship before Christmas, continue adding features and wait more means we will directly aiming at 2013.

Personally I would really really like to ship 2.1 final before the end of the year...

emanuele45 avatar Jul 29 '12 21:07 emanuele45

Ok, so you are looking to lock and go stable. So basically we are looking to get a beta released soon. Feature locks mean no no features, however as a beta it means we still can do significate changes if need be.

In the playpen Josh and I had with 2.1 originally, we had a test of fixing up the $context['browser'] to a function and had it using some better detection which reduced the amount of checks we performed, which is less variables being used. Of course that means that themes can't use $context['browser'] anymore, but isBrowser('firefox') would be the same as $context['browser']['is_firefox']. Benefits come from the fact that we do detection for the basics, such as browser. Then once a browser was detected we would drill down to specifics, such as version (ie for things like is_ie8). While it contains a lot of changes to the code, I think its something we should push into the code.

jdarwood007 avatar Jul 29 '12 21:07 jdarwood007

Theme is in my repo now. Still needs some rationalisation for consistency and brevity in some places, but nothing that's a big deal. It's basically just join the dots now. So I'm calling the theme "feature locked" and ready for the mob. I already have a private hitlist of things it needs sorted, but no doubt everyone will tell me about them anyway. :D

ghost avatar Jul 29 '12 22:07 ghost

All of the isBrowser() stuff is in there, has been for quite some time.

The detection functions were moved to Class-BrowserDetect.php which TBH was put together rather quickly so feel free to tune that up (the detection is output is part of the debug stuff now to make test spoofing a bit easier), actually noticed a simple miss in it yesterday while looking at some of our less than clever easter eggs,

Please note that it still populates the old $context['browser'][''] since we really don't want to break things that are easily preventable. That part of the function should be flagged as depreciated and targeted to be removed in 2.2 (IMO), this gives the community time to adapt before we pull the rug out.

ETA: Any updates to function are in my somefixes branch in my playpen repo

Spuds avatar Jul 29 '12 22:07 Spuds

Oh I didn't even see that. Good to know that made it in.

jdarwood007 avatar Jul 29 '12 23:07 jdarwood007

Jeremy, if you still have that code that we did, you could setup a fork so we incorporate it in 2.2 although that might be a little soon.

joshuaadickerson avatar Jul 30 '12 15:07 joshuaadickerson