Archive for November, 2006

SPAW Editor v.2 Teaser #3: Floating Toolbar

November 28th, 2006 by ailon

You can have a single toolbar controlling several SPAW instances. This toolbar could either be docked to one of the editors or floating around the screen. You can also have additional “standalone” SPAW instances on the same page or additional instances with separate “floating toolbars”.

Click on the image to enlarge (since new buttons are still in development SPAW 1.x theme was used for this demo).

.NET 3.0

November 25th, 2006 by ailon

I needed to tweak some things in one old project I made on .NET 1.1. So I went to MSDN site to download SDK for .NET 1.1 and what do I see - announcement of .NET 3.0 release. I was like WTF!? They’ve released 2.0 only a year ago (or so) and I managed to do only a couple of small projects with it and now 3.0…

After a quick examination I found out that 3.0 is nothing more than technology formerly know as WinFX glued on top of .NET 2.0 so I was relieved.

These managers are as good in picking product names as always.

SPAW Editor v.2 Teaser #2: Resizing

November 23rd, 2006 by ailon

Users will be able to resize SPAW. It could be set to resize in both horizontal and vertical directions, in vertical or horizontal only and not to resize at all. When SPAW is in fully resizable mode users can hold ctrl while resizing to limit resizing to vertical direction or shift for horizontal.

SPAW Editor v.2 Teaser #1: Color picker

November 20th, 2006 by ailon

Let’s start publishing some things about SPAW v.2. Here’s a new version of color picker. Almost like in “real” image editors:

color picker

New theme (skin) is still a work in progress but you get the idea. 

Honey, I Can Crash Firefox With JavaScript!

November 18th, 2006 by ailon

While developing SPAW v.2 I’ve managed to write some JavaScript code that crashes Firefox (both 1.5 and 2.0) with 100% probability. I would like to submit the bug to bugzilla but I can’t reproduce it in a simple test script and submitting the whole SPAW v.2 code would be a little to much.

Blog Exclusive: SPAW v.1.2.3 Hidden Feature - Code Snippets

November 17th, 2006 by ailon

There’s a hidden feature in SPAW v.1.2.3. I didn’t announce it by any “official” means because it was developed to fulfill our current need in a way that might not be the best overall (but it was enough in our situation so it might be fine in yours too).

What it does is adds a dropdown to the toolbar and when you select an item from that dropdown SPAW surrounds currently selected content (or replaces it if you want) with some predefined code. For example you can add a snippet that surrounds currently selected image with a frame that includes predefined place for image caption.

So, in case you are interested in using this feature you’ll need to do the following:

1) Add your snippets to config file or to your script like this:

$spaw_dropdown_data[’codesnippet’][htmlentities(’<b><i><u>%%CURRENT_CONTENT%%</u></i></b>’)] = “Bold, italic, underline”;

Here $spaw_dropdown_data[’codesnippet’] determines that this goes to ‘codesnippet’ dropdown, htmlentities(’<b><i><u>%%CURRENT_CONTENT%%</u></i></b>’) is the actual code snippet (this is a weak place because this goes as a value for the dropdown option, so use it wisely) and “Bold, italic, underline” is what is shown in the dropdown. %%CURRENT_CONTENT%% is a pseudo tag which will be replaced by currently selected content. You can omit %%CURRENT_CONTENT%% if you just want current content to be replaced by the snippet. You can have as many lines like this as you want.

2) Add ‘codesnippet’ dropdown to your toolbar. Add the following code to the toolbar file of your choice

array(
  ’name’ => ‘codesnippet’,
  ’type’ => SPAW_TBI_DROPDOWN
),

And this is it.

SPAW Editor PHP Edition 1.2.3 Released

November 16th, 2006 by ailon

We have just released version 1.2.3 of SPAW Editor PHP Edition. It fixes a couple of bugs, adds code cleanup feature for Gecko based browsers and adds Latvian language file.

You can download it from sourceforge.net

Here is a changelog for this release:

  1. FEATURE ADDED: HTML cleanup under Gecko
  2. CHANGE: dialog boxes are now resizable under Gecko (various plugins were introducing problems to the size)
  3. BUGFIX: XHTML rendering: text was not html encoded
  4. BUGFIX: not all empty tags should be rendered without closing tag (textarea, etc)
  5. BUGFIX: Flash insertion didn’t work in IE7
  6. LANGUAGE FILE ADDED: Latvian language file added

This is probably the last 1.x release before the first public v.2 release (unless some serious bug is found in 1.2.3)

Destination host unreachable

November 15th, 2006 by ailon

I was planning to release SPAW version 1.2.3 today but I get “destination host unreachable” error trying to access our CVS repository at sourceforge.net. So, the release is postponed until it becomes accessible (hopefully no later than tomorrow)

Bad bLuck

November 14th, 2006 by ailon

I came to work on Friday eager to further develop SPAW v.2 but found my PC “hanging”. In a couple of seconds it started working but veeerrryyy slowly. I started full scale investigation of the reasons of such cruel behavior just to find that my hard drive is dying. There were a couple of bad blocks and the number was growing. So I forgot about new work and started saving old (actually everything really important was secure in different locations but I still had to save some semi-important stuff).

I also found out that warranty for the HDD expired a couple of months ago but found a spare (though smaller) drive in our old unused server. When I was formatting that drive it appeared that it has some bad blocks too. But these seemed to be steady so I proceeded. When Windows was installed it refused to activate via Internet saying that my key was already used too many times and I should proceed over the phone. I had to dictate something like 20-30 digits to the Microsoft lady and she had approximately the same amount for me.

Btw, situation with my old drive stabilized. So, now I have 2 wounded drives in my computer and am actually sitting on a time bomb.

At least there was this message in system event log that gives a little hope

Help Needed

November 11th, 2006 by ailon

I’m looking for someone who uses non-english version of some image editing software or something that has color selection tool. What I want to know is whether color spaces like RGB, HSB, etc. are translated to your language or not? And the same about labels near seperate color values (R, G, B, H, S, B)

Thanks!