From d607db5e8d8154a89934d45f923f6b75dba852cf Mon Sep 17 00:00:00 2001 From: "(no author)" <(no author)@18797224-902f-48f8-a5cc-f745e15eee43> Date: Tue, 26 Sep 2006 19:28:12 +0000 Subject: [PATCH] This commit was manufactured by cvs2svn to create branch 'MOZILLA_1_8_0_BRANCH'. git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_0_BRANCH@212396 18797224-902f-48f8-a5cc-f745e15eee43 --- .../xforms/resources/content/range-xhtml.xml | 115 ++++++++ .../resources/content/xforms-message.xul | 61 +++++ .../xulrunner/macosx/mozconfig | 19 ++ .../xulrunner/macosx/tinder-config.pl | 248 ++++++++++++++++++ 4 files changed, 443 insertions(+) create mode 100644 mozilla/extensions/xforms/resources/content/range-xhtml.xml create mode 100644 mozilla/extensions/xforms/resources/content/xforms-message.xul create mode 100644 mozilla/tools/tinderbox-configs/xulrunner/macosx/mozconfig create mode 100644 mozilla/tools/tinderbox-configs/xulrunner/macosx/tinder-config.pl diff --git a/mozilla/extensions/xforms/resources/content/range-xhtml.xml b/mozilla/extensions/xforms/resources/content/range-xhtml.xml new file mode 100644 index 00000000000..a899281c3aa --- /dev/null +++ b/mozilla/extensions/xforms/resources/content/range-xhtml.xml @@ -0,0 +1,115 @@ + + + + + + + + + + + + + + + + + + + + + return { + __proto__: this.ownerDocument. + getAnonymousElementByAttribute(this, "anonid", "slider"), + + set readonly() { + // XXX: bug 343523 + }, + get start() { + return this.min; + }, + set start(aValue) { + this.min = aValue; + }, + get end() { + return this.max; + }, + set end(aValue) { + this.max = aValue; + } + }; + + + + + // Call widgetAttached() after timeout to let slider widget to be + // loaded. + this.ownerDocument.defaultView.setTimeout( + function(aDelegate) + { + aDelegate.widgetAttached(); + }, 0, this.delegate); + + // The change event is generated by the slider widget defined in + // "widgets-xhtml.xml". + var changeHandler = { + range: this, + handleEvent: function(aEvent) { + this.range.updateInstanceData(true); + } + }; + this.control.addEventListener("change", changeHandler, false); + + + + + + this.updateInstanceData(false); + + + + + diff --git a/mozilla/extensions/xforms/resources/content/xforms-message.xul b/mozilla/extensions/xforms/resources/content/xforms-message.xul new file mode 100644 index 00000000000..8919ef89e00 --- /dev/null +++ b/mozilla/extensions/xforms/resources/content/xforms-message.xul @@ -0,0 +1,61 @@ + + + + + + + + + + + + + diff --git a/mozilla/tools/tinderbox-configs/xulrunner/macosx/mozconfig b/mozilla/tools/tinderbox-configs/xulrunner/macosx/mozconfig new file mode 100644 index 00000000000..b3d9b6b9a31 --- /dev/null +++ b/mozilla/tools/tinderbox-configs/xulrunner/macosx/mozconfig @@ -0,0 +1,19 @@ +# +## hostname: xserve03.build.mozilla.org +## uname: Darwin xserve03.build.mozilla.org 8.1.0 Darwin Kernel Version 8.1.0: Tue May 10 18:16:08 PDT 2005; root:xnu-792.1.5.obj~4/RELEASE_PPC Power Macintosh powerpc +# + +. $topsrcdir/build/macosx/universal/mozconfig + +export MOZILLA_OFFICIAL=1 +mk_add_options MOZILLA_OFFICIAL=1 + +mk_add_options MOZ_CO_PROJECT=xulrunner +mk_add_options MOZ_MAKE_FLAGS="-j8" +mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/../build/universal + +ac_add_options --enable-application=xulrunner +ac_add_options --disable-tests +ac_add_options --enable-svg +ac_add_options --enable-canvas +ac_add_app_options ppc --enable-prebinding diff --git a/mozilla/tools/tinderbox-configs/xulrunner/macosx/tinder-config.pl b/mozilla/tools/tinderbox-configs/xulrunner/macosx/tinder-config.pl new file mode 100644 index 00000000000..059da8e0536 --- /dev/null +++ b/mozilla/tools/tinderbox-configs/xulrunner/macosx/tinder-config.pl @@ -0,0 +1,248 @@ +# +## hostname: xserve03.build.mozilla.org +## uname: Darwin xserve03.build.mozilla.org 8.1.0 Darwin Kernel Version 8.1.0: Tue May 10 18:16:08 PDT 2005; root:xnu-792.1.5.obj~4/RELEASE_PPC Power Macintosh powerpc +# + +#- tinder-config.pl - Tinderbox configuration file. +#- Uncomment the variables you need to set. +#- The default values are the same as the commented variables. + +$MacUniversalBinary = 1; + +$ENV{CHOWN_ROOT} = "/builds/tinderbox/bin/chown_root"; +$ENV{REVERT_ROOT} = "/builds/tinderbox/bin/revert_root"; +$ENV{CHOWN_REVERT} = $ENV{REVERT_ROOT}; + +# $ENV{MOZ_PACKAGE_MSI} +#----------------------------------------------------------------------------- +# Default: 0 +# Values: 0 | 1 +# Purpose: Controls whether a MSI package is made. +# Requires: Windows and a local MakeMSI installation. +#$ENV{MOZ_PACKAGE_MSI} = 0; + +# $ENV{MOZ_SYMBOLS_TRANSFER_TYPE} +#----------------------------------------------------------------------------- +# Default: scp +# Values: scp | rsync +# Purpose: Use scp or rsync to transfer symbols to the Talkback server. +# Requires: The selected type requires the command be available both locally +# and on the Talkback server. +#$ENV{MOZ_SYMBOLS_TRANSFER_TYPE} = "scp"; + +#- PLEASE FILL THIS IN WITH YOUR PROPER EMAIL ADDRESS +#$BuildAdministrator = "$ENV{USER}\@$ENV{HOST}"; +#$BuildAdministrator = ($ENV{USER} || "cltbld") . "\@" . ($ENV{HOST} || "dhcp"); +$BuildAdministrator = "build\@mozilla.org"; + +#- You'll need to change these to suit your machine's needs +#$DisplayServer = ':0.0'; + +#- Default values of command-line opts +#- +#$BuildDepend = 1; # Depend or Clobber +#$BuildDebug = 0; # Debug or Opt (Darwin) +#$ReportStatus = 1; # Send results to server, or not +#$ReportFinalStatus = 1; # Finer control over $ReportStatus. +#$UseTimeStamp = 1; # Use the CVS 'pull-by-timestamp' option, or not +#$BuildOnce = 0; # Build once, don't send results to server +#$ConfigureOnly = 0; # Configure, but do not build. +#$TestOnly = 0; # Only run tests, don't pull/build +#$BuildEmbed = 0; # After building seamonkey, go build embed app. +#$SkipMozilla = 0; # Use to debug post-mozilla.pl scripts. +#$BuildLocales = 0; # Do l10n packaging? + +# Only used when $BuildLocales = 1 +%WGetFiles = (); # Pull files from the web, URL => Location +#$WGetTimeout = 360; # Wget timeout, in seconds +#$BuildLocalesArgs = ""; # Extra attributes to add to the makefile command + # which builds the "installers-" target. + # Typically used to set ZIP_IN and WIN32_INSTALLER_IN + +# Tests +$CleanProfile = 1; +#$ResetHomeDirForTests = 1; +$ProductName = "XULRunner"; +$VendorName = 'Mozilla'; + +$RunMozillaTests = 0; # Allow turning off of all tests if needed. +#$RegxpcomTest = 1; +#$AliveTest = 1; +#$JavaTest = 0; +#$ViewerTest = 0; +#$BloatTest = 0; # warren memory bloat test +#$BloatTest2 = 0; # dbaron memory bloat test, require tracemalloc +#$DomToTextConversionTest = 0; +#$XpcomGlueTest = 0; +#$CodesizeTest = 0; # Z, require mozilla/tools/codesighs +#$EmbedCodesizeTest = 0; # mZ, require mozilla/tools/codesigns +#$MailBloatTest = 0; +#$EmbedTest = 0; # Assumes you wanted $BuildEmbed=1 +#$LayoutPerformanceTest = 0; # Tp +#$DHTMLPerformanceTest = 0; # Tdhtml +#$QATest = 0; +#$XULWindowOpenTest = 0; # Txul +#$StartupPerformanceTest = 0; # Ts +#@CompareLocaleDirs = (); # Run compare-locales test on these directories +# ("network","dom","toolkit","security/manager"); +#$CompareLocalesAviary = 0; # Should the compare-locales commands use the + # aviary directory structure? + +#$TestsPhoneHome = 0; # Should test report back to server? + +# $results_server +#---------------------------------------------------------------------------- +# Server on which test results will be accessible. This was originally tegu, +# then became axolotl. Once we moved services from axolotl, it was time +# to give this service its own hostname to make future transitions easier. +# - cmp@mozilla.org +#$results_server = "build-graphs.mozilla.org"; + +#$pageload_server = "spider"; # localhost + +# +# Timeouts, values are in seconds. +# +#$CVSCheckoutTimeout = 3600; +#$CreateProfileTimeout = 45; +#$RegxpcomTestTimeout = 120; + +#$AliveTestTimeout = 45; +#$ViewerTestTimeout = 45; +#$EmbedTestTimeout = 45; +#$BloatTestTimeout = 120; # seconds +#$MailBloatTestTimeout = 120; # seconds +#$JavaTestTimeout = 45; +#$DomTestTimeout = 45; # seconds +#$XpcomGlueTestTimeout = 15; +#$CodesizeTestTimeout = 900; # seconds +#$CodesizeTestType = "auto"; # {"auto"|"base"} +#$LayoutPerformanceTestTimeout = 1200; # entire test, seconds +#$DHTMLPerformanceTestTimeout = 1200; # entire test, seconds +#$QATestTimeout = 1200; # entire test, seconds +#$LayoutPerformanceTestPageTimeout = 30000; # each page, ms +#$StartupPerformanceTestTimeout = 15; # seconds +#$XULWindowOpenTestTimeout = 150; # seconds + + +#$MozConfigFileName = 'mozconfig'; + +#$UseMozillaProfile = 1; +#$MozProfileName = 'default'; + +#- Set these to what makes sense for your system +#$Make = 'gmake'; # Must be GNU make +#$MakeOverrides = ''; +#$mail = '/bin/mail'; +#$CVS = 'cvs -q'; +#$CVSCO = 'checkout -P'; + +# win32 usually doesn't have /bin/mail +#$blat = 'c:/nstools/bin/blat'; +#$use_blat = 0; + +# Set moz_cvsroot to something like: +# :pserver:$ENV{USER}%netscape.com\@cvs.mozilla.org:/cvsroot +# :pserver:anonymous\@cvs-mirror.mozilla.org:/cvsroot +# +# Note that win32 may not need \@, depends on ' or ". +# :pserver:$ENV{USER}%netscape.com@cvs.mozilla.org:/cvsroot + +#$moz_cvsroot = $ENV{CVSROOT}; +$moz_cvsroot = ":ext:cltbld\@cvs.mozilla.org:/cvsroot"; + +#- Set these proper values for your tinderbox server +#$Tinderbox_server = 'tinderbox-daemon@tinderbox.mozilla.org'; + +# Allow for non-client builds, e.g. camino. +#$moz_client_mk = 'client.mk'; + +#- Set if you want to build in a separate object tree +$ObjDir = '../build/universal'; + +# Extra build name, if needed. +$BuildNameExtra = 'Universal Nightly'; + +# User comment, eg. ip address for dhcp builds. +# ex: $UserComment = "ip = 208.12.36.108"; +#$UserComment = 0; + +#- +#- The rest should not need to be changed +#- + +#- Minimum wait period from start of build to start of next build in minutes. +#$BuildSleep = 10; + +#- Until you get the script working. When it works, +#- change to the tree you're actually building +$BuildTree = 'XULRunner'; + +#$BuildName = ''; +#$BuildTag = ''; +#$BuildConfigDir = 'mozilla/config'; +#$Topsrcdir = 'mozilla'; + +$BinaryName = 'xulrunner-bin'; + +# +# For embedding app, use: +#$EmbedBinaryName = 'TestGtkEmbed'; +#$EmbedDistDir = 'dist/bin' + + +#$ShellOverride = ''; # Only used if the default shell is too stupid +#$ConfigureArgs = ''; +#$ConfigureEnvArgs = ''; +#$Compiler = 'gcc'; +#$NSPRArgs = ''; +#$ShellOverride = ''; + +# Release build options +$ReleaseBuild = 1; +#$LocaleProduct = "browser"; +$shiptalkback = 0; +#$ReleaseToLatest = 1; # Push the release to latest-? +#$ReleaseToDated = 1; # Push the release to YYYY-MM-DD-HH-? +#$build_hour = "8"; +$package_creation_path = "/xulrunner/installer"; +# needs setting for mac + talkback: $mac_bundle_path = "/browser/app"; +$mac_bundle_path = "/browser/app"; +$ssh_version = "2"; +#$ssh_user = "cltbld"; +#$ssh_server = "stage.mozilla.org"; +$ftp_path = "/home/ftp/pub/xulrunner/nightly"; +$url_path = "http://ftp.mozilla.org/pub/mozilla.org/xulrunner/nightly"; +$tbox_ftp_path = "/home/ftp/pub/xulrunner/tinderbox-builds"; +$tbox_url_path = "http://ftp.mozilla.org/pub/mozilla.org/xulrunner/tinderbox-builds"; +#$milestone = "trunk"; +$notify_list = "build-announce\@mozilla.org"; +$stub_installer = 0; +$sea_installer = 0; +$archive = 1; +$push_raw_xpis = 0; + +# Reboot the OS at the end of build-and-test cycle. This is primarily +# intended for Win9x, which can't last more than a few cycles before +# locking up (and testing would be suspect even after a couple of cycles). +# Right now, there is only code to force the reboot for Win9x, so even +# setting this to 1, will not have an effect on other platforms. Setting +# up win9x to automatically logon and begin running tinderbox is left +# as an exercise to the reader. +#$RebootSystem = 0; + +# LogCompression specifies the type of compression used on the log file. +# Valid options are 'gzip', and 'bzip2'. Please make sure the binaries +# for 'gzip' or 'bzip2' are in the user's path before setting this +# option. +#$LogCompression = ''; + +# LogEncoding specifies the encoding format used for the logs. Valid +# options are 'base64', and 'uuencode'. If $LogCompression is set above, +# this needs to be set to 'base64' or 'uuencode' to ensure that the +# binary data is transferred properly. +#$LogEncoding = ''; + +# Prevent Extension Manager from spawning child processes during tests +# - processes that tbox scripts cannot kill. +#$ENV{NO_EM_RESTART} = '1';