clone weinre at apache

# weinre - ChangeLog

## 2012/??/?? - version 2.0.0

- port the server from Java to node.js

- lots of other changes

issues resolved:

- CB-10 - Apache source headers in callback-weinre
- CB-36 - move/delete GitHub issues at phonegap/weinre and callback/callback-weinre into the Apache Callback JIRA
- CB-83 - implement the server in node
- CB-100 - fix issues regarding pre-req licenses for weinre distribution
- CB-175 - error when XHR contentType is null
- CB-176 - add vendor files to weinre instead of pulling in at build time
- CB-182 - error when XHR contentType is null
- CB-232 - rename assets from PhoneGap to Cordova
- CB-257 - the README.md in the weinre-node distribution is bogus
- CB-259 - create a weinre tarball as a build archive that is npm install-able
- CB-266 - weinre runtime error if you don't have a ~/.weinre/server.settings file
- CB-284 - invocation exception on WeinreClientEventsImpl.connectionCreated(): TypeError: Cannot read property 'url' of undefined
- CB-288 - re-version as 2.0.0
- CB-293 - bullet-proof modjewel
- CB-294 - various exceptions thrown in the target in WeinreTargetEventsImpl.connectionCreated()
- CB-315 - generate valid Apache release artifact names
- CB-540 - ability to easily navigate to particular place in DOM via bookmarks/jump to selector
- CB-604 - weinre doesn't work in strict mode
- CB-873 - setTimeout() and setInterval() usage with string arguments is busted
- CB-984 - cannot install weinre with Node 0.8.0
- CB-1666 - "INVALID_STATE_ERR: DOM Exception 11" with chbrody/Cordova-SQLitePlugin
- CB-1759 - doc indicates that you should launch weinre with a command prefix of `node`
- CB-1193 - add Windows Phone support
- CB-1800 - remove references to "incubator"
- CB-1494 - Supports running server behind a proxy, such as Heroku Cedar
- CB-2650 - Weinre style inspection breaks with normalize.css
- CB-3319 - Chrome is setting window properties which now breaks Weinre
- CB-3328 - chrome version >= 27 breaks flex-box usage
- CB-3378 - support for FF and IE10
- CB-6991 - Weinre fails to load in browsers without a built-in development console
- CB-7367 - allow update of weinre id in page url without page refresh
- CB-7430 - weinre does not play nice with npm dedupe
- CB-7437 - xhr readystate event passed bad event on some platforms
- CB-7438 - weinre target not setting server url when from script's src attribute for https
- CB-5718 - Detection of HTTPS broken

## 2011/12/01 - version 1.6.1

- Error handling for some built-in callbacks has been removed. This function was added in version 1.6.0. Unfortunately, it had some problems, and it wasn't clear if the fix was going to make things worse.

issues resolved:

- apache/callback issue 82 - removeEventListener broken

## 2011/10/28 - version 1.6.0

- The Network panel has been added to weinre, which will display information for any XHRs that you issue.

- Error handling for some built-in callbacks has been added. The support is very similar to what's provided in the log-callback-error project, though the implementation is different.

- The element highlighter has been modified to show brighter colors. The colors also now more closely match the Web Inspector colors. Currently, there are some artifacts in the corners in some cases, but it's not clear to me this is a huge problem - in fact, maybe it's a feachur. ~shrug~ As part of this clean up, I've made the element highlighter pluggable. If you think you can do better, it should be pretty straight-forward to code up a new one. Bring it on.

- The JavaScript code for weinre has been converted from the "scoop" DSL format to CoffeeScript. You no longer have a valid excuse for not hacking the code.

- The "Test Drive" page of the doc has been removed and replaced with the new "User Interface" page.

- weinre now adds an "error" listener to window. For JavaScript engines that support "window onerror", you will now see a message logged to the console when an error occurs anywhere in your JavaScript code. Unfortunately, just as support for "window onerror" is becoming available in JavaScript, the browsers are neutering it's support. Depending on your browser, you may or may not see these errors reported, and even if you do, they may not give you any useful information. Thanks to Ryan Seddon for supplying the following backgrounder links for your enjoyment:

  - http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2011-September/033252.html
  - https://bugzilla.mozilla.org/show_bug.cgi?id=568564
  - http://www.w3.org/Bugs/Public/show_bug.cgi?id=14177
  - https://bugs.webkit.org/show_bug.cgi?id=70574

issues resolved:

