~ubuntu-branches/debian/sid/eclipse-cdt/sid

« back to all changes in this revision

Viewing changes to results/plugins/org.eclipse.cdt.core/ChangeLog-2003

  • Committer: Package Import Robot
  • Author(s): Jakub Adam
  • Date: 2011-10-06 21:15:04 UTC
  • mfrom: (1.1.4)
  • Revision ID: package-import@ubuntu.com-20111006211504-8dutmljjih0zikfv
Tags: 8.0.1-1
* New upstream release.
* Split the JNI packages into a separate architecture dependent
  package and made eclipse-cdt architecture independent.
* Install JNI libraries into multiarch aware location
* Bumped Standards-Version to 3.9.2.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
2004-01-21  Anthony Green
2
 
  
3
 
        PR 50397.
4
 
 
5
 
        * utils/org/eclipse/cdt/utils/elf/Elf.java: Add some ELF machine
6
 
        magic numbers.
7
 
        RS6000 is ppc, not mips.  Fix some typos.
8
 
 
9
 
2004-01-20 Alain Magloire
10
 
 
11
 
        To remove the hardcoded "objdump" we had to lay
12
 
        down some infrastructure.  This is base on ideas/patch
13
 
        from Chris Songer.  The idea is to define in the IToolsProvider
14
 
        the Objdump class and reuse it to implement IBinaryFile.getContents().
15
 
        Next step is to come up with ObjdumpEditor, to go this route
16
 
        will be more flexible.
17
 
 
18
 
        * model/org/eclipse/cdt/internal/core/model/Binary.java
19
 
        * utils/org/eclipse/cdt/utils/CygwinToolsProvider.java
20
 
        * utils/org/eclipse/cdt/utils/ToolsProvider.java
21
 
        * utils/org/eclipse/cdt/utils/Objdump.java
22
 
        * utils/org/eclipse/cdt/utils/IToolsProvider.java
23
 
        * utils/org/eclipse/cdt/utils/coff/parser/CygwinPEParser.java
24
 
        * utils/org/eclipse/cdt/utils/coff/parser/BinaryFile.java
25
 
        * utils/org/eclipse/cdt/utils/elf/parser/BinaryFilejava
26
 
        * utils/org/eclipse/cdt/utils/elf/parser/GNUElfParser.java
27
 
        
28
 
        
29
 
2004-01-19 John Camelon
30
 
                Updated CModelBuilder to access line number information from IASTOffsetableElement.
31
 
 
32
 
2004-01-16 Hoda Amer
33
 
        Solution to bug#47552: IEnumerator#getConstantExpression is always empty
34
 
        
35
 
2004-01-15 Hoda Amer
36
 
        Moved Content Assist log to the UI plugin
37
 
        
38
 
2004-01-13 Alain Magloire
39
 
 
40
 
        Small fix on in the elf parser, we have to check for 
41
 
        Elf.Symbol.SHN_HIPROC, Elf.Symbol.SHN_LOPROC
42
 
        that the st_shndx field is not is in this range.
43
 
 
44
 
        * utils/org/eclipse/cdt/utils/elf/ElfHelper.java
45
 
 
46
 
2004-1-5 David Inglis
47
 
        
48
 
        PR 49851
49
 
        Fixed deadlock when binary parser was changed while binary runner was running
50
 
        for that project.
51
 
        
52
 
        * model/org/eclipse/cdt/internal/core/model/CModelManager.java
53
 
 
54
 
2004-01-09 Alain Magloire
55
 
 
56
 
        * utils/org/eclipse/cdt/utils/coff/parser/BinaryObject.java
57
 
        Fix bug in finding the symbols.
58
 
        * utils/org/eclipse/cdt/utils/coff/parser/Symbol.java
59
 
        Implement ISymbol.java
60
 
 
61
 
2004-01-09 Alain Magloire
62
 
 
63
 
        * src/org/eclipse/cdt/core/IBinaryParser.java
64
 
        Added ISymbol.getSize().
65
 
        * utils/org/eclipse/cdt/utils/elf/Elf.java
66
 
        Fix bug in finding the symbols.
67
 
        * utils/org/eclipse/cdt/utils/elf/parser/BinaryObject.java
68
 
        Fix bug in finding the symbols.
69
 
        * utils/org/eclipse/cdt/utils/elf/parser/Symbol.java
70
 
        Implement ISymbol.java
71
 
        * utils/org/eclipse/cdt/utils/stabs/Stabs.java
72
 
        New Methods.
73
 
        * utils/org/eclipse/cdt/utils/stabs/StabAddre2line.java
74
 
        Work in progress.
75
 
 
76
 
2004-01-08 Hoda Amer
77
 
        Added Content assist log capabilities
78
 
        
79
 
2004-01-06 Alain Magloire
80
 
 
81
 
        Simple draft implementation of stabs debug format parsing.
82
 
        Not ready.
83
 
 
84
 
        * utils/org/eclipse/cdt/utils/stabs: New package implementing
85
 
        Stabs debug format parsing.
86
 
 
87
 
2003-12-29 Hoda Amer
88
 
        Content Assist Work : Moved ICompletionRequestor from core to ui
89
 
        
90
 
2003-12-19 Alain Magloire
91
 
 
92
 
        Added a getCommandLine() method on the CommandLauncher
93
 
        to help PR 41417.
94
 
 
95
 
        * src/org/eclipse/cdt/core/CommandLauncher.java
96
 
 
97
 
2003-12-16 Alain Magloire
98
 
 
99
 
        PR 48921.
100
 
        On windows, Object files (*.o) does not have a
101
 
        particular signature we have to compare to the known
102
 
        CPU flags part of COFF
103
 
 
104
 
        * utils/org/eclipse/cdt/utils/coff/parser/PEParser.java
105
 
 
106
 
2003-12-15 Alain Magloire
107
 
 
108
 
        Patch from Thomas F.
109
 
        Update to classify ld warnings as warning markers instead
110
 
        of "problem" marker
111
 
                                                                                
112
 
        * src/org/eclipse/cdt/internal/errorparsers/GLDErrorParser.java
113
 
 
114
 
2003-12-11 David Inglis
115
 
        Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=48596
116
 
        
117
 
        * model/org/eclipse/cdt/internal/core/model/CModelManager.java
118
 
        
119
 
2003-12-11 Alain Magloire
120
 
 
121
 
        Call the super() constructor.
122
 
 
123
 
        * model/org/eclipse/cdt/internal/core/model/SetCPathEntriesOperation.java
124
 
 
125
 
2003-12-04 David Inglis
126
 
        Fixed bug# 48063
127
 
        
128
 
        * src/org/eclipse/cdt/core/CCorePlugin.java
129
 
 
130
 
2003-12-03 Hoda Amer
131
 
        Content Assist work :Moved CompletionEngine out of CDT core
132
 
        
133
 
2003-11-27 Hoda Amer
134
 
        Content Assist work : Added an ICompletionRequestor interface
135
 
        and a CompletionRequestorAdaptor classe.
136
 
        
137
 
2003-11-20 Alain Magloire
138
 
 
139
 
        The profiler need to get the line number of the offset within
140
 
        a Symbol.  We provide this functionnality.
141
 
        
142
 
        * src/org/eclipse/cdt/IBinaryParser.java
143
 
        * utils/org/eclipse/cdt/utils/elf/parser/Symbol.java
144
 
        * utils/org/eclipse/cdt/utils/coff/parser/Symbol.java
145
 
 
146
 
2003-11-20 Alain Magloire
147
 
 
148
 
        Remove of methods that are JVM 1.4.x
149
 
        * model/org/eclipse/cdt/internal/core/model/Binary.java
150
 
        
151
 
2003-11-19 Alain Magloire
152
 
 
153
 
        Improve performance on the binary parser, and fix a JUnit test.
154
 
 
155
 
        * model/org/eclipose/cdt/internal/core/model/Binary.java
156
 
        * utils/org/eclipse/cdt/utils/coff/parser/BinaryObject.java
157
 
        * utils/org/eclipse/cdt/utils/elf/parser/BinaryObject.java
158
 
 
159
 
2003-11-19 Hoda Amer
160
 
        Added a completion engine class.
161
 
 
162
 
2003-11-18 Alain Magloire
163
 
 
164
 
        Attempt to address performance problems from the binary parser
165
 
        on big projects.  The problem is that files are open multiple
166
 
        times to detect if they are binaries or archives.   We can
167
 
        not really rely on the filename or extension.  A new method
168
 
        as been added to the IBinaryParser interface, isBinary()
169
 
        taken an intial byte[].
170
 
 
171
 
        * model/org/eclipse/cdt/internal/core/model/Binary.java
172
 
        * model/org/eclipse/cdt/internal/core/model/CModelManager.java
173
 
        * model/org/eclipse/cdt/internal/core/model/NullBinaryParser.java
174
 
        * src/org/eclipse/cdt/core/CCorePlugin.java
175
 
        * src/org/eclipse/cdt/core/IBinaryParser.java
176
 
        * utils/org/eclipse/cdt/utils/coff/PE.java
177
 
        * utils/org/eclipse/cdt/utils/coff/PEArchive.java
178
 
        * utils/org/eclipse/cdt/utils/coff/parser/ARMember.java
179
 
        * utils/org/eclipse/cdt/utils/coff/parser/BinaryArchive.java
180
 
        * utils/org/eclipse/cdt/utils/coff/parser/BinaryObject.java
181
 
        * utils/org/eclipse/cdt/utils/coff/parser/PEParser.java
182
 
        * utils/org/eclipse/cdt/utils/coff/parser/Symbol.java
183
 
        * utils/org/eclipse/cdt/utils/elf/AR.java 
184
 
        * utils/org/eclipse/cdt/utils/elf/parser/ARMember.java
185
 
        * utils/org/eclipse/cdt/utils/elf/parser/BinaryArchive.java
186
 
        * utils/org/eclipse/cdt/utils/elf/parser/BinaryObject.java
187
 
        * utils/org/eclipse/cdt/utils/elf/parser/ElfParser.java
188
 
        * utils/org/eclipse/cdt/utils/elf/parser/Symbol.java
189
 
 
190
 
2003-11-17 Doug Schaefer
191
 
        Nothing just testing the commit logs
192
 
 
193
 
2003-11-13 David Inglis
194
 
        Fixed #46431
195
 
        * utils/org/eclipse/cdt/utils/spawner/EnvironmentReader.java
196
 
 
197
 
2003-11-06 David Inglis
198
 
        
199
 
        Fix for 45835 also changed binary runner control to stop running when project closes/open/deleted
200
 
        
201
 
        * model/org/eclipse/cdt/internal/core/CModelManager.java
202
 
        * model/org/eclipse/cdt/internal/core/BinaryRunner.java
203
 
 
204
 
2003-11-06 David Inglis
205
 
        
206
 
        Futher changes for 45736
207
 
        
208
 
        * model/org/eclipse/cdt/internal/core/model/DeltaProcessor.java
209
 
        
210
 
        
211
 
2003-10-29 David Inglis
212
 
        
213
 
        Fix for 45734 & 45736, Though this only addresses a small part on the later.
214
 
        
215
 
        Prevents child element creation when releasing parent element
216
 
        Prevent binary file check when have already obtained a translation unit.
217
 
        
218
 
        * model/org/eclipse/cdt/internal/core/CModelManager.java
219
 
          
220
 
2003-10-29 Alain Magloire
221
 
 
222
 
        Fix for PR 45733
223
 
 
224
 
        The BinaryContainer and the ArchiveContainer were not deleted
225
 
        when the CProject was release.
226
 
 
227
 
        * model/org/eclipse/cdt/internal/core/model/CModelManager.java
228
 
        * model/org/eclipse/cdt/internal/core/model/CProject.java
229
 
2003-10-27 Alain Magloire
230
 
 
231
 
        Fix PR45609:
232
 
        IWorkspaceRoot.getFileForLocation() does not work well when
233
 
        the resource is linked, we should fall back to
234
 
        IWorkspaceRoot.findFilesForLocation().
235
 
 
236
 
        * src/org/eclipse/cdt/core/ErrorParserManager.java
237
 
 
238
 
2003-10-23 Alain Magloire
239
 
 
240
 
        Firing deltas on cpathentries modifications.
241
 
 
242
 
        * model/org/eclipse/cdt/core/model/ICElementDelta.java:
243
 
        * model/org/eclipse/cdt/core/model/ICProject.java:
244
 
        * model/org/eclipse/cdt/internal/core/model/CProject.java:
245
 
        * model/org/eclipse/cdt/internal/core/model/core/CProject.java
246
 
        * model/org/eclipse/cdt/internal/core/model/core/SetCPathEntriesOperation.java
247
 
        * model/org/eclipse/cdt/internal/core/model/core/LibraryReferenceArchive.java
248
 
        * model/org/eclipse/cdt/internal/core/model/core/LibraryReferenceShared.java
249
 
        * model/org/eclipse/cdt/internal/core/model/core/LibraryReference.java
250
 
        * model/org/eclipse/cdt/internal/core/model/core/Archive.java
251
 
        * model/org/eclipse/cdt/internal/core/model/core/Binary.java
252
 
        * model/org/eclipse/cdt/internal/core/model/core/CPathEntry.java
253
 
        * model/org/eclipse/cdt/internal/core/model/core/ACPathEntry.java
254
 
 
255
 
2003-10-23 Alain Magloire
256
 
 
257
 
        Remove the old Implementation of ICPathEntry and use the new one.
258
 
 
259
 
        * src/org/eclipse/cdt/core/ICPathEntry.java: Removed.
260
 
        * src/org/eclipse/cdt/internal/core/CPathEntry.java: Removed.
261
 
        * src/org/eclipse/cdt/internal/core/CDescription.java: Removed.
262
 
        * src/org/eclipse/cdt/core/CCorePlugin.java: Removed.
263
 
        * model/org/eclipse/cdt/core/model/ICProject.java
264
 
        * model/org/eclipse/cdt/internal/core/model/core/CProject.java
265
 
        * model/org/eclipse/cdt/internal/core/model/core/SetCPathEntriesOperation.java
266
 
        * model/org/eclipse/cdt/internal/core/model/core/LibraryReferenceArchive.java
267
 
        * model/org/eclipse/cdt/internal/core/model/core/LibraryReferenceShared.java
268
 
        * model/org/eclipse/cdt/internal/core/model/core/LibraryReference.java
269
 
        * model/org/eclipse/cdt/internal/core/model/core/Archive.java
270
 
        * model/org/eclipse/cdt/internal/core/model/core/Binary.java
271
 
        * model/org/eclipse/cdt/internal/core/model/core/CPathEntry.java
272
 
 
273
 
2003-10-22 Hoda Amer
274
 
        Fix for bug#40759: Offsets of macroexpansions are not correct 
275
 
        Fix for bug#44633: Outline View : CModelBuilder quits on templated friends 
276
 
        
277
 
2003-10-21 Alain Magloire
278
 
 
279
 
        Moving the implementation of the ICPathEntry in the Core Model
280
 
        new files:
281
 
 
282
 
        * model/org/eclipse/cdt/core/model/IIncludeEntry.java
283
 
        * model/org/eclipse/cdt/internal/core/model/IncludeEntry.java
284
 
        * model/org/eclipse/cdt/core/model/IMacroEntry.java
285
 
        * model/org/eclipse/cdt/internal/core/model/IIncludeEntry.java
286
 
        * model/org/eclipse/cdt/core/model/ICPathEntry.java
287
 
        * model/org/eclipse/cdt/internal/core/model/CPathEntry.java
288
 
        * model/org/eclipse/cdt/core/model/ILibraryEntry.java
289
 
        * model/org/eclipse/cdt/internal/core/model/LibraryEntry.java
