Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 1b11e60664aea08d1c6361fc00b49d52e5cd2437 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
2012-03-22  Jeff Johnston  <jjohnstn@redhat.com>

	* src/org/eclipse/linuxtools/cdt/libhover/LibhoverPlugin.java (LibhoverPlugin): Make public.

2012-03-05  Jeff Johnston  <jjohnstn@redhat.com>

	* src/org/eclipse/linuxtools/cdt/libhover/LibhoverPlugin.java (static initializer): 
	(LibhoverPlugin): Fix singleton setting to be valid.
	* src/org/eclipse/linuxtools/cdt/libhover/TypedefInfo.java (getTransformedType): Fix
	code to assign result of String replaceAll method to the original string.
	* src/org/eclipse/linuxtools/internal/cdt/libhover/LibHover.java: Add final qualifier
	to constant string.
	* src/org/eclipse/linuxtools/internal/cdt/libhover/preferences/PreferenceConstants.java: Add
	final qualifier to constants.
	 
2011-03-15  Jeff Johnston  <jjohnstn@redhat.com>

	* src/org/eclipse/linuxtools/internal/cdt/libhover/LibHover.java (HelpResourceDescriptor.getHelpResources): 
	Use getDocs() rather than getLocation().

2011-03-11  Jeff Johnston  <jjohnstn@redhat.com>

	* src/org/eclipse/linuxtools/internal/cdt/libhover/LibHover.java (isParmMatch): Fix to
	allow for the case when we have a referenced version of the class were in passed as an
	argument.

2011-02-24  Jeff Johnston  <jjohnstn@redhat.com>

	* META-INF/MANIFEST.MF: Allow tests to access internal classes.
	* schema/org.eclipse.linuxtools.cdt.libhover.library.exsd: Update schema description.

2011-02-17  Jeff Johnston  <jjohnstn@redhat.com>

	Resolves #328655
	* src/org/eclipse/linuxtools/internal/cdt/libhover/properties/LibHoverPropertyPage.java: Removed.
	* src/org/eclipse/linuxtools/internal/cdt/libhover/LibHoverLoadJob.java: New file.
	* META-INF/MANIFEST.MF: Bump version to 1.1.0.
	* plugin.xml: Add extensions to support preferences page.
	* src/org/eclipse/linuxtools/cdt/libhover/LibhoverPlugin.java (start): Add code to
	start job which loads all library hover info data.  Also add a save participant that
	will cache library hover info on workspace save.
	(save): New method to save library hover info.
	* src/org/eclipse/linuxtools/internal/cdt/libhover/LibHover.java (constructTypes): Fix format.
	(getLibraries): New static method to get the known libraries.
	(saveLibraries): New static method to save libraries in cache location.
	(getLibHoverDocs): Add support for cached library info and also store plug-in name space
	information with LibHoverLibrary.
	library info data local to their own plug-in instead of being local to this plug-in.
	(getTransformedName): New method. 
	(getCleanName): Ditto.
	(getCachedLibraries): Ditto.
	* src/org/eclipse/linuxtools/internal/cdt/libhover/LibHoverLibrary.java (LibHoverLibrary): Add
	plug-in name space field. 
	(setDocs): New method.
	(getNameSpace): New method.
	(setNameSpace): Ditto.
	(getHoverInfo): Add code to read library info local to a plug-in using the library
	extension and remove the code that assumed the data was local to this plug-in.
	(setHoverinfo): New method.
	* src/org/eclipse/linuxtools/internal/cdt/libhover/LibHoverMessages.java: Rewritten. 
	* src/org/eclipse/linuxtools/internal/cdt/libhover/LibHoverMessages.properties: Updated.
	* src/org/eclipse/linuxtools/internal/cdt/libhover/preferences/LibHoverPreferencePage.java (createFieldEditors): Rewritten
	to add caching and lazy-loading preferences via field editors.
	* src/org/eclipse/linuxtools/internal/cdt/libhover/preferences/PreferenceConstants.java: Add new constants
	for caching and lazy loading.
	* src/org/eclipse/linuxtools/internal/cdt/libhover/preferences/PreferenceInitializer.java (initializeDefaultPreferences): 
	Initialize defaults for new preferences. 

2010-11-17  Jeff Johnston  <jjohnstn@redhat.com>

	* src/org/eclipse/linuxtools/internal/cdt/libhover/LibHover.java (getFunctionInfo): Look for
	Exception instead of DOMException so code can work in CDT 8.0.0 and prior CDT releases.