- issue apache/callback issue 1 - update the doc
- issue phonegap/weinre 41 - add support for XHRs on Network panel
- issue phonegap/weinre 40 - clean up spurious messages in the server console
- issue phonegap/weinre 38 - cleanup some of the exception handler bits
- issue phonegap/weinre 37 - Timeout function does not pass arguments
- issue phonegap/weinre 35 - convert JavaScript in weinre from scoop to CoffeeScript
- issue phonegap/weinre 20 - add support for window.onerror
- issue phonegap/weinre 19 - 404 error on /client/index.html in Mac app (incomplete build?)
- issue phonegap/weinre 11 - provide better error handling - by hook or by crook
- issue phonegap/weinre 10 - element highlighter code in the target is just awful

## 2011/07/22 - version 1.5.0

- The Resources panel now includes an active Databases section. For any WebSQL database that you open, you should see an entry in the expanded section. For each database, you'll see the list of tables owned by the database when the database section is expanded. Note that you need to open the database to see it listed here. Databases which you have previously created in other browsing sessions will not be displayed until they are first opened.

  Clicking on a database table will dump the database contents to the panel. Clicking on the database itself will provide a prompter for you to run SQL commands against that database. For example, entering `"select * from YourTableNameHere"` will dump the table contents to the panel.

- Some of the console functions, like `console.log()`, were not handling object arguments correctly. You should now see a an object display. For example, typing `"window"` or `"console.log(window)"` into the console will show you the same object display for the window.

- The ant build script did not have the correctly-cased file names for some of the files, and the build failed. This has been fixed. You should be able to do a build on Linux, and other case-sensitive file systems.

- While weinre already removes some of the Web Inspector panels wholesale, there were still a number of meaningless gee-gaws on the panels that we do show. Those have been surgically removed with CSS.

issues closed:

- issue 7 - support for WebSQL
- issue 8 - console.log() etal don't handle object parameters
- issue 12 - wrong-cased file names in ant scripts for Linux
- issue 16 - hide stuff in the Web Inspector UI that's not used

## 2011/05/09 - version 1.4.0

- better calculation of object's class name. closes issue 41.
- initial set of changes in for extensions. closes issue 8.
- added json2.js to the mix; part of issue issue 45.
- works with recent scooj release. closes issue 52.
- add non-authenticated multi-user support. closes issue 50. See the MultiUser doc page for more information.

issues closed:

- issue 8 - enable extensions
- issue 41 - in JSC, inspected object's class is always "object"
- issue 50 - add non-authenticated multi-user support
- issue 52 - react to recent modjewel / scooj changes

## 2011/04/05 - version 1.3.0

- style editing now enabled in Elements panel
- localStorage and sessionStorage views enabled in Resources panel
- URLs to vendor repos updated for the weinre build
- check for bad versions of Prototype.js

issues closed:

- issue 21 - add support for localStorage
- issue 35 - testing local files on IOS
- issue 36 - element.style cannot be edited
- issue 44 - update vendor repos

## 2011/03/12 - version 1.2.0

- DOM elements are now updated live as they change in the target
- more console support; sprintf formatting and expandable object logging

issues closed:

- issue 27 - edge case where programmatically created DOM is only picked up partially
- issue 37 - console.log output doesn't do sprintf-style string interpolations

## 2011/03/02 - version 1.1.0

- added Timeline panel; tracks timers, intervals, XHRs, some other events, and `console.markTimeline(string)`
- now showing matching style rules in Elements panel
- no more diagnostic messages in the user's console; they are now written to the server console
- caught up to a more recent version of Web Inspector
- refactoring, technical debt paydown

issues closed:

- issue 10 - enable Timeline panel, and provide some events
- issue 20 - catch up to latest Web Inspector code base
- issue 23 - mac app's web pages can't connect to server
- issue 24 - weinre server runs slowly on windows
- issue 25 - pay down technical debt
- issue 28 - create a standalone Java launch
- issue 29 - autoconnect does not always work
- issue 30 - all-json-idls.js is a pig
- issue 31 - redirect error/warn/info/debug messages from client and target to server
- issue 32 - monospace font too small everywhere
- issue 33 - update doc

## 2011/01/25 - version 1.0.0

- Don't display "not implemented" messages. Closes issue 19.
- Remove node highlighting cruft. Closes issue 18.
- Add meta element to enable GCF for client. Closes issue 17.
- Make bookmarklet more portable. Closes issue 16.
- Enable node highlighting. Closes issue 2.
- Change copyright statements. Closes issue 13.
- Change Weinre.Console to Console. Closes issue 11.
- Add implementation for settings. Closes issue 5.
- Provide better escape for // comments in minifier. Closes issue 6.
- Get metrics working in Elements panel. Closes issue 1.

## 2010/12/16 - version 0.9.9

- initial release