Opened 13 years ago

Closed 13 years ago

Last modified 12 years ago

#2366 closed enhancement (fixed)

Provide plumbing to enable web builds of Dojo

Reported by: James Burke Owned by: James Burke
Priority: high Milestone:
Component: BuildSystem Version: 0.4.1
Keywords: Cc:
Blocked By: Blocking:

Description

This is a placeholder ticket to hold all the commits related to actually getting the web build plumbing working.

Change History (67)

comment:1 Changed 13 years ago by James Burke

(In [7074]) References #2366. web build plumbing. Not quite there. The end result is showing a textarea with the dojo contents. Need to send to CGI to trigger file download. Too bad.

comment:2 Changed 13 years ago by James Burke

(In [7075]) (merge from trunk). References #2366. web build plumbing. Not quite there. The end result is showing a textarea with the dojo contents. Need to send to CGI to trigger file download. Too bad.

comment:3 Changed 13 years ago by James Burke

(In [7076]) References #2366. Now that xdomain loading is default case for web builds, waiting a default of 30 seconds seems to long -- the user will likely miss the load error if having to wait that long. Going to 15 seconds.

comment:4 Changed 13 years ago by James Burke

(In [7077]) (merge from trunk). References #2366. Now that xdomain loading is default case for web builds, waiting a default of 30 seconds seems to long -- the user will likely miss the load error if having to wait that long. Going to 15 seconds.

comment:5 Changed 13 years ago by James Burke

(In [7174]) References #2366: more webbuild plumbing. Generate a tree of available modules. There is problem with modules that have same name as directory, and the tree isn't hooked up to anything, but it is a start.

comment:6 Changed 13 years ago by James Burke

(In [7175]) (Merge from 0.4 branch) References #2366: more webbuild plumbing. Generate a tree of available modules. There is problem with modules that have same name as directory, and the tree isn't hooked up to anything, but it is a start.

comment:7 Changed 13 years ago by James Burke

(In [7183]) References #2366: web build plumbing. Introduce a script that pulls the code from svn and makes the appropriate zip file to be used as the web build and xdomain dojo

comment:8 Changed 13 years ago by James Burke

(In [7184]) (merge from 0.4 branch) References #2366: web build plumbing. Introduce a script that pulls the code from svn and makes the appropriate zip file to be used as the web build and xdomain dojo

comment:9 Changed 13 years ago by James Burke

(In [7186]) Fixes #2301 and #2404, and references #2366. web built dojo.js now has strings interned, and for regular builds, all widget js files have strings interned now for the intern-strings target. To get those things to work, I moved the internStrings.js functions into buildUtil.js, but I did it slightly differently than the patch in #2301.

comment:10 Changed 13 years ago by James Burke

(In [7187]) (merge from 0.4 branch) Fixes #2301 and #2404, and references #2366. web built dojo.js now has strings interned, and for regular builds, all widget js files have strings interned now for the intern-strings target. To get those things to work, I moved the internStrings.js functions into buildUtil.js, but I did it slightly differently than the patch in #2301.

comment:11 Changed 13 years ago by James Burke

(In [7261]) References #2366. More web build plumbing. Got file save to work. UI still needs lots of work

comment:12 Changed 13 years ago by James Burke

(In [7262]) (merge from branch) References #2366. More web build plumbing. Got file save to work. UI still needs lots of work

comment:13 Changed 13 years ago by James Burke

(In [7263]) References #2366. Fix small issues with build script.

comment:14 Changed 13 years ago by James Burke

(In [7264]) (merge from branch) References #2366. Fix small issues with build script.

comment:15 Changed 13 years ago by James Burke

(In [7274]) References #2366. Added string interning and copyright file to built dojo.js.

comment:16 Changed 13 years ago by James Burke

(In [7275]) (merge from branch) References #2366. Added string interning and copyright file to built dojo.js.

comment:17 Changed 13 years ago by James Burke

(In [7278]) References #2366. Fixed issue with some modules not getting in the list, fixed issue when asking for a build with no modules in it, and now printing out modules/files that are in the build.

comment:18 Changed 13 years ago by James Burke

(In [7279]) (merge from branch) References #2366. Fixed issue with some modules not getting in the list, fixed issue when asking for a build with no modules in it, and now printing out modules/files that are in the build.

