Commit Graph

479 Commits

Author SHA1 Message Date
Android (Google) Code Review 4da9e183bc Merge change 4066
* changes:
  Improve nested variable test.
2009-06-12 11:29:55 -07:00
Jack Palevich a6baa23f08 Improve symbol-related error checking
+ Duplicate symbols.
+ Undefined variables;
+ Forward-referenced functions that were never defined.
2009-06-12 11:25:59 -07:00
The Android Open Source Project 38e264915c merged 2cf6cff71f w/minor conflict 2009-06-12 11:14:35 -07:00
Android (Google) Code Review 47c1d7344a Merge change 4051 into donut
* changes:
  vold: Give logwrapper the ability to put jobs into the background sched group.
2009-06-12 08:36:57 -07:00
San Mehat 825c27d239 vold: Give logwrapper the ability to put jobs into the background sched group.
Also set disk check/format execution to background.

Signed-off-by: San Mehat <san@google.com>
2009-06-12 07:39:52 -07:00
Chung-yih Wang 0bd9a9f5bc Add the ipcp scripts for pppd and racoon configuration for ipsec-tools.
1. add ip-up/ip-down script
2. add /etc/ppp/peers/common
3. add /etc/racoon/racoon.conf
2009-06-12 22:35:42 +08:00
Android (Google) Code Review 7490e4b170 am 34c34267: Merge change 3951 into donut
Merge commit '34c342677e4ffb57584d571d8996822bf4d879ef'

* commit '34c342677e4ffb57584d571d8996822bf4d879ef':
  Revert "adb: Workaround for adb disconnect problem."
2009-06-12 04:59:42 -07:00
Jack Palevich 61d22dc763 Improve nested variable test.
Test that we can have two levels of local variables.
2009-06-11 22:03:24 -07:00
Jack Palevich b67b18f7c2 Add code generator tracer. 2009-06-11 21:50:17 -07:00
Jack Palevich 303d8ffca9 Improve local variable scoping.
Until now we faked local variables -- they only worked correctly if
there was no overlap between local variables and global variables.

Use a symbol table stack instead of a string list.

Fix bug with looking up undefined symbols.
2009-06-11 21:47:57 -07:00
Dan Egnor 2cf6cff71f Add a note to event-log-tags listing the log tag range
reserved for partner use, etc..
2009-06-11 15:28:59 -07:00
Android (Google) Code Review 34c342677e Merge change 3951 into donut
* changes:
  Revert "adb: Workaround for adb disconnect problem."
2009-06-11 14:45:58 -07:00
Mike Lockwood 02d40b51c6 Revert "adb: Workaround for adb disconnect problem."
This reverts commit e38a31e305.

This change had the unfortunate side effect of breaking ctrl-C
when executing "adb shell <command>"

Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-06-11 17:40:48 -04:00
Jack Palevich 2db168f12f Use a separate table for keywords. 2009-06-11 14:29:47 -07:00
Jack Palevich 0a280a0dde Remove use of setjmp/longjmp from libacc compiler.
It makes it harder to deal with memory allocation.

Also fix bug in the otcc-ansi.c test, where the wrong part of the
code buffer was being mprotected, so that if the code buffer happened
to be allocated across a page boundary, some code would no receive
execute permission.
2009-06-11 10:53:51 -07:00
San Mehat 6f5fb6fda1 am 3d6f16e5: init.rc: Set default cpu shares for background scheduler group to < 1%
Merge commit '3d6f16e5edc9834b13a0bcc8a33c98e25518d919'

* commit '3d6f16e5edc9834b13a0bcc8a33c98e25518d919':
  init.rc: Set default cpu shares for background scheduler group to < 1%
2009-06-10 11:15:30 -07:00
San Mehat 3d6f16e5ed init.rc: Set default cpu shares for background scheduler group to < 1%
Signed-off-by: San Mehat <san@google.com>
2009-06-10 10:49:57 -07:00
Jaikumar Ganesh 1d36696821 Bluez4 changes
Rename hcid to bluetoothd and change permissions.
2009-06-09 17:21:38 -07:00
Android (Google) Code Review 61cd81dd8d Merge change 3537
* changes:
  Add tag for AggregationService.