290
 
        * model/org/eclipse/cdt/core/model/ISourceEntry.java
291
 
        * model/org/eclipse/cdt/internal/core/model/SourceEntry.java
292
 
 
293
 
2003-10-20 Hoda Amer
294
 
        Fixed bug#44507 outline flickers with CDT1.2 RC0
295
 
        Returned a boolean from IWorkingCopy.reconcile() indicating
296
 
        if there was a real change.
297
 
 
298
 
2003-10-20 David Inglis
299
 
        fixed junit breakage - testGetSoname()    
300
 
        * utils/org/eclipse/cdt/utils/elf/parser/BinaryShared.java
301
 
 
302
 
2003-10-18 Alain Magloire
303
 
 
304
 
        Implement a Cygwin PE parser where addr2line, c++filt
305
 
        cygpath can be set.  Remove the old implementation
306
 
        in the core model.
307
 
 
308
 
        * plugin.xml: Advertise the new Cygwin PE parser.
309
 
 
310
 
        * utils/org/eclipse/cdt/utils/coff/parser/BinaryFile.java
311
 
        * utils/org/eclipse/cdt/utils/coff/parser/BinaryObject.java
312
 
        * utils/org/eclipse/cdt/utils/coff/parser/BinaryExcutable.java
313
 
        * utils/org/eclipse/cdt/utils/coff/parser/BinaryShared.java
314
 
        * utils/org/eclipse/cdt/utils/coff/parser/BinaryArchive.java
315
 
        * utils/org/eclipse/cdt/utils/ICygwinToolsProvider.java
316
 
 
317
 
        * model/org/eclipse/cdt/internal/model/parser/PEBinaryFile.java
318
 
        * model/org/eclipse/cdt/internal/model/parser/ElfBinaryFile.java
319
 
        * model/org/eclipse/cdt/internal/model/parser/PEBinaryArchive.java
320
 
        * model/org/eclipse/cdt/internal/model/parser/ElfBinaryArchive.java
321
 
        Removed
322
 
 
323
 
2003-10-17 Alain Magloire
324
 
 
325
 
        A proposed fix from c_ravikanth@xxxx, for a more meaningfull
326
 
        error message.
327
 
        PR 44160
328
 
 
329
 
        * utils/org/eclipse/cdt/utils/spawner/Spawner.java
330
 
 
331
 
2003-10-14 Alain Magloire
332
 
 
333
 
        Change the scheme slightly to keep on looking for pattern
334
 
        for exampel
335
 
        /c/stuff/C:/filename:12 error
336
 
        in Cygwin this error would never be found now we keep on
337
 
        trying.
338
 
 
339
 
        * src/org/eclipse/cdt/intenal/errorparsers/GCCErrorParser.java
340
 
 
341
 
2003-10-14 Alain Magloire
342
 
 
343
 
        Always fetch the addr2line/c++path in the .cdtproject
344
 
 
345
 
        * utils/org/eclipse/cdt/utils/elf/BinaryFile.java
346
 
        * utils/org/eclipse/cdt/utils/elf/BinaryObject.java
347
 
        * utils/org/eclipse/cdt/utils/elf/BinaryArchive.java
348
 
        * utils/org/eclipse/cdt/utils/elf/ElfParser.java
349
 
        * utils/org/eclipse/cdt/utils/elf/GNUElfParser.java
350
 
 
351
 
2003-10-07 Alain Magloire
352
 
 
353
 
        More work on the GNU Elf Binary parser.
354
 
        Move some calls that extends the Addr2line class.
355
 
 
356
 
        * utils/org/eclipse/cdt/utils/elf/BinaryFile.java
357
 
        * utils/org/eclipse/cdt/utils/elf/BinaryObject.java
358
 
        * utils/org/eclipse/cdt/utils/elf/BinaryArchive.java
359
 
        * utils/org/eclipse/cdt/utils/elf/ElfParser.java
360
 
        * utils/org/eclipse/cdt/utils/elf/GNUElfParser.java
361
 
        * utils/org/eclipse/cdt/utils/Addr2line.java
362
 
 
363
 
2003-10-06 Alain Magloire
364
 
 
365
 
        Implementation of the GNU Elf parser, where you can
366
 
        change the path of the external commands: addr2line and cppfilt.
367
 
 
368
 
        * plugin.xml: Enable the GNU Elf Parser.
369
 
        * utils/org/eclipse/cdt/utils/elf/BinaryFile.java
370
 
        * utils/org/eclipse/cdt/utils/elf/BinaryObject.java
371
 
        * utils/org/eclipse/cdt/utils/elf/BinaryArchive.java
372
 
        * utils/org/eclipse/cdt/utils/Addr2line.java
373
 
        * utils/org/eclipse/cdt/utils/elf/CPPFilt.java
374
 
 
375
 
2003-10-01 Bogdan Gheorghe
376
 
        
377
 
        Changed DeltaProcessor.updateDependencies to use the CModelManager
378
 
        header file definitions
379
 
        
380
 
        Modified CDTLogWriter: increased max log file size to 10MB; got rid of
381
 
        the stack dumps; added flush to CDTLogWriter
382
 
        
383
 
        * src/org/eclipse/cdt/internal/core/CDTLogWriter.java
384
 
        
385
 
2003-10-01 Rob Jackson
386
 
 
387
 
        Avoid a NPE when processing non-absolute FILE references in elf binaries
388
 
 
389
 
        * model/org/eclipse/cdt/intenal/core/model/BinaryElement.java
390
 
 
391
 
2003-09-30 Bogdan Gheorghe
392
 
        
393
 
        - Created CDTLogWriter class
394
 
        - Added CDTLogWriter startup/shutdown to CCorePlugin
395
 
        - Changed  Util class to make use of ICLogConstants to distinguish
396
 
          between PDE and CDT logs.
397
 
        - Modified the Buffer class to log errors to the CDT log
398
 
          
399
 
         * src/org/eclipse/cdt/core/CCorePlugin.java
400
 
         * src/org/eclipse/cdt/core/ICLogConstants.java
401
 
         * src/org/eclipse/cdt/internal/core/CDTLogWriter.java
402
 
         * model/org/eclipse/cdt/internal/core/model/Util.java
403
 
         * model/org/eclipse/cdt/internal/core/model/Buffer.java
404
 
         
405
 
2003-09-25 Bogdan Gheorghe
406
 
 
407
 
        - Got rid of refs to old dependency service; restructured
408
 
          index request section 
409
 
        
410
 
        * src/org/eclipse/cdt/core/CCorePlugin.java
411
 
        * src/org/eclipse/cdt/core/model/CoreModel.java
412
 
        * src/org/eclipse/cdt/internal/core/model/CModelManager.java
413
 
        * src/org/eclipse/cdt/internal/core/model/DeltaProcessor.java
414
 
        
415
 
2003-09-24 Alain Magloire
416
 
 
417
 
        With the removal of the old CDT parser, there was no
418
 
        need to keep this method around
419
 
                parser(InputStream in)
420
 
        in the TranslationUnit. The parser content is retrieve via
421
 
        the IBuffer now.  The method
422
 
                parser()
423
 
        calss the CModelBuilder directly.
424
 
        
425
 
        * src/org/eclipse/cdt/internal/core/model/TranslationUnit.java
426
 
 
427
 
2003-09-24 Alain Magloire
428
 
 
429
 
        * src/org/eclipse/cdt/core/ErrorParserManager.java
430
 
        Possible NPE fix, when hitting cancel.
431
 
 
432
 
2003-09-24 David Inglis
433
 
        
434
 
        * src/org/eclipse/cdt/internal/core/CExtensionInfo.java
435
 
        null should removed attributes.
436
 
        
437
 
        * src/org/eclipse/cdt/internal/core/CDescriptor.java    
438
 
        Fixed bug# 43533
439
 
        
440
 
        * model/org/eclipse/cdt/internal/core/model/Binary.java
441
 
        Help with slow IBinary interface.
442
 
        
443
 
2003-09-22 Bogdan Gheorghe
444
 
 
445
 
        Took out old CTags code from CCorePlugin
446
 
        
447
 
        * org.eclipse.cdt.core.CCorePlugin
448
 
 
449
 
2003-09-19 Hoda Amer
450
 
        Solution to bug#43162 : Code Assist not showing the right return value:
451
 
        Saved a function return value string in the BasicSearchMatch object.
452
 
        Created a new package org.eclipse.cdt.internal.core.parser.util and 
453
 
        added ASTUtil class with static methods to help convert an ASTFunction 
454
 
        return type from IASTAbstractDeclaration to String. Note that this was
455
 
        previously implemented in the CModelBuilder. I just moved it to a common 
456
 
        library for others (BasicSearchMatch) to use.
457
 
 
458
 
2003-09-16 Alain Magloire
459
 
 
460
 
        Putting the draft work to do a special binary parser
461
 
        that the addr2line and c++filt command could be set
462
 
        via extension in the ui.
463
 
 
464
 
        * utils/org/eclipse/cdt/utils/elf/parser/GNUElfParser.java
465
 
        * utils/org/eclipse/cdt/utils/elf/parser/BinaryFile.java
466
 
        * utils/org/eclipse/cdt/utils/elf/parser/BinaryObject.java
467
 
        * utils/org/eclipse/cdt/utils/elf/parser/BinaryExecutable.java
468
 
        * utils/org/eclipse/cdt/utils/elf/parser/BinaryShared.java
469
 
        * utils/org/eclipse/cdt/utils/elf/parser/BinaryArchive.java
470
 
        * utils/org/eclipse/cdt/utils/elf/parser/ARMember.java
471
 
 
472
 
2003-09-16 David Inglis
473
 
 
474
 
        Deprecate old make builder
475
 
        
476
 
        * src/org/eclipse/cdt/core/resources/MakeUtil.java
477
 
        * src/org/eclipse/cdt/core/CCorePlugin.java
478
 
        * src/org/eclipse/cdt/core/CProjectNature.java
479
 
 
480
 
2003-09-12 Alain Magloire
481
 
        Patch from Bogdan Gheorghe, it corrected a NPE, when dealing with file extensions.
482
 
        In a Unix enviroment binaries do not have extensions also some C++ headers
483
 
        do not have extension, for example "cstdio" etc .. The patch guard agains null.
484
 
        
485
 
        Second part added debug loggin trace
486
 
 
487
 
        * .options
488
 
        * model/org/eclipse/cdt/internal/core/model/DeltaProcessor.java
489
 
        * src/org/eclipse/cdt/core/CCorePlugin.java
490
 
 
491
 
2003-09-12 Keith Campbell
492
 
    Added missing dependency on org.eclipse.team.core (this plugin defines extensions
493
 
    to org.eclipse.team.core.fileTypes and org.eclipse.team.core.ignore).
494
 
    * .classpath
495
 
    * .project
496
 
    * plugin.xml
497
 
 
498
 
2003-09-10 Sean Evoy
499
 
        Work completed to resolve [Bug 41412] "Restore Default in Managed Build project's 
500
 
        settings Not Working". The configuration now has a reset method that removes 
501
 
        any user settings and replaces them with the values defined in the plugin 
502
 
        manifest. The Configuration class also has a new, safe accessor for getting 
503
 
        at the defined tool references. Replaced all the checks for null with the accessor. 
504
 
        Added some string constants to the IConfiguration and ITarget interfaces 
505
 
        so manifest element lookup will be easier to maintain should the element names change. 
506
 
        Switched the Target class to use the new string constants during element lookup. 
507
 
        Added back a method in IConfiguration to lookup the parent configuration (which is the 
508
 
        plugin element I need to do the reset). 
509
 
        * build/org/eclipse/cdt/internal/core/build/managed/Configuration.java
510
 
        * build/org/eclipse/cdt/core/build/managed/IConfiguration.java
511
 
        * build/org/eclipse/cdt/core/build/managed/ITarget.java
512
 
        * build/org/eclipse/cdt/core/build/managed/ITool.java
513
 
        * build/org/eclipse/cdt/internal/core/build/managed/Target.java
514
 
        
515
 
        Work to resolve [Bug 42735] "Manage Make will try to generate makefile for Release or 
516
 
        Debug directory". Added a new method to return all the configuration names so 
517
 
        the generator will know that the directory <project_root>/<config_name> should be ignored.
518
 
        * build/org/eclipse/cdt/internal/core/build/managed/ManagedBuildInfo.java
519
 
        * build/org/eclipse/cdt/core/build/managed/IManagedBuildInfo.java
520
 
 
521
 
        Work to partially implement incremental build. New incremental build logic in the 
522
 
        incrementalBuild() method in the GeneratedMakefileBuilder class. It now calls a 
523
 
        specialized method in the makefile generator that calculates and generates the
524
 
        needed makefiles and fragments. It then calls build if there are any changes worthy
525
 
        of a build.
526
 
        * src/org/eclipse/cdt/internal/core/GeneratedMakefileBuilder.java
527
 
        * src/org/eclipse/cdt/internal/core/MakefileGenerator.java
528
 
 
529
 
2003-09-05 Bogdan Gheorghe
530
 
 
531
 
        Hooked in the dependency checking on file changes in Delta
532
 
        Processor.java. When a header files' contents change we look
533
 
        up the referencing files in the dep tree table and reindex them.
534
 
        
535
 
        * model/org/eclipse/cdt/internal/core/model/DeltaProcessor.java
536
 
        
537
 
2003-09-05 Alain Magloire
538
 
 
539
 
        The PTY classes are using one instance of the master fd for Input/Output/Error
540
 
        Streams. We need to wrap the fd access, to not throw IOException on multiple close.
541
 
 
542
 
        * utils/org/eclipse/cdt/utils/pty/PTY.java
543
 
        * utils/org/eclipse/cdt/utils/pty/PTYInputStream.java
544
 
        * utils/org/eclipse/cdt/utils/pty/PTYOutputStream.java
545
 
 
546
 
2003-09-04 Hoda Amer
547
 
        - Added references to variables in solution of bug#42453:Expression result types not computed
548
 
        - Solution to bug#42560: Class Cast Exception during Method definition
549
 
        
550
 
2003-09-04 Alain Magloire
551
 
 
552
 
        The IProgressMonitor.setCancelled() is incorrect, it tries to access
553
 
        widget withour wrapping things in Display.async().  Even if the IProgressMonitor
554
 
        is a "core" Class.  We workaround this by not using the method.
555
 
 
556
 
        PR 42501.  When the clock setting is incorrect GNU Make will throw something like:
557
 
                make: *** Warning: clock File`...` has modification in the future
558
 
        It was show as an error.  Thanks to Brent for the catch.
559
 
 
560
 
        * src/org/eclipse/cdt/internal/core/CBuilder.java
561
 
        * src/org/eclipse/cdt/internal/core/errorparsers/MakeErrorParser.java
562
 
        
563
 
2003-09-04 Hoda Amer
564
 
        - Changed the ASTExpression of the complete package to store the
565
 
        whole ITOkenDuple for the typeId instead of just the string.
566
 
        - Changed the ASTExpression in both quick and complete packages and
567
 
        deleted the "id" parameter.
568
 
        - Added partial solution to bug #42453:Expression result types not computed.
569
 
        Now they are computed for simple types only.
570
 
        
571
 
2003-09-03 David Inglis
572
 
        Added shared preference key for error parsers
573
 
        
574
 
        * src/org/eclipse/cdt/core/ErrorParserManager.java
575
 
        
576
 
2003-09-01 Alain Magloire
577
 
 
578
 
        Typo in the class signature.
579
 
 
580
 
        * plugin.xml
581
 
 
582
 
2003-08-31 Alain Magloire
583
 
 
584
 
        Add method to save the ErrorParsers