comment:19 Changed 13 years ago by James Burke

(In [7280]) References #2366. Converted to Owen's UI mockup. Build works from this new UI, but tree selection still not working yet. Checked in preliminary support for a comment stripping script, but it has issues due to Java's Runtime class console weakness.

comment:20 Changed 13 years ago by James Burke

(In [7281]) (merge from 0.4 branch) References #2366. Converted to Owen's UI mockup. Build works from this new UI, but tree selection still not working yet. Checked in preliminary support for a comment stripping script, but it has issues due to Java's Runtime class console weakness.

comment:21 Changed 13 years ago by James Burke

(In [7284]) References #2366. Get tree double-click to work, and add some protection to php script so it doesn't allow fetching any file from the server.

comment:22 Changed 13 years ago by James Burke

(In [7285]) (merge from 0.4 branch) References #2366. Get tree double-click to work, and add some protection to php script so it doesn't allow fetching any file from the server.

comment:23 Changed 13 years ago by James Burke

(In [7286]) References #2366. Small cleanup.

comment:24 Changed 13 years ago by James Burke

(In [7287]) (merge from 0.4 branch) References #2366. Small cleanup.

comment:25 Changed 13 years ago by James Burke

(In [7302]) References #2366. Got a working comment stripping.

comment:26 Changed 13 years ago by James Burke

(In [7303]) References #2366. Adjusted web build shell script to use comment stripping.

comment:27 Changed 13 years ago by James Burke

(In [7304]) (merge from 0.4 branch) References #2366. Got a working comment stripping. Adjusted web build shell script to use comment stripping.

comment:28 Changed 13 years ago by James Burke

(In [7308]) References #2366. Allow turning of Dojo copyright insertion, to make web builds smaller (copyright still inserted at top of web built file, and non-dojo copyrights are still preserved).

comment:29 Changed 13 years ago by James Burke

(In [7309]) (merge from 0.4 branch) References #2366. Allow turning of Dojo copyright insertion, to make web builds smaller (copyright still inserted at top of web built file, and non-dojo copyrights are still preserved).

comment:30 Changed 13 years ago by James Burke

(In [7338]) References #2366. Small changes to have web build work with normal release names.

comment:31 Changed 13 years ago by James Burke

(In [7339]) (merge from 0.4 branch) References #2366. Small changes to have web build work with normal release names.

comment:32 Changed 13 years ago by James Burke

(In [7340]) References #2366. Allow charting to work with xdomain builds. Matching build behavior, but should reconsider how requireIf is supported for 0.9 (see ticket #2468)

comment:33 Changed 13 years ago by James Burke

(In [7341]) (merge from 0.4 branch) References #2366. Allow charting to work with xdomain builds. Matching build behavior, but should reconsider how requireIf is supported for 0.9 (see ticket #2468)

comment:34 Changed 13 years ago by James Burke

(In [7342]) References #2366. Getting test files to work with xdomain web builds. This usually means converting them to use dojo.addOnLoad().

comment:35 Changed 13 years ago by James Burke

(In [7343]) (merge from 0.4 branch) References #2366. Getting test files to work with xdomain web builds. This usually means converting them to use dojo.addOnLoad().

comment:36 Changed 13 years ago by James Burke

(In [7348]) References #2366. Dumb ordering mistake. Caused lots of DnD test failures. Hooray for unit tests.

comment:37 Changed 13 years ago by James Burke

(In [7349]) (merge from 0.4 branch) References #2366. Dumb ordering mistake. Caused lots of DnD test failures. Hooray for unit tests.

comment:38 Changed 13 years ago by James Burke

(In [7350]) References #2366. Converting more tests to use dojo.addOnLoad()

comment:39 Changed 13 years ago by James Burke

(In [7351]) (merge from 0.4 branch) References #2366. Converting more tests to use dojo.addOnLoad()

comment:40 Changed 13 years ago by James Burke

(In [7370]) References #2366. Converting more tests to use dojo.addOnLoad()

comment:41 Changed 13 years ago by James Burke

(In [7371]) (merge from 0.4 branch) References #2366. Converting more tests to use dojo.addOnLoad()

comment:42 Changed 13 years ago by James Burke