2010-10-18  Jeff Johnston  <jjohnstn@redhat.com>

	* src/org/eclipse/linuxtools/internal/cdt/libhover/LibHoverLibrary.java (getHoverInfo): Don't
	print out stack trace for a time-out exception.  Set read time-out to be 5 seconds.

2010-03-17  Jeff Johnston  <jjohnstn@redhat.com>

	Resolves #306283
	* src/org/eclipse/linuxtools/internal/cdt/libhover/LibHover.java (getMemberSummary): Remove
	code that looks in editor text for class name and then asks the AST.  Just get the class name
	from the member we already do the lookup for.  Get the fully templated name using the new
	getClassName method. 
	(getMatchingFunctions): Remove commented out code.
	(getClassName): New method to get class name including template parameters.
	(getFunctionInfo): Change to specify fully qualified name and not remove
	namespace.
	* src/org/eclipse/linuxtools/internal/cdt/libhover/LibHoverLibrary.java (getClassInfo): Check
	info is not null before accessing.

2010-03-04  Jeff Johnston  <jjohnstn@redhat.com>

	* src/org/eclipse/linuxtools/internal/cdt/libhover/LibHover.java (getMemberSummary): Change
	DOMException catch statement to Exception since the IFunction interface getReturnType method
	changes in CDT 7.0.

2009-12-22  Andrew Overholt  <overholt@redhat.com>

	* src/org/eclipse/linuxtools/internal/cdt/libhover/LibHover.java (getMemberSummary):
	Revert Helios-only change on trunk.

2009-12-17  Andrew Overholt  <overholt@redhat.com>

	* src/org/eclipse/linuxtools/internal/cdt/libhover/LibHover.java (getMemberSummary):
	Remove unnecessary catch block.

2009-09-23  Jeff Johnston  <jjohnstn@redhat.com>

	* META-INF/MANIFEST.MF: Load plugin if any of its classes are used.
	* src/org/eclipse/linuxtools/cdt/libhover/LibhoverPlugin.java (LibhoverPlugin): Set
	plugin in constructor. 
	* src/org/eclipse/linuxtools/internal/cdt/libhover/LibHover.java (resolveArgs): Change
	to resolve template parms to actual types where known. 
	(isParmMatch): Resolve the member prototype using template types so we are comparing
	apples to apples.
	(getMemberSummary): Change calls to isParmMatch and resolveArgs. 
	* src/org/eclipse/linuxtools/internal/cdt/libhover/LibHoverLibrary.java (getHoverInfo): Add
	code to try accessing a path locally within the plugin, then try the file system. 

2009-08-06  Jeff Johnston  <jjohnstn@redhat.com>

	Resolves #285867
	* plugin.properties: Change Provider to Eclipse instead of Eclipse.org.

2009-07-30  Jeff Johnston  <jjohnstn@redhat.com>

	* META-INF/MANIFEST.MF: Bump release to 1.0.3. 
	
2009-07-30  Jeff Johnston  <jjohnstn@redhat.com>

	Refactor to hide internal classes in new packages.
	
	* src/org/eclipse/linuxtools/cdt/libhover/LibHover.java: Removed.
	* src/org/eclipse/linuxtools/cdt/libhover/LibHoverLibrary.java: Removed.
	* src/org/eclipse/linuxtools/cdt/libhover/LibHoverMessages.java: Removed.
	* src/org/eclipse/linuxtools/cdt/libhover/LibHoverMessages.properties: Removed.
	* src/org/eclipse/linuxtools/cdt/libhover/preferences/CheckboxFieldEditor.java: Removed.
	* src/org/eclipse/linuxtools/cdt/libhover/preferences/LibHoverPreferencePage.java: Removed.
	* src/org/eclipse/linuxtools/cdt/libhover/preferences/PreferenceConstants.java: Removed.
	* src/org/eclipse/linuxtools/cdt/libhover/preferences/PreferenceInitializer.java: Removed.
	* src/org/eclipse/linuxtools/cdt/libhover/properties/LibHoverPropertyPage.java: Removed.
	* src/org/eclipse/linuxtools/internal/cdt/libhover/LibHover.java: New file.
	* src/org/eclipse/linuxtools/internal/cdt/libhover/LibHoverLibrary.java: New file.
	* src/org/eclipse/linuxtools/internal/cdt/libhover/LibHoverMessages.java: New file.
	* src/org/eclipse/linuxtools/internal/cdt/libhover/LibHoverMessages.properties: New file.
	* plugin.xml: Changed to match new packages. 
	* src/org/eclipse/linuxtools/internal/cdt/libhover/preferences/CheckboxFieldEditor.java: New file. 
	* src/org/eclipse/linuxtools/internal/cdt/libhover/preferences/LibHoverPreferencePage.java: New file.
	* src/org/eclipse/linuxtools/internal/cdt/libhover/preferences/PreferenceConstants.java: New file.
	* src/org/eclipse/linuxtools/internal/cdt/libhover/preferences/PreferenceInitializer.java: New file.
	* src/org/eclipse/linuxtools/internal/cdt/libhover/properties/LibHoverPropertyPage.java: New file.
	

