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
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
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
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
Oleg Krasilnikov
e6f7886cc6
Fix for bug #127050 : Eclipse freeses in invalide header file is included.
2006-03-14 14:47:26 +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
Oleg Krasilnikov
7f33784eff
Bug 68078: removed delay affects indexing procedure too much.
2006-03-03 13:22:23 +00:00
Oleg Krasilnikov
632cfdc3d6
The following changes are made:
...
- xxIndexVisitor objects are reused
- NamedEntry objects are reused where possible (not always).
Result:
overall memory consumption during indexation
is decreased by 10% approximately.
2006-03-03 12:41:56 +00:00
Oleg Krasilnikov
2e43c1a04b
Bug #121368 : createReconciledPath() speed up.
...
Memory consumption is decreased seriously.
From outside, method functionality is not affected.
Tests behave in the same way before and after this
change.
2006-03-03 12:30:14 +00:00
David Inglis
06a50c17f7
commiting partial patch from ken.ryall@nokia.com for bug #39640 adding ISymbolReader to binary model
2006-02-25 04:23:53 +00:00
David Daoust
24516594c6
Fixed parsing of escaped newlines in identifiers
...
Reduced the number of strings copied for "additionalKeywords" introduced by subclasses of the BaseScanner
Cached the string forms of all identifiers
Overall the trillogy time drops from 1800ms to 1775ms, and the memory allocated drops from 61 M to 59 M (by not allocating about 90K strings)
2006-02-14 14:21:24 +00:00
Norbert Pltt
2f2ef46adc
.options included in binary build.
2006-02-10 15:54:48 +00:00
Oleg Krasilnikov
c69e46df85
Fix #2 for bug 117701 : Backtrack exceptions in GNU parsers
...
Changes:
- for C++ parser, exception calls are removed where possible.
- both for C & C++ parser, calls to "consume(int)" are replaced
by "consume()" - it also allows to avoid useles operations.
Testing: parser tests are finished with the same result as before.
2006-02-09 13:45:17 +00:00
Andrew Niefer
2fb074e190
bug 98171: implement some get* methods on CPPClassTemplate
2006-02-04 23:18:17 +00:00
Andrew Niefer
1390e00319
bug 126058: better handling of problem on the namespace alias
2006-02-03 02:42:12 +00:00
Doug Schaefer
59830a2ba7
PDOM - Added Handling for C++ namespaces.
2006-02-02 21:27:14 +00:00
Doug Schaefer
a8d7b7028c
Bug 125576 - PDOM wouldn't turn off.
2006-01-30 20:17:26 +00:00
Mikhail Khodjaiants
4e635ba7cd
Bug 102043: Console Output Does Not Appear When Launching An Application.
2006-01-26 16:56:06 +00:00
Doug Schaefer
2855f876ac
PDOM - Add option to skip parsing of there is no build information.
2006-01-24 18:23:53 +00:00
Doug Schaefer
4fd1cf2064
Made the PDOMUpdator show the whole path to the TU.
2006-01-24 17:57:34 +00:00
Doug Schaefer
6a0b94fd93
PDOM - Stoped the PDOMUpdator from running on projects that don't have it turned on. Speed up in adaptBinding. Started recording types for variables, starting with PDOMCPPVariables.
2006-01-24 17:29:52 +00:00
Doug Schaefer
72552ca1bc
PDOM - Fix NPE.
2006-01-20 19:57:51 +00:00
Doug Schaefer
f5223537de
PDOM - Fixed some NPE's and PDOMNotImplemented errors to plow through Mozilla (Firefox).
2006-01-20 19:28:56 +00:00
Doug Schaefer
f61c63ba58
PDOM - Some minor fixes to get by PDOMNotImplemented errors while indexing real projects.
2006-01-19 21:03:11 +00:00
Doug Schaefer
0017da7863
Fixed up handling of header files to check the nature of the project.
2006-01-18 18:56:25 +00:00
Doug Schaefer
e39bead08b
PDOM - Extended resolveBinding and openDeclaration to C.
2006-01-18 18:35:23 +00:00
David Inglis
58f26dfed6
Fixed build for jar'd plugins
...
cleaned up .project files
2006-01-18 18:16:35 +00:00
Doug Schaefer
314113adb0
PDOM - Hooked up resolveBinding and OpenDeclarations.
2006-01-18 17:59:29 +00:00
Bogdan Gheorghe
6a6d5cd2c7
Patch for Bug 117847: CTags indexer cannot process linked source folders
2006-01-16 04:39:15 +00:00
Doug Schaefer
e0cf766030
Fixed errors that come from the preprocessor that have file:line:column format.
2006-01-16 04:01:02 +00:00
Doug Schaefer
e4b95eaf7d
Skip out of updator earlier when there is nothing to do.
2006-01-13 20:36:31 +00:00
Doug Schaefer
f98b82e760
Skip out of updator earlier when there is nothing to do.
2006-01-13 20:34:10 +00:00
Doug Schaefer
3494f6ae34
Fixed NPE.
2006-01-11 20:50:12 +00:00
Doug Schaefer
ae61676266
Better messages for PDOMUpdator progress.
2006-01-11 20:48:12 +00:00
Doug Schaefer
8c0214ebfd
Added C++ Methods to PDOM.
2006-01-11 19:18:55 +00:00