aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | Misc New Project Wizard fixesTor Norbye2011-09-065-10/+81
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This changeset fixes a couple of bugs in the New Project wizard: (1) It escapes strings, such as the application name, in the strings.xml file. http://code.google.com/p/android/issues/detail?id=6725 (2) It fixes package name validation in the activity name http://code.google.com/p/android/issues/detail?id=14811 (3) It selects an SDK target by default http://code.google.com/p/android/issues/detail?id=17505 Finally it also ensures that the suggested activity name is a valid Java class name even where the application name is not. Change-Id: Iba9843dbb2fbb09324122d285e51ad937f6fddfd
* | | | | Merge "Update New XML File Wizard"Tor Norbye2011-09-065-569/+746
|\ \ \ \ \ | |_|/ / / |/| | | |
| * | | | Update New XML File WizardTor Norbye2011-09-065-569/+746
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This changeset updates the "New XML File" wizard a bit to make the page smaller, and at the same time make the root element selection more prominent. 1) The configuration chooser is moved to an optional second page, along with the target folder text field. 2) The first page now uses a table with icons instead of a dropdown for the "root element" selection. In practice this means that when you create a new layout XML file, most of the wizard page is showing you a list of available layouts along with their icons. 3) The file type radio button rows have been replaced by a single dropdown instead. 4) There are a couple of new "New File Wizard" registrations for specific types (layouts, values) that preselect the given type and ignores the wizard invocation context. This allows for example filtering on "layout" in the New File wizard. 5) The "initialize from context" code now picks up the type of the current file and uses that in its initial guess of project, type and folder. 6) Fix a bug with the code to format files on creation. The GUI code is now edited using WindowBuilder. Internally, the wizard and wizard pages communicate via a wizard value object. Also, the GUI Change-Id: Ic4301ff45e4ecac5c590ac606fc5f5daa4d1a1a1
* | | | Merge "Formatting fixes for color lists"Tor Norbye2011-09-064-9/+41
|\ \ \ \
| * | | | Formatting fixes for color listsTor Norbye2011-09-064-9/+41
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Color lists ended up getting formatted using the generic layout style instead of the resource style (with multiple attributes packed into the same line). Furthermore, by convention the "color" attribute always logically sorts to the end, after the various state flags, so update the attribute sorting rules to reflect this. Change-Id: Iaa88106f7eaf7c953b3a97dc203da5833a3bf085
* | | | Convert Tabs -> Spaces.Siva Velusamy2011-09-065-107/+107
| | | | | | | | | | | | | | | | Change-Id: Ib2b1311047624f2d31c3806400047b8beb01dcbf
* | | | Add gldebugger feature.Siva Velusamy2011-09-065-0/+262
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Update build scripts to include gldebugger feature only for internal builds. Change-Id: I3ad9422309df6e0befc878f50e147399b1a3b456
* | | | Move gldebugger tests to separate tests plugin.Siva Velusamy2011-09-069-10/+56
| | | | | | | | | | | | | | | | Change-Id: I0f1d353c3d5cbd3c21c529472a42d9e8123f909d
* | | | Rename package to com.android.ide.eclipse.gldebugger.Siva Velusamy2011-09-0623-117/+120
| | | | | | | | | | | | | | | | Change-Id: Id9030afeb13eac4fd725c27f19593cd9218fb369
* | | | Remove @Override's.Siva Velusamy2011-09-067-195/+161
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Update sources to compile with Java 1.5. The plugin should build now, except for the tests folder. Change-Id: I07cafdd40056705e9d24f444c054fe85f9e5e152
* | | | Add create dependencies script for gldebugger.Siva Velusamy2011-09-069-103/+89
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move common code from ddms & hierarchy viewer scripts into common_setup.sh, and reuse the same code in create_gldebugger_symlinks. The script copies/soft-links all required dependencies into the libs folder. Update gldebugger project meta data to pick up dependencies from the libs folder. Change-Id: I0c9ccaf01ee43168f6b94bf85b2f42b5fc08ffec
* | | | GLES2Dbg: more tests and minor fixes/improvementsDavid Li2011-09-0610-71/+256
| | | | | | | | | | | | | | | | | | | | Change-Id: I24adaad3c96d62a23570d05be66a9e20b7643223 Signed-off-by: David Li <davidxli@google.com>
* | | | GLES2Dbg: use GL implementation constants sent from serverDavid Li2011-09-066-37/+85
| | | | | | | | | | | | | | | | Signed-off-by: David Li <davidxli@google.com>
* | | | GLES2Dbg: initial testsDavid Li2011-09-0611-272/+235
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Also remove GLFunction enum, since the enums already exist in DebuggerMessage.Function Signed-off-by: David Li <davidxli@google.com>
* | | | GLES2Dbg: noop - camelCase function namesDavid Li2011-09-0617-811/+812
| | | | | | | | | | | | | | | | Signed-off-by: David Li <davidxli@google.com>
* | | | GLES2Dbg: generate Android.mk and main functionDavid Li2011-09-061-5/+169
| | | | | | | | | | | | | | | | Signed-off-by: David Li <davidxli@google.com>
* | | | GLES2Dbg: reconstruct vertex attributes to match indicesDavid Li2011-09-0611-305/+634
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rather than converting glDrawElements into glDrawArrays and uploading all attributes each draw call. Also added CaptureDraw and CaptureSwap options. Signed-off-by: David Li <davidxli@google.com>
* | | | GLES2Dbg: cache Messages to RandomAccessFileDavid Li2011-09-067-143/+303
| | | | | | | | | | | | | | | | | | | | | | | | -Load and format Message when the frame is selected to save memory. Signed-off-by: David Li <davidxli@google.com>
* | | | GLES2Dbg: code gen for frameDavid Li2011-09-0616-428/+2547
| | | | | | | | | | | | | | | | | | | | | | | | Also loading *.gles2dbg dump files. Signed-off-by: David Li <davidxli@google.com>
* | | | GLES2Dbg: organize calls into frames and contextsDavid Li2011-09-068-323/+886
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Maintain a current state for each context updated by each call. eglSwapBuffers Begins a new frame; clone current state. Use clone to compute context for a call within that frame later on, in the context tree view. Signed-off-by: David Li <davidxli@google.com>
* | | | GLES2Dbg: add more state tracking and snapshot of state per GL callDavid Li2011-09-0610-184/+681
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use TreeView and Reflection to display the states per GL call. Need to implement more state cloning and tacking. Prepare to group calls by frame, and clone the context for each frame. Signed-off-by: David Li <davidxli@google.com>
* | | | GLES2Dbg: use mesa glsl_compiler for syntax checkingDavid Li2011-09-064-75/+130
| | | | | | | | | | | | | | | | | | | | | | | | Also switch to TabFolder for GUI Signed-off-by: David Li <davidxli@google.com>
* | | | Merge "GLES2Dbg: improve protocol and error check after shader upload"Siva Velusamy2011-09-065-157/+253
|\ \ \ \
| * | | | GLES2Dbg: improve protocol and error check after shader uploadDavid Li2011-09-025-157/+253
| | | | | | | | | | | | | | | | | | | | Signed-off-by: David Li <davidxli@google.com>
* | | | | Merge "GLES2Dbg: implemented shader tracking and editing"Siva Velusamy2011-09-069-32/+528
|\ \ \ \ \ | |/ / / /
| * | | | GLES2Dbg: implemented shader tracking and editingDavid Li2011-09-029-32/+528
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Next commit is improving the protocol and checking errors after shader upload Signed-off-by: David Li <davidxli@google.com>
* | | | | Merge "GLES2Dbg: use 256KB chunks for lzf compression"Siva Velusamy2011-09-063-17/+44
|\ \ \ \ \ | |/ / / /
| * | | | GLES2Dbg: use 256KB chunks for lzf compressionDavid Li2011-09-023-17/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Data format is u32 totalDecompressedSize, then repeat: u32 chunkDecompressedSize, u32 chunkCompressedSize, chunk data. If chunkCompressedSize == 0, then chunk is not compressed. Also start fixing integer sizes on server. On client, set endianness to match server. Signed-off-by: David Li <davidxli@google.com>
* | | | | Merge "GLES2Dbg: implemented MessageParser"Siva Velusamy2011-09-065-45/+1396
|\ \ \ \ \ | |/ / / /
| * | | | GLES2Dbg: implemented MessageParserDavid Li2011-09-025-45/+1396
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To allow user to input GL function call Signed-off-by: David Li <davidxli@google.com>
* | | | | Merge "GLES2Dbg: added SETPROP expectResponse"Siva Velusamy2011-09-068-11/+195
|\ \ \ \ \ | |/ / / /
| * | | | GLES2Dbg: added SETPROP expectResponseDavid Li2011-09-028-11/+195
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To allow "stepping" in functions. Also fix bug in reference frame. Use reference frame for CopyTex(Sub)Image2D. Change-Id: If5ef32ba97a6cf5bc43162dc41cf62c6494d2093 Signed-off-by: David Li <davidxli@google.com>
* | | | | Merge "GLES2Dbg: change TableViewer to ListViewer"Siva Velusamy2011-09-062-133/+45
|\ \ \ \ \ | |/ / / /
| * | | | GLES2Dbg: change TableViewer to ListViewerDavid Li2011-09-022-133/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For much faster scrolling Signed-off-by: David Li <davidxli@google.com>
* | | | | Merge "GLES2Dbg: added reference frame for glReadPixels"Siva Velusamy2011-09-066-85/+295
|\ \ \ \ \ | |/ / / /
| * | | | GLES2Dbg: added reference frame for glReadPixelsDavid Li2011-09-026-85/+295
| | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I9b74a2eaf3a0e15ff3e7addbca168acc1c9b2f44 Signed-off-by: David Li <davidxli@google.com>
* | | | | Merge "GLES2Dbg: use liblzf for compressing images"Siva Velusamy2011-09-068-37/+34
|\ \ \ \ \ | |/ / / /
| * | | | GLES2Dbg: use liblzf for compressing imagesDavid Li2011-09-028-37/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | liblzf is in external/liblzf Signed-off-by: David Li <davidxli@google.com>
* | | | | Merge "GLES2Dbg: Remove spurious execute file permissions."Siva Velusamy2011-09-067-0/+0
|\ \ \ \ \ | |/ / / /
| * | | | GLES2Dbg: Remove spurious execute file permissions.Jamie Gennis2011-09-027-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | This change is just a chmod -x of some files that shouldn't aren't executable.
* | | | | Merge "GLES2Dbg: Make command exchange async to improve performance."Siva Velusamy2011-09-064-76/+88
|\ \ \ \ \ | |/ / / /
| * | | | GLES2Dbg: Make command exchange async to improve performance.David Li2011-09-024-76/+88
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In message loop, use select to check for available commands from client, rather than always expecting commands in eglSwapBuffers. Client can send commands at any time. Signed-off-by: David Li <davidxli@google.com>
* | | | | Merge "GLES2Dbg: Added state tracking and vertex data capturing."Siva Velusamy2011-09-066-78/+608
|\ \ \ \ \ | |/ / / /
| * | | | GLES2Dbg: Added state tracking and vertex data capturing.David Li2011-09-026-78/+608
| | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Iaf56a52240b84fef5689a03f96d613349a492b43 Signed-off-by: David Li <davidxli@google.com>
* | | | | Merge "GLES2Dbg: Initial commit of OpenGL ES 2.0 Debugger Client"Siva Velusamy2011-09-0621-0/+4326
|\ \ \ \ \ | |/ / / /
| * | | | GLES2Dbg: Initial commit of OpenGL ES 2.0 Debugger ClientDavid Li2011-09-0221-0/+4326
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Displays GL call parameters, textures, screen captures and shader source. Server code is in frameworks/base/opengl/libs/GLES2_dbg. Protobuf code is generated using generate_debugger_message_proto.py in server code. Change-Id: Idf86af2b4087497ff723953a3fd0889f79c2e116 Signed-off-by: David Li <davidxli@google.com>
* | | | | Add SystemImagePackage definition to sdkmanager.Raphael2011-09-069-8/+437
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This just adds the type and check we can parse it out a sample XML. This CL does not yet use the system image package where needed. Change-Id: Id2d83c9e216256c329a88dced9e274da0ab651f0
* | | | | SdkManager: support <included-abi> in platform packages.Raphael Moll2011-09-0614-180/+317
| |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is part of a series of CL to add support for system-image packages separated from platform packages. In this small CL we just add the <included-abi> element to platform packages, load/save it and test by loading a sample XML. Change-Id: Icbf554ea398bbcfe5cf760f9d25aec3de088937a
* | | | Merge "Add GridLayout support to the ChangeLayout refactoring"Tor Norbye2011-09-0610-17/+1032
|\ \ \ \
| * | | | Add GridLayout support to the ChangeLayout refactoringTor Norbye2011-09-0210-17/+1032
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This changeset adds a generic-to-GridLayout converter to the "Change Layout" refactoring. The converter arranges the views into a grid based on their bounds, uses the sizes to determine row and column spans, and then writes this out as the resulting grid. Note that it does not yet consider existing layout knowledge to add better constraints, such as gravity, or arranging vertically overlapping views in a horizontal row into a same shared row. Change-Id: I78e5fdf49d9e2a838a7229e2e31aa62e190032ad