585
 
        Change ErrorParserManger to use the extension point for the ErrorParser.
586
 
 
587
 
        * src/org/eclipse/cdt/core/CCorePlugin.java
588
 
        * src/org/eclipse/cdt/core/ErrorParserManager.java
589
 
 
590
 
2003-08-31 Alain Magloire
591
 
 
592
 
        Add method to retrieve the Error Parsers in the CCorePlugin.
593
 
        Add extension point  for the ErrorParser.
594
 
 
595
 
        * src/org/eclipse/cdt/core/CCorePlugin.java
596
 
        * plugin.xml
597
 
        * plugin.properties
598
 
 
599
 
2003-08-28 Alain Magloire
600
 
 
601
 
        Change the TranslationUnit to not always assume that it has a valid
602
 
        IResource/IFile.
603
 
        * model/org/eclipse/cdt/internal/core/model/TranslationUnit.java
604
 
 
605
 
2003-08-28 Hoda Amer
606
 
        Solution to bugs #39961 & #39968:
607
 
        -Template Union missing an icon
608
 
        -Template parameter signature documentation
609
 
 
610
 
2003-08-28 Hoda Amer
611
 
        - Added resolving references in a method's qualified name 
612
 
        in Complete parse mode.
613
 
        Example (.cpp file ): The method "A::B::C::aMethod(){};"
614
 
        used to be an IASTFunction, with name = "A::B::C::aMethod".
615
 
        Now is an IASTMethod, with name = "aMethod", and references to 
616
 
        class A, class B and class C.
617
 
        - Added the checking for "isConstructor" and "isDestructor"
618
 
        for an IASTMethod in complete parse mode.
619
 
        
620
 
2003-08-26 Bogdan Gheorghe
621
 
        - Modified start up code to set debug trace options
622
 
        - Added trace debug statements to CModelBuilder.
623
 
        - Added IDebugLogConstants which contain ids for all 
624
 
          Util.debugLog clients (currently Parser and CModelBuidler)
625
 
        - Modified Util.java to make use of IDebugLogConstants
626
 
        
627
 
2003-08-25 Hoda Amer
628
 
        Modified the IASTFactory to take three expression lists 
629
 
        for the createNewDescriptor() instead of just one. 
630
 
        They are : newPlacementExpressions, newTypeIdExpressions, and
631
 
        newInitializerExpressions.
632
 
        
633
 
2003-08-25 John Camelon
634
 
        Updated Structure.java to keep JDK 1.3 compliance.  
635
 
 
636
 
2003-08-21 Hoda Amer
637
 
        - C Model cleanups + solutions to bug#38985 & bug#38986
638
 
                getField(String)                Implemented
639
 
                getFields()                             Implemented
640
 
                getMethod(String)               Implemented
641
 
                getMethods()                    Implemented
642
 
                isAbstract()                    Implemented
643
 
                getBaseTypes()                  Has been replaced by getSuperClassesNames()
644
 
                getAccessControl(int)   Has been replaced by getSuperClassAccess(String name)
645
 
        - Added some methods to IMethodDeclaration, namely:
646
 
        isFriend(), isInline(), isVirtual(), and isPureVirtual().
647
 
        
648
 
2003-08-20 Alain Magloire
649
 
 
650
 
        When doing the IPlugin.shutdown().  We have to make
651
 
        sure that the binarySearch threads are terminated.
652
 
        
653
 
        * src/org/eclipse/cdt/internal/core/model/BinaryRunner.java
654
 
 
655
 
2003-08-19 Sean Evoy
656
 
        In order to properly support the indexing feature, the scanner has to 
657
 
        function as well as the version that ships with the toolset if possible. 
658
 
        This is made difficult by the fact that we are trying to be tool-agnostic. 
659
 
        One of the things that the scanner should take into account when it runs 
660
 
        is the "built-in" symbols and search paths that are defined for a compiler 
661
 
        in a given toolchain. While we need to come up with a standard mechanism 
662
 
        for the CDT in the future, the managed build system can provide a work-around 
663
 
        in the near-term. The easiest solution is to add an optional attribute to a 
664
 
        list element that flags the item as a built-in value. When clients like 
665
 
        the indexer query the build model, they will receive the union of the built-in 
666
 
        values and the user-defined values.
667
 
        
668
 
        Updated the comment for the IScannerInfo::getIncludesPaths() method to 
669
 
        explain the content of the return value.
670
 
        * parser/org/eclipse/cdt/core/parser/IScannerInfo.java  
671
 
 
672
 
        Added code to answer the built-ins when IScannerInfo methods are called.
673
 
        * build/org/eclipse/cdt/internal/core/build/managed/ManagedBuildInfo.java
674
 
        
675
 
        Updated the schema to include the new attribute
676
 
        * schema/ManagedBuildTools.exsd
677
 
 
678
 
        Added a public method to extract the built-in values for an option.     
679
 
        * build/org/eclipse/cdt/core/build/managed/IOption.java
680
 
        
681
 
        Added the code to read, store and persist the built-in list values 
682
 
        differently than standard list elements. Also added code to answer 
683
 
        those built-ins to conform to the interface change.
684
 
        * build/org/eclipse/cdt/internal/core/build/managed/Option.java
685
 
        * build/org/eclipse/cdt/internal/core/build/managed/OptionReference.java
686
 
 
687
 
2003-08-20 Hoda Amer
688
 
        Modified the parser's newExpression() to send all its sub expressions
689
 
        to the newDescriptor and check on each expression to find references 
690
 
        in the CompleteParserASTFactory.createExpression().
691
 
 
692
 
2003-08-13 Sean Evoy
693
 
        Changed text generated into makefile comments from the rather abstract 
694
 
        term 'module' to the more meaningful 'subdirectory'.
695
 
        * src/org/eclipse/cdt/internal/core/CCorePluginResources.properties
696
 
        
697
 
        Added place-holder macro for LIBS and changed the source file look-up code to 
698
 
        ignore source it finds in generated directories during a build, even if it has a tool 
699
 
        that says it builds for it.
700
 
        * src/org/eclipse/cdt/internal/core/MakefileGenerator.java
701
 
        
702
 
        Changed class to deal with build targets that do not specify an extension 
703
 
        (like POSIX executables). 
704
 
        * build/org/eclipse/cdt/internal/core/build/managed/ManagedBuildInfo.java
705
 
        * build/org/eclipse/cdt/internal/core/build/managed/Tool.java
706
 
 
707
 
2003-08-13 Sean Evoy
708
 
        The major change in the increment of work is the new discovery mechanism 
709
 
        that clients will use to find the IScannerInfoProvider for a project. 
710
 
        Rather than a simple extension point which requires the client to iterate 
711
 
        over all registered providers, the CExtension feature will be used to 
712
 
        register the provider at project creation time, and to find the provider 
713
 
        at runtime. 
714
 
        
715
 
        Changed the plugin entries for the two builders currently described. The 
716
 
        schema for the ScannerInfoProvider was removed, and the plugin description 
717
 
        was converted to work with the CExtension feature.
718
 
        * plugin.xml
719
 
        * schema/ScannerInfoProvider.exsd (removed)
720
 
 
721
 
        Added a method to find and create the provider described in the extension point. 
722
 
        Used by clients at runtime to discover the provider.
723
 
        * src/org/eclipse/cdt/core/CCorePlugin.java
724
 
        
725
 
        Changed the IScannerInfoProvider interface by removing the 'managesResource' 
726
 
        method (no more iteration required) and adding a method so clients can get 
727
 
        build information as soon as they get the provider and before they subscribe.
728
 
        * parser/org/eclipse/cdt/core/parser/IScannerInfoProvider.java  
729
 
        
730
 
        Updated the two classes that implemet the interface and made them inherit from 
731
 
        AbstractCExtension in order to be managed by the CExtension feature. 
732
 
        * build/org/eclipse/cdt/core/build/managed/ManagedBuildManager.java
733
 
        * build/org/eclipse/cdt/core/build/standard/StandardBuildManager.java
734
 
 
735
 
2003-08-12 Hoda Amer
736
 
        Moved CharOperations and Utils from internal.core.search to internal.core
737
 
        Added CConventions class to validate class names
738
 
        Used the new search (indexer) for Code completion in CCompletionProcessor
739
 
        
740
 
2003-08-11 Andrew Niefer
741
 
        Added getSharedWorkingCopies to CCorePlugin.
742
 
        
743
 
2003-08-10 Sean Evoy
744
 
        Fix for Bug 41274. Was not saving the library option properly because the value type 
745
 
        of the option was not recognized.
746
 
        * build/org/eclipse/cdt/internal/core/build/managed/Configuration.java
747
 
 
748
 
2003-07-30 Hoda Amer
749
 
        The C Model recognizes pointers to functions.
750
 
 
751
 
2003-07-30 Sean Evoy
752
 
        The managed build model is going to go through a bit of change over the next while.
753
 
        In order to make that more manageable, I have moved all the hard-coded strings used 
754
 
        to access the XML elements of the extension point definition into the appropriate
755
 
        interface classes. 
756
 
        
757
 
        * build/org/eclipse/cdt/core/build/managed/IBuildObject.java
758
 
        * build/org/eclipse/cdt/core/build/managed/IConfiguration.java
759
 
        * build/org/eclipse/cdt/core/build/managed/IOption.java
760
 
        * build/org/eclipse/cdt/core/build/managed/IOptionCategory.java
761
 
        * build/org/eclipse/cdt/core/build/managed/ITool.java
762
 
        * build/org/eclipse/cdt/internal/core/build/managed/Configuration.java
763
 
        * build/org/eclipse/cdt/internal/core/build/managed/Option.java
764
 
        * build/org/eclipse/cdt/internal/core/build/managed/OptionCategory.java
765
 
        * build/org/eclipse/cdt/internal/core/build/managed/OptionReference.java
766
 
        * build/org/eclipse/cdt/internal/core/build/managed/Tool.java
767
 
        * build/org/eclipse/cdt/internal/core/build/managed/ToolReference.java:
768
 
        Moved the hard-coded strings used to access the XML elements into appropropriate interfaces.
769
 
 
770
 
        * schema/ManagedBuildTools.exsd:
771
 
        Renamed four attributes optionRef->optionReference, toolRef->toolReference, 
772
 
        optionValue->listOptionValue, and  optionEnum->enumeratedOptionValue. In the first 
773
 
        2 cases, I was just trying to remove the tech-ese from the names. In the later 2, I 
774
 
        tried to use a more descriptive name.
775
 
 
776
 
2003-07-29 Alain Magloire
777
 
 
778
 
        To discover if an application has debug info for DWARF-2 format
779
 
        we look for section ".debug*"
780
 
        
781
 
        * utils/org/eclipse/cdt/utils/Elf/elf.java
782
 
 
783
 
2003-07-28 Sean Evoy
784
 
        In order to meet certain internal guidelines and to test the makefile 
785
 
        generator, the build model replied to some answers with hard-coded information. 
786
 
        This patch moves the information into the build model.
787
 
 
788
 
        * schema/ManagedBuildTools.exsd
789
 
        * build/org/eclipse/cdt/core/build/managed/ITarget.java
790
 
        * build/org/eclipse/cdt/internal/core/build/managed/Target.java
791
 
        * build/org/eclipse/cdt/internal/core/build/managed/ManagedBuildInfo.java:
792
 
        Added code to correctly extract and persist the make command and clean 
793
 
        command from a Target/ITarget. Added the attributes to the schema. Removed 
794
 
        the hard-coded answers from the ManagedBuildManager.
795
 
        
796
 
        * src/org/eclipse/cdt/internal/core/GeneratedMakefileBuilder.java:
797
 
        Removed two methods that were no longer invoked from the builder.
798
 
        
799
 
        * src/org/eclipse/cdt/internal/core/MakefileGenerator.java:
800
 
        Corrected a bug in the makefile generator whereby the output prefix was applied 
801
 
        twice to library targets, i.e. liblibfoo.a instead of libfoo.a. 
802
 
        
803
 
 
804
 
2003-07-24 Sean Evoy
805
 
        * src/org/eclipse/cdt/internal/core/MakefileGenerator.java:
806
 
        Added code to place interproject dependencies in target build rule, 
807
 
        added code to properly put output prefixes on library names, and 
808
 
        added code to put library link arguments at the end of the depednency list
809
 
 
810
 
        * build/org/eclipse/cdt/core/build/managed/IManagedBuildInfo.java
811
 
        * build/org/eclipse/cdt/core/build/managed/IOption.java
812
 
        * build/org/eclipse/cdt/core/build/managed/ITool.java
813
 
        * build/org/eclipse/cdt/internal/core/build/managed/ManagedBuildInfo.java
814
 
        * build/org/eclipse/cdt/internal/core/build/managed/Option.java
815
 
        * build/org/eclipse/cdt/internal/core/build/managed/OptionReference.java
816
 
        * build/org/eclipse/cdt/internal/core/build/managed/Tool.java
817
 
        * build/org/eclipse/cdt/internal/core/build/managed/ToolReference.java:
818
 
        Added code to managed output prefixes for tools like the librarian. Added code
819
 
        to manage the library options differently. Removed some hard-coding of tool 
820
 
        information, such as the output flag.
821
 
        
822
 
        *schema/ManagedBuildTools.exsd:
823
 
        New attributes on tool for output flag and prefix. New value type enum for option
824
 
        to handle libs differently.
825
 
        
826
 
2003-07-24 Sean Evoy
827
 
        Changes introduced to make the managed build system work with
828
 
        multi-folder project.
829
 
        
830
 
        * src/org/eclipse/cdt/core/ManagedCProjectNature.java:
831
 
        now removes the cbuilder from a project before it adds its 
832
 
        own builder. This is a temporary fix to stop the managed build 
833
 
        system from building a project twice. When the new StandardBuildNature 
834
 
        is introduced, this code will be removed.
835
 
 
836
 
        * src/org/eclipse/cdt/internal/core/CCorePluginResources.properties:
837
 
        New builder messages added.
838
 
        
839
 
        * src/org/eclipse/cdt/internal/core/GeneratedMakefileBuilder.java:
840
 
        Moved the actual directory and file creation to a delegate class.
841
 
        
842
 
        * src/org/eclipse/cdt/internal/core/MakefileGenerator.java:
843
 
        New class that does the grunt work of creating build output directories 
844
 
        and makefiles.
845
 
        
846
 
        * build/org/eclipse/cdt/core/build/managed/ManagedBuildManager.java:
847
 
        Short-term changes to make it possible for build info clients to get the
848
 
        path and symbol information. When a permanent mechanism is implemented
849
 
        for clients to discover this information, these methods (IScannerInfoxxx) 
850
 
        will be removed.
851
 
        
852
 
        * build/org/eclipse/cdt/core/build/managed/IManagedBuildInfo.java
853
 
        * build/org/eclipse/cdt/internal/core/build/managed/ManagedBuildInfo.java:
854
 
        Some minor changes have been made to extract more information from the 
855
 
        build model. Currently, the values are hard-coded to simplify some integration
856
 
        testing. This will be addressed in the next patch.
857
 
        
858
 
2003-07-24 Alain Magloire
859
 
 
860
 
        * utils/org/eclipse/cdt/utils/Elf.java:
861
 
        Added a case for motorola 68000 CPU.
862
 
 
863
 
2003-07-24 Hoda Amer
864
 
        Clean up of CModelBuilder
865
 
 
866
 
2003-07-23 Hoda Amer
867
 
        Updated the CModelBuilder to use the AST instead of the DOM
868
 
 
869
 
2003-07-16 Alain Magloire
870
 
 
871
 
        Patch from Alex Chapiro
872
 
        Fix an evident bug in CProjectNature implementation of