2009-05-29  Jeff Johnston  <jjohnstn@redhat.com>

	* src/org/eclipse/linuxtools/cdt/libhover/LibHover.java (getMemberSummary): Fix compiler warnings. 
	(getFunctionInfo): Ditto.
	* src/org/eclipse/linuxtools/cdt/libhover/preferences/CheckboxFieldEditor.java (doLoad): Ditto. 
	(doLoadDefault): Ditto.
	(adjustForNumColumns): Ditto.
	* src/org/eclipse/linuxtools/cdt/libhover/properties/LibHoverPropertyPage.java (updateCheckboxData): Ditto. 

2009-05-08  Jeff Johnston  <jjohnstn@redhat.com>

	* src/org/eclipse/linuxtools/cdt/libhover/LibHover.java (getFunctionInfo): Add logic
	to find the qualified name of the class, even when namespaces are being used.
	
2009-05-08  Jeff Johnston  <jjohnstn@redhat.com>

	* src/org/eclipse/linuxtools/cdt/libhover/LibHover.java (resolveArgs): New method.
	(isParmMatch): Ditto. 
	(getMemberSummary): Add parameter matching support and template resolution.
	(getFunctionInfo): Add AST logic to resolve member name for C++.
	* src/org/eclipse/linuxtools/cdt/libhover/LibHoverLibrary.java (resolveTemplateTypes):
	New method. 
	(getClassInfo): Add additional parameter of template types and fill in.
	* src/org/eclipse/linuxtools/cdt/libhover/MemberInfo.java (getReturnType): New method.
	(setParamTypes): Ditto. 
	(getParamTypes): Ditto.

2009-02-06  Jeff Johnston  <jjohnstn@redhat.com>

	* schema/org.eclipse.linuxtools.cdt.libhover.library.exsd: Change description for
	location field which now points to a serialized LibHoverInfo instance rather than
	xml.
	* src/org/eclipse/linuxtools/cdt/libhover/ClassInfo.java: New file.
	* src/org/eclipse/linuxtools/cdt/libhover/FunctionInfo.java: New file.
	* src/org/eclipse/linuxtools/cdt/libhover/HelpBook.java: New file.
	* src/org/eclipse/linuxtools/cdt/libhover/LibHoverInfo.java: New file.
	* src/org/eclipse/linuxtools/cdt/libhover/LibHoverLibrary.java: New file.
	* src/org/eclipse/linuxtools/cdt/libhover/MemberInfo.java: New file.
	* src/org/eclipse/linuxtools/cdt/libhover/TypedefInfo.java: New file.
	* src/org/eclipse/linuxtools/cdt/libhover/utils/BuildFunctionInfos.java: New file to
	create serialized LibHoverInfo file from an xml file in standard function format
	used by previous version of LibHover.
	* META-INF/MANIFEST.MF: Add additional dependencies and bump version to 1.0.2.
	* src/org/eclipse/linuxtools/cdt/libhover/LibHover.java (isCPPCharacter): New method.
	(EnclosingASTNameJob): New internal class to query the AST for IASTName
	for a symbol in the document.
	(ASTDeclarationFinderJob): New internal class to get the declaration of a symbol from
	the AST.
	(getMemberSummary): New method to get the summary of a C++ method. 
	(getLibHoverDocs): Modified to no longer parse xml documentation.  It now expects
	documentation to be in LibHoverInfo format, serialized via Java.  The method leaves
	reading of the actual serialized info to LibHoverLibrary.
	(getFunctionSummary): Rewritten to fetch info from the new LibHoverInfo class and
	to handle C++.
	(getMatchingFunctions): Ditto. 
	(FunctionSummary): Added a boolean to mark whether the prototype already has
	brackets in it.
	(FunctionSummary.FunctionPrototypeSummary.getPrototypeString):  Use new boolean
	to determine whether to add brackets or not. 
	(getFunctionInfo): Add C++ support.

