source: branches/2.19_branch/Sibyl/IDE.TXT@ 338

Last change on this file since 338 was 9, checked in by RBRi, 19 years ago

+ build stuff

  • Property svn:eol-style set to native
File size: 11.7 KB
Line 
1IDE
2
3----------------------------------------------------------------------
41. Find In Files always picks up word at cursor, even if option is deselected
5- Fixed sometime
6
7----------------------------------------------------------------------
82. In project manager, files are not sorted.
9- Workaround, use SPT tool
10
11----------------------------------------------------------------------
123. Debugger does not show PChar variables or large arrays
13 in any useful way (locks up). Have to use storage
14- Not fixed
153a. String^ could be resolved also
16
17----------------------------------------------------------------------
184. Can't inspect (right mouse) local variables. Have to use Watch.
19- Not fixed
20
21----------------------------------------------------------------------
225. Menu not keyboard accessible from control centre.
23- Not fixed
24
25----------------------------------------------------------------------
266. Debugger cannot run on OS/2 FP9 - 12 (?)
27- Unimportant. Use < FP9 or > Fp12. Works with FP13 and on.
28
29----------------------------------------------------------------------
307. Inconsistent useage of directories between build/compile make
31If you're building (-B) then the compiler does not find SPU units in
32the output directory. The error message is, 'File not found: forms.pas'.
33
34But
35
36If you're making (-M) then the compiler DOES find SPU units in the
37output directory.
38
39This is the same for command line and IDE.
40
41In fact Project - Build is exactly the same as Make except that it excludes
42the output directory from looking for units.
43Hence - it does not work if the output directory is one of the unit directories.
44
45This is perhaps really a compiler bug, that it does not have a proper
46BUILD mode.
47
48- Not fixed
49
50----------------------------------------------------------------------
518. Relative output directories do not work
52- Fixed in SP4
53
54If you specify an output directory for your project, relative to the
55project directory (e.g. '.\output', or just 'output'), then the
56debugger will refuse to run, saying 'Could not find starting CS:EIP'.
57To workaround: don't use relative directories. Use the current
58directory (leave the output dir blank) or specify the full path...
59
60FIX:
61It is a very simple error, the debug function HandleThreadCreate in
62dbghlp.pas is being passed the string
63c:\blah\projectdir\\output\filename.exe
64Note the two slashes between the project dir and the relative output
65dir.
66
67This is due to a bug (or omission) in the ExpandPath function, as
68far as I can tell. It takes two parameters:
69ExpandPath( Path, BaseDirectory)
70If BaseDirectory ends with a \ then relative directories end up with
71the two slashes.
72
73I used the previously released source code for the IDE, which I was not
74able to get functioning very well (won't load forms or compile :-)
75BUT I was able to make a Sibyl.exe that can debug when the exe is in a
76relative directory, as proof of the fix. (I didn't fix ExpandPath,
77instead I fixed the following in projects.pas:
78
79FUNCTION FExpandProject(Path:STRING):STRING;
80var
81 projDir : string;
82BEGIN
83 Result := '';
84 IF Path = '' THEN exit;
85 Path := ReplaceEnvStrings(Path);
86 IF Path = '' THEN exit;
87 //relative Pfade sind relativ zum SPR File
88 IF ProjectBaseDir <> '' THEN
89// begin fix
90 begin
91 projdir:= ProjectBaseDir;
92 if projdir[ length( projdir ) ] = '\' then
93 delete( projdir, length( projdir ), 1 );
94
95 Result := ExpandPath(Path, projdir)
96 end
97// end fix
98 ELSE
99 Result := DOS.FExpand(Path);
100END;
101
102-- END FIX ---
103
104----------------------------------------------------------------------
1059. Always reloads "last" project after compiling complib
106
107After installing components, it should not reload the last
108project if there wasn't one open before installing
109
110- Not fixed.
111
112(Similarly, if set to not open last project at startup,
113opens a blank one instead).
114
115----------------------------------------------------------------------
11610. Multiple error messages for missing components when loading project
117
118Say a single error message for all components that are not
119installed, when loading a project, or at least one per class, not
120for every single component (very tedious)
121
122- ?
123
124----------------------------------------------------------------------
12511. "Illegal SCU" error message after installing components
126
127Often after installing a component(s), it reloads the project but then
128says "illegal SCU format". But shutting down Sibyl and restarting, it
129can load the project OK. That one sounds hard to find...
130
131- ?
132
133----------------------------------------------------------------------
13412. Asks if want to save unchanged project
135
136If you start Sibyl with a new project (e.g. have deselected 'load last
137project' then it asks you if you want to save the new project even if
138you haven't made any changes. Would be better to start with no project
139at all.
140
141- Not fixed
14212a. Maybe these options:
143 1) Start with blank project (initial setting)
144 2) Reload last project
145 3) Start with no project
146
14712b. There is not really any "no project" mode
148
149----------------------------------------------------------------------
15013. Copy and paste adds "1" to all components
151
152When you copy and paste, all the controls are renamed to XXX1 even if
153there isn't any existing XXX. This means cutting and pasting lots of
154controls takes a lot of fiddling since you have to go and correct all
155the names back to what they used to be.
156
157- Not fixed
158
159----------------------------------------------------------------------
16014. Non-visual components off form are unmoveable
161
162If you accidentally move a non-visual control (e.g. a popup menu) out of
163sight (e.g. past the edge of a panel) it's almost impossible to do
164anything with it any more. There is no way to move it back again.
165
166- Sort of fixed in FP4
167 When selected from list in object inspector, they are moved onscreen
168
169----------------------------------------------------------------------
17015. Popup menu editor bugs
171
17215a - when you click outside the menu it seems to dissappear, but doesn't
173come up properly next time (doesn't fully draw itself). It only seems
174to be properly closed if you hit escape with the menu open.
175
17615b - when you insert new items, then click on them, other menu items are
177left as if they are still selected.
178
17915c - Double clicking a menu item does nothing, you have to go to the event
180panel and select the onClick event there.
181
18215d - You can't move items up and down.
183
184----------------------------------------------------------------------
18516. The big error "removing this event requires the manual removal" or
186whatever it is, when you blank out a event handler, is useless and annoying.
187
188- Fixed in FP4?
189
190----------------------------------------------------------------------
19117. After menu from alt key, sometimes focus does not come back to edit
192window
193
194----------------------------------------------------------------------
19518. After searching finishes without finding anything, next edit window is selected
196
197----------------------------------------------------------------------
19819. Debugger - Local variables do not always work (may be blank)
199- Fixed in FP4
200Workaround: make sure Local Variables pane is visible before first
201break (?)
202
20319a Variables inside a nested procedure/function are not visible to debugger
204 (Also compiler bug: self does not work with a nested p/f inside a method)
205----------------------------------------------------------------------
20621. Startup splash screen not on top
207
208- Not fixed
209- Not so bad
210
211----------------------------------------------------------------------
21222. Always recompiling main file (?)
213
214- ?
215
216----------------------------------------------------------------------
21723. Last 'edit' item in object inspector remains
218Sometimes when changing to another component, if there is an edit box
219showing, it gets left behind.
220
221----------------------------------------------------------------------
22224. Sibyl debugger does not handle all opcodes
223
224----------------------------------------------------------------------
22525. Install component does not remember it's directory or start from current
226
227----------------------------------------------------------------------
22826. Title of editor window is often not refreshed when a file is loaded.
229
230----------------------------------------------------------------------
23127. Setting application font
232Did not update all forms until FP4?
233
234----------------------------------------------------------------------
23528. Browser-information is partially not correct (FB)
236Fixed in FP4
237
238----------------------------------------------------------------------
23929. Search function finds only the first matching string in large files (FB)
240Fixed in FP4
241
242----------------------------------------------------------------------
243- Relative path names for compiler OUTPUT doesn't work in the IDE (FB)
244Fixed in FP4
245
246----------------------------------------------------------------------
247- Source code generator has problems with forward class definitions (FB)
248Fixed in FP4
249
250----------------------------------------------------------------------
251- Inspector combobox containts an item for pictures if you insert a TImage (FB)
252Fixed in FP4
253
254----------------------------------------------------------------------
255- Alt+F3 hangs the IDE in Win32 (FB)
256Fixed in FP4
257
258----------------------------------------------------------------------
259- Reinstalling component is not an error
260
261A more useful message when reinstalling a component.
262
263- ?
264
265----------------------------------------------------------------------
266- Application icon does not usually work
267- Fixed in FP4?
268Possibly because, the default Sibyl icon has various sizes, so that
269OS/2 picks those rather than scaling your supplied icon?
270Or, need to set form icon.
271
272----------------------------------------------------------------------
273- Setting form icon crashes the IDE
274
275----------------------------------------------------------------------
276- If the EXE contains no debug information the IDE
277 pops up 3 errors instead of one, when doing Debug - Go
278
279----------------------------------------------------------------------
280- The inspector comboboxes are only 8 items in length
281
282----------------------------------------------------------------------
283- The inspector component combobox does nothing useful with keypresses
284 (incremental search might be nice)
285
286----------------------------------------------------------------------
287- Find in files offers no efficient method to search only the
288 files in the project or the project directory
289
290----------------------------------------------------------------------
291- No way to change components ZOrder amongst themselves
292
293----------------------------------------------------------------------
294- Inspector crashes when working with record properties that have
295 unions (alternative forms) e.g. TRect
296 Expand then collapse to reproduce.
297 Workaround: don't use record types with unions.
298----------------------------------------------------------------------
299- Inspector doesn't work for char properties.
300----------------------------------------------------------------------
301- Line numbers displayed in CPU window are one less than correct.
302 Compare with the main edit windows.
303----------------------------------------------------------------------
304
305Enhancements/Other issues
306-------------------------
307
308Incremental search improvements:
309- retrieve last search
310- repeat
311- back
312
313Ability to show address of variables
314- e.g. evaluate @ Variable and Addr( variable)
315
316It would be nice to implement Delphi's behaviour of, if you have an
317empty event handler, to delete it for you - this is especially good
318for when you accidentally double click a control.
319
320Keep same property selected when changing from one component to
321another (object inspector)
322
323Improve incremental search
324- repeat
325- backward
326
327Customisable keys
328
329Enhance the component install. Allow selecting multiple files.
330
331Automatically delete empty event handlers
332
333Simpler keystroke to do debug - go
334
335Split editor window
336
337Put form data in separate files (safety)
338
339Help always on top (option)
340
341
Note: See TracBrowser for help on using the repository browser.