873
 
        removeFromBuildSpec method.
874
 
        
875
 
        * CProjectNature.java
876
 
 
877
 
2003-07-16 Alain Magloire
878
 
        
879
 
        Patch from Thomas Fletcher.
880
 
        Update the core MakeUtil class with a method to support inline replacement
881
 
         of a make target with a different make target.
882
 
 
883
 
        * src/org/eclipse/cdt/core/resources/MakeUtil.java
884
 
 
885
 
2003-07-04 Victor Mozgin
886
 
        Added CTaskTagsReconciler.
887
 
 
888
 
2003-07-03 Bogdan Gheorghe
889
 
        Added support for adding individual source files to the
890
 
        index.
891
 
        
892
 
        Added support for removing projects/individual files from
893
 
        index.
894
 
        
895
 
        * src/org/eclipse/cdt/internal/core/model/DeltaProcessor.java
896
 
        
897
 
        Added a method to cancel indexing requests when a project is 
898
 
        deleted.
899
 
        
900
 
        Changed create(ICElement parent, IFile file, IBinaryFile bin) to
901
 
        check if a file is a TranslationUnit before doing anything else.
902
 
        This was done to fix Bug 39574.
903
 
        
904
 
        * src/org/eclipse/cdt/internal/core/model/CModelManager.java
905
 
        
906
 
2003-07-03 Sean Evoy
907
 
        New schema and extension point for registering an interface
908
 
        between the build system (managed and standard) and the scanner 
909
 
        clients that need it (like the indexer).
910
 
        * plugin.xml
911
 
        * schema/ScannerInfoProvider.exsd
912
 
        
913
 
        Added some documentation to the schema for managed build information
914
 
        * schema/ManagedBuildTools.exsd
915
 
        
916
 
        Added three new interfaces for getting build information for the scanner. 
917
 
        IScannerInfo contains the actual information the scanner needs and is passed
918
 
        to the scanner by the build model. IScannerInfoChangeListener is the interface
919
 
        that must be implemented by the scanner client that uses the IScannerInfo. 
920
 
        IScannerInfoProvider is the interface implemented by the build model. It is
921
 
        registered through an extension point so clients can discover providers at
922
 
        run time. IScannerInfoListener implementors subscribe and unsubscribe with the 
923
 
        provider and the provider passes them the IScannerInfo when it changes.
924
 
        * parser/org/eclipse/cdt/core/parser/IScannerInfo.java
925
 
        * parser/org/eclipse/cdt/core/parser/IScannerInfoChangeListener.java
926
 
        * parser/org/eclipse/cdt/core/parser/IScannerInfoProvider.java
927
 
        
928
 
        Changed the name of some of the managed build system elements.
929
 
        * build/org/eclipse/cdt/core/build/managed/IManagedBuildInfo.java
930
 
        
931
 
        This resulted in superficial changes to the Target and ManagedBuildManager
932
 
        * build/org/eclipse/cdt/internal/core/build/managed/Target.java
933
 
 
934
 
        Implemented the new scanner interfaces in the managed system
935
 
        * build/org/eclipse/cdt/internal/core/build/managed/ManagedBuildInfo.java
936
 
        * build/org/eclipse/cdt/core/build/managed/ManagedBuildManager.java
937
 
        
938
 
        Added a new manager for the standard make system that implements the new
939
 
        scanner interfaces. This manager uses the .cdtbuild file to persist 
940
 
        include path and symbol information (in otherwords, real build information).
941
 
        Like the managed build manager, it also gives clients access to the build 
942
 
        information associated with a project. It does not effect the older preferences
943
 
        which are still managed by the CNature.
944
 
        * build/org/eclipse/cdt/core/build/standard/StandardBuildManager.java
945
 
        
946
 
        Removed the responsibiolity for includes paths and symbols from CNature 
947
 
        added in last patch.
948
 
        * src/org/eclipse/cdt/core/CProjectNature.java
949
 
        
950
 
        Added code for persisting the standard build information for includes paths and 
951
 
        symbols in a file, and implemented the IScannerInfo interface in the BuildInfoFactory.
952
 
        Did not rename it, although ...
953
 
        * src/org/eclipse/cdt/core/BuildInfoFactory.java
954
 
        
955
 
        I did rename the interface it implements since it was the only reference
956
 
        * src/org/eclipse/cdt/core/resources/IStandardBuildInfo.java
957
 
        
958
 
        
959
 
        
960
 
2003-06-26 Sean Evoy
961
 
        Added methods to add and extract include paths and preprocessor 
962
 
        symbols from standard make C and C++ projects.
963
 
        
964
 
        Getter and setter methods in:
965
 
        * src/org/eclipse/cdt/core/BuildInfoFactory.java
966
 
        * src/org/eclipse/cdt/core/CProjectNature.java
967
 
        
968
 
        Added new constant for comma-separated lists
969
 
        * src/org/eclipse/cdt/core/resources/IBuildInfo.java
970
 
 
971
 
2003-06-25 Bogdan Gheorghe
972
 
 
973
 
        * src/org/eclipse/cdt/core/CCorePlugin.java
974
 
        Start the new indexer thread on startup
975
 
        * src/org/eclipse/cdt/core/model/CoreModel.java
976
 
        Added some methods to access the IndexManager
977
 
        * src/org/eclipse/cdt/internal/core/model/CModelManager.java
978
 
        Added some methods to access the IndexManager
979
 
        * src/org/eclipse/cdt/internal/core/model/DeltaProcessor.java
980
 
        Added IndexManager member
981
 
 
982
 
2003-06-24 Alain Magloire
983
 
 
984
 
        Patch form ando@park.ruru.ne.jp, to deal
985
 
        with different file cases i.e. TEST.C vs test.c
986
 
        On windows.
987
 
        
988
 
        * src/org/eclipse/cdt/core/ErrorParserManager.java
989
 
 
990
 
2003-06-24 Alain Magloire
991
 
 
992
 
        * src/org/eclipse/cdt/internal/errorparser/GCCErrorParser.java:
993
 
        New scheme to detect, preprocessor errors.
994
 
        * src/org/eclipse/cdt/core/ErrorParserManager.java:
995
 
        Provide a scratch buffer for the error parser classes.
996
 
 
997
 
2003-06-20 Sean Evoy
998
 
        Added two new value types to the ManagedBuildTools schema for include paths 
999
 
        and defined symbols.
1000
 
        
1001
 
        Added interface so clients can query build model for include paths and 
1002
 
        defined symbols
1003
 
        * build/org/eclipse/cdt/core/build/managed/ManagedBuildManager.java
1004
 
        * build/org/eclipse/cdt/core/build/managed/IManagedBuildPathInfo.java
1005
 
        * build/org/eclipse/cdt/internal/core/build/managed/ResourceBuildInfo.java
1006
 
        
1007
 
        Changed code in build model to support these new value types
1008
 
        * build/org/eclipse/cdt/internal/core/build/managed/Configuration.java
1009
 
        * build/org/eclipse/cdt/internal/core/build/managed/Option.java
1010
 
        * build/org/eclipse/cdt/core/build/managed/IOption.java
1011
 
        * build/org/eclipse/cdt/internal/core/build/managed/OptionReference.java
1012
 
        * build/org/eclipse/cdt/internal/core/build/managed/Tool.java
1013
 
        * build/org/eclipse/cdt/internal/core/build/managed/ToolReference.java
1014
 
        
1015
 
 
1016
 
2003-06-19 Alain Magloire
1017
 
 
1018
 
        * model/org/eclipse/cdt/internal/core/model/CModelManager.java:
1019
 
        (shutdown):  Deregister the listener from the Workspace.
1020
 
 
1021
 
2003-06-16 Victor Mozgin
1022
 
        Implemented support for old K&R-style C function declarations.
1023
 
        Added oldKRParametersBegin() and oldKRParametersEnd() to DOMBuilder.
1024
 
        Added OldKRParameterDeclarationClause.java to dom/org/eclipse/cdt/internal/core/dom.
1025
 
        Added handling of OldKRParameterDeclarationClause to ParameterDeclarationClause.
1026
 
 
1027
 
2003-06-14 Victor Mozgin
1028
 
        Added support for pointers to members to DOMBuilder.
1029
 
        Added new kind of pointer operator : t_pointer_to_member (PointerOperator).
1030
 
        Added nameSpecifier field and set/get operations to PointerOperator.
1031
 
 
1032
 
2003-06-13 Andrew Niefer
1033
 
        Added search\org.eclipse.cdt.core.search
1034
 
                  search\org.eclipse.cdt.internal.core.search
1035
 
                  search\org.eclipse.cdt.internal.core.search.matching
1036
 
                  search\org.eclipse.cdt.internal.core.search.processing
1037
 
        with skeleton classes based on the JDT search as a beginning for 
1038
 
        implementing C/CPP search.
1039
 
 
1040
 
2003-06-06 Sean Evoy
1041
 
 
1042
 
        Added new interface, IResourceBuildInfo, so clients could
1043
 
        be shielded from future implementation changes.
1044
 
        
1045
 
        ManagedBuildManager class has been updated to return an 
1046
 
        interface, IResourceBuildInfo, instead of the implementing 
1047
 
        class.
1048
 
        
1049
 
        For ITool, I added a method to determine if the tool produces 
1050
 
        an output based on a file extension, and one to determine if
1051
 
        it builds an input based on a file extension. I added a method 
1052
 
        to determine what the output file extension of a build will 
1053
 
        be based on an input extension. Finally, I added a method to 
1054
 
        extract a tool command and one to extract its flags.
1055
 
        
1056
 
        For ITarget, I added more information about the build artifact. 
1057
 
        I have added artifact name and default extension attributes to 
1058
 
        the target schema. The artifact name is intended to hold the 
1059
 
        name the user has selected as the final build object 
1060
 
        (i.e. test.exe, foo.so, etc). The default extension will be 
1061
 
        used by the toolchain provider to specify a default extension 
1062
 
        for the final build object (i.e. .dll.a for Cygwin shared libs 
1063
 
        vs .so for Linux shared libs).  There are getter and setter 
1064
 
        methods for the name of the final build artifact. There is also a 
1065
 
        method to extract the default extension that is built for targets 
1066
 
        of this type.
1067
 
        
1068
 
        The build model schema was updated to reflect these new bit of 
1069
 
        information.
1070
 
        
1071
 
        The GeneratedMakefileBuilder was updated to extract this information
1072
 
        and to create a new rule for each input to the build artifact.
1073
 
 
1074
 
        The resource build information store now remembers the top 
1075
 
        configuration for a target as selected by the user in the UI. 
1076
 
        This is needed by the makefile generator and in persisted in the 
1077
 
        project build file. 
1078
 
        
1079
 
        The test has been updated to reflect these changes.
1080
 
 
1081
 
2003-06-05 Alain Magloire
1082
 
 
1083
 
        PR #38380, partially fix; would need more detail form
1084
 
        the C Parser to know if the include is <...> or "..."
1085
 
 
1086
 
        * model/org/eclipse/cdt/internal/core/model/Include.java
1087
 
        (getIncludeName): implemented.
1088
 
 
1089
 
2003-05-29 Alain Magloire
1090
 
 
1091
 
        PR 38239
1092
 
        BinaryContainer.getBinaries() was returning empty []
1093
 
        * model/org/eclipse/cdt/internal/core/model/CModelManager.java
1094
 
        (getBinaryRunner): return the runner if is already instanciated.
1095
 
 
1096
 
2003-05-29 David Inglis
1097
 
        * utils/org/eclipse/cdt/utils/elf/Elf.java
1098
 
         fixed toString buf for Sestion.
1099
 
         added findSesctionByName() method 
1100
 
         fixed bug where reading DYN section would fail for mips
1101
 
        * utils/org/eclipse/cdt/utils/elf/ElfHelper.java
1102
 
        use new findSectionByName.
1103
 
        cleaup
1104
 
 
1105
 
2003-04-29 Alain Magloire
1106
 
 
1107
 
        * model/org/eclipse/cdt/internal/core/model/parser/PEParser.java (getBinary):
1108
 
        Catch if path == null.
1109
 
        * model/org/eclipse/cdt/internal/core/model/Archive.java (isReadOnly):
1110
 
        Always return true for binary.
1111
 
 
1112
 
2003-04-29 Alain Magloire
1113
 
 
1114
 
        PR 37064
1115
 
 
1116
 
        * model/org/eclipse/cdt/internal/core/model/DelatProcessor.java (close):
1117
 
        New method, close the openable when content changed to flush the cache.
1118
 
        (contentChanged): Remove only use elementChanged().
1119
 
        * model/org/eclipse/cdt/internal/core/model/parser/ElfParser.java (getBinary):
1120
 
        Catch if path == null.
1121
 
 
1122
 
2003-04-25 Alain Magloire
1123
 
 
1124
 
        * model/org/eclipse/cdt/internal/core/model/Binary.java (getNeededSharedLibs):
1125
 
        JUnit faileds tests.  getNeededSharedLibs() should also return for executable.
1126
 
        (isReadOnly): is always true for executable.
1127
 
 
1128
 
2003-04-24 Alain Magloire
1129
 
 
1130
 
        * utils/org/eclipse/cdt/utils/spawner/Spawner.java (raise):
1131
 
        Change the scope to be public.
1132
 
 
1133
 
2003-04-12 Alain Magloire
1134
 
 
1135
 
        Bug 36624
1136
 
        The latest changes broke the old parser, we still need the old parser
1137
 
        until the new one is rock solid.
1138
 
        
1139
 
        * model/org/eclipse/cdt/internal/core/model/TranslationUnit.java:
1140
 
 
1141
 
2003-04-12 Alain Magloire
1142
 
 
1143
 
        Bug 36424,
1144
 
        The Binaries/Archives were not deleted in the virtual containers.
1145
 
        
1146
 
        * model/org/eclipse/cdt/internal/core/model/DeltaProcessor.java:
1147
 
        createElement() checks for the binaries in the virtual containers also.
1148
 
        * mode/org/eclipse/cdt/internal/core/model/CModelManager.java:
1149
 
        Remove unused methods.
1150
 
 
1151
 
2003-04-09 Alain Magloire
1152
 
 
1153
 
        Give a chance to the manager to initialize and shutdown gracefully.
1154
 
        The CCorePlugin will call the managers, indexer, coreModel, CDescriptorManager
1155
 
        startup() method and shutdown() method.
1156
 
 
1157
 
        * src/org/eclipse/cdt/core/CCorePlugin.java:
1158
 
        Call {IndexModel,CoreModel}.{startup,shutdown}().
1159
 
        * model/org/eclipse/cdt/core/model/CoreModel.java:
1160
 
        New methods startup/shutdown.
1161
 
        * model/org/eclipse/cdt/internal/core/mode/CModelManager.java:
1162
 
        implement startup/shutdown.
1163
 
        * index/org/eclipse/cdt/core/model/IndexModel.java:
1164
 
        New methods startup/shutdown.
1165
 
 
1166
 
2003-04-08 Alain Magloire
1167
 
 
1168
 
        * model/org/eclipse/cdt/internal/core/model/DeltaProcessor.java:
1169
 
        Bug fix, deltas were not generated for non C-Resources.
1170
 
 
1171
 
2003-04-02 Alain Magloire
1172
 
 
1173
 
        First draft on implementing LibraryReference.
1174
 
 
1175
 
        * model/org/eclipse/cdt/core/model/ICProject.java:
1176
 
        * model/org/eclipse/cdt/internal/core/model/CProject.java:
1177
 
        New method getLibraryReferences().
1178
 
        * model/org/eclipse/cdt/internal/core/model/LibraryReference.java:
1179
 
        New class.