2009-06-09 16:17:42 -07:00
Android (Google) Code Review 607e5dd69b Merge change 3645
* changes:
  Make otcc code work in x64 based system with 32-bit chroot.
2009-06-09 16:01:04 -07:00
Android (Google) Code Review 5b533bea52 Merge change 3499
* changes:
  Make a host version of acc for testing.
2009-06-09 16:00:48 -07:00
Android (Google) Code Review 268eec1e5e Merge change 3498
* changes:
  Move macros into their own table.
2009-06-09 16:00:28 -07:00
Jack Palevich 8dc662efe9 Make otcc code work in x64 based system with 32-bit chroot.
Set execute permission on code before running it.
Handle negative relative offsets for global variables.
Add printfs to report the progress of nested compiles.
Change way we detect whether we can run the host compiler
or not. We used to check if we were running on a 32-bit
Linux. Now we check if the executable is a 32-bit Linux
executable.
2009-06-09 22:59:04 +00:00
Dmitry Shmidt 720f08f3ff Add /config mounting point
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2009-06-09 14:38:56 -07:00
Chung-yih Wang 50900772ed am 1f75d709: Add VPN and Keystore services and data directories.
Merge commit '1f75d709c10f49d2e2390b888e766bcfd17da860'

* commit '1f75d709c10f49d2e2390b888e766bcfd17da860':
  Add VPN and Keystore services and data directories.
2009-06-08 20:01:48 -07:00
Chung-yih Wang 1f75d709c1 Add VPN and Keystore services and data directories.
-- changed the default mode to 0770 for keystore with the new user 'keystore'.
-- add the keystore service providing the basic key lookup/install/remove, but
  only keystore user can access the key content.
2009-06-09 10:49:39 +08:00
Jim Miller cae5f6aa21 Add tag for AggregationService. 2009-06-08 19:00:27 -07:00
Jack Palevich 36d9414f72 Make a host version of acc for testing.
Don't run the code we've compiled unless the -R option is present.
2009-06-08 15:55:32 -07:00
Jack Palevich 2d11dfba27 Move macros into their own table.
Catch attempts to define macros with parens (not supported.)
2009-06-08 14:34:26 -07:00
Kenny Root 417a323535 Fix typo in adb commandline help
Android developers are not expected to have PDP-11s.
2009-06-08 14:40:30 -05:00
Mathias Agopian ce51b3b55f break dependency on utils/Endian.h 2009-06-07 02:13:02 -07:00
Christopher Tate 65adbbb3d8 am 17df71e0: Add an OOM adjustment category for apps undergoing backup
Merge commit '17df71e0b277372de1d915c168c07c8877e82395'

* commit '17df71e0b277372de1d915c168c07c8877e82395':
  Add an OOM adjustment category for apps undergoing backup
2009-06-05 21:17:51 -07:00
Christopher Tate 17df71e0b2 Add an OOM adjustment category for apps undergoing backup
In this initial commit, apps undergoing backup are treated equivalently
to apps hosting services:  more important than anything other than the
foreground app.
2009-06-05 18:20:08 -07:00
Mathias Agopian af20325a45 Merge commit 'goog/master' into merge_master 2009-06-05 15:45:43 -07:00
Jack Palevich b7c81e9952 Switch to ANSI C style C function declarations.
main(argc, argv) --> int main(int argc, char** argv)

Although we accept int, void, and char types, and pointers to same,
we actually still treat everything as an int.
2009-06-04 19:56:13 -07:00
Jack Palevich eedf9d2083 Add support for #pragma foo(bar)
Report unsupported/unknown preprocessor directives.
Report line number of error rather than character offset.
2009-06-04 16:38:35 -07:00
Android (Google) Code Review f4c94943a9 am 87657782: Merge change 3008 into donut
Merge commit '876577823d7679fa18f175405ce77e5257161e3a'

