Markus Schorn
256cdaa7a7
Fixes the NPE by asking for the active editor instead of the active part.
2006-04-14 11:59:50 +00:00
David Inglis
5821dad7c1
fixed PR 133200
...
patch from Emil Erlandsson
2006-04-14 01:18:56 +00:00
Doug Schaefer
2abef07854
Remove the removed source folders from the build.properties file.
2006-04-12 18:26:08 +00:00
Doug Schaefer
be04db0edf
Remove the removed source folders from the build.properties file.
2006-04-12 17:42:20 +00:00
Doug Schaefer
c394f40e48
Testing the scalability of the Commit Files dialog. No really, I've removed the old indexer, search and type cache and have fixed all the compile errors that doing so caused. A number of features are disabled to be re-enabled later.
2006-04-12 17:11:14 +00:00
Doug Schaefer
4bb4cc51dc
Help address NPEs in tests.
2006-04-10 14:00:09 +00:00
Doug Schaefer
44ed1e1b35
Fix NPEs around project creation and deletion.
2006-04-10 13:47:27 +00:00
Doug Schaefer
0c03c9be25
Hooked up the PDOM to content assist. Addes a getExpressionType to IASTExpression to help out the cause.
2006-04-09 20:11:21 +00:00
Doug Schaefer
3ca3b2bdcc
Removed the old search page.
2006-04-09 16:52:34 +00:00
Doug Schaefer
141bcef364
Added the external tool launcher I used to build the winreg DLL.
2006-04-08 01:17:22 +00:00
Doug Schaefer
dd236de4d9
Fix NPE on clean/build after older indexer has been removed.
2006-04-07 19:49:24 +00:00
David Daoust
7d14f8eb5c
PR 62772
2006-04-07 19:29:17 +00:00
Doug Schaefer
c4bbf1b922
Turn off the old indexer. Good night, Gracie...
2006-04-07 19:25:24 +00:00
Doug Schaefer
e9eb7ef7e6
The IndexView now skips linkages in the hierarchy if there is only one in a project (i.e. not a multi-language project). Also fixed a bug with paths in the GCCLanguage and warnings in GPPLanguage.
2006-04-07 19:18:26 +00:00
Doug Schaefer
4f0893f7f7
PDOM - Change the IndexView content provider to use the new IPDOMVisitor pattern. Also made the external symbols filter into a real ViewerFilter.
2006-04-07 19:03:18 +00:00
Doug Schaefer
d431889736
Changed the PDOM delete method to clear since it doesn't really delete the database, much... Also added visitors to the PDOMBinding hierarchy to facilitate easier searching.
2006-04-05 20:45:27 +00:00
Doug Schaefer
667bedd0f8
Bug 135050 - Don't set the indexer id when it isn't set in the project preferences. Only set it under UI when the workspace isn't locked.
2006-04-05 15:38:05 +00:00
Doug Schaefer
18cbd3defb
Moved IWorkingCopyProvider and PathUtil out of the browser source folder into more appropriate homes.
2006-04-05 15:29:15 +00:00
Doug Schaefer
c2ed901284
Moved some general utility classes from the index source folder to the utils source folder.
2006-04-05 14:33:11 +00:00
Doug Schaefer
55339ee152
Added better timing stats for the Fast indexer.
2006-04-05 14:02:07 +00:00
Doug Schaefer
50a37afbda
Fix NPE bug 134969. Broke when I converted IProject to ICProjects everywhere. Forgot to check for null when converting back in the indexer page.
2006-04-05 13:52:02 +00:00
Doug Schaefer
9c893eb485
Patch for Anton Leherbauer bug 81555. Use a CDT specific partitioning for (almost) all C documents.
2006-04-04 18:46:38 +00:00
Doug Schaefer
3799e8d91e
Turn code completion back on. The PDOM isn't quite ready yet for content assist.
2006-04-04 16:55:31 +00:00
Doug Schaefer
a9e3b1a8ea
Fix up the compile error with ICSearchConstants by extracting the two inner classes to their own files. This is all deprecated anyway.
2006-04-04 15:23:04 +00:00
Doug Schaefer
23684e5f8f
Flipped back to a read/write lock on the pdom. Made the indexing operations one job to reduce the number of threads on the go. Now caching the language id to language object to speed up operations.
2006-04-04 14:16:07 +00:00
Doug Schaefer
0c247b1d5f
Make the Windows registry code a little more robust.
2006-04-03 14:12:04 +00:00
Doug Schaefer
84cef01e46
Windows registry access utility.
2006-04-03 05:41:36 +00:00
Doug Schaefer
44c81e1db6
Hooked up the Fast indexer so it should work now. Also changed a few interfaces so that they use ICProject instead of IProject. We should be sticking to the CModel as much as possible so we can leverage CDTisms like source folders and path entry info.
2006-03-31 21:40:26 +00:00
David Inglis
2ff46eeeab
update error parser junits to read a set of files with output to feed parser
...
current and only file contains build output which causes to error parser to hang
2006-03-31 20:14:02 +00:00
David Inglis
d7a3d94652
fixed NPE
...
improved IBinary handling in the cview and editor
fixed preferences NPE with new pre-M6 intergation builds
CI: dschaefer
2006-03-31 15:55:06 +00:00
Doug Schaefer
6bb7e5cc11
Turn off indexing for now until I get things set up. I had visions of bad things happening if I didn't.
2006-03-30 22:04:52 +00:00
Doug Schaefer
487aa70ebc
Integrated indexing into PDOM. Also change the names of a couple of things, such as PDOM which used to be PDOMDatabase. Cleaned up the indexing setting so that it is a ProjectScope preference instead of a ICExtension. Conversion should happen automagically.
2006-03-30 21:59:22 +00:00
Doug Schaefer
23c178137e
Patch for Beth Tibbits: PR133723. Add minimal support for pragmas to the DOM.
2006-03-29 16:30:49 +00:00
Doug Schaefer
5e45aa56e8
Patch for Jeff Overbey PR133386. Allow contributions to the C Model from external plugins using the ILanguage mechansim.
2006-03-29 16:16:02 +00:00
Doug Schaefer
7d1e89a9fa
A smarter way to deal with readers/writers of PDOM database, i.e. using scheduling rules and priorities.
2006-03-28 16:22:54 +00:00
Doug Schaefer
6d80cc5d00
Added read/write locks for the PDOMDatabase.
2006-03-27 18:22:55 +00:00
Norbert Plött
e9c9f58a11
Test ported and defects documented in source (See also bug #129768 )
2006-03-24 01:06:12 +00:00
Norbert Plött
bbfc4bdc20
Test ported and defects documented in source (See also bug #129768 )
2006-03-24 00:48:39 +00:00
Norbert Plött
4b7a88e3dc
Test ported and defects documented in source (See also bug #129768 )
2006-03-24 00:33:36 +00:00
Norbert Plött
1313a08eef
Test ported and defects documented in source (See also bug #129768 )
2006-03-24 00:23:44 +00:00
Norbert Plött
a74faddfae
Test ported and defects documented in source (See also bug #129768 )
2006-03-24 00:04:19 +00:00
Norbert Plött
408f436001
Test ported and defects documented in source (See also bug #129768 )
2006-03-23 23:48:52 +00:00
Norbert Plött
811a21e925
Test ported and defects documented in source (See also bug #129768 )
2006-03-23 23:39:35 +00:00
Norbert Plött
6ab2f845a6
Test ported and defects documented in source (See also bug #129768 )
2006-03-23 22:43:57 +00:00
Norbert Plött
7c73dee18b
Test ported and defects documented in source (See also bug #129768 )
2006-03-23 22:31:15 +00:00
Norbert Plött
6df8e7be00
Test ported and defects documented in source (See also bug #129768 )
2006-03-23 21:34:45 +00:00
Thomas Fletcher
3948b2f599
Restore the symbol sort class, but deprecate its use so that we can remove
...
the code in a near release. CDT internals no longer reference this class.
2006-03-23 16:54:59 +00:00
Thomas Fletcher
f5c06ae811
Avoid double sorting of the symbol objects (first by name, then by
...
address). The API contract for symbol doesn't indicate any sort order
on its returned array.
2006-03-23 06:54:22 +00:00
Thomas Fletcher
5085988731
Read in more than a single byte at a time to improve performance.
2006-03-23 06:46:43 +00:00
Thomas Fletcher
d0c9930d89
Update to avoid converting entire strings to lower case before
...
performing compare. Significant performance gains on larger binaries:
Original (time to sort the symbol array used by the ElfHelper class):
- Sorting 53580 symbols took 6203ms
Modified (traded toLowerCase for compareToIgnoreCase)
- Sorting 53580 symbols took 828ms
2006-03-23 06:23:09 +00:00