1180
 
 
1181
 
        * src/org/eclipse/cdt/internal/core/CDescriptor.java:
1182
 
        Bug fix in readProjectDescription(); fPathEntries was not initialized
1183
 
        and decodePathEntry() was call with the wrong argument.
1184
 
 
1185
 
2003-04-01 Alain Magloire
1186
 
 
1187
 
        Implement SourceRefence and SourceManipulation for IBinary, this is
1188
 
        done in BinaryElement, BinaryFunction, BinaryVariable.
1189
 
 
1190
 
        * model/org/eclipse/cdt/internal/core/model/Binary.java:
1191
 
        * model/org/eclipse/cdt/internal/core/model/BinaryFunction.java:
1192
 
        * model/org/eclipse/cdt/internal/core/model/BinaryVariable.java:
1193
 
        * model/org/eclipse/cdt/internal/core/model/BinaryElement.java:
1194
 
 
1195
 
        Corrected typo ISymbol.getAdress() should be ISymbol.getAddress().
1196
 
        * model/org/eclipse/cdt/internal/core/model/parser/Symbol.java:
1197
 
        * src/org/eclipse/cdt/core/IBinaryParser.java:
1198
 
 
1199
 
2003-04-01 Alain Magloire
1200
 
 
1201
 
        Patch form Hoda.
1202
 
        IStructure extends IVariableDeclaration.
1203
 
        INamespace extends IParent.
1204
 
        
1205
 
        * model/org/eclipse/cdt/core/model/IStructure.java
1206
 
        * model/org/eclipse/cdt/core/model/INamespace.java
1207
 
        
1208
 
2003-04-01 Alain Magloire
1209
 
 
1210
 
        Phasing out the classes ICResource and ICFile.
1211
 
        They were no longer part of the C Model.
1212
 
 
1213
 
        * model/org/eclipse/cdt/core/model/ICFile.java:
1214
 
        * model/org/eclipse/cdt/core/mode/ICResource.java:
1215
 
        * model/org/eclipse/cdt/internal/core/model/CFile.java:
1216
 
        Removed.
1217
 
 
1218
 
2003-03-30 Alain Magloire
1219
 
 
1220
 
        First phase of the rewrite on how we treat Binary/Archive in the CoreModel
1221
 
        This included suggestions from Chris Songer on augmenting the binary methods
1222
 
        to include the address;
1223
 
        IBinary
1224
 
                IBinaryModule
1225
 
                        IBinaryFunction
1226
 
                        IBinaryVariable
1227
 
                                IBinaryElement
1228
 
 
1229
 
        * model/org/eclipse/cdt/core/model/IBinaryElement.java:
1230
 
        * model/org/eclipse/cdt/core/model/IBinaryModule.java:
1231
 
        * model/org/eclipse/cdt/core/model/IBinaryVariable.java:
1232
 
        * model/org/eclipse/cdt/core/model/IBinaryFunction.java:
1233
 
        New Classes.
1234
 
 
1235
 
        * model/org/eclipse/cdt/internal/core/model/Binary.java:
1236
 
        * model/org/eclipse/cdt/internal/core/model/Archive.java:
1237
 
        * model/org/eclipse/cdt/internal/core/model/BinaryModule.java:
1238
 
        * model/org/eclipse/cdt/internal/core/model/BinaryFunction.java:
1239
 
        * model/org/eclipse/cdt/internal/core/model/BinaryVariable.java:
1240
 
        * model/org/eclipse/cdt/internal/core/model/BinaryElement.java:
1241
 
        Implement the IBinaryElement classes.
1242
 
 
1243
 
 
1244
 
        * model/org/eclipse/cdt/internal/core/model/CElement.java:
1245
 
        * model/org/eclipse/cdt/internal/core/model/CModelCache.java:
1246
 
        * model/org/eclipse/cdt/internal/core/model/Openable.java:
1247
 
        * model/org/eclipse/cdt/internal/core/model/Parent.java:
1248
 
        Change the CModelCache to save in the LRU the binaries.
1249
 
 
1250
 
        * model/org/eclipse/cdt/internal/core/model/parser/ElfBinaryFile.java:
1251
 
        * model/org/eclipse/cdt/internal/core/model/parser/PEBinaryFile.java:
1252
 
        * model/org/eclipse/cdt/internal/core/model/parser/Symbol.java:
1253
 
        Implement the method getAddress().
1254
 
        Suggested by Chris Songer
1255
 
 
1256
 
        * model/org/eclipse/cdt/internal/core/model/DeltaProcessor.java:
1257
 
        * model/org/eclipse/cdt/internal/core/model/CModelManager.java:
1258
 
        Fix bug, the event was fired for the non-C resources.
1259
 
 
1260
 
        * src/org/eclipse/cdt/core/CCorePlugin.java:
1261
 
        New method getDefaultBinaryParser().
1262
 
 
1263
 
        * src/org/eclipse/cdt/core/IBinaryParser.java:
1264
 
        Added method getAddress() to ISymbol
1265
 
        Suggested by Chris Songer
1266
 
 
1267
 
2003-03-28 David Inglis
1268
 
 
1269
 
        * src/org/eclipse/cdt/core/AbstractCExtension.java
1270
 
        * src/org/eclipse/cdt/core/CCorePlugin.java
1271
 
        * src/org/eclipse/cdt/core/ICDescriptor.java
1272
 
        * src/org/eclipse/cdt/core/ICExtension.java
1273
 
        * src/org/eclipse/cdt/core/ICExtensionReference.java
1274
 
        * src/org/eclipse/cdt/core/ICOwner.java
1275
 
        * src/org/eclipse/cdt/core/ICOwnerInfo.java
1276
 
        * src/org/eclipse/cdt/core/ICPathEntry.java
1277
 
        * src/org/eclipse/cdt/internal/CCorePluginResources.properties
1278
 
        * src/org/eclipse/cdt/internal/core/CDescriptor.java
1279
 
        * src/org/eclipse/cdt/internal/core/CDescriptorManager.java
1280
 
        * src/org/eclipse/cdt/internal/core/CExtensionInfo.java
1281
 
        * src/org/eclipse/cdt/internal/core/CExtensionReference.java
1282
 
        * src/org/eclipse/cdt/internal/core/COwner.java
1283
 
        * src/org/eclipse/cdt/internal/core/CPathEntry.java
1284
 
        * src/org/eclipse/cdt/internal/core/InternalCExtension.java
1285
 
 
1286
 
        Add new ICPathEntry interface with peristancy, access is via the ICDecriptor
1287
 
        which uses the .cdtproject file for the store. creation is through CCorePlugin.
1288
 
 
1289
 
        - included is some copyright header changes and the move of the properties file
1290
 
          to 'internal' 
1291
 
 
1292
 
2003-03-27 Alain Magloire
1293
 
        * model/org/eclipse/cdt/internal/core/model/BinaryContainer.java:
1294
 
        * model/org/eclipse/cdt/internal/core/model/ArchiveContainer.java:
1295
 
        Name is now "Binaries" and "Archives", lib and bin was confusing.
1296
 
 
1297
 
2003-03-27 Alain Magloire
1298
 
 
1299
 
        The ICElement.getResource() should not throw a CModelException, it returns null or the the resource.
1300
 
        This makes us consistent with JDT/IJavaElement.getResource();
1301
 
 
1302
 
2003-03-27 Alain Magloire
1303
 
 
1304
 
        Some changes in the Core Model to make it closer to JDT, the hierarchy is now:
1305
 
        ICModel
1306
 
                ICProject
1307
 
                        ICContainer
1308
 
                                ITranslationUnit
1309
 
                                IArchive
1310
 
                                IBinary
1311
 
 
1312
 
        All the C Resources above implements IParent, ICElement and IOpenable.
1313
 
        The rationale is that in the old hierarchy, we were putting things in the model
1314
 
        that the did not belong to the a C/C++ Model, for example a "README" file
1315
 
        was map to CFile or CResource bloating the LRU cache, those resources did
1316
 
        not contribute any info to the model and would make the indexer job more
1317
 
        complex.  A new method been added getNonCResources() to retrieve those elements.
1318
 
        Note CResource, CFolder, CFile are removed.
1319
 
        Also refactors:
1320
 
        - ICOpenable to IOpenable
1321
 
        - ICRoot to ICModel
1322
 
        - ICRootInfo to ICModelInfo
1323
 
        - Move internal/core/model/IBuffer* classes to core/model/IBuffer*
1324
 
 
1325
 
        * index/org/eclipse/cdt/internal/core/index/IndexManager.java
1326
 
        * model/org/eclipse/cdt/core/model/BufferChangedEvent.java
1327
 
        * model/org/eclipse/cdt/core/model/CoreModel.java
1328
 
        * model/org/eclipse/cdt/core/model/IArchive.java
1329
 
        * model/org/eclipse/cdt/core/model/IArchiveContainer.java
1330
 
        * model/org/eclipse/cdt/core/model/IBinary.java
1331
 
        * model/org/eclipse/cdt/core/model/IBinaryContainer.java
1332
 
        * model/org/eclipse/cdt/core/model/IBinaryContainer.java
1333
 
        * model/org/eclipse/cdt/core/model/IBuffer.java
1334
 
        * model/org/eclipse/cdt/core/model/IBufferChangedListener.java
1335
 
        * model/org/eclipse/cdt/core/model/ICContainer.java
1336
 
        * model/org/eclipse/cdt/core/model/ICElement.java
1337
 
        * model/org/eclipse/cdt/core/model/ICFile.java
1338
 
        * model/org/eclipse/cdt/core/model/ICFolder.java
1339
 
        * model/org/eclipse/cdt/core/model/ICModel.java
1340
 
        * model/org/eclipse/cdt/core/model/ICOpenable.java
1341
 
        * model/org/eclipse/cdt/core/model/ICProject.java
1342
 
        * model/org/eclipse/cdt/core/model/ICResource.java
1343
 
        * model/org/eclipse/cdt/core/model/ICRoot.java
1344
 
        * model/org/eclipse/cdt/core/model/IOpenable.java
1345
 
        * model/org/eclipse/cdt/core/model/ITranslationUnit.java
1346
 
        * model/org/eclipse/cdt/internal/core/model/Archive.java
1347
 
        * model/org/eclipse/cdt/internal/core/model/ArchiveContainer.java
1348
 
        * model/org/eclipse/cdt/internal/core/model/ArchiveContainerInfo.java
1349
 
        * model/org/eclipse/cdt/internal/core/model/ArchiveInfo.java
1350
 
        * model/org/eclipse/cdt/internal/core/model/Binary.java
1351
 
        * model/org/eclipse/cdt/internal/core/model/BinaryContainer.java
1352
 
        * model/org/eclipse/cdt/internal/core/model/BinaryContainerInfo.java
1353
 
        * model/org/eclipse/cdt/internal/core/model/BinaryInfo.java
1354
 
        * model/org/eclipse/cdt/internal/core/model/BinaryRunner.java
1355
 
        * model/org/eclipse/cdt/internal/core/model/Buffer.java
1356
 
        * model/org/eclipse/cdt/internal/core/model/BufferChangedEvent.java
1357
 
        * model/org/eclipse/cdt/internal/core/model/BufferManager.java
1358
 
        * model/org/eclipse/cdt/internal/core/model/CContainer.java
1359
 
        * model/org/eclipse/cdt/internal/core/model/CContainerInfo.java
1360
 
        * model/org/eclipse/cdt/internal/core/model/CElement.java
1361
 
        * model/org/eclipse/cdt/internal/core/model/CElementDelta.java
1362
 
        * model/org/eclipse/cdt/internal/core/model/CElementDeltaBuilder.java
1363
 
        * model/org/eclipse/cdt/internal/core/model/CElementInfo.java
1364
 
        * model/org/eclipse/cdt/internal/core/model/CFile.java
1365
 
        * model/org/eclipse/cdt/internal/core/model/CFileInfo.java
1366
 
        * model/org/eclipse/cdt/internal/core/model/CFolder.java
1367
 
        * model/org/eclipse/cdt/internal/core/model/CFolderInfo.java
1368
 
        * model/org/eclipse/cdt/internal/core/model/CModel.java
1369
 
        * model/org/eclipse/cdt/internal/core/model/CModelCache.java
1370
 
        * model/org/eclipse/cdt/internal/core/model/CModelInfo.java
1371
 
        * model/org/eclipse/cdt/internal/core/model/CModelManager.java
1372
 
        * model/org/eclipse/cdt/internal/core/model/CModelOperation.java
1373
 
        * model/org/eclipse/cdt/internal/core/model/CProject.java
1374
 
        * model/org/eclipse/cdt/internal/core/model/CProjectInfo.java
1375
 
        * model/org/eclipse/cdt/internal/core/model/CResource.java
1376
 
        * model/org/eclipse/cdt/internal/core/model/CResourceInfo.java
1377
 
        * model/org/eclipse/cdt/internal/core/model/CRoot.java
1378
 
        * model/org/eclipse/cdt/internal/core/model/CRootInfo.java
1379
 
        * model/org/eclipse/cdt/internal/core/model/CommitWorkingCopyOperation.java
1380
 
        * model/org/eclipse/cdt/internal/core/model/CopyElementsOperation.java
1381
 
        * model/org/eclipse/cdt/internal/core/model/CopyResourceElementsOperation.java
1382
 
        * model/org/eclipse/cdt/internal/core/model/CreateElementInTUOperation.java
1383
 
        * model/org/eclipse/cdt/internal/core/model/DeleteResourceElementsOperation.java
1384
 
        * model/org/eclipse/cdt/internal/core/model/DeltaProcessor.java
1385
 
        * model/org/eclipse/cdt/internal/core/model/ElementCache.java
1386
 
        * model/org/eclipse/cdt/internal/core/model/FieldInfo.java
1387
 
        * model/org/eclipse/cdt/internal/core/model/FunctionInfo.java
1388
 
        * model/org/eclipse/cdt/internal/core/model/IBuffer.java
1389
 
        * model/org/eclipse/cdt/internal/core/model/IBufferChangedListener.java
1390
 
        * model/org/eclipse/cdt/internal/core/model/IBufferFactory.java
1391
 
        * model/org/eclipse/cdt/internal/core/model/IWorkingCopy.java
1392
 
        * model/org/eclipse/cdt/internal/core/model/Openable.java
1393
 
        * model/org/eclipse/cdt/internal/core/model/OpenableInfo.java
1394
 
        * model/org/eclipse/cdt/internal/core/model/Parent.java
1395
 
        * model/org/eclipse/cdt/internal/core/model/SourceManipulation.java
1396
 
        * model/org/eclipse/cdt/internal/core/model/SourceManipulationInfo.java
1397
 
        * model/org/eclipse/cdt/internal/core/model/TranslationUnit.java
1398
 
        * model/org/eclipse/cdt/internal/core/model/TranslationUnitInfo.java
1399
 
 
1400
 
 
1401
 
2003-03-20 Alain Magloire
1402
 
 
1403
 
        Patch from Amer Hoda
1404
 
        This patch adds the functionnality of the C Element Deltas for translation
1405
 
        unit. It figures the addes/deleted C elements with each elementChanged event.
1406
 
        
1407
 
        * model/org/eclipse/cdt/internal/core/model/CElement.java:
1408
 
        New method isIdentical().
1409
 
        * model/org/eclipse/cdt/internal/core/model/CElementDeltabuilder.java:
1410
 
        First implementation.
1411
 
        * model/org/eclipse/cdt/internal/core/model/SourceManipulation.java:
1412
 
        New method hasSameContentAs() and getModifiers().
1413
 
 
1414
 
2003-03-19 Alain Magloire
1415
 
 
1416
 
        Patch from Amer Hoda.