* commit '876577823d7679fa18f175405ce77e5257161e3a':
  adb: Workaround for adb disconnect problem.
2009-06-02 22:48:18 -07:00
Android (Google) Code Review 876577823d Merge change 3008 into donut
* changes:
  adb: Workaround for adb disconnect problem.
2009-06-02 22:10:40 -07:00
Mike Lockwood e38a31e305 adb: Workaround for adb disconnect problem.
For non-interactive adb shell commands, batch USB writes into 4K chunks
instead of sending small packets of data as they come in.
Add a timeout so we do not block for more than 200ms when our 4K buffer is partially full.

Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-06-02 22:09:03 -07:00
The Android Open Source Project 49ef8664e4 am 47e234fa: Merge commit \'66e4691ad097cfc37bdb7d3b1705ee9132f3234e\' into donut
Merge commit '47e234fa73116937855eaaaed4bc0ee27f87c971'

* commit '47e234fa73116937855eaaaed4bc0ee27f87c971':
  AI 149490: Add support for 3rd party USB Vendor.
2009-06-02 17:03:26 -07:00
The Android Open Source Project 47e234fa73 Merge commit '66e4691ad097cfc37bdb7d3b1705ee9132f3234e' into donut 2009-06-02 16:39:12 -07:00
Xavier Ducrohet 66e4691ad0 AI 149490: Add support for 3rd party USB Vendor.
BUG=1890147

Automated import of CL 149490
2009-06-02 12:03:55 -07:00
San Mehat efc0c13b52 am f754f740: Revert "Mount SD card synchronous. This is an experimental change intended to"
Merge commit 'f754f740a3e06212836f7465001edb0fe5157ba8'

* commit 'f754f740a3e06212836f7465001edb0fe5157ba8':
  Revert "Mount SD card synchronous. This is an experimental change intended to"
2009-06-02 10:33:28 -07:00
San Mehat c4c8d0ec3f am 21e90f0e: nexus: Validate that priority and KeyManagement are set before enabling a network
Merge commit '21e90f0e10b5a75e583b10799c0084ddab3433d6'

* commit '21e90f0e10b5a75e583b10799c0084ddab3433d6':
  nexus: Validate that priority and KeyManagement are set before enabling a network
2009-06-02 10:33:27 -07:00
San Mehat e085355735 am 78828ff4: nexus: Use interface for handling Supplicant events
Merge commit '78828ff4f5f959fcf8066ecb6a6b689d2a3c5985'

* commit '78828ff4f5f959fcf8066ecb6a6b689d2a3c5985':
  nexus: Use interface for handling Supplicant events
  nexus: Remove dependancy on libutil
2009-06-02 10:32:12 -07:00
San Mehat f754f740a3 Revert "Mount SD card synchronous. This is an experimental change intended to"
This reverts commit 23eaecf02d.
2009-06-02 10:27:52 -07:00
San Mehat 21e90f0e10 nexus: Validate that priority and KeyManagement are set before enabling a network
Signed-off-by: San Mehat <san@google.com>
2009-06-02 10:26:58 -07:00
San Mehat 78828ff4f5 nexus: Use interface for handling Supplicant events
Signed-off-by: San Mehat <san@google.com>
2009-06-02 10:26:58 -07:00
San Mehat 37629255e9 nexus: Remove dependancy on libutil
Signed-off-by: San Mehat <san@google.com>
2009-06-02 10:26:58 -07:00
Android (Google) Code Review baf83e0250 am 3f627205: Merge change 2875 into donut
Merge commit '3f6272056275a00c30c07394d63bbe81cc9c5eba'

* commit '3f6272056275a00c30c07394d63bbe81cc9c5eba':
  Added ashmem_get_size_region() function.
2009-06-02 05:30:08 -07:00