Commit Graph

48 Commits

Author SHA1 Message Date
iposva@google.com 44bc457424 - Fix simarm/simmips builds on Mac.
Review URL: https://codereview.chromium.org//12033063

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17505 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-23 22:17:26 +00:00
kustermann@google.com 42813dffe6 Move runtime/tools/make_version.py to tools/ and use GetVersion from utils.py
Currently runtime/tools/make_version.py creates the version string itself.
Since this is already done in tools/release/version.dart, we should use
that. tools/utils.py provides a python wrapper around it with GetVersion().

Review URL: https://codereview.chromium.org//11440010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15769 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-06 08:52:32 +00:00
whesse@google.com 7bc0bbd284 Add built-in root certificates to dart:io SecureSocket.
Add flag that allows them to disabled at runtime.

BUG=

Review URL: https://codereview.chromium.org//11308271

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15634 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-03 13:15:51 +00:00
kmillikin@google.com 8974984d4d Enable building with VTune support on Windows.
R=vegorov@google.com
BUG=

Review URL: https://codereview.chromium.org//11419230

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15576 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-30 11:53:44 +00:00
vegorov@google.com 132bdc6bfb Support VTune's JIT interface.
R=iposva@google.com
BUG=

Review URL: https://codereview.chromium.org//11412106

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15517 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-29 13:54:06 +00:00
iposva@google.com e90e9086e2 - Remove unneeded library tags when concatenating libraries.
Review URL: https://codereview.chromium.org//11411176

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15368 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-27 05:41:14 +00:00
sgjesse@google.com 3231b9fdd7 Roll NSS to 169195.
This updates NSS to version 3.14.

It also contains a fix for compiling with -O3 on GCC 4.6.3.

R=whesse@google.com
Review URL: https://codereview.chromium.org//11413141

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15278 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-23 10:12:07 +00:00
whesse@google.com 92045c8c64 Change gyp flag from in_dartium to dart_io_support.
BUG=

Review URL: https://codereview.chromium.org//11377098

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14842 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-13 11:47:31 +00:00
whesse@google.com d131fa7e72 Disable NSS build targets in a Dartium build.
BUG=

Review URL: https://codereview.chromium.org//11369152

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14740 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-09 13:56:08 +00:00
whesse@google.com 4cf65abfa2 Add gyp files to build NSS in Dart
The change builds static versions of the cross-platform secure networking libraries NSS and NSPR from Mozilla, on Linux, MacOS, and Windows.  These libraries are linked with the standalone Dart executable in a future changelist to support HTTPS and SSL networking in dart:io.

The built libraries will be tested by that future changelist.

Patchlist 19 was committed: https://code.google.com/p/dart/source/detail?r=14524

Reverted in r=14529

Pachlist 21 was committed: https://code.google.com/p/dart/source/detail?r=14684

Reverted in r=14688

Review URL: https://codereview.chromium.org//10909189

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14730 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-09 10:37:45 +00:00
whesse@google.com 677bbd7d29 "Reverting 14684" - Building NSS libraries. It is causing local compilation failures.
BUG=

Review URL: https://codereview.chromium.org//11364150

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14688 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-08 16:00:02 +00:00
whesse@google.com 68456442b7 Add gyp files to build NSS in Dart
The change builds static versions of the cross-platform secure networking libraries NSS and NSPR from Mozilla, on Linux, MacOS, and Windows.  These libraries are linked with the standalone Dart executable in a future changelist to support HTTPS and SSL networking in dart:io.

The built libraries will be tested by that future changelist.

Patchlist 19 was committed: https://code.google.com/p/dart/source/detail?r=14524

Reverted in r=14529

Review URL: https://codereview.chromium.org//10909189

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14684 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-08 15:07:27 +00:00
whesse@google.com c8841879eb Revert commit 14524, which builds NSS and NSPR libraries, for secure networking.
There are builders which build Windows 64-bit versions of the SDK, and the Dartium build builds the Dart runtime executable, both of which were not supported by the CL.

BUG=

Review URL: https://codereview.chromium.org//11275150

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14527 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-05 13:53:42 +00:00
whesse@google.com fcd4c3da98 This change depends on changelist 11341038, which checks out third_party/nss and related libraries from the Chromium repository into third_party in the Dart repository, and on changelist 11343039, which adds platform-specific files for linux to the Chromium repository.
The change builds static versions of the cross-platform secure networking libraries NSS and NSPR from Mozilla, on Linux, MacOS, and Windows.  These libraries are linked with the standalone Dart executable in a future changelist to support HTTPS and SSL networking in dart:io.

The built libraries will be tested by that future changelist.

Review URL: https://codereview.chromium.org//10909189

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14524 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-05 13:22:31 +00:00
ricow@google.com 22437faa4d Remove most debug output from runtime/tools/make_version.py
Review URL: https://codereview.chromium.org//11340005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14180 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-29 09:59:20 +00:00
gram@google.com f4c6bdab09 Make parser of the android package lister be more forgiving. Without this
I can't build on my machine unless I have the emulator running.
Review URL: https://codereview.chromium.org//11315015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14159 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-26 23:07:29 +00:00
ager@google.com 5e37ec6d62 Fix version script for git repos that are not git-svn.
R=ricow@google.com
BUG=