2009-01-15  Jeff Johnston  <jjohnstn@redhat.com>

	* META-INF/MANIFEST.MF: Add .qualifier to version and bump to 1.0.1.

2008-10-31  Andrew Overholt  <overholt@redhat.com>

	* META-INF/MANIFEST.MF: Use bundleName and provider from plugin.properties. Add
	"(Incubation)".
	* plugin.properties: Initial import.

2008-10-24  Jeff Johnston  <jjohnstn@redhat.com>

	* plugin.xml: Remove libhover property and preferences pages which are not needed since
	C/C++ Documentation properties page does the job.
	* src/org/eclipse/linuxtools/cdt/libhover/LibHover.java:
	(getMatchingFunctions): Pass document to getFunctionSummaryFromNode.
	(constructTypes): Add groupsynopsis.
	(getFunctionInfo): Pass document to getFunctionSummaryFromNode.
	(getFunctionSummaryFromNode): Add groupsynopsis support.

2008-10-22  Jeff Johnston  <jjohnstn@redhat.com>

	* plugin.properties: New file.
	* src/org/eclipse/linuxtools/cdt/libhover/preferences/CheckboxFieldEditor.java: New file.
	* build.properties: Add plugin.properties to list of binary files.
	* META-INF/MANIFEST.MF: Add Bundle-Localization statement.
	* plugin.xml: Use translatable names for preference and property pages.
	* schema/org.eclipse.linuxtools.cdt.libhover.library.exsd: Make id and name required.
	* src/org/eclipse/linuxtools/cdt/libhover/LibHover.java:
	* src/org/eclipse/linuxtools/cdt/libhover/LibHoverMessages.java: Fix bundle name.
	* src/org/eclipse/linuxtools/cdt/libhover/LibHoverMessages.properties: New messages.
	* src/org/eclipse/linuxtools/cdt/libhover/LibhoverPlugin.java (getID): New method.
	* src/org/eclipse/linuxtools/cdt/libhover/preferences/LibHoverPreferencePage.java (createFieldEditors):
	Rewrite to use new CheckboxFieldEditor.
	* src/org/eclipse/linuxtools/cdt/libhover/preferences/PreferenceConstants.java: Add P_LIBHOVER.
	* src/org/eclipse/linuxtools/cdt/libhover/preferences/PreferenceInitializer.java (initializeDefaultPreferences):
	Set up an unused default string.
	* src/org/eclipse/linuxtools/cdt/libhover/properties/LibHoverPropertyPage.java: Rewritten to use the
	CheckboxFieldEditor widgets on a property page.

2008-10-15  Jeff Johnston  <jjohnstn@redhat.com>

	* build.properties: Specify javacSource and javacTarget to be 1.5.

2008-09-19  Jeff Johnston  <jjohnstn@redhat.com>

	* src/org/eclipse/linuxtools/cdt/libhover/LibHover.java: Initial implementation moved
	org.eclipse.cdt.linuxtools.autotools.
	* src/org/eclipse/linuxtools/cdt/libhover/LibHoverMessages.java: Ditto.
	* src/org/eclipse/linuxtools/cdt/libhover/LibHoverMessages.properties: Ditto.
	* src/org/eclipse/linuxtools/cdt/libhover/LibHoverPlugin.java: New file.
	* META-INF/MANIFEST.MF: Ditto.
	* schema/org.eclipse.linuxtools.cdt.libhover.library.exsd: Ditto.
	* about.html, build.properties, plugin.xml, plugin.properties: Ditto.
	* src/org/eclipse/linuxtools/cdt/libhover/preferences/LibHoverPreferencesPage.java: Ditto.
	* src/org/eclipse/linuxtools/cdt/libhover/preferences/PreferenceConstants.java: Ditto.
	* src/org/eclipse/linuxtools/cdt/libhover/preferences/PreferenceInitializer.java: Ditto.
	* src/org/eclipse/linuxtools/cdt/libhover/properties/LibHoverPropertyPage.java: Ditto.

Back to the top