johnmccutchan@google.com
55a0bed8dc
Rewrite Windows path separator to be Unix path separator in Observatory resource bundle
...
BUG=
R=turnidge@google.com
Review URL: https://codereview.chromium.org//317873003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@37031 260f80e4-7a28-3924-810f-c04153c831b5
2014-06-05 16:01:27 +00:00
johnmccutchan@google.com
db018bba6e
Do not include DevTools version of Observatory with standalone VM
...
BUG=
R=asiva@google.com
Review URL: https://codereview.chromium.org//310153003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36941 260f80e4-7a28-3924-810f-c04153c831b5
2014-06-03 20:50:12 +00:00
johnmccutchan@google.com
dc7d4ce90a
Upgrade Observatory to Polymer 0.10.x
...
R=turnidge@google.com
Review URL: https://codereview.chromium.org//299823004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36544 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-23 07:10:12 +00:00
johnmccutchan@google.com
36df45cd9b
Replace '\' with '' in resources table
...
BUG=
R=vsm@google.com
Review URL: https://codereview.chromium.org//160253006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32609 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-12 17:26:27 +00:00
johnmccutchan@google.com
943103d555
Replace Windows path separators with underscore
...
BUG=
Review URL: https://codereview.chromium.org//153493004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32519 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-10 21:21:45 +00:00
johnmccutchan@google.com
c76b6eb1c2
Split service into VM and embedder specific bits.
...
Move most service sources into the VM.
R=asiva@google.com
Review URL: https://codereview.chromium.org//125103004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31809 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-14 22:34:43 +00:00
zra@google.com
3508d336dd
Simplifies standalone VM Android build.
...
This change also avoids the need to
do another 'gclient runhooks' when switching
between Android and Linux builds, and between
IA32 and ARM Android builds.
gyp does not allow 'libraries' sections inside of
configurations. Therefore, since some architecture
specific paths, libraries, etc. must be specified
on the Android NDK's linker command line, to avoid
re-gyping when switching between Android IA32 and ARM,
this change moves the architecture specific linker
flags to a script, android_link.py.
To avoid re-gyping when swtiching between Linux and
Android, this change creates new configurations
that specify the target OS as well as the the target
architecture, e.g. ReleaseLinuxARM or ReleaseAndroidARM
instead of ReleaseARM.
This change also adds a --toolchain flag to build.py,
and removes obsoleted logic for setting up the Android
build.
R=iposva@google.com
Review URL: https://codereview.chromium.org//105223002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31340 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-20 17:51:34 +00:00
srdjan@google.com
515cfcc3cc
Fix SIMMIPS build with latest XCode (Thanks Ivan!)
...
R=iposva@google.com
Review URL: https://codereview.chromium.org//44843002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29264 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-25 17:32:44 +00:00
cbracken@google.com
22628ce31f
Output character literals rather than ints in create_resources.py
...
Fixes the following class of errors under gcc 4.8:
out/ReleaseX64/obj/gen/resources_gen.cc:3074:1: error: narrowing conversion of ‘137’ from ‘int’ to ‘const char’ inside { } is ill-formed in C++11 [-Werror=narrowing]
BUG=
R=asiva@google.com
Review URL: https://codereview.chromium.org//26969005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28752 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-16 21:31:21 +00:00
johnmccutchan@google.com
cb7711eaa3
Reorganize VM Service client.
...
This CL is largely a move/rename of the sources so they are laid out in the standard directory layout (the other layout is no longer necessary with the single html and js file deployed output). Buried inside the rename is the out/ directory which contains the observatory deployed as a single js file + html/img assets.
bootstrap_css DEPS have been updated already.
R=iposva@google.com
Review URL: https://codereview.chromium.org//27530002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28740 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-16 17:49:33 +00:00
johnmccutchan@google.com
2786add1ea
Initial GUI for VM service
...
R=asiva@google.com
Review URL: https://codereview.chromium.org//24844002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28462 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-10 16:36:03 +00:00
johnmccutchan@google.com
7fec0190f5
Revert 28422
...
BUG=
Review URL: https://codereview.chromium.org//26686005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28426 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-09 22:24:21 +00:00
johnmccutchan@google.com
209d858d4d
Initial GUI for VM service
...
R=asiva@google.com
Review URL: https://codereview.chromium.org//24844002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28422 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-09 21:57:33 +00:00
johnmccutchan@google.com
0c3da8089d
Replace - with _ when mapping from filename to C symbol name
...
BUG=
R=asiva@google.com
Review URL: https://codereview.chromium.org//24642005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27966 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-26 18:24:44 +00:00
whesse@google.com
8923601f5a
Disable all warnings when compiling NSS.
...
Disabling individual warnings when compiling NSS no longer works, because
some warnings that cannot be disabled individually are now generated.
BUG=dartbug.com/13064
R=sgjesse@google.com
Review URL: https://codereview.chromium.org//23440018
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27190 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-05 11:09:00 +00:00
regis@google.com
93059fe3cf
More cleanup related to malformed and malbounded types.
...
Remove support for warnings in parser and related flags.
Rename flag --error-on-malformed-type to --error-on-bad-type, since it covers
both malformed and malbounded types (also closer to --error-on-bad-override).
R=hausner@google.com
Review URL: https://codereview.chromium.org//23465004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26677 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-26 23:24:01 +00:00
regis@google.com
9eb12ad303
Implement updated method overriding rules in the vm (issue 11495).
...
Introduce --error-on-bad-override flag and use it when generating snapshots.
Fix signature checking when patching methods.
Fix errors in patch files.
Fix receiver type of constructors.
Fix finalization of mixin application typedefs.
Update tests and status files.
R=asiva@google.com
Review URL: https://codereview.chromium.org//22685007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26027 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-12 20:28:52 +00:00
zra@google.com
55d97a6d56
Adds missing case in mips double comparison.
...
Also, adds mips and simmips to runtime benchmark script,
and fixes up a status file.
R=regis@google.com
Review URL: https://codereview.chromium.org//18123003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24541 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-27 19:03:04 +00:00
whesse@google.com
5623cf6b86
A working version of dart_no_snapshot on Android.
...
BUG=
R=gram@google.com , sgjesse@google.com
Review URL: https://codereview.chromium.org//15706008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23335 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-29 09:43:10 +00:00
asiva@google.com
89ef11e004
Final step towards loading core library scripts directly from the sources
...
- Modify bin.gypi to ensure that the io library and patch files are read
directly from the sources. Remove the source buffer generation step in
the gypi files for all the io library and patch files.
- Restructure the code a bit to eliminate some code duplication.
- Delete runtime/tools/concat_library.py
R=ager@google.com , sgjesse@google.com
Review URL: https://codereview.chromium.org//14752008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22514 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-08 16:42:46 +00:00
podivilov@google.com
d83e6dddf4
Fix Clank+Dart compilation.
...
R=iposva@google.com
Review URL: https://codereview.chromium.org//15023007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22505 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-08 13:00:09 +00:00
asiva@google.com
4577abd566
Third step towards loading core library scripts directly from the sources
...
- Read the patch source files using the source mapping array generated for
patch files instead of relying on a generated buffer containing the sources.
- Modify the gyp files to ensure that all patch libraries are read directly
from the sources. Remove the source buffer generation step in the gypi
files for all patch files.
R=hausner@google.com , iposva@google.com
Review URL: https://codereview.chromium.org//14784010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22436 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-06 18:16:25 +00:00
asiva@google.com
ea5a3919c5
Resubmit 22380 after fixing the windows build.
...
R=hausner@google.com
Review URL: https://codereview.chromium.org//14645025
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22396 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-03 22:50:26 +00:00
asiva@google.com
dab8758e7a
Revert 22380 to investigate windows build break.
...
Review URL: https://codereview.chromium.org//14927003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22382 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-03 18:26:34 +00:00
asiva@google.com
27e78fb6f8
Second step towards loading core library scripts directly from the sources
...
- Modify the library source generator to generate a source mapping array
The generated array is of the following format:
const char* dart::Bootstrap::corelib_source_paths_[] = {
"dart:core", "/workspace1/dart-all/dart/sdk/lib/core/core.dart",
"bool.dart", "/workspace1/dart-all/dart/sdk/lib/core/bool.dart",
...
...
};
- Read the source file using the source mapping array instead of relying on
a generated buffer containing the sources
- Modify the gyp files to ensure that all libraries are read directly
from the sources. This CL does not change the patch part yet.
Remove the source concatentation step in the gypi files for all the core
libraries.
R=hausner@google.com , iposva@google.com
Review URL: https://codereview.chromium.org//14786012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22380 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-03 18:12:24 +00:00
smok@google.com
ebbc2020a2
Put everything in runtime/bin into '::dart::bin' namespace.
...
Review URL: https://codereview.chromium.org//14341015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22032 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-25 14:22:30 +00:00
regis@google.com
698a98b860
Pass flag --error_on_malformed_type when running gen_snapshot.
...
This will prevent silent mapping of malformed types to 'dynamic' in the core
library.
Review URL: https://codereview.chromium.org//14111002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21236 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-10 23:02:10 +00:00
iposva@google.com
3a858ca8a9
- Consolidate String sources in the runtime libraries.
...
Review URL: https://codereview.chromium.org//13097009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20578 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-27 20:57:25 +00:00
iposva@google.com
3681bc9c2c
- Clone the find_mac_sdk.py script to automatically detect Mac OS SDK version.
...
Review URL: https://codereview.chromium.org//12803007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20124 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-15 23:18:04 +00:00
tball@google.com
9e3a61f149
Added support for "bin-ified" resources, used to link the vmstats
...
web app files into the VM binary. create_resources.py takes a list
of resources and writes each as a byte array, then builds a resource
table. resources.h defines a simple lookup for these arrays, which
vmstats uses.
Review URL: https://codereview.chromium.org//12377099
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19569 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-06 17:48:53 +00:00
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