Review URL: https://codereview.chromium.org//11236034

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13921 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-23 05:50:14 +00:00
ahe@google.com 26a3dd4b36 Ensure all debug messages are flushed.
Review URL: https://codereview.chromium.org//11244003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13897 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-22 17:50:54 +00:00
ahe@google.com 18fb8f7923 Add more debug information for http://dartbug.com/6005.
Review URL: https://codereview.chromium.org//11189120

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13894 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-22 17:06:05 +00:00
ricow@google.com 9e62e0158c Add debug info to the make_version python script.
Review URL: https://codereview.chromium.org//11189086

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13812 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-19 08:51:18 +00:00
ricow@google.com 706ef1b453 Fix make_version.py in cases where we cant get revision info
Review URL: https://codereview.chromium.org//11085074

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13545 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-11 14:50:17 +00:00
iposva@google.com b483f6c39d - More Windows Unix confusion.
Review URL: https://codereview.chromium.org//11091061

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13520 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-11 07:46:00 +00:00
iposva@google.com 2cc23541a1 - Avoid calling Unix commands on Windows.
Review URL: https://codereview.chromium.org//11086066

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13519 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-11 07:43:02 +00:00
iposva@google.com 84961d3d8c - Windows' not Unix.
Review URL: https://codereview.chromium.org//11103029

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13516 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-11 07:32:49 +00:00
iposva@google.com bc26800a4f - Generate a version string based on the VERSION file.
- Add a Dart_VersionString to the API.
- Print version string when passing --version to the standalone binary.
Review URL: https://codereview.chromium.org//11086065

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13514 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-11 07:17:09 +00:00
ahe@google.com dbf1cbd5bd Attempt to fix dartium mac build
Review URL: https://codereview.chromium.org//10982070

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12969 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-27 15:30:14 +00:00
antonm@google.com a1770a8bbd Sync .gitignore with the corresponding svn properties.
R=ahe@google.com

Review URL: https://chromiumcodereview.appspot.com//10914176

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12122 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-10 15:44:25 +00:00
jackpal@google.com 95273b7501 Fix ahe's feedback.
+ Define a util.Error class and use it instead of a raw Exception

+ Periods at the end of sentences in comments and error messages.

+ Destructuring assignment for working with tupples.

BUG=

Review URL: https://chromiumcodereview.appspot.com//10916021

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11667 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-30 23:08:40 +00:00
ricow@google.com 4de86f1946 Update V8 to version 3.12.
This is a reapply of 11597 with a fix for duplicate Dart_Debug section in the runtime-configurations.gype.
Review URL: https://chromiumcodereview.appspot.com//10917007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11601 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-30 11:20:35 +00:00
ahe@google.com 4a89ba1dca Revert "Update V8 to 3.12."
This reverts r11597.

Review URL: https://chromiumcodereview.appspot.com//10916006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11599 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-30 10:54:23 +00:00
ahe@google.com 7197f2ab2d Update V8 to 3.12.
This includes moving some xcode settings to
runtime-configurations.gypi as they were
conflicting with v8 build.

Testing:

$ ./tools/build.py -mrelease --arch=x64,ia32
$ ./tools/test.py -mrelease --arch ia32,x64
$ file xcodebuild/ReleaseIA32/dart xcodebuild/ReleaseX64/dart xcodebuild/ReleaseIA32/d8 xcodebuild/ReleaseX64/d8
xcodebuild/ReleaseIA32/dart: Mach-O executable i386
xcodebuild/ReleaseX64/dart:  Mach-O 64-bit executable x86_64
xcodebuild/ReleaseIA32/d8:   Mach-O executable i386
xcodebuild/ReleaseX64/d8:    Mach-O executable i386

Review URL: https://chromiumcodereview.appspot.com//10892034

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11597 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-30 10:43:56 +00:00
jackpal@google.com 73ffeb4418 Add support for building the Dart VM for Android OS.
The Android target OS is based upon the existing Linux target OS.
The existing _linux source files have been copied to create
corresponding _android source files. The copies have been
modified as needed to adapt to differences between the Linux
platform and the Android platform.

Currently the dart vm binary builds on Linux and runs on x86 Android,
Simple test scripts execute correctly, but no formal testing has been
done.

The process for building the Dart VM for Android will be documented on
the Dart wiki.
BUG=

Review URL: https://chromiumcodereview.appspot.com//10823209

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11547 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-29 20:42:28 +00:00
jackpal@google.com dfc984f75f Support generating the dart vm snapshot binary on Android
This change splits the generate_snapshot_file build target into two targets:

generate_snapshot_bin - executes gen_snapshot to create snapshot_bin_file
generate_snapshot_file - creates snapshot_cc_file