(In [7386]) References #2366. Converting more tests to use dojo.addOnLoad()

comment:43 Changed 13 years ago by James Burke

(In [7388]) (merge from 0.4 branch) References #2366. Converting more tests to use dojo.addOnLoad()

comment:44 Changed 13 years ago by James Burke

(In [7394]) References #2366. Converting more tests to use dojo.addOnLoad()

comment:45 Changed 13 years ago by James Burke

(In [7395]) (merge from 0.4 branch) References #2366. Converting more tests to use dojo.addOnLoad()

comment:46 Changed 13 years ago by James Burke

(In [7396]) References #2366. Fixes issue where moving all dojo.provide statements to the top caused problems. The important thing is the matching dojo.require() removal (which is still done)

comment:47 Changed 13 years ago by James Burke

(In [7397]) (merge from 0.4 branch) References #2366. Fixes issue where moving all dojo.provide statements to the top caused problems. The important thing is the matching dojo.require() removal (which is still done)

comment:48 Changed 13 years ago by James Burke

(In [7400]) References #2366. Fixes issue where loading local i18n bundles failed.

comment:49 Changed 13 years ago by James Burke

(In [7401]) (merge from 0.4 branch) References #2366. Fixes issue where loading local i18n bundles failed.

comment:50 Changed 13 years ago by James Burke

(In [7404]) References #2366. Change some tests to work with xdomain.

comment:51 Changed 13 years ago by James Burke

(In [7405]) (merge from 0.4 branch) References #2366. Change some tests to work with xdomain.

comment:52 Changed 13 years ago by James Burke

(In [7406]) References #2366. Allow YahooService? to be used xdomain style by setting a local path for the yahoo.smd file.

comment:53 Changed 13 years ago by James Burke

(In [7407]) (merge from 0.4 branch) References #2366. Allow YahooService? to be used xdomain style by setting a local path for the yahoo.smd file.

comment:54 Changed 13 years ago by James Burke

(In [7408]) References #2366. Oops.

comment:55 Changed 13 years ago by James Burke

(In [7409]) (merge from 0.4 branch) References #2366. Oops.

comment:56 Changed 13 years ago by James Burke

(In [7414]) References #2366. Fixes issue where comment stripping was messing up the charset in i18n bundles.

comment:57 Changed 13 years ago by James Burke

(In [7415]) (merge from 0.4 branch) References #2366. Fixes issue where comment stripping was messing up the charset in i18n bundles.

comment:58 Changed 13 years ago by James Burke

(In [7448]) References #2366. Added a compress option to the web build.

comment:59 Changed 13 years ago by James Burke

(In [7449]) (merge from 0.4 branch) References #2366. Added a compress option to the web build.

comment:60 Changed 13 years ago by James Burke

(In [7450]) References #2366. Have something primitive working for the build cache. Still need to do more testing, and something is weird with compression -- failure in makeDojoJsWeb.js when trying to make it.

comment:61 Changed 13 years ago by James Burke

(In [7451]) (merge from 0.4 branch) References #2366. Have something primitive working for the build cache. Still need to do more testing, and something is weird with compression -- failure in makeDojoJsWeb.js when trying to make it.

comment:62 Changed 13 years ago by James Burke

(In [7459]) References #2366. Got web build cache to work, removed dojo.widget.Editor from editor.profile.js, and removed extraneous copyright from bootstrap1.js

comment:63 Changed 13 years ago by James Burke

(In [7460]) (merge from 0.4 branch) References #2366. Got web build cache to work, removed dojo.widget.Editor from editor.profile.js, and removed extraneous copyright from bootstrap1.js

comment:64 Changed 13 years ago by alex

Resolution: fixed
Status: newclosed

looks done. Great work, James.

comment:65 Changed 13 years ago by James Burke

(In [7469]) References #2366. Forgot to intern strings in dojo.js.uncompressed.js.

comment:66 Changed 13 years ago by James Burke

(In [7470]) (merge from 0.4 branch) References #2366. Forgot to intern strings in dojo.js.uncompressed.js.

comment:67 Changed 12 years ago by (none)

Milestone: 0.4.2

Milestone 0.4.2 deleted

Note: See TracTickets for help on using tickets.