By David Storey.
Tuesday, 1. July 2008, 14:21:22
developer tools, alpha 2, Opera Dragonfly
Following the Release Candidate last week, Opera Dragonfly alpha 2 has now gone live. People using the default URL for Opera Dragonfly will automatically upgraded to this new version. As always, you can access Opera Dragonfly alpha 2 by clicking on Tools -> Advanced -> Developer Tools in Opera 9.5’s menu bar.
Along with the new features, such as CSS editing, that were introduced in the last post on this blog, we've also released schemas and JSDocs for the code structure and source code. This should make it easier for developers to pick up the source code and start playing with it. I'd be interested to see what people can come up with to improve Opera Dragonfly. If you have any questions about the code, want to post some adaptions or give feature requests then head over to our forums.
The next step is to work on the bugs and planned features for alpha 3 in a few months time.
By David Storey.
Thursday, 26. June 2008, 14:37:48
alpha 2, developer tools, Opera Dragonfly
We've just released the Release Candidate for Opera Dragonfly alpha 2. New features added since the initial alpha include auto-complete for the Command Line (including object inspection), docked window mode, CSS editing including auto-complete, and a downloadable debug menu. There has also been many bug fixes and stability improvements.
Support for editing and a single window mode have been two of the three most requested features for Opera Dragonfly. The third was HTTP inspection, but this requires Core support to expose the required information through Scope, and will require the next version of our Core rendering engine. Alpha 2 will debut experimental support for the first two features.
Currently only CSS editing is supported, but much of the code can be reused for DOM editing for alpha 3. CSS can currently be edited by clicking on a property or value in the styles sidebar. User defined values are editable, but not the browser default values. Pressing tab will move to the next token (and shift-tab for the previous token). Pressing the up or down arrows on the keyboard activates auto-complete, that will cycle through the valid values. Typing co then the down arrow when a property is highlighted will suggest color for example. Pressing the up or down arrow on a value will increase or decrease the value. All changes are live and instant, so it is incredibly useful for testing tweaks and colour or size changes. I find it very useful when using HSL colour values for example, to get the exact shade I want to use. When at the end of a line or when the value is highlighted, pressing return will create a new property.
The docked window mode is now default, but can be changed to a separate window by pressing the icon next to the close button in the top right corner of the Opera Dragonfly UI. The UI for the docked mode is still very experimental as the support came at the end of the Opera 9.5 development phase. The UI will be improved to make it less confusing in alpha 3.
Command Line auto-complete has already been mentioned in this blog, and can be activated by pressing the tab key. If an object is returned it is highlighted and can be clicked on. Doing this will allow the object to be inspected in the Inspection sidebar. A debug menu has also been released to complement Opera Dragonfly, which currently packages existing Opera features that are useful to developers, along with links to reference materials and validators. This will be improved upon in the future to add new functionality. It can be downloaded on the Opera Dragonfly web site.
Once alpha 2 is released there will be a break while the lead developer takes a much deserved holiday, then work will resume on Opera Dragonfly alpha 3. This should include more bug fixes, DOM editing, support for localisation, UI work and more.
You can test out the release candidate of alpha 2 by entering https://dragonfly.opera.com/app/weekly into the Developer Tools URL of opera:config and pressing the save button. Please give us feedback in the usual places.
By Shwetank Dixit.
Monday, 9. June 2008, 14:04:52
debug menu, Opera Dragonfly, weekly
Today we are releasing the ‘Debug Menu’ targeted at all you web developers out there. This menu is meant to complement Opera Dragonfly and provide web developers with a better experience with performing common tasks.
The goal of the debug menu is to bring developer specific functionality
already present in the browser in one place, further enhanced with some extra features and reference materials.
Extra features include:
- Open Opera Dragonfly (you might find this easier, instead of going to tools->advanced->developer tools every time you want to open Opera Dragonfly)
- Validate HTML5
- Validate CSS2.1 and CSS3
- Get an Accessibility and Section 508 report.
- Check for broken links.
- Check how your page will display in Opera Mini
- Check the rendering mode of your page
- Reload all images (without reloading the page).
- Check Alexa rank and Compete.com traffic analysis
- Documentation on HTML4.01, CSS2.1, XPath, XSLT and Unicode.
- Check WHOIS information
How to installJust
click here to download the Menu.
RequirementsIt should be used in Opera 9.5. You can download Opera 9.5 from
here.
Customize and build on itCheck out the links below on how to make your own .ini file for a custom menu. You can use the same information to edit this .ini file and add/remove/change the settings.
http://operawiki.info/EditingINIFileshttp://operawiki.info/AdvancedToolbarINIGuideYou are not limited by just this Menu. You can download other toolbars, menus and setups as well, that are made by Opera fans.
Have fun with the menu!
Newest Opera Dragonfly Weekly now liveYou can download
build 08-06-09-15-30. Bug fixing was the major focus of this weekly release, and here is
changelog detailing all the fixes.
One of the major changes is that now Opera Dragonfly can remember its state. Attached or detached.
As mentioned in previous posts as well, automatically updated weekly builds can be found at
https://dragonfly.opera.com/app/weekly/. Update the URL by going to Opera:Config -> Developer Tools -> Developer Tools URL . This way you can always automatically get the latest updates.
By David Storey.
Monday, 2. June 2008, 15:36:58
developer tools, Opera Dragonfly, weekly
We've just released the latest weekly release of Opera Dragonfly. The biggest change over the previous build is that it now works in a panel, which allows Opera Dragonfly to work in a single window. This has been one of the biggest requests from users. A recent Opera 9.5 build is required for this to work. You can download this from the Desktop Team blog. The support for this is still highly experimental, so the interface is far from complete, and will change. The style sheets view is still under construction for example. There will likely be a number of regressions.
Another change is in how we fetch scripts in the JavaScript debugger. The page will now automatically refresh, so you don't have to click the reload button. As this can cause loss of state, there is an option in the preferences, to disable this and return to the previous behaviour. A full list of changes can be found in the change logs.
Download build 08-06-02-16-10. Automatically updated weekly builds can be found at https://dragonfly.opera.com/app/weekly/. Update the Opera Dragonfly URL in Opera:config to this address to enable automatic updates to the latest weekly release.
By David Storey.
Monday, 26. May 2008, 20:41:34
Kestrel, Accessibility, ARIA, CSS3
...
The weekly snapshot of Opera Kestrel included a few fixes to bugs that caused issues in Opera Dragonfly. The most prominent one of these is that persistent cache should now work in Opera Dragonfly, enabling offline mode to work as it was designed. This should make Opera Dragonfly much more useful.
Another bug that has been fixed, and should be coming soon, is that Opera Dragonfly will be useable even when JavaScript is turned off. Once this fix lands, it will be possible to debug how your web page or application works without JavaScript
In further news, we are doing our best to try to squeeze the single windowed docked mode into Opera Dragonfly alpha 2. This hopefully wont delay what we've already planned for the second alpha. It wont be the final solution, as we need to do some interaction design work on how it will work differently to the separate window solution. As there is less space to work with, it will likely be more optimal to have a different view. The initial work will likely just make it work in that view, and test out the functionality given to use from the Desktop team.
In a post alpha 2 release, we hope to redesign and optimise the UI somewhat, and work on keyboard accessibility. The ground work for the later has already began. I've been reading up on WAI-ARIA, and it looks like something we can put to good use. As well as making controls accessible to assistive technology, it should make our keyboard navigation work more like a native application for those controls. There are a number of roles for components that stand out instantly as useful for Opera Dragonfly, including tree, and treeitem for the DOM source code tree, toolbar, button, search and perhaps checkbox for the toolbars, tabpanel for the tabs, breadcrumbs for the DOM path and so on. It looks like ARIA should be something that isn't too difficult to learn or apply.
One of the great things about developing Opera Dragonfly in Web technologies (except being a useful exercise in finding Opera bugs), is that we can design only for the Web standards provided by the Core-2.1/Opera 9.5 platform. Opera has one of the most advanced support for Web standards in the industry, and we don't have to care if they are supported yet in another browser. I'm specifically talking about Web standards here, not vendor only solutions, that will cause lock-in. We can use Opera Dragonfly as a showcase of what is possible with the likes of accessibility on the Web. My next mission is to try to get the team to use SVG images in the interface. With SVG we can make the backgrounds of buttons as a reusable element (styleable through CSS SVG profile), use a CSS sprite to reduce the HTTP traffic, and zip as SVGZ to reduce the file size even further than what SVG would already give you. SVG will also allow the button styles to be programatically changed. An example could be detecting the platform and changing the button shapes or colours accordingly. This is not something we've planned yet, but is certainly something that is possible when we don't have to care about IE.