1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-23 17:05:26 +02:00
This commit is contained in:
Alain Magloire 2002-11-27 04:52:00 +00:00
parent b04063a504
commit eb5c616a90
5 changed files with 63 additions and 3 deletions

View file

@ -1,3 +1,42 @@
2002-11-27 Alain Magloire
* model/.../cdt/core/model/CoreModel.java:
Remove the static qualifiers and force people to use getDefault().
(getBinaryParserFormat): New method to retrieve the format of a project.
(setBinaryParserFormat): New method to set the format of a project.
(getDefaultBinaryParserFormat): New method to retrieve the default format.
(setDefaultBinaryParserFormat): New method to set the default format.
* model/.../cdt/core/model/IBinaryParser.java: Move to be is the src directory.
* model/.../cdt/core/model/ICElementDelta.java: New Flag for the binary parser.
* model/.../internal/core/model/parser/BinaryContainerAdapter.java:
* model/.../internal/core/model/parser/BinaryFileAdapter.java:
* model/.../internal/core/model/parser/ElfBinaryArchive.java:
* model/.../internal/core/model/parser/ElfBinaryFile.java:
* model/.../internal/core/model/parser/PEBinaryArchive.java:
* model/.../internal/core/model/parser/PEBinaryFile.java:
* model/.../internal/core/model/parser/PEParser.java:
* model/.../internal/core/model/parser/ElfParser.java:
* model/.../internal/core/model/parser/Symbol.java:
* model/.../internal/core/model/ArchiveInfo.java:
* model/.../internal/core/model/BinaryInfo.java:
Organize imports.
* model/.../internal/core/model/CElementDelta.java (binaryParserChanged):
New method.
* model/.../internal/core/model/CModelManager.java (releaseCElement):
Remove the children of a container in the hashmap.
(getDefaultBinaryParserFormat): Return the default format.
(setDefaultBinaryParserFormat): set the default format.
(setBinaryParserFormat): remove the all the children and fire a binary parser change.
* src/../cdt/core/CCorePlugin.java (getBinaryParserConfigurations):
New method to search for the extension points.
* src/../cdt/core/IBinaryParser.java: New file
* src/../cdt/core/IBinaryParserConfiguration.java: New file
* src/../internal/cdt/core/BinaryParserConfiguration.java: New file
* plugin.xml: Binary parsers extension points.
2002-11-23 Alain Magloire
* model/.../cdt/core/model/CoreModel.java (getBinaryParser):

View file

@ -31,9 +31,9 @@
<extension-point id="ProcessList" name="%ProcessList.name" schema="schema/ProcessList.exsd"/>
<extension-point id="BinaryParser" name="BinaryParser"/>
<extension id="parser" name="C Parser" point="org.eclipse.cdt.core.BinaryParser">
<parser format="ELF" class="org.eclipse.cdt.internal.core.model.parser.ElfParser"/>
<parser format="PE" class="org.eclipse.cdt.internal.core.model.parser.PEParser"/>
<extension point="org.eclipse.cdt.core.BinaryParser">
<parser name="Elf Parser" format="ELF" class="org.eclipse.cdt.internal.core.model.parser.ElfParser"/>
<parser name="PE Windows Parser" format="PE" class="org.eclipse.cdt.internal.core.model.parser.PEParser"/>
</extension>
<extension

View file

@ -1,3 +1,8 @@
2002-11-27 Alain Magloire
* model/org/eclipse/cdt/core/model/tests/CModelTests.java:
Use CoreModel.getDefault().
2002-10-30 Alain Magloire
* model/org/eclipse/cdt/core/model/tests/CModelTests.java (testGetNatureID):

View file

@ -1,3 +1,13 @@
2002-11-27 Alain Magloire
* src/.../internal/ui/preferences/CProjectPropertyPage.java:
Added BinaryParserBlock part of the tab items.
(performOK): run this method in a runnable to allow cancellation.
* src/.../internal/ui/CContentProvider.java (processDelta):
Catch binary parser changes.
* src/.../ui/wizards/BinaryParserBlock.java: TabItem to change binary parser.
* src/.../ui/wizards/StdMakeProjectWizard.java: TabItem to change binary parser.
2002-11-25 David Inglis
* src/.../internal/ui/editor/CEditor.java:(extends TextEditor)
* src/.../internal/ui/editor/CEditorActionContributor.java:(extends TextEditorActionContributor)

View file

@ -1,3 +1,9 @@
2002-11-27 Alain Magloire
* src/.../debug/internal/core/model/CDebugTarget.java (isLittleEndian):
Use CoreModel.getDefault().
(getGlobals): Use CoreModel.getDefault().
2002-11-24 Mikhail Khodjaiants
Fix for watchpoints.
* CSourceLocator.java