Skip to content
This repository has been archived by the owner. It is now read-only.
Browse files
last changes for 1.5.0
  • Loading branch information
pmuellr committed Jul 22, 2011
1 parent 87b9a71 commit a3e1798bc200fa5da0bd5f9044978230a8f8b0d0
Showing 5 changed files with 81 additions and 13 deletions.
@@ -8,7 +8,7 @@
# weinre version

# some common locations used in the ant scripts
@@ -8,7 +8,7 @@
# ---

git log "--pretty=format:- %s" $1.. | \
sed 's/#\([0-9]*\)/\<a href="https:\/\/\/pmuellr\/weinre\/issues\/1"\>issue \1\<\/a\>./' |
sed 's/#\([0-9]*\)/\<a href="https:\/\/\/phonegap\/weinre\/issues\/1"\>issue \1\<\/a\>./' |
sed 's/^-/\<li\>/'

# sed 's/#\([0-9]*\)/[issue \1](https:\/\/\/pmuellr\/weinre\/issues\/1)./'
@@ -5,6 +5,52 @@
* Copyright (c) 2011 IBM Corporation

<!-- ======================================================================= -->

<p><a href=""></a>

<!-- ======================================================================= -->
<h2>2011/07/22 - version 1.5.0</h2>


<li><p>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.

<p>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
<tt>"select * from YourTableNameHere"</tt>
will dump the table contents to the panel.

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

<li><p>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.

<li><p>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.


<p>issues closed:
<li> <a href="">issue 7</a> - support for WebSQL
<li> <a href="">issue 8</a> - console.log() etal don't handle object parameters
<li> <a href="">issue 12</a> - wrong-cased file names in ant scripts for Linux
<li> <a href="">issue 16</a> - hide stuff in the Web Inspector UI that's not used

<!-- ======================================================================= -->
<h2>2011/05/09 - version 1.4.0</h2>
@@ -10,6 +10,14 @@
Pronounced like the word "winery". Or maybe like the word "weiner". Who knows,

<p>Interesting places:
<li>GitHub: <a href=""></a>
<li>Google Group: <a href=""></a>
<li>weinre documentation: <a href=""></a>
<li>Google Chrome Developer Tools: <a href=""></a>

<p>It's a debugger for web pages, like
FireBug (for FireFox)
@@ -22,7 +30,9 @@
<span class="weinre">weinre</span> reuses the user interface code from the
<a href="">Web Inspector project at WebKit</a>,
so if you've used Safari's Web Inspector or Chrome's Developer Tools,
<span class="weinre">weinre</span> will be very familiar.
<span class="weinre">weinre</span> will be very familiar. If you're not
familiar with Web Inspector, the link above to Google Chrome Developer Tools
provides some documentation Real Web Inspector, which <span class="weinre">weinre</span> is based on.

<div class="note">
@@ -96,15 +106,6 @@
- to see a walkthrough of
how to use it, visit the <a href="TestDrive.html">Test Drive</a>.

<!-- ======================================================== -->

<li>GitHub: <a href=""></a>
<li>Documentation: <a href=""></a>
<li>Google Group: <a href=""></a>

<!-- ======================================================== -->
<h2>Supported Libraries and Platforms</h2>

@@ -13,6 +13,7 @@ var buttonClearOutput
var outputElement
var storageIndex = 0
var db
var otherDB

// set the id based on the hash
var hash = location.href.split("#")[1]
@@ -29,6 +30,8 @@ function onLoad() {
lastClickTime = new Date().toString()
if (db) db.transaction(addClick)


if (!started) {
buttonStartStuff.value = "stop stuff"
@@ -133,14 +136,32 @@ function createDatabase(tx) {
tx.executeSql(sql, null, clearDatabase, sqlError);

function createDatabase_other(tx) {
var schema = "clicks_other (id integer primary key, other text)"
var sql = "create table if not exists " + schema

tx.executeSql(sql, null, null, sqlError);

function openTheDatabase() {
if (window.openDatabase) {
db = window.openDatabase("clicks_db", "1.0", "clicks", 8192)
db = window.openDatabase("clicks_db", "1.0", "clicks_db", 8192)

function openTheOtherDatabase() {
if (otherDB) return

if (window.openDatabase) {
otherDB = window.openDatabase("clicks_other_db", "1.0", "clicks_other_db", 8192)

function output(string) {
var element = document.createElement("div")

0 comments on commit a3e1798

Please sign in to comment.