1417
 
        Introducing the WorkingCopy in the Core Model.
1418
 
        Those changes introduce the same functionnality as JDT.
1419
 
 
1420
 
        All CElements have a common way of opening/modifying the source. In other words and
1421
 
        opening of Translation Unit (ITranslationUnit) is done via the buffer mechanism
1422
 
        To commit changes isConsistent and makeConsistent must be called.
1423
 
 
1424
 
        The Core Model maintains an LRU cache of open elements, and automatically closes elements
1425
 
        as they are swapped out of the cache to make room for other elements.
1426
 
        Elements with unsaved changes are never removed from the cache, and thus, if the client
1427
 
        maintains many open elements with unsaved changes, the LRU cache can grow in size
1428
 
        (in this case the cache is not bounded). However, as elements
1429
 
        are saved, the cache will shrink back to its original bounded size. 
1430
 
 
1431
 
        * model/org/eclipse/cdt/core/model/ElementChangeEvent.java
1432
 
        * model/org/eclipse/cdt/core/model/ICOpenable.java
1433
 
        * model/org/eclipse/cdt/core/model/ICResource.java
1434
 
        * model/org/eclipse/cdt/core/model/ITranslationUnit.java
1435
 
 
1436
 
        * model/org/eclipse/cdt/internal/core/model/Buffer.java
1437
 
        * model/org/eclipse/cdt/internal/core/model/BufferChangedEvent.java
1438
 
        * model/org/eclipse/cdt/internal/core/model/CElement.java
1439
 
        * model/org/eclipse/cdt/internal/core/model/CElementDeltaBuilder.java
1440
 
        * model/org/eclipse/cdt/internal/core/model/CElementInfo.java
1441
 
        * model/org/eclipse/cdt/internal/core/model/CFile.java
1442
 
        * model/org/eclipse/cdt/internal/core/model/CFolder.java
1443
 
        * model/org/eclipse/cdt/internal/core/model/CModelCache.java
1444
 
        * model/org/eclipse/cdt/internal/core/model/CModelManager.java
1445
 
        * model/org/eclipse/cdt/internal/core/model/CommitWorkingCopyOperation.java
1446
 
        * model/org/eclipse/cdt/internal/core/model/CProject.java
1447
 
        * model/org/eclipse/cdt/internal/core/model/CResource.java
1448
 
        * model/org/eclipse/cdt/internal/core/model/CRoot.java
1449
 
        * model/org/eclipse/cdt/internal/core/model/CElementCache.java
1450
 
        * model/org/eclipse/cdt/internal/core/model/IBuffer.java
1451
 
        * model/org/eclipse/cdt/internal/core/model/IBufferChangedListener.java
1452
 
        * model/org/eclipse/cdt/internal/core/model/IBufferFactory.java
1453
 
        * model/org/eclipse/cdt/internal/core/model/TranslationUnit.java
1454
 
        * model/org/eclipse/cdt/internal/core/model/TranslationUnitInfo.java
1455
 
        * model/org/eclipse/cdt/internal/core/model/Util.java
1456
 
        * model/org/eclipse/cdt/internal/core/model/WorkingCopy.java
1457
 
        * model/org/eclipse/cdt/internal/core/model/WorkingCopyInfo.java
1458
 
 
1459
 
 
1460
 
        * model/org/eclipse/cdt/internal/core/util/ICacheEnumeration.java
1461
 
        * model/org/eclipse/cdt/internal/core/util/ILRUCache.java
1462
 
        * model/org/eclipse/cdt/internal/core/util/LRUCacheEnumeration.java
1463
 
        * model/org/eclipse/cdt/internal/core/util/OverFlowingLRUCache.java
1464
 
        * model/org/eclipse/cdt/internal/core/util/ToStringSorter.java
1465
 
 
1466
 
2003-03-12 Alain Magloire
1467
 
 
1468
 
        * utils/org/eclipse/cdt/utils/elf/Elf.java:
1469
 
        Do a better check when looking for the nearest symbol, a validation
1470
 
        is to check if the line number is "0", zero is invalid and keep on iterating.
1471
 
 
1472
 
2003-03-11 Alain Magloire
1473
 
 
1474
 
        * utils/org/eclipse/cdt/utils/elf/Elf.java (Symbol:getLineInfo):
1475
 
        The address value may not align with the debug information, for example when
1476
 
        adding Profiling etc .. we try to get the nearest symbol as a fallback.
1477
 
        We've seen this behaviour on PPC and ARM boards.
1478
 
        * utils/org/eclipse/cdt/utils/CPPFilt.java:
1479
 
        Remove unused fields.
1480
 
 
1481
 
2003-02-26 Alain Magloire
1482
 
 
1483
 
        The second part to finish the cdt-core-home/docs/binaryparser.html
1484
 
        proposal.  The plugin.xml changed to reflect this, new format.
1485
 
 
1486
 
        <extension id="ELF" name="Elf Parser" point="org.eclipse.cdt.core.BinaryParser">
1487
 
         <cextension>
1488
 
           <run class="org.eclipse.cdt.internal.core.model.parser.ElfParser"/>
1489
 
         </cextension>
1490
 
        </extension>
1491
 
 
1492
 
        <extension id="PE" name="PE Windows Parser" point="org.eclipse.cdt.core.BinaryParser">
1493
 
         <cextension>
1494
 
          <run class="org.eclipse.cdt.internal.core.model.parser.PEParser"> </run>
1495
 
         </cextension>
1496
 
        </extension>
1497
 
 
1498
 
        The binary parser type is now save in the ".cdtproject".
1499
 
 
1500
 
        * src/org/eclipse/cdt/core/IBinaryParserConfiguration.java:
1501
 
        * src/org/eclipse/cdt/internal/core/BinaryParserConfiguration.java:
1502
 
        Removed.
1503
 
 
1504
 
        * src/org/eclipse/cdt/internal/core/CDescriptorManager.java
1505
 
        (getDescriptor): Call autosave().
1506
 
        * src/org/eclipse/cdt/internal/core/CDescriptor.java
1507
 
        (create): Bug fix
1508
 
        (get): Bug fix
1509
 
        (remove): Bug fix
1510
 
 
1511
 
        * model/org/eclipse/cdt/internal/core/model/parser/ElParser.java:
1512
 
        * model/org/eclipse/cdt/internal/core/model/parser/PEParser.java:
1513
 
        Extends AbstractCDescriptor.
1514
 
        * model/org/eclipse/cdt/core/internal/core/model/NullBinaryParser.java:
1515
 
        New file.
1516
 
        * model/org/eclipse/cdt/core/internal/core/model/CModelManager.java:
1517
 
        * model/org/eclipse/cdt/core/model/CoreModel.java
1518
 
        (resetBinaryParser): New method.
1519
 
        (getBinaryParserFormat): removed.
1520
 
        (setBinaryParserFormat): removed.
1521
 
        (setDefaultBinaryParserFormat): removed.
1522
 
        (getDefaultBinaryParserFormat): removed.
1523
 
 
1524
 
2003-02-26 Alain Magloire
1525
 
 
1526
 
        A new proposal was make, see cdt-core-home/docs/binaryparser.html
1527
 
        it changed the the signature:
1528
 
        public interface IBinaryParser {
1529
 
                IBinary getBinary(IPath path);
1530
 
        }
1531
 
 
1532
 
        The getBinary() method no longer takes an IFile, this was necessary
1533
 
        to allow the binary parser code to work on files outside of the
1534
 
        workspace.  The correspondign implementation is updated.
1535
 
        
1536
 
        * model/org/eclipse/cdt/internal/core/model/ElfBinaryArchive.java
1537
 
        * model/org/eclipse/cdt/internal/core/model/ElfBinaryFile.java
1538
 
        * model/org/eclipse/cdt/internal/core/model/ElfParser.java
1539
 
        * model/org/eclipse/cdt/internal/core/model/PEBinaryArchive.java
1540
 
        * model/org/eclipse/cdt/internal/core/model/PEBinaryFile.java
1541
 
        * model/org/eclipse/cdt/internal/core/model/PEBParser.java
1542
 
 
1543
 
        * model/org/eclipse/cdt/internal/core/model/ArchiveInfo.java
1544
 
        * model/org/eclipse/cdt/internal/core/model/BinaryInfo.java
1545
 
        * model/org/eclipse/cdt/internal/core/model/CModelManager.java
1546
 
 
1547
 
2003-02-26 David Inglis
1548
 
        * model/org/eclipse/cdt/internal/core/model/ArchiveContainer.java
1549
 
        * model/org/eclipse/cdt/internal/core/model/BinaryContainer.java
1550
 
        Remove warning.
1551
 
        
1552
 
        * model/org/eclipse/cdt/internal/core/model/parser/ElfBinaryArchive.java
1553
 
        * model/org/eclipse/cdt/internal/core/model/parser/ElfBinaryFile.java
1554
 
        * utils/org/eclipse/cdt/utils/elf/AR.java
1555
 
        Improve IBinaryObject creation from IArchive (big speed improvment)
1556
 
        
1557
 
 
1558
 
2003-02-24 Alain Magloire
1559
 
 
1560
 
        * model/org/eclipse/cdt/internal/core/model/Marker.java:
1561
 
        Removed, this file was implementing IMarker.
1562
 
 
1563
 
2003-02-24 Alain Magloire
1564
 
 
1565
 
        * model/org/eclipse/cdt/internal/core/model/Resource.java:
1566
 
        Removed, this file was implementing IResource.
1567
 
 
1568
 
2003-02-23 Alain Magloire
1569
 
 
1570
 
        Remove implementations of IResource and IContainer.
1571
 
 
1572
 
        * model/org/eclipse/cdt/internal/core/model/Container.java:
1573
 
        * model/org/eclipse/cdt/internal/core/model/parser/BinaryContainerAdapter.java:
1574
 
        * model/org/eclipse/cdt/internal/core/model/parser/BinaryFileAdapter.java:
1575
 
        Files removed.
1576
 
        * model/org/eclipse/cdt/internal/core/model/Archive.java:
1577
 
        * model/org/eclipse/cdt/internal/core/model/ArchiveInfo.java:
1578
 
        * model/org/eclipse/cdt/internal/core/model/BinaryInfo.java:
1579
 
        Remove references to BinaryFileAdapter.
1580
 
 
1581
 
2003-02-19 David Inglis
1582
 
 
1583
 
        * src/org/eclipse/cdt/core/CCorePlugin.java
1584
 
        * src/org/eclipse/cdt/core/ICDescriptor.java
1585
 
        * src/org/eclipse/cdt/core/ICExtensionReference.java
1586
 
        * src/org/eclipse/cdt/core/ICOwner.java
1587
 
        * src/org/eclipse/cdt/internal/core/CDescriptor.java
1588
 
        * src/org/eclipse/cdt/internal/core/CDescriptorManager.java
1589
 
        * src/org/eclipse/cdt/internal/core/CExtensionReference.java
1590
 
        * src/org/eclipse/cdt/internal/core/make/MakeProject.java
1591
 
        General cleanup of CDT extensions interfaces from review with Alain.
1592
 
 
1593
 
2003-02-17 Doug Schaefer
1594
 
 
1595
 
    Merged in Sam Robb's source for the build model.  The source can be
1596
 
    found in the build source folder.  There are new extension point schema
1597
 
    in the schema folder.  As well a number of extension points and extensions
1598
 
    have been added to the plugin.xml file.
1599
 
    
1600
 
2003-02-13 Alain Magloire
1601
 
 
1602
 
        * src/org/eclipse/cdt/core/CCorePlugin.java:
1603
 
        * src/org/eclipse/cdt/internal/core/make/Makebuilder.java:
1604
 
        Comment out reference to the Builder, for now.
1605
 
 
1606
 
        * builder/org/eclipse/cdt/core/builder/CIncrementalBuilder.java:
1607
 
        Comment reference to the CCorePlugin.
1608
 
 
1609
 
2003-02-05 Doug Schaefer
1610
 
 
1611
 
    * src/org/eclipse/cdt/internal/parser.generated:
1612
 
    Fix for hang on destructors in namespaces
1613
 
 
1614
 
2003-02-01 Alain Magloire
1615
 
 
1616
 
        Cleanups and suggestions for Hoda.
1617
 
 
1618
 
        * mode/org/eclipse/cdt/core/model/ITemplate.java:
1619
 
        New File.
1620
 
        * model/org/eclipse/cdt/core/model/IField.java:
1621
 
        Now extedns IVariableDeclaration.
1622
 
        * model/org/eclipse/cdt/core/model/IMethodDeclaration.java:
1623
 
        Extends IFunctionDeclaration.
1624
 
        * model/org/eclipse/cdt/core/model/IVariableLocal.java:
1625
 
        Removed.
1626
 
 
1627
 
2003-01-29 Alain Magloire
1628
 
 
1629
 
        * index/org/eclipse/cdt/internal/core/index/IndexManager.java (shutdown):
1630
 
        Typo was calling Thread.interrupted() instead of Thread.interrupt().
1631
 
        (delay): No longer static.
1632
 
        * src/org/eclipse/cdt/core/ErrorParserManger.java (readPreferences):
1633
 
        Use Class.forName().
1634
 
        * src/org/eclipse/cdt/internal/core/CDescriptorManager.java (resourceChanged):
1635
 
        Remove useless declarations.
1636
 
 
1637
 
2003-01-29 Alain Magloire
1638
 
 
1639
 
        * utils/org/eclipse/cdt/utils/elf/Elf.java:
1640
 
        * utils/org/eclipse/cdt/utils/coff/Coff.java
1641
 
        * utils/org/eclipse/cdt/utils/coff/PE.java
1642
 
        Cleanup some warnings when accessing static fields.
1643
 
        
1644
 
2003-01-29 Alain Magloire
1645
 
 
1646
 
        * model/org/eclipse/cdt/core/model/CoreModel.java (addElementChangedListeners):
1647
 
        remove static qualifier.
1648
 
        (removeElementChangedListeners): remove static qualifier.
1649
 
 
1650
 
2003-01-23 Alain Magloire
1651
 
 
1652
 
        Cleanups proposed by Amer Hoda.
1653
 
 
1654
 
        * model/org/eclipse/cdt/core/model/ICRoot.java: No need to extend ICElement
1655
 
        * model/org/eclipse/cdt/core/model/ICProject.java: No need to extend ICElement
1656
 
        * model/org/eclipse/cdt/core/model/ICFolder.java: No need to extend ICElement
1657
 
        * model/org/eclipse/cdt/core/model/ICFile.java: No need to extend ICElement
1658
 
        * model/org/eclipse/cdt/core/model/IMethod.java: Extends ICFunction.
1659
 
 
1660
 
2003-01-23 Alain Magloire
1661
 
 
1662
 
        * model/org/eclipse/cdt/internal/core/model/CModelManager.java (getHeaderExtensions):  Returns possible C/C++ header extensions name.
1663
 
        (getSourceExtensions): Returns possible C/C++ extension.
1664
 
        (getTranslationUnitExtensions): Returns possible C/C++ extension.
1665
 
        * model/org/eclipse/cdt/core/model/CoreModel.java:
1666
 
        (getHeaderExtensions): New method.
1667
 
        (getSourceExtensions): New method.
1668
 
        (getTranslationUnitExtensions): New method.
1669
 
 
1670
 
2003-01-23 Alain Magloire
1671
 
 
1672
 
        Changes proposed by Amer Hoda.
1673
 
 
1674
 
        * model/org/eclipse/cdt/internal/core/model/Structure.java:
1675
 
        Extends IVariableDeclaration instead of IVariable.
1676
 
        * model/org/eclipse/cdt/core/model/IStructure.java:
