Author Topic: MIA  (Read 4942 times)

0 Members and 1 Guest are viewing this topic.

JRS

  • Guest
MIA
« on: June 07, 2011, 08:45:46 PM »
Hi Charles,

Are you on holiday or locked in your room and can't get out?   ???

A simple ping would make me feel better knowing you're okay.


John

Charles Pegge

  • Guest
Re: MIA
« Reply #1 on: June 07, 2011, 09:03:30 PM »

Hi John,

I have been beavering away. Alpha35 coming up :)

Charles

JRS

  • Guest
Re: MIA
« Reply #2 on: June 07, 2011, 09:32:13 PM »


Anything for SB in the mix?


Charles Pegge

  • Guest
Re: MIA
« Reply #3 on: June 07, 2011, 10:12:53 PM »
John,

I have one major task before we procede and that is to reconcile Oxygen's string management system with multithreading. I think it is not practical to make it re-entrant so I envisage using thread locks for every  expression/line using heap memory.

Charles

JRS

  • Guest
Re: MIA
« Reply #4 on: June 08, 2011, 05:40:26 AM »
Thanks for the update Charles.

You may want to take a look at Peter Verhas's MyAlloc before doing this from scratch.

« Last Edit: June 08, 2011, 06:37:52 AM by JRS »

Charles Pegge

  • Guest
Re: MIA
« Reply #5 on: June 09, 2011, 12:02:55 PM »

John,

Allocating and releasing strings is fairly easy. But the entire string management system includes a concatenation buffer which has to maintain its state across potentially any number of procedures, as a string is being constructed, before it is assigned to a variable.

I understand thread granularity is fairly coarse (say 1 to 10mS) so it makes sense to ensure that a thread has exclusive access for each statement involving a string operation.

I think this needs to be entirely controlled by the programmer rather than attempting to do it automatically in the compiler.

Charles

o2admin

  • Administrator
  • *****
  • Posts: 21
  • OxygenBasic
    • Oxygen Basic
Re: MIA
« Reply #6 on: June 10, 2011, 02:18:51 PM »
Many thanks for restoring the forum John.

Have you any idea what caused it to collapse when all I did was to uninstall the highlighter package? I did not anticipate such a result!

Would it be possible to install the highlighter to theme1 rather than the default theme?

Charles

JRS

  • Guest
Re: MIA
« Reply #7 on: June 10, 2011, 02:55:17 PM »
Don't blame yourself, it might have been a poor job on the mod authors part not testing the removal part.

Let me know when you feel comfortable with the new messages after the 6th and I'll do another backup before trying again with the syntax highlighter.

Charles Pegge

  • Guest
Re: MIA
« Reply #8 on: June 10, 2011, 03:11:33 PM »

I had to restore one web page but all the Oxygen zips were intact. I bit of scrambling on recent forum posts is no problem.

Charles

kryton9

  • Guest
Re: MIA
« Reply #9 on: June 10, 2011, 04:23:29 PM »
Thanks John for efforts. Currently I am unable to see the highlighting... I checked for my theme setting but couldn't find it. I did see a setting that mentioned default scheme for the date format.

Sorry to hear the forum was down because of adding and trying this feature. I have not set up a forum before, other than just trying them and quickly removing them. I saw how much work it is to make a really cool forum, so the work you guys do is really appreciated!

Charles Pegge

  • Guest
Re: MIA
« Reply #10 on: June 10, 2011, 10:19:01 PM »

I think it's safe to go ahead with the highlighter John. I have downloaded copies of all the sources and themes. If it won't work with theme1 then we can go with the default theme and I will modify that.

Charles

JRS

  • Guest
Re: MIA
« Reply #11 on: June 10, 2011, 10:51:59 PM »
I think the next step is to get your OxygenBasic .js file built. The highlighter is rather useless without it. If you run into any issues or have questions building this file, I'm sure Eros would help as he has already been down this road building it for the vBulletin forum. The most important backup is the forum MySQL database. I'll do another site backup before I try this again.

It's approaching the end of my day and I'll get the highlighter installed tomorrow.
« Last Edit: June 10, 2011, 11:06:49 PM by JRS »

Charles Pegge

  • Guest
Re: MIA
« Reply #12 on: June 10, 2011, 11:16:31 PM »
I will clone it from the java or C++.

Charles

JRS

  • Guest
Re: MIA
« Reply #13 on: June 10, 2011, 11:45:40 PM »
The SyntaxHighlighter mod has been installed but under the default theme. (never given an option to chose a different theme) I guess you are going to have to copy your mods to the default.

Goodnight.

« Last Edit: June 11, 2011, 09:27:26 AM by JRS »

o2admin

  • Administrator
  • *****
  • Posts: 21
  • OxygenBasic
    • Oxygen Basic
Re: MIA
« Reply #14 on: June 11, 2011, 05:49:24 AM »

Good Morning John,

My solution is to copy the style sheet of theme1 to default theme.

I have made progress with the highlighter, - hijacking the shBrushJava.js. It was not interested in an O2 file. So these must be held as a fixed list somewhere.

It answers to the following:

[ code] as before.

Any of these will respond to O2 syntax

[ code=o2]
[ code=o2h]
[ code=oxy]
[ code=[oxygen]
[ code=o2bas]

This is a rough draft. I have not covered all the keywords yet.

Charles