View previous topic :: View next topic |
Author |
Message |
MM
Joined: 13 Jun 2006 Posts: 60
|
Posted: Thu Aug 03, 2006 9:01 pm Post subject: Bugs in 169/170 |
|
|
Open project > add file rnd.d > typ some random stuff in there > save all > Crash
Open same project (after adding two of those random files) > Crash
This all is with pasing/code completion off.
I think the problem lays with pasing as poseidon shows 'parsed error'.
Last edited by MM on Sun Aug 13, 2006 1:13 am; edited 1 time in total |
|
Back to top |
|
|
Kuan Hsu
Joined: 15 Apr 2006 Posts: 143 Location: Taiwan
|
Posted: Sat Aug 05, 2006 1:32 am Post subject: Re: Bugs in 169 |
|
|
1. It's my fault, when code completion off, Poseidon still pase code when file(s) load/save.
2. Maybe because of my parse tree code, but the error should be caught by error exception......
I'll check my code, would you e-mail your code( or project ) to me, I think it will help me to find my bug, thanx! |
|
Back to top |
|
|
hasan
Joined: 02 May 2005 Posts: 58
|
Posted: Sat Aug 05, 2006 12:31 pm Post subject: |
|
|
Maybe some exceptions are not getting caught .. |
|
Back to top |
|
|
MM
Joined: 13 Jun 2006 Posts: 60
|
Posted: Sat Aug 05, 2006 3:34 pm Post subject: here is my project |
|
|
new project
new file : main.d
type: test
save all
new file : test.d
type: test
save all
crash
By two unparseble files combined, I am Captain Planet! |
|
Back to top |
|
|
Kuan Hsu
Joined: 15 Apr 2006 Posts: 143 Location: Taiwan
|
Posted: Sun Aug 06, 2006 2:08 pm Post subject: Re: here is my project |
|
|
Maybe because of "Stack Overflow" of CodeAnalyzer, Poseidon will crash......
I uncomment the code in line(74) in token_scanner.d of CodeAnalyzer and it seems to be fixed, but still need more check |
|
Back to top |
|
|
MM
Joined: 13 Jun 2006 Posts: 60
|
Posted: Mon Aug 07, 2006 4:25 am Post subject: not really bugs |
|
|
Two comments about 169:
(Both are probably already on your roadmap, just thought I'd mention them)
There are no scrollbars showing up in the options screen. It is resizable, but scrollbars would be nice.
The find/replace is not resizable . For regulair expressions for instance this would be nice. The current line is just too small to be usefull. I now edit in notepad and paste the expression back in
Hope the crashing is gone |
|
Back to top |
|
|
Kuan Hsu
Joined: 15 Apr 2006 Posts: 143 Location: Taiwan
|
Posted: Mon Aug 07, 2006 10:12 am Post subject: Re: not really bugs |
|
|
Quote: |
There are no scrollbars showing up in the options screen. It is resizable, but scrollbars would be nice. |
I changed options screen size, and add scrollbars in Short Cut option, the screen now had minimum size.
Quote: |
The find/replace is not resizable . For regulair expressions for instance this would be nice. The current line is just too small to be usefull. I now edit in notepad and paste the expression back in |
Now they are resizable and both have minimum size.
Quote: |
Hope the crashing is gone |
Hehe, I hope so , These changes will in rev 170. |
|
Back to top |
|
|
MM
Joined: 13 Jun 2006 Posts: 60
|
Posted: Sun Aug 13, 2006 1:11 am Post subject: New bug |
|
|
I love how fast you repair everything.
And to celebrate that I have a new bug for you.
(170)
-
When I have a large selection and do 'find/replace' all that code is placed in the 'Find What:' making it really difficult to do anything. I think you should cap the 'Find What:' to the first line of the selected code.
I don't know if this is related, but I also have some problem selecting 'selection' iso 'all' under 'scope'.
-
And maybe add a message:
Your Find/Replace query has taken more than one minute,
Do you want to abort it?
Yes No
Because I just crashed poseidon which was in a loop I think searching/ replacing.
-
Question:
How do I reopen the source browser after I've closed it?
-
Typo:
Commet=Comment
-
Could it be possible to change the output dir of the 'compress project'.
So that I can easily backup my projects in one click to my other drive.
(My awesome unnecessary plugin had that capability ) |
|
Back to top |
|
|
Kuan Hsu
Joined: 15 Apr 2006 Posts: 143 Location: Taiwan
|
Posted: Sun Aug 13, 2006 6:12 am Post subject: Re: New bug |
|
|
Quote: |
When I have a large selection and do 'find/replace' all that code is placed in the 'Find What:' making it really difficult to do anything. I think you should cap the 'Find What:' to the first line of the selected code. |
I'll try to modify it.
Quote: |
I don't know if this is related, but I also have some problem selecting 'selection' iso 'all' under 'scope'. |
Umm, I need check the source code of find/replace......
Quote: |
And maybe add a message:
Your Find/Replace query has taken more than one minute,
Do you want to abort it?
Yes No
Because I just crashed poseidon which was in a loop I think searching/ replacing. |
Maybe you could try the 'Stop Searching' button at right-top side of SearchPanel
Quote: |
Question:
How do I reopen the source browser after I've closed it? |
Double click the empty document caption.
Quote: |
Typo:
Commet=Comment |
......
Quote: |
Could it be possible to change the output dir of the 'compress project'.
So that I can easily backup my projects in one click to my other drive.
(My awesome unnecessary plugin had that capability ) |
It will in next rev.(171) |
|
Back to top |
|
|
MM
Joined: 13 Jun 2006 Posts: 60
|
Posted: Sun Aug 13, 2006 8:18 am Post subject: fast dev :) |
|
|
Quote: | Maybe you could try the 'Stop Searching' button at right-top side of SearchPanel Wink |
Poseidon crashed when I tried to close the window. It seemed like poseidon wasn't responding anymore. I'll try and recreate it again (after alot of crashes I finally got the correct replace in my 10000 lined module :/)
Ah, try this:
replace $ with ;
This should lock it up and after a while its not responding > crash if you try to close the window.
Looking forward to 171 |
|
Back to top |
|
|
Kuan Hsu
Joined: 15 Apr 2006 Posts: 143 Location: Taiwan
|
Posted: Mon Aug 14, 2006 9:40 am Post subject: Re: fast dev :) |
|
|
Umm, I replace ; with $ in Poseidon source code, but It completed( take much time...... ).
But use replace( or search ) a big project may has many matches, at this time, the SearchPanel will show many messages, it will slow down our system, actually in my case, the messages were continuous showed( the speed get slow gradually ), and respond was get more slow.
I'm not sure that your problem is as mine, if yes, the bugs is for too many messages on SearchPanel, I'll hide replace message and try to display find messages at once......
If no, I think I need check more , thanx!! |
|
Back to top |
|
|
MM
Joined: 13 Jun 2006 Posts: 60
|
Posted: Mon Aug 14, 2006 6:27 pm Post subject: infinite ? |
|
|
The search was for reg. exp.
Change $(end of line )
with ;
Doing this forward (even without wrap text on) will not end because after replacement there is a new end of line on the same line
I do not get any result, just a non-responding poseidon...
And an hor. scrollbar which keeps getting smaller
Luckely I have hyper threading because else my whole system would probably be really slow |
|
Back to top |
|
|
Kuan Hsu
Joined: 15 Apr 2006 Posts: 143 Location: Taiwan
|
Posted: Tue Aug 15, 2006 8:31 pm Post subject: Re: infinite ? |
|
|
MM wrote: | The search was for reg. exp.
Change $(end of line )
with ;
Doing this forward (even without wrap text on) will not end because after replacement there is a new end of line on the same line
I do not get any result, just a non-responding poseidon...
And an hor. scrollbar which keeps getting smaller
|
So, use "Replace All" will add ';' at end of line infinitely, crash Poseidon
There is another bug in normal 'Replace All' in "Find/Replace""(Ctrl+F), if the findstring is equal to replacestring, and 'word wrap' is selected, Poseidon will find and replace words infinitely.
I modify some code in "Find/Replace"(Ctrl+F) and "Search/Replace in files"(Ctrl+H) , now in "Find/Replace", 'Replace All' will replace findstring with replacestring from document head to tail( like 'Count All'... ) whatever word wrap is selected or not ( like "Search/Replace in files""(Ctrl+H) ).
The "Search/Replace in files"(Ctrl+H) now can use regexp with only '$' or '^'.
I hope the bug is gone, but still need more check |
|
Back to top |
|
|
MM
Joined: 13 Jun 2006 Posts: 60
|
Posted: Wed Aug 16, 2006 11:42 am Post subject: A general solution? |
|
|
Maybe this could work.
After say like 500? replacements, a popup shows:
Poseidon has done 500 replacements, what do you want Poseidon to do next?
(buttons)
- Stop
- Do another 500 replacements
- replace the rest without asking again *
*(Be carefull, might loop)
This would have kept me from crashing poseidon ALOT when I was checking out the reg. exp. |
|
Back to top |
|
|
Kuan Hsu
Joined: 15 Apr 2006 Posts: 143 Location: Taiwan
|
Posted: Thu Aug 17, 2006 6:47 am Post subject: Re: A general solution? |
|
|
It's the final method when I can't fix the bug finally.
Anyway, please check new rev.171, and please tell me the bug is exist or not? Thanks!!!!!!! |
|
Back to top |
|
|
|