It's not strictly necessary to split the generation into two steps, but
it is convenient to do so, because only the first step needs to know about
Android. The second step can be shared between all builds.

For Android we copy the gen_snapshot executable and all its input files
to Android, run it there, and copy the output files back to the host.

Review URL: https://chromiumcodereview.appspot.com//10827250

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10676 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-14 20:04:54 +00:00
iposva@google.com 1ae2ffe23e Fix http://dartbug.com/4143
- Remove obsolete gdb macros file.
Review URL: https://chromiumcodereview.appspot.com//10800018

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9750 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-18 22:36:35 +00:00
asiva@google.com e1fb3a72b1 Fix benchmark script to account for the recent executable directory name change.
Review URL: https://chromiumcodereview.appspot.com//10634018

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9010 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-21 23:12:42 +00:00
ahe@google.com e3cad04c02 Split the URI library across multiple files.
Review URL: https://chromiumcodereview.appspot.com//10383103

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7543 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-11 13:40:03 +00:00
vsm@google.com 6d22763a88 Define DEBUG for Chrome Debug config
Review URL: https://chromiumcodereview.appspot.com//9702063

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5510 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-15 05:22:41 +00:00
iposva@google.com 9dc3d0f49d - Add dart:json, dart:uri and dart:utf8 to the known and builtin libraries.
- Unify and simplify the building of the creation of the source file.
Review URL: https://chromiumcodereview.appspot.com//9417012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4336 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-16 19:59:19 +00:00
turnidge@google.com 5c9dbe6a05 Revert my last change. Windows dislikes long strings...
Review URL: https://chromiumcodereview.appspot.com//9407017

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4281 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-15 19:25:22 +00:00
turnidge@google.com 7177dce4e9 Make gen files more human-readable by using a string initializer
instead of an integer array initializer.

For example, the initializer in builtin_gen.cc now looks something like this:

const char Builtin::builtin_source_[] =
 
  // ----- bin/builtin.dart -----

  "// Copyright (c) 2011, the Dart project authors.  Please see the AUTHORS file\n"
  "// for details. All rights reserved. Use of this source code is governed by a\n"
  "// BSD-style license that can be found in the LICENSE file.\n"
  "\n"
  "#library(\"builtin\");\n"
  "#import(\"dart:nativewrappers\");\n"
  "#import(\"dart:coreimpl\");\n"
  "\n"
  "void print(arg) {\n"
  "  _Logger._printString(arg.toString());\n" /* L10 */
  "}\n"
  "\n"
  "void exit(int status) {\n"
  "  if (status is !int) {\n"
  "    throw new IllegalArgumentException(\"int status expected\");\n"
  "  }\n"
  "  _exit(status);\n"
  "}\n"
  "\n"
  "_exit(int status) native \"Exit\";\n" /* L20 */
  "\n"
  "class _Logger {\n"
  "  static void _printString(String s) native \"Logger_PrintString\";\n"
  "}\n"

;
Review URL: https://chromiumcodereview.appspot.com//9348112

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4280 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-15 19:14:03 +00:00
turnidge@google.com 901f5d693c Print the failing command if we run into trouble while creating snapshot.
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1823 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-23 23:41:35 +00:00
ager@google.com 53ab9b1cfb Undo change to generate_projects file used by Golem.
Golem really should be updated to use gclient instead but
doing this to get the builder going again.

R=whesse@google.com
BUG=
TEST=

Review URL: http://codereview.chromium.org//8633009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1736 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-22 11:34:23 +00:00
ager@google.com 8b047a6544 Fix gclient runhooks on Windows for a full checkout.
The problem was incorrect setting of and use of the DEPTH gyp
variable.

R=whesse@google.com
BUG=496
TEST=

Review URL: http://codereview.chromium.org//8472007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1706 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-21 15:47:21 +00:00
asiva@google.com aaffbd2561 Support command line parameters to specify a url to file name mapping. This is used during snapshot generation so that a URL is mapped to a physical file name.
Review URL: http://codereview.chromium.org//8439061

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1550 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-15 21:19:27 +00:00
asiva@google.com 8743e1cc2a - Fix the snapshot generation python script to return an error code when snapshot generation fails and print the error message.
- Split isolate creation into CreateIsolate and InitializeIsolate so that we don't get SEGVs when there is a failure compiling the corelib dart sources during the bootstrap process
Review URL: http://codereview.chromium.org//8334031

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1225 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-04 22:08:13 +00:00
mattsh@google.com 512a603600 use more distinctive pattern to mark where dart source goes
BUG=
TEST=

Review URL: http://codereview.chromium.org//8363018

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1100 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-02 16:58:25 +00:00
asiva@google.com eea0c4fd61 Fix the snapshot creation script for the new command line syntax.
Review URL: http://codereview.chromium.org//8414015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@900 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-28 17:14:35 +00:00
dgrove@google.com 4c0f559d23 Initial checkin.
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 05:20:07 +00:00