KompoZer 0.8b1
By Kazé on Monday, October 12 2009, 02:56 - Permalink

Finally entering the beta stage. Few bug fixes, but I've implemented the last features I wanted for the 0.8 branch:
- FTP support
- syntax highlighting in split view
- ability to edit text files
- better PHP support on GNU/Linux
- new SVG icon
- new UUID
You can grab KompoZer 0.8b1 here:
kompozer-0.8b1-win32.zip (Windows™ archive)
kompozer-0.8b1-mac-universal.dmg (Mac OS X™ disk image)
kompozer-0.8b1-gcc4.2-i686.tar.gz (GNU/Linux archive)
kompozer-0.8b1-src.tar.bz2 (source tarball)
Enjoy… and please report bugs! :-)
FTP support
All previous versions (Mozilla/SeaMonkey Composer, Nvu, KompoZer 0.7.x) relied on a nsWebBrowserPersist object to publish files on a remote FTP server. Basically, this is the same mechanism as when you save a “full” page with Firefox (i.e. including images, stylesheets, etc.): the HTML document is published more or less where you want it, but all related files have to be in one subdirectory. This is fine if you only want to publish a single page, but it has two main drawbacks:
- you can’t keep a single stylesheet for all HTML pages on a website;
- it can't be used to publish linked files like PDF documents, media files, etc.
KompoZer 0.8b1 now has a real FTP upload feature. Most of the credit goes to Mime Čuvalo, developer of FireFTP, who allowed me to reuse his main FTP class in KompoZer.
In this version, it’s only available in the Site Manager (right-click > “Publish…”); I still have to tweak the “Publish” button in the main toolbar to publish the current HTML documents… and all its related files. One of the nice things is, this FTP upload will create all the necessary remote folders to ensure we have the same directory structure on the remote site and on the local disk. With this upload feature, the workflow is more DreamWeaver-like: first edit your files on your hard disk, then publish them to a remote server.
Compared with previous versions, this should also bring some support for passive mode and FTPS — this has to be tested yet. Unfortunately, there's no SFTP support and I’m afraid there won't be any in this 0.8 branch: the Mozilla core has no SSH support we could use for SFTP. I understand this is a major limitation, and I'll see what we can do to have a proper SFTP support in the 0.9 branch… but I can’t work on this for KompoZer 0.8.
In the SiteManager, I’ve dropped the remote tree for now. I'm not sure yet to re-implement it: I might prefer to adapt FireFTP to KompoZer, in order to keep the SiteManager as simple as possible.
Syntax highlighting in split view
In the previous versions, the split view used a deck to:
- display the source in a <browser> element (with syntax highlighting)
- edit the source in a <textbox> element
I didn’t mind having a modal editor for this split view — I’m a Vim fanboy — but wasn’t pleased to lose the syntax highlighting when entering the edit mode. So this deck has been replaced by an <editor> element, that both displays and edits the HTML code of the current element. This is much more comfortable to use, I hope it won’t cause too many bugs.
Before you ask: no, there’s no syntax highlighting in the “Source” tab yet. But try to use the split view and select the <html> element (either in the status bar or on the DOM Explorer sidebar), and you’ll have an idea of what the “Source” tab will look like in the next version.
Ability to edit text files
Mozilla/SeaMonkey Composer is able to edit text files. It’s just a Notepad-like feature, but it works. Because of the way tabs have been implemented in Nvu 1.0 and KompoZer 0.7, we lost this feature. Even worse, it wasn’t possible any more to export any HTML document as text.
I’ve tried to solve this in this release. It works quite well for ASCII files but it’s not suitable for other encodings yet - but at least, this should be enough to edit an .htaccess file. The user interface should disable all toolbar buttons and menu items that are specific to HTML, but I’ve seen a few bugs already.
For the next versions, I’ll try to implement some syntax highlighting for text files. There’s a bunch of JavaScript syntax highlighter around, we’ll just have to pick one and use it to transform a text file to an HTML one. That will bring the same pseudo syntax highlighting we have in split view.
Better PHP support on GNU/Linux
One of the very irritating bugs in Nvu 1.0 and KompoZer 0.7 was that it couldn’t edit *.php files on GNU/Linux. I’m not speaking of a PHP class file: save an HTML page with a *.php file extension, try to open it with Firefox or KompoZer and you’ll get a pop-up asking you to choose an external editor to open it. This behaviour is caused by the MIME-type handling on GNU/Linux.
A pretty nice workaround has been brought by Vivien Nicolas — Fennec contributor known as “vingtetun” on irc.mozilla.org. His patch consists in a “phpStreamConverter” component, which is fired when KompoZer has to open a PHP file: the input application/php stream is converted into a text/html one, and sent to KompoZer.
One of the nice things in this component is that we can use it to check wether the PHP file is editable in wysiwyg mode before opening it as text/html in KompoZer, without creating any temp file: if the PHP file doesn't have any Doctype or <html|head|body> node, it will be opened as text in KompoZer.
Another good news is that this component might be a good alternative to the patch we use on the Gecko core to handle PHP blocks in KompoZer. If we can get rid of that patch, KompoZer could be built as a pure XUL Runner app.
The main limitation at the moment is that I’m not sure this “phpStreamConverter” component can be used on Windows or Mac OS X. Gotta spend some time on this.
New SVG icon
As you can see, we’ve refreshed the icon a bit. Many thanks to Joaclint for his work and Zéfling for the feather he’s drawn! I’m glad we finally have a nice SVG icon for KompoZer.
Unfortunately, like many features in this first beta version, we have to work on this a bit more. The icon itself is fine as far as I’m concerned and it looks great on my Mac; but the XPM and ICO conversions gave such an ugly result that I couldn’t decently include it in this release. As a result, the application icon isn’t updated yet on Windows and Linux.
If you know a good way to convert an SVG file to XPM and ICO properly (i.e. without too much aliasing), please ping me. And if you know why we still need to use XPM for the application icons on Linux (resulting to ugly, aliased icons in the Alt-Tab), please explain me. :-/
For future releases, we’d like to replace the globe by the unbranded Mozilla one. We haven’t done it already because we don’t have a suitable SVG version of this globe yet, and we’d have to tweak the colors of the feather a bit to make it look nice in 16px.
New UUID
So far, KompoZer used the same UUID as Nvu: {136c295a-4a5a-41cf-bf24-5cee526720d5}
There were two reasons to that:
- KompoZer 0.7 has been developed as “Nvu’s unofficial bug-fix release”. I’ve hoped that Linspire would take KompoZer 0.7.10 and rebrand it as Nvu 1.1…
- I wanted to keep the compatibility with existing Nvu add-ons. There weren’t many Nvu add-ons, I didn’t want to cause more work to extension developers.
KompoZer 0.8 is a very different app, and doesn’t share much code with Nvu. We realised that the UUID compatibility has become a problem.
So here’s the new UUID: {20aa4150-b5f4-11de-8a39-0800200c9a66}
Extension developers and theme designers: please double-check you’re using the right UUID.
What’s next?
Don’t expect any new feature before the final 0.8 release: we’re now in the beta stage and I’ll focus on bug fixing from now on. Please report bugs in the SourceForge tracker: Frédéric Chateaux (QA lead) will have a close look at all your bug reports.
I rely on Cédric Corazza (l10n lead) and all l10n contributors to update the langpacks. Cédric will try to upload localized builds for all langpacks that are fully translated; for all locales that are partially translated, we’ll provide only langpacks.
There should be another beta version in November, and we’ll do our best to release the final 0.8 before the end of the year.
Comments
You shouldn't need xpm icons on Linux, we support png icons since Gecko 1.9.0. See bug 410215.
Great to see FTP added!! But, I'm still hanging on to Mac 10.3.9 and can't start this up. Is Panther now unsupported? If it is, I understand...!
Great, that's a good news :-)
Thank you! )))
@Mossop, it's still based on 1.8 :-) so he still needs them.
"PNG is recommended for bitmap icons and SVG is recommended for vector icons. The XPM format is provided for legacy support, including themes supported by older GNOME1/Nautilus1 systems."
http://live.gnome.org/GnomeArt/Tuto...
Yes, we’re still powered by Gecko 1.8.1 at the moment. Porting KompoZer to Gecko 1.9.3 is already planned, see bugs 477840 and 477845.
I’m glad to learn that PNG icons are preferred for Gecko 1.9+, though — thanks for this information! :-)
ocelotl> do you have the same problem with KompoZer 0.8-alpha? I’m not a Mac expert, but since I’ve built all KompoZer 0.8 binaries on Leopard it might not be compatible with Panther any more.
May I ask you why you’re still using Panther? I might revert to Tiger for the compatibility with the old “classic” apps, but I’m not sure that’d be enough to build a KompoZer binary that would work on Panther…
great news! thanks man )
I love this firewall, awesome job done fabi1 :P
Great News.....
thanx alot ..
Kazé - no, the alpha doesn't work either.
I'm only using Panther still because I don't buy OS upgrades and haven't upgraded my Mac for several years. Definitely time to catch up now, I'm 4½ years and 3 OSs behind, so lots of developers have left Panther support behind... which is understandable... thanks for all your work.
Your work is really really really appreciated.
Thanks, you rock man
Big thanks, Mr.Kazé. and its a big present for me!
Nice to have FTP integrated, but it doesn't work ...
In Site Manager "Site subdirectory" parameter is missing in the settings.
How do I install Kompozer 0.8b from file tar.gz download in my computer?
Thanks for your works, i like very much the new implementation.
Just stopped by to say how highly appreciative I am for the all the contributors of this project. Thank You!
Dude, really great job! I've been a user of Kompozer for quite some time.
I like the "split" thing which lets me do very fine-grained editing when needed. Keep up the good work man.
Wow, php support for Linux? I was about to give up on Kompozer. Great job, I've been using Kompozer for quite a while, and even thought I don't know anything else, I think that once that you learn how to use it properly you fall in love.
On Windows I was able to edit PHP files in Kompozer. These php files are the view files in a CodeIgniter application. So instead of having to hack out html code in Eclipse for my views, I can use Kompozer to visually prepare the view files. So far 0.8b1 seems to be more stable on Windows. Great job.
I think KompoZer is the most promising family of wysiwyg programs. Personally I use Dreamweaver only for two reasons.
Some things have been dragging on for some time:
- It's hard to nest layers (div) and control points
layers with absolute positioning are off-site.
I think if you improve support for working with layers, it would be killer.
Maybe it's just me, but I don't know why PHP support in KompoZer is such a big deal. Personally, if I'm coding PHP I'm using something like Eclipse PHP.
Failures with new javascript effects to photo galleries
ramses > I’m afraid your bug report doesn’t help much. Please file a bug in the official tracker with a sharper bug description (KompoZer version and platform) and don’t forget to join the HTML file that caused the problem.
Thank you making this html software available. I have had nothing but headaches trying to learn DreamWeaver and the Quark html does not allow me to add PayPal. Kompozer is easy to learn and use, and things stay where I put them.
Thank you making this html software available. I have had nothing but headaches trying to learn DreamWeaver and the Quark html does not allow me to add PayPal. Kompozer is easy to learn and use, and things stay where I put them.
Hi,
Is there anybody that has Site manager working under Intel 10.4.11? It is not working for me since 0.8a. I am going to report to tracker. I read some explanation sometime ago but hoped that beta will fix it.
Clicking on site brings just bw beachball. Site manager is homehow ill :-) at all.
I managed to open page via Open Web location and publish it back so far. But it degrades Kompozer to level of Amaya.
Other wise It is great news, beta version. I am looking forward to ditch PPC version so much. Universal version is so blazing fast :-).
What about to some cooperation with Amaya project to creat one killer Editor? Twou groups are doing the same. Each made some features working very well but not all. Join the energy not split it.
Just wondered if you had thought of integrating FileZilla for the FTP? It does SFTP etc.
Dave > I sure did, FileZilla being my favorite FTP client. I’ve chosen to use FireFTP instead because it relies on pure Mozilla technologies, and I think it makes more sense in the KompoZer context.
Building an XPCOM component for FileZilla or libCurl could be an option for the next branch (KompoZer 0.9), but I’d prefer to rely on Mozilla stuff instead. OpenKomodo has some SCP and SFTP support, so maybe I could try to backport some of the Komodo code to KompoZer… but again, that’s rather for the next branch.
Thank you, thank you, thank you.
I can not describe how happy I am with this IMHO stable beta version.
KompoZer is a great tool and I can not wait until the final version 0.8 is going to be released.
With a final version the old 0.7.10 and NVU will be the past and people are able to generate much more noise about this program.
This will increase the popularity a lot and there will be much more supporting people than now.
For those which love KompoZer as much as I do.
There are areas where you can help:
- Report Bugs
- Help to translate the program
- Spread the news about KompoZer in forums
- Write documents about how to use KompoZer
- Write guides who to start to build a webpages (with KompoZer)
- Update Wiki entries
etc..
Once again, many thanks to every body participating on this project and a special Thank You to you Fabien.
Hi. I'm using Slackware 13.0 64 bits.
I can't compile the source, because of some errors.
Do you know if there is a compiled version of 64 bits?
Thanks a lot and congratulations for your work.
Pablo.
When I try to connect to FTP server I get an error message, something like " 'epiphany can not be used. Mozilla initialization failure'. How can I solve it?
Forgot to mention, Ubuntu 904, Kompozer 08b1
I've been using 0.7.x for ages, played with the 0.8 alphas, and am very impressed thus far with the 0.8 beta. Where 0.7 added lots of blank lines in the HTML code, 0.8 doesn't do that. Kudos!
One problem for me: I use CSS to justify images right or left with whitespace around them. Using 0.7, I could click an image and apply a style to it. When I try to do the same thing in 0.8, it applies the style to the entire paragraph. Unfortunately, the biggest thing I do in KompoZer is apply styles to images (I still use ancient Claris Home Page for most writing and editing, then KompoZer to add styles, then TextWrangler and HTML Tidy to clean things up, then back to Home Page to upload site changes. I'm hoping the new site manager will allow me to switch to KompoZer there as well.) This happens in Mac OS X 10.4.11 and 10.5.8 on my G4 Power Macs.
As always, thank you for an excellent tool. It's been part of my "low-end" toolbox for years.
I cannot start kompozer! I have a problem starting it!
How do I start it after I download it?
Awesome news and work Fabian! Kudos to you and the other devs who are in the process of making kompozer the premiere html coding tool that I am comfortable recommending to my tech friends as well as newbies (relatives and non-techie friends).
I do see the lack of SFTP support as the only real big drawback... but I'm curious - since FireFTP has it, and kompozers FTP support is based on FireFTP, why can't it?
I'm a tech guy, but not a programmer, so forgive me if this question may be obvious to coders...
Anyway, thanks again!
I am wondering if Publishing works with Windows XP Home
I get a 550 permission denied message apparently due to as missing CWD command.
Fire FTP, which works, gives me
257 "/" is current directory.
CWD /htdocs
250 CWD command successful
TYPE I
Whereas KompoZer 0.8b1 gives me
257 "/" is current directory.
TYPE I
200 Type set to I
PASV
I have set htdocs in the prefix box.
Any ideas?
Oh - one question...
Should this be a safe upgrade from 0.7.10? I checked the blog posts from previous alpha releases and didn't see anything other than the standard recommendation to backup your existing profile?
I'm using the Windows version on XP Pro sp3...
Just my opinion. It's got lots of potential but still bugs so use to experiment and discover not for anything that you don't want to subject to risk.
I'm still seeing bug #2601796 -- hitting Enter in a paragraph is not making a new paragraph. Anyone else seeing this, or is it just me?
http://sourceforge.net/tracker/?fun...
Many thanks, Kazé, for continuing the development of Kompozer!
yes, I know there's a problem with the FTP support, and I’m working on it. There will be another version soon.
tanstaafl > if you’re running Windows, you can use KompoZer 0.8b1 to test it and report bugs. You don’t have to uninstall KompoZer 0.7.10: both versions will run fine on the same PC, since they don’t share any profile folder.
However, if you’re running MacOS X or GNU/Linux, I’d strongly recommend to upgrade to KompoZer 0.8. The 0.7 branch is not suitable any more on these platforms.
Bug - CSS adds comment flag if you edit the source.
I made a page and created an external CSS file, using id tags for each of the divs.
Everything looked great, but then I switched to the source view and did a little manual editing of the body text.
When I reopened the CSS using the CSS editor, suddenly all my tags had comment flags on them!
For example, if I had a tag that originally was
#header
after manually editing the source, Kompozer automatically changes it to
*|#header
It does this to all the tags! At that point any other tag I add also gets a comment flag!
I didn't use any other programs than Kompozer 0.8b1. I'm assuming this is a bug, not a feature, because I couldn't find a way to strip off the comment flags unless I used notepad after saving the file.
First: Kudos and a near infinite number of "thanks" for expanding Kompozer and squashing bugs. My comments are for the Windoze 0.8b1 version and I don't know if they apply to other builds.
My favorite praise-worthy aspects:
1) Kompozer properly terminates. KompoZer 0.7.10 would leave remnants far too often.
2) Dashed outlines for elements in the design view are especially nice.
Bug/missing functions I've noticed:
1) Highlight an element in the design view and the corresponding code is NOT highlighted if you switch to the source view.
2) What is the purpose of the Preview/Normal/HTML Tags drop menu in the lower right? Those are 3 versions of the design window, correct? As such, they're better grouped with the design, split and source tabs. The new design is not as efficient, either visually or from a user interface standpoint.
3) The browser to add a link defaults to show only htm/html files. Please change that to all file types. Currently, linking to anything other than htm/html takes more time/clicks/hassle than is needed.
New function request: How about a way to batch load/save HTM/HTML files? I ask because Kompozer does a nice job of prettifying.
Version 8b1 - no line numbers in the source screen Willl they be back?
Yes, the “Source” view is *very* basic at the moment, but it’s handy as it is for the debug. This “Source” view should evolve quite a lot in this 0.8 branch.
The reason I say I don't like the drop-down list on the right is toggling between design and preview is a lot more awkward. There's one set of controls which are horizontal and all selections are visible (tabs) and another which is hidden and vertical. A drop-down list requires more attention than a button, no way around it. You can have tabs on the left and radio buttons (with label on them) on the right. That would still work.
Yeah, the lack of line numbers is a pain.
I also noticed it's having problems editing FF-saved pages from Lifehacker. Sometimes it won't leave the code view. When that happens, the save button doesn't work. Exiting will still prompt to save, though. I do use the "Gawker No Top Stories" Greasemokey script which might be part of the issue. I noticed IE saves work fine. The new Lifehacker redesign uses some non-script script near the pageheader...
After your comment on Komodo I've been looking at Komodo Edit. It's great as a CSS editor. I'm wondering how the external CSS editor in KompoZer, which for me opens as Notepad++, is selected. Is it configurable? Could I (all of us) change to Komodo Edit?
Hello Kazé,
Désolé je parle en français, cela m'est plus pratique :P
Juste pour signaler que j'ai répondu à ton post sur le forum Gentoo, je suis intéressé pour l'aide à la construction d'un ebuild pour KompoZer. Tu retrouveras les messages ici :
http://www.gentoo.fr/forum/viewtopi...
Merci d'avance pour la réponse.
Dabrouch.
Selecting a div then deleting it works in 0.7, not 0.8b1. Is this an oversight?
Selecting lines in the code view is also more awkward in 0.8b1. The left edge of the code window is easier to use with line numbers. (Yes, I saw your comment above about the need to add line numbers. I'm just stating a GUI frustration.)
Bug confirmed:
See comment 43 above.
A similar issue was logged as Bug ID: 2893505
Kaze has put it on high priority.
Thanks!
Kazé, I took a look at your Windows icon and it looks fine to me as far as aliasing is concerned. I would recommend that you only include 256x256 (alpha) and 48x48, 32x32 and 16x16 in alpha and 256 colour variants though; 128x128 isn't in the Windows specification, and it's a good idea to include 256 colour variants as well for Windows 2000. It took me a while to find it all though - I couldn't find the logo in Subversion or Mercurial, and there's no SVG version in the tarball. Is there an SVG version of the latest icon publicly available (I noted that it's changed a bit from the earlier version)? Also not being used to Mozilla source locations I had to extract everything before I could find any of it, I didn't know where it would be... but finally I found it all in mozilla/composer/app.
I redid mozilla.ico with those things in mind and you can get it from http://chrismorgan.info/temp/kompoz...
Very very basic question please:
I just downloaded the file above "kompozer-0.8b1-gcc4.2-i686.tar.gz" that should contain a version of Kompozer that does not crash on recent version of Linux. I managed to unzip the file. But now, how do I go ahead and install it please?
Thanks
Tommy
I moved over from Frontpage to Kompozer 8.a4 a while ago and really like it [also have moved my main system to Ubuntu 9.10 which works well with Kompozer. ] Am upgrading to your 8.b today! Thanks for your wonderful effort! I hope to change all my sites to Kompozer soon. It really works well for me.
I still have some MS tags and am simply removing them from the output screens - anything else I need to do to make sure any old MS html tags will not mess up the final output screens.
Cursor positioning when interchanging between Design View and Source View.
In 0.7.10, the cursor usually used to point to roughly the correct location when interchanging views, and the window contained the data near to the cursor position.
In 0.8b1, when changing views from Design to Source, the cursor just disappears, and the window positioned right at the very top of the source HTML.
For me, this renders the beta useless, since I often have to 'correct' the code because I can't do it in the Design view...
Sorry.
John Gray > I get this bug report every day in my mail box.
As I wrote before: the current “Source” view is a temporary one, it’s there for testing purposes only — that’s one of the reasons why it’s a beta version. My personal opinion was that we should have dropped this “Source” view until the code editor in the “Split” becomes a good replacement; I’ve re-implemented a minimal “Source” view as a temporary solution to edit <head> nodes, but I don’t take any bug report on this. If you’re looking for a stable release, KompoZer 0.7.10 is still there.
However, why don’t you use the split view instead? It should be much quicker to correct a portion of HTML code than the “Source” view. Is there a particular reason for not using it? Since the “Split” view started to work (alpha1?), I’ve never used the “Source” view any more.
The code editor in the split view is designed to replace the “Source” view: one of the main goals of this beta1 is to check that this code editor is suitable to replace the “Source” view. The final “Source” view will be very different from the current one (i.e. syntax highlighting, probably line numbers + selection kept), but we need to test and debug the “Split” view first.
Kazé,
I'm not so convinced about editing in split view. Navigating to the code is easy but changing it can be very problematical as I have written elsewhere. See http://www.charlescooke.me.uk/web/o...
Charles > thanks for your input, I’ll do my best to improve the split view before the final 0.8 release.
I need sharp bug reports on this split view to improve the whole application.
OK you do.
I've added a small bunch of examples in a single file attached to bug report 2899340
Super cool ! Merci depuis la France !!!!
Using this on XP, it seems I'm unable to open up a remote site via the Site Manager as was possible in v 0.7.10. I know it's still possible to open a single page using "Open Web Location" but remote editing of multiple pages without a local copy of the site was a key function for me and I can't find a way to set this up in the changed Site Manager.
Not sure whether this is a problem with the integration of the new FTP functionality, or something to do with the "dropped remote tree" you mention in your post.
On Windows, when I publish resources to an ftp site that are inside a directory I end up a single file with a \ in the file name.
For example, directory 'images' with 'scan.jpg' in it:
+ images
|---- scan.jpg
is published as a single file
"images\scan.jpg"
on the (linux) ftp server.