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
Norbert Plött
015a69e0dd
Test ported and defects documented in source (See also bug #129768 )
2006-03-22 18:30:14 +00:00
Norbert Plött
b66a0422f9
Test ported and defects documented in source (See also bug #129768 )
2006-03-22 16:50:04 +00:00
Norbert Plött
e89f99496d
Test ported and defects (See bug #129768 )
2006-03-22 00:57:16 +00:00
Norbert Plött
013757c1b6
Test ported and defects documented.
2006-03-22 00:55:53 +00:00
Norbert Plött
76f22eb57e
.options gets shipped with binary build.
2006-03-22 00:55:02 +00:00
Norbert Plött
95039381ee
Providing .options file for easy trace activation.
2006-03-22 00:54:08 +00:00
Norbert Plött
d77c7ad049
Adding some trace output in case debugging is activated. Helps to compare completion results and expected results.
...
Rearranged test evaluation to get more information before assertions fail.
2006-03-22 00:53:02 +00:00
Norbert Plött
0785646dcc
Adding handler for formatting variable completion proposals (see bug #129768 )
2006-03-22 00:49:41 +00:00
Oleg Krasilnikov
e6f7886cc6
Fix for bug #127050 : Eclipse freeses in invalide header file is included.
2006-03-14 14:47:26 +00:00
Norbert Plött
cf99e3b36d
Template indentation will honor preference setting "Insert Space for Tabs". Fixing #131311
2006-03-13 10:37:11 +00:00
Oleg Krasilnikov
6a803d0d95
Bug #69078 : C/C++ indexer too slow.
...
Tests for performance measurement.
Indexer code changes were applied before.
2006-03-10 13:19:22 +00:00
Oleg Krasilnikov
681c59c039
Bug #120361 : IndexEncoderUtil.nodeInVisitedExternalHeader() performance
2006-03-10 11:53:09 +00:00
Doug Schaefer
d78c26534a
PDOM Search - more functional now. Satisfies simple searches.
2006-03-09 19:31:31 +00:00
Doug Schaefer
1ee376bf92
Implemented the scopes for the PDOM search page.
2006-03-08 20:48:12 +00:00
Doug Schaefer
3aea4555f6
PDOM Search, introduced the new Search Page that will hook up the search dialog to the PDOM Search Query. The old page is still there but called 'Old C/C++ Search'.
2006-03-08 19:17:48 +00:00
Norbert Plött
277149fc3f
Implemented the first unit test for CCompletionProcessor2, based on the framework for CCompletionProcessor.
2006-03-06 13:10:59 +00:00
Norbert Plött
4b49083517
Save current completion node as field and make available externally. Useful for fixing #129768 .
2006-03-06 09:25:37 +00:00
Norbert Plött
7a910a5abb
New getter for the CSourceViewer. Useful for fixing #129768
2006-03-06 09:24:25 +00:00