1677
 
        Extends IVariableDeclaration instead of IVariable.
1678
 
 
1679
 
2003-01-17 Alain Magloire
1680
 
 
1681
 
        * model/org/eclipse/cdt/internal/core/model/parser/ElfBinaryFile.java (addSymbols):
1682
 
        The catch IOException was at the wrong place.
1683
 
 
1684
 
2002-12-23 Alain Magloire
1685
 
 
1686
 
        * src/org/eclipse/cdt/internal/core/CBuilder.java (invokeMake):
1687
 
        NPE check the return of launcher.execute(), the executables
1688
 
        may not be found.
1689
 
 
1690
 
2002-12-20 Alain Magloire
1691
 
 
1692
 
        Bug fix, We use a feature of GNU make to help track the directories
1693
 
                Entering Directory '...'
1694
 
                Leaving Directory '...'
1695
 
        It looks like sometimes we loose track, or GNU make does not show
1696
 
        a "Leaving Directory" this may actually depend on how it was spawn,
1697
 
        you can suppress the message.  If you loose track we popDirectories()
1698
 
        and try to recover.
1699
 
 
1700
 
        * src/org/eclipse/cdt/core/ErrorParserManager.java (popDirectory):
1701
 
        Is throwing NoSuchElement, check the size of the stack first.
1702
 
 
1703
 
        * src/org/eclipse/cdt/internal/errorparsers/MakeErrorParser.java (processLine):
1704
 
        Recover when loosing track.
1705
 
 
1706
 
2002-12-19 Alain Magloire
1707
 
 
1708
 
        * model/org/eclipse/cdt/internal/core/model/parser/BinaryContainerAdapter.java (getFile):
1709
 
        Check getParent() it may return null.
1710
 
        (getFolder): Check getParent(), it may return null. 
1711
 
        
1712
 
2002-12-19 Alain Magloire
1713
 
 
1714
 
        * src/org/eclipse/cdt/core/ErrorParserManager.java (findFilePath):
1715
 
        The workspace will throw an Exception if the file
1716
 
        is not within the workspace, catch it.
1717
 
        (getWorkingDirectory): fallback to the location
1718
 
        of the project if no working directory.
1719
 
 
1720
 
        * src/org/eclipse/cdt/internal/errorparsers/GCCErrorParser.java (processLine):
1721
 
        Ignore errors that does not match the pattern.
1722
 
 
1723
 
2002-12-13 Alain Magloire
1724
 
 
1725
 
        * src/org/eclipse/cdt/core/CommandLauncher.java (waitAndRead):
1726
 
        Remove hack for J9 VM, filled a PR to IBM about their VM.
1727
 
        Only delay when there is nothing to read.
1728
 
 
1729
 
2002-12-13 Alain Magloire
1730
 
 
1731
 
        Building will never write to the process.  having things like
1732
 
        all:
1733
 
                b='a'; read b; echo $$b
1734
 
        could hang the IDE, since the process is waiting for input.
1735
 
        to go around, the input of the process is explicitely close.
1736
 
 
1737
 
        * src/.../internal/core/CBuilder.java (invokeMake): Close the
1738
 
        Output stream of the process, since we will never write to it.
1739
 
 
1740
 
2002-12-13 David Inglis
1741
 
        Update cdt to be eclipse 2.1 ready.
1742
 
 
1743
 
        * model/.../internal/core/model/Marker.java: added getCreationTime()
1744
 
        * model/.../internal/core/model/Resource.java: added isLinked()
1745
 
        * model/.../internal/core/model/parser/BinaryContainerAdapter.java: added createLink()
1746
 
        * model/.../internal/core/model/parser/BinaryFileAdapter.java: added createLink()
1747
 
        
1748
 
 
1749
 
2002-12-10 Alain Magloire
1750
 
 
1751
 
        * src/org/eclipse/cdt/core/CCommandLauncher.java (waitAndRead):
1752
 
        Check if the buffer is not null in available().
1753
 
 
1754
 
2002-12-10 Alain Magloire
1755
 
 
1756
 
        There is a bug in IMB j9 VM in the PipedInputStream class, when the
1757
 
        buffer is full it is returning 0 instead of buffer.length.  We
1758
 
        go around by overloading the available() method.  This should
1759
 
        be remove once the bug is fix.
1760
 
 
1761
 
        * src/org.eclipse.cdt.core/CCommandLauncher.java (waitAndRead):
1762
 
        overload available() method in the input stream.
1763
 
        Set the error message correctly when the command is canceled.
1764
 
 
1765
 
2002-12-06 Alain Magloire
1766
 
 
1767
 
        * indexer/.../internal/core/index/CTagsentry.java (parse): Remove
1768
 
        The parsing was wrong for Exuberant Ctags.
1769
 
 
1770
 
2002-11-27 Alain Magloire
1771
 
 
1772
 
        * utils/.../utils/coff/PE.java (getAttribute):
1773
 
        Quick fix to return the save value for CPU "x86" instead of "i386"
1774
 
 
1775
 
2002-11-27 Alain Magloire
1776
 
 
1777
 
        * model/.../cdt/core/model/CoreModel.java:
1778
 
        Remove the static qualifiers and force people to use getDefault().
1779
 
        (getBinaryParserFormat): New method to retrieve the format of a project.
1780
 
        (setBinaryParserFormat): New method to set the format of a project.
1781
 
        (getDefaultBinaryParserFormat): New method to retrieve the default format.
1782
 
        (setDefaultBinaryParserFormat): New method to set the default format.
1783
 
        * model/.../cdt/core/model/IBinaryParser.java: Move to be is the src directory.
1784
 
        * model/.../cdt/core/model/ICElementDelta.java: New Flag for the binary parser.
1785
 
        * model/.../internal/core/model/parser/BinaryContainerAdapter.java:
1786
 
        * model/.../internal/core/model/parser/BinaryFileAdapter.java:
1787
 
        * model/.../internal/core/model/parser/ElfBinaryArchive.java:
1788
 
        * model/.../internal/core/model/parser/ElfBinaryFile.java:
1789
 
        * model/.../internal/core/model/parser/PEBinaryArchive.java:
1790
 
        * model/.../internal/core/model/parser/PEBinaryFile.java:
1791
 
        * model/.../internal/core/model/parser/PEParser.java:
1792
 
        * model/.../internal/core/model/parser/ElfParser.java:
1793
 
        * model/.../internal/core/model/parser/Symbol.java:
1794
 
        * model/.../internal/core/model/ArchiveInfo.java:
1795
 
        * model/.../internal/core/model/BinaryInfo.java:
1796
 
        Organize imports.
1797
 
        * model/.../internal/core/model/CElementDelta.java (binaryParserChanged):
1798
 
        New method.
1799
 
        * model/.../internal/core/model/CModelManager.java (releaseCElement):
1800
 
        Remove the children of a container in the hashmap.
1801
 
        (getDefaultBinaryParserFormat): Return the default format.
1802
 
        (setDefaultBinaryParserFormat): set the default format.
1803
 
        (setBinaryParserFormat): remove the all the children and fire a binary parser change.
1804
 
 
1805
 
        * src/../cdt/core/CCorePlugin.java (getBinaryParserConfigurations):
1806
 
        New method to search for the extension points.
1807
 
        * src/../cdt/core/IBinaryParser.java: New file
1808
 
        * src/../cdt/core/IBinaryParserConfiguration.java: New file
1809
 
        * src/../internal/cdt/core/BinaryParserConfiguration.java: New file
1810
 
 
1811
 
        * plugin.xml: Binary parsers extension points.
1812
 
        
1813
 
 
1814
 
2002-11-23 Alain Magloire
1815
 
 
1816
 
        * model/.../cdt/core/model/CoreModel.java (getBinaryParser):
1817
 
        New methods to retrieve the parser for a project.
1818
 
        * model/.../cdt/core/model/IBinaryParser.java (getFormat):
1819
 
        New method return the format supported.
1820
 
        * model/.../internal/core/model/CModelManager.java (getBinaryParser):
1821
 
        New methods to retrieve the parser for a project.
1822
 
        * model/.../internal/core/model/parser/ElfBinaryFile.java:
1823
 
        Move the Symbol class out so it can be shared.
1824
 
        * model/.../internal/core/model/parser/ElfParser.java (getFormat):
1825
 
        New method.
1826
 
        * model/.../internal/core/model/parser/PEBinaryArchive.java: New file.
1827
 
        * model/.../internal/core/model/parser/PEBinaryFile.java: New file.
1828
 
        * model/.../internal/core/model/parser/PEParser.java: New file.
1829
 
        * model/.../internal/core/model/parser/Symbol.java: New file.
1830
 
 
1831
 
        * src/.../cdt/core/CCorePlugin.java (getBinaryParser):
1832
 
        New Methods to retrieve the extension-point.
1833
 
 
1834
 
        * utils/.../cdt/utils/coff/Coff.java :
1835
 
        Parse the symbols.
1836
 
        * utils/.../cdt/utils/coff/PE.java (getAttribute):
1837
 
        New helper method/class Attribute.
1838
 
        * utils/.../cdt/utils/coff/PEArchive.java :
1839
 
        New File.
1840
 
        * utils/.../cdt/utils/elf/AR.java (finalize): 
1841
 
        Make sure we do not leak fds.
1842
 
        * utils/.../cdt/utils/elf/Elf.java (finalize): 
1843
 
        Make sure we do not leak fds.
1844
 
 
1845
 
        * plugin.xml: Define two "parser" extension-point.
1846
 
 
1847
 
 
1848
 
2002-11-22 Alain Magloire
1849
 
 
1850
 
        * src/.../cdt/core/CommandLauncher.java (waitAndRead):
1851
 
        Make sure we drain the pipes.
1852
 
        (printCommandLine): Use the line.separator property.
1853
 
        * src/org/eclipse/cdt/ErrorParserManager.java
1854
 
        Check if outputStream is not null before using it.
1855
 
        (write): must be synchronized.
1856
 
        (checkLine): Break the buffer per line and pass it to processLine().
1857
 
        Takes an argument to flush when we are done(on close()).
1858
 
        * src/.../internal/core/CBuilder.java (invokeMake):
1859
 
        We have to call close() the same number of times we call
1860
 
        ErrorParserManager.getOutputStream().  Move the ErrorParerManager.reportProblem()
1861
 
        after the close.
1862
 
        * src/.../internal/CCorePluginResources.properties: Updated.
1863
 
 
1864
 
2002-11-22 Alain Magloire
1865
 
 
1866
 
        The C Builder on error would clear the build.
1867
 
        The side effect of that is on every BuildAll
1868
 
        or Rebuild on the workspace, it will try to
1869
 
        rebuild the projects since it has not states.
1870
 
        It seems to work fine for JDT, where the builder
1871
 
        has full control and can quickly make a decision
1872
 
        The situation is not the same for the CDT, where we
1873
 
        spawn an external tool (make) even if nothing changes
1874
 
        i.e. the Makefiles rules when properly done will see,
1875
 
        it still seems sloppy.  So we remove this behaviour.
1876
 
 
1877
 
        * src/.../internal/core/CBuilder.java (invokeMake):
1878
 
        Not to clear the state when errors.
1879
 
 
1880
 
2002-11-22 Alain Magloire
1881
 
 
1882
 
        * src/.../cdt/core/model/IBinary.java (isCore):
1883
 
        New method.
1884
 
        * src/.../cdt/core/model/IBinaryParser.java (CORE):
1885
 
        New type core.
1886
 
        * src/.../internal/core/model/parser/ElfBinaryFile.java (getType):
1887
 
        case for CORE.
1888
 
        * src/.../internal/core/model/Binary.java (isCore):
1889
 
        New method.
1890
 
        * src/.../internal/core/model/BinaryInfo.java (isCore):
1891
 
        New method.
1892
 
        * src/.../internal/core/model/CModelManager.java (isBinary):
1893
 
        Check for core.
1894
 
        * util/.../utils/elf/Elf.java (getAttributes): Check for Core.
1895
 
 
1896
 
2002-11-22 David Inglis
1897
 
        * src/.../cdt/core/CommandLauncher.java:
1898
 
        Make CommandLauncher.waitAndRead do the stream writing, since ui components
1899
 
        process this stream, and this method may be call in a ui thread.
1900
 
        
1901
 
2002-11-20 David Inglis
1902
 
        * src/.../internal/core/CBuilder.java:
1903
 
        fix AUTO_BUILDs so that the builder only builds when the resources change
1904
 
        in the project.
1905
 
        
1906
 
2002-11-20 David Inglis
1907
 
        * plugin.xml
1908
 
        fixed bug #26640
1909
 
 
1910
 
2002-11-19 Alain Magloire
1911
 
 
1912
 
        * src/.../internal/core/model/CModelManager.java (resourceChanged):
1913
 
        Do nothing for PRE_DELETE and PRE_BUILD events for now.
1914
 
        
1915
 
2002-11-16 Alain Magloire
1916
 
 
1917
 
        * src/.../model/IBinaryParser.java: New Interface for Binary parsers
1918
 
        extension-points.
1919
 
        * src/.../model/ICElement.java (getResource): New method added.
1920
 
        * src/.../internal/core/model/parser/BinaryContainerAdapter.java:
1921
 
        New file adapting an archive to a IContainer.
1922
 
        * src/.../internal/core/model/parser/BinaryFiledapter.java:
1923
 
        New file adapting a binary to a IFile.
1924
 
        * src/.../internal/core/model/parser/ElfBinaryArchive.java:
1925
 
        New file implements IBinaryArchive.
1926
 
        * src/.../internal/core/model/parser/ElfBinaryFile.java:
1927
 
        New file implements IBinaryObject etc ...
1928
 
        * src/.../internal/core/model/parser/ElfBinaryFile.java:
1929
 
        New file implements IBinaryParser.
1930
 
        * src/.../internal/core/model/Archive.java (isArchive): Removed.
1931
 
        (getResource): Added.
1932
 
        * src/.../internal/core/model/ArchiveContainer.java (getChildren):
1933
 
        Use new method CProject.setBinaryRunner().
1934
 
        * src/.../internal/core/model/ArchiveInfo.java:
1935
 
        rewritten to use IBinarParser interface.
1936
 
        * src/.../internal/core/model/BinaryContainer.java (getChildren):
1937
 
        Use new method CProject.setBinaryRunner().
1938
 
        * src/.../internal/core/model/BinaryInfo.java:
1939
 
        rewritten to use IBinarParser interface.
1940
 
        * src/.../internal/core/model/BinaryRunner.java: New File
1941
 
        replace the ElfRunner.java.
1942
 
        * src/.../internal/core/model/CProject.java: Rename the function
1943
 
        with *Elf* Binary.
1944
 
        * src/.../internal/core/model/ElfRunner.java: Rename to BinaryRunner.java
1945
 
        * src/.../internal/core/model/CElement.java: Use getResource() instead of
1946
 
        getCorrespondingResource().
1947
 
        * src/.../internal/core/model/CModelManager.java (ReleaseCElement):
1948
 
        Bug fix was not passing the key to hash.remove().
1949
 
        (isShared): Use IBinaryParser.
1950
 
        (isExecutable): Use IBinaryParser.
1951
 
        (isArchive): Use IBinaryParser.
1952
 
        * src/.../internal/core/model/Container.java: New file
1953
 
        * src/.../internal/core/model/Resource.java: New file
1954
 
        * src/.../internal/core/model/Marker.java: New file
1955
 
        * src/.../internal/core/model/SourceManipulation.java (getResource): New method.
1956
 
        * src/.../internal/core/model/Parent.java (getResource): New method.
1957
 
        * plugin.xml: Indentation.
1958
 
 
1959
 
 
1960
 
 
1961
 
