qooxdoo / qooxdoo

qooxdoo - Universal JavaScript Framework
http://qooxdoo.org
Other
766 stars 261 forks source link

Create a new job for the inspector (BZ#1944) #2088

Closed qx-bug-importer closed 8 years ago

qx-bug-importer commented 15 years ago

Christian Hagendorn (@Hagendorn) wrote:

The job should build the inspector in the framework and after that, a HTML-file should created in the source folder of the custom application.

assigned to Thomas Herchenroeder (@thron7)

qx-bug-importer commented 15 years ago

Christian Hagendorn (@Hagendorn) wrote:

Template

Template for the HTML-file which should created for the custom application.

inspector.html (text/html)

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <title>qx Inspector</title>

  <script type="text/javascript" src="../../qooxdoo-contrib.trunk/Inspector/trunk/build/script/inspector.js"></script>

  <script type="text/javascript">
    qxinspector = {local : true};

    qxlibraries["qx"]={"resourceUri":"../../qooxdoo-contrib.trunk/Inspector/trunk/build/resource","version":"trunk"};
        qxlibraries["iframetest"]={"resourceUri":"../../qooxdoo-contrib.trunk/Inspector/trunk/build/resource","version":"trunk"};

        window.qxloader.uris = [["../../qooxdoo-contrib.trunk/Inspector/trunk/build/script/inspector-0.js"]];

        window.qxloader.runningParts = {};
        window.qxloader.loadedParts = {};
        window.qxloader.runningPackages = {};
        window.qxloader.loadedPackages = {};
        window.qxloader.runningScripts = {};
        window.qxloader.loadedScripts = {};

        window.qxloader.callbackList = [];

        window.qxloader.scriptQueue = [];
        window.qxloader.inFlushQueue = false;

        qxloader.init();
</script>

</head>
</html>
qx-bug-importer commented 15 years ago

Thomas Herchenroeder (@thron7) wrote:

consider for 0.8.2

qx-bug-importer commented 15 years ago

Andreas Ecker (@ecker) wrote:

Chris, please provide an up-to-date HTML file that accounts for the recent changes in the loading phase of an qooxdoo app.

qx-bug-importer commented 15 years ago

Christian Hagendorn (@Hagendorn) wrote:

Updated the HTML file in trunk (r18216). Fabian will check it, that the changes are compatible with the new loader script.

qx-bug-importer commented 15 years ago

Thomas Herchenroeder (@thron7) wrote:

Implemented with r18239. The inspector is created local to the invoking application (in ./inspector, like ./api, ./test, ...). This allows the correct URIs to be generated. A dedicated "inspector.html" is copied into the ./source folder of the invoking app, so it is in the same folder as the app's index.html which will be loaded into inspector's iframe (complying with FF3's strict SOP for file:// protocol). In the ./inspector directory a "index-redicrect.html" is placed that redirects to ./source/inspector.html (Sorry for the complicated name but the generator cannot currently rename files on copying :-(.

qx-bug-importer commented 10 years ago

Martin Wittemann (@wittemann) wrote:

Closed all bugs already shipped with a release.