2002-11-13 Alain Magloire
1962
 
 
1963
 
        * src/.../internal/errorparsers/GCCErrorParser.java (processLine):
1964
 
        Remove the "warning :" prepend substring since the error is already mark.
1965
 
        Remove debuging println()s.
1966
 
 
1967
 
2002-11-13 Alain Magloire
1968
 
 
1969
 
        * src/.../internal/errorparsers/GCCErrorParser.java (processLine):
1970
 
        Fix check if the column is valid i.e. a number.
1971
 
 
1972
 
2002-11-13 Judy Green
1973
 
 
1974
 
        *src/org/eclipse/cdt/core/CCProjectNature.java
1975
 
                added configure() to overwrite CNatures implementation which adds a default CBuilder.
1976
 
                We now check that a project having a CCNature added already has a CNature
1977
 
                Throws a CoreException if not.
1978
 
        
1979
 
        *src/org/eclipse/cdt/core/CCorePlugin.java
1980
 
        Added a static va CDT_PROJECT_NATURE_ID_MISMATCH to indicate the condition
1981
 
        described above in configure()
1982
 
        
1983
 
        Cleaned up the convert methods to ensure that extra calls to add a
1984
 
        CBuilder are not called.
1985
 
 
1986
 
2002-11-13 Alain Magloire
1987
 
 
1988
 
        * src/.../internal/errorparsers/GCCErrorParser.java (processLine):
1989
 
        The full semantics seems to be:
1990
 
                filename:lineno:column:error_description
1991
 
        we did not take to account that the preprocessor
1992
 
        was putting the column also.
1993
 
 
1994
 
2002-11-13 Alain Magloire
1995
 
 
1996
 
        * src/.../internal/core/CBuilder.java (invokeMake):
1997
 
        Always parse the argument for errors even when the
1998
 
        build was cancelled.
1999
 
 
2000
 
2002-11-12 Alain Magloire
2001
 
 
2002
 
        * index/.../internal/core/index/CTagsRunner.java (run):
2003
 
        Remove the quick start code, not necessary.
2004
 
        * index/.../core/index/IndexModel.java (setEnabled):
2005
 
        Check if it was already enabled.
2006
 
 
2007
 
2002-11-12 Alain Magloire
2008
 
 
2009
 
        * index/.../internal/core/index/IndexManager.java (removeConatiner):
2010
 
        Change the signature of the function to take IContainer.
2011
 
        (removeResource): Also remove the request from the requestList.
2012
 
        * index/.../internal/core/index/RequestList.java (removeItem):
2013
 
        new method.
2014
 
 
2015
 
2002-11-12 Alain Magloire
2016
 
 
2017
 
        * index/.../core/index/IndexModel.java (isEnabled):
2018
 
        New method check if indexing is enable for a project.
2019
 
        (setEnabled) : enable/disable indexing for a project.
2020
 
        (removeResource): New method, remove resource from the list.
2021
 
        * index/.../internal/core/index/IndexManager.java (addContainer):
2022
 
        Check if resource is enable for indexing.
2023
 
        (addFile): Check if resource is enable for indexing.
2024
 
 
2025
 
 
2026
 
2002-11-12 David Inglis
2027
 
 
2028
 
        * model/.../internal/core/model/CModelManager.java,v
2029
 
                fixed model.create(IPath) method so it returns a element which 
2030
 
                actually exits
2031
 
 
2032
 
2002-11-08 Judy N. Green
2033
 
        * src/org/eclipse/cdt/internal/core/COwner.java
2034
 
        fixed check in constructor to throw error when ownerID is invalid
2035
 
        
2036
 
        * src/org/eclipse/cdt/internal/core/CDescriptor.java
2037
 
                made all constants static and changed visibility of DESCRIPTION_FILE_NAME
2038
 
                to package to be used by tge CDescriptorManager 
2039
 
                
2040
 
        * src/org/eclipse/cdt/internal/core/CDescriptorManager.java
2041
 
         Added to event in order to catch when the .cdtprject file is deleted.
2042
 
         delete reference to the CDT project Descriptor when a missing file is detected.
2043
 
         
2044
 
         Added new public method removeExistingCdtProjectFile(IProject project), required when converting a project.
2045
 
 
2046
 
2002-11-06 Alain Magloire
2047
 
 
2048
 
        * src/org/eclipse/cdt/ErrorParserManager.java (parse):
2049
 
        Unused code removed.
2050
 
        (checkLine): String.trim() the line to remove trailing
2051
 
        newline.
2052
 
        * src/org/eclipse/cdt/internal/errorparser/MakeErrorParser.java (processLine):
2053
 
        When there is no resources set the lineno to -1.
2054
 
 
2055
 
2002-11-06 David Inglis
2056
 
        * index/org/eclipse/cdt/internal/core/index/CTagsRunner.java
2057
 
        fixed NPE when projects are deleted.
2058
 
        
2059
 
        * src/org/eclipse/cdt/core/ErrorParserManager.java
2060
 
        fixed NPE when file exits outside of workspace
2061
 
                                
2062
 
        * utils/org/eclipse/cdt/utils/elf/Elf.java
2063
 
        fixed out of memory failure on bad elf files
2064
 
 
2065
 
2002-11-06 Alain Magloire
2066
 
 
2067
 
        Deal with some issues of PR 25756.
2068
 
        
2069
 
        * src/.../internal.errorparsers.java (processLine):
2070
 
        When the file is not found append not prepend the name
2071
 
        of the file in the description.
2072
 
        The check for "(Each undeclared ...)" was done at the
2073
 
        wrong place.
2074
 
        
2075
 
        * src/.../ErrorParserManager.java (findFileName):
2076
 
        Check if the file is absolute or relative.
2077
 
 
2078
 
2002-11-05 Alain Magloire
2079
 
 
2080
 
        * utils/.../utils/coff: New folder.
2081
 
        * utils/.../utils/coff/Coff.java: First implementation
2082
 
        of a generic COFF binary file parser.
2083
 
        * utils/.../utils/coff/Exe.java: First implementation of
2084
 
        a generic EXE binary file parser.
2085
 
        * utils/.../utils/PE.java: First implementation of a generic
2086
 
        PE coff format parser.
2087
 
 
2088
 
2002-11-05 Alain Magloire
2089
 
 
2090
 
        * src/.../ErrorParserManager.java (parse):
2091
 
        Trim the line of unwanted trailing spaces.
2092
 
 
2093
 
2002-11-01 Alain Magloire
2094
 
 
2095
 
        * model/../internal/core/mode/CProject.java (findElement):
2096
 
        Check if the path is Absolute or relative before creating the
2097
 
        element.
2098
 
 
2099
 
2002-11-01 David Inglis
2100
 
 
2101
 
        * utils/org/eclipse/cdt/utils/elf/Elf.java
2102
 
        change getCPU to return cpu only and not append endian ("le" or "be").
2103
 
 
2104
 
2002-10-31 Alain Magloire
2105
 
 
2106
 
        * src/.../ErrorParserManager.java (findFilePath):
2107
 
        Check if the file exists to not to return a phantom resource.
2108
 
 
2109
 
2002-10-30 Alain Magloire
2110
 
 
2111
 
        * src/.../CProjectNature.java (removeNature): Utility
2112
 
        function to remove a nature from a project.
2113
 
        (removeCNature): Utility method to remove the C Nature.
2114
 
        * src/.../CCProjectNature.java (removeCCNature): Utility
2115
 
        method to remove the CC nature.
2116
 
 
2117
 
2002-10-25 Alain Magloire
2118
 
 
2119
 
        * index/.../internal/core/index/CTagsCmd.java: Indentation.
2120
 
        * index/.../internal/core/index/CTagsRunner.java: Implements Runnable.
2121
 
        * index/.../internal/core/index/IndexManager.java (init):
2122
 
        Set the indexer thread, thread.setDaemon(true).
2123
 
 
2124
 
2002-10-28 David Inglis
2125
 
        
2126
 
        * src/.../core/resources/ACBuilder.java
2127
 
        Added check for duplicate markers.
2128
 
        * src/.../internal/core/CBuilder.java
2129
 
        Added check for canceled build and throws OperationCanceledException exception
2130
 
 
2131
 
2002-10-25 Alain Magloire
2132
 
 
2133
 
        The debugger needs to know the endian of a binary.  For example
2134
 
        int the memory view, to do format.
2135
 
 
2136
 
        * model/.../model/IBinary (isLittleEndian): New method
2137
 
        returns the endian.
2138
 
        * model/.../internal/core/model/Binary.java (isLittleEndian): New method.
2139
 
        * model/.../internal/core/model/BinaryInfo.java (isLittleEndian): New
2140
 
        method implemented by calling Elf.
2141
 
        * utils/.../utils/elf/Elf.java (Elf.Attribute.isLittleEndian): New
2142
 
        method return the endian.
2143
 
 
2144
 
2002-10-23 Alain Magloire
2145
 
 
2146
 
        * src/.../core/resource/ACBuilder.java (mapMarkerSeverity):
2147
 
        New method to convert IMarkerGenerator to IMarker.
2148
 
        * src/.../core/ErrorParserManager.java: New file.
2149
 
        * src/.../core/IErrorParser.java: New file.
2150
 
        * src/.../core/IMarkerGenerator.java: Define a set of new fields:
2151
 
         IMarkerGenerator.SEVERITY_INFO
2152
 
         IMarkerGenerator.SEVERITY_WARNING
2153
 
         IMarkerGenerator.SEVERITY_ERROR_RESOURCE
2154
 
         IMarkerGenerator.SEVERITY_ERROR_BUILD
2155
 
         IMarkerGenerator.SEVERITY_INFO
2156
 
        * src/.../core/erroparsers: Removed
2157
 
        * src/.../core/erroparsers/ErrorParserManager.java: Removed
2158
 
        * src/.../core/erroparsers/IErrorParser.java: Removed
2159
 
        * src/.../internal/core/CBuilder.java (invokeMake): new field
2160
 
        fatalBuild to check return of ErrorParserManager.reporProblems().
2161
 
        * src/.../internal/core/ProcessClosure.java (isAlive): the test
2162
 
        shoule be an || the errorstream __or__ the outputstream thread
2163
 
        is alive.
2164
 
        * src/.../internal/errorparsers/GASErrorParser.java (processLine):
2165
 
        * src/.../internal/errorparsers/GCCErrorParser.java (processLine):
2166
 
        * src/.../internal/errorparsers/GLDErrorParser.java (processLine):
2167
 
        * src/.../internal/errorparsers/VCErrorParser.java (processLine):
2168
 
        Use the IMarkerGenerator fields.
2169
 
        * src/.../internal/errorparsers/MakeErrorParser.java (processLine):
2170
 
        Catch GNU Make build errors, something like:
2171
 
        "make: *** No targets specified and no makefile found.  Stop."
2172
 
        
2173
 
2002-10-23 David Inglis
2174
 
 
2175
 
        Error parsing is now done as the streams from the commands
2176
 
        are read, this reduces memory usage during the build
2177
 
        process, and we can now add options to the build console to
2178
 
        only keep 'n' lines of output, again reducing the memory 
2179
 
        usage. Also refactored IErrorParser and ErrorParserManager out
2180
 
        of internal.
2181
 
        
2182
 
        * src/.../errorparser/ErrorParserManager.java:
2183
 
        * src/.../errorparser/IErrorParser.java:
2184
 
        * src/.../internal/errorparser/GASErrorParser.java:
2185
 
        * src/.../internal/errorparser/GCCErrorParser.java:
2186
 
        * src/.../internal/errorparser/GLDErrorParser.java:
2187
 
        * src/.../internal/errorparser/MakeErrorParser.java:
2188
 
        * src/.../internal/errorparser/VCErrorParser.java:
2189
 
        * src/.../internal/core/CBuilder.java:
2190
 
        * src/.../internal/core/ProcessCloseure.java:
2191
 
        * src/.../core/ConsoleOutputStream.java:
2192
 
        
2193
 
        
2194
 
2002-10-22 Alain Magloire
2195
 
 
2196
 
        * src/.../internal/parser/LinePositionInputStream.java:
2197
 
        We use a BufferedInputStream to limit the number of reads.
2198
 
 
2199
 
2002-10-16 Alain Magloire
2200
 
 
2201
 
        Some of the native functions were throwing exceptions
2202
 
        particularly on the windows platform and it was not
2203
 
        clearly advertise.  Eclipse uses a tool to externalize strings,
2204
 
        to prevent this, strings need a comment "//$NON-NLS-1$".
2205
 
 
2206
 
        This also incorporated some fixes by Alex Chapiro, in 
2207
 
        Spawner.Reaper Thread an exception can be thrown for
2208
 
        example if the application does not exist, the reaper
2209
 
        thread will catch the IOException an notify spawner of
2210
 
        the failure by setting pid = -1;
2211
 
 
2212
 
        * utils/../utils/pty/PTYInputStream.java (close0):
2213
 
        Advertise that we can throw an IOException.
2214
 
        * utils/../utils/pty/PTYOutputStream.java (close): Put
2215
 
        the "$NON-NLS-1$" magic.
2216
 
        (write0): Advertise we can throw IOException.
2217
 
        (close0): Advertise we can throw IOException.
2218
 
        * utils/../utils/spawner/ProcessFactory.java: Reformat.
2219
 
        * utils/../utils/spawner/Spawner.java (Reaper):
2220
 
        The run method when calling exec0 did not catch the exception.
2221
 
        And the waitFor() should not be done on a pid == -1; 
2222
 
        * utils/../utils/spawner/SpawnerInputStream.java: Reformat.
2223
 
        * utils/../utils/spawner/SpawnerOutputStream.java: Reformat.
2224
 
 
2225
 
2002-10-15 Alain Magloire
2226
 
        
2227
 
        By making the native methods package scope, the
2228
 
        compiler will not generate synthetic accessor
2229
 
        methods to access them in the Reaper inner class
2230
 
 
2231
 
        * utils/../utils/spawner/Spawner.java (exec0):
2232
 
        (exec1): Change scope to be package.
2233
 
        (raise): Change scope to be package.
2234
 
        (waitFor): Change scope to be package.
2235
 
 
2236
 
2002-10-13 Alain Magloire
2237
 
 
2238
 
        Boosting the compiler error level to get unused imports.
2239
 
 
2240
 
        * model/../internal/core/model/ArchiveContainer.java:
2241
 
        * model/../core/model/BinaryContainer.java:
2242
 
        * model/../core/model/CElementDelta.java:
2243
 
        * model/../core/model/CModelManager.java:
2244
 
        * model/../core/model/CResourceInfo.java:
2245
 
        Remove unused imports.
2246
 
 
2247
 
        * src/../core/resources/ACBuilder.java:
2248
 
        * src/../internal/core/CBuilder.java:
2249
 
        Remove unused imports.
2250
 
 
2251
 
2002-10-15 David Inglis
2252
 
        * model/../core/model/CoreModel.java
2253
 
        * model/../internal/core/model/CModelManager.java
2254
 
        * model/../internal/core/model/CModelStatus.java
2255
 
 
2256
 
        Clean up model 
2257
 
                - removed plugin and nature id from model
2258
 
                  refernce core plugin and nature classes for ID.
2259
 
                - removed unsed methods in model for adding/removing
2260
 
                  natures.
2261
 
 
2262
 
2002-10-15 David Inglis
2263
 
        * src/../internal/core/CBuilder.java
2264
 
        
2265
 
        Fixed builder to return referenced projects so that eclipse 
2266
 
        builder will build increamentaly build projects when they change.
2267
 
        Handle "clean" target as special so the build state is cleared allowing
2268
 
        the next increamental build to come in as a full build.
2269