flat assembler
Message board for the users of flat assembler.

Index > IDE Development > Wink 6.92.03 (vertical selection + compiling)

Goto page Previous  1, 2, 3 ... , 19, 20, 21  Next
Author
Thread Post new topic Reply to topic
Madis731



Joined: 25 Sep 2003
Posts: 2140
Location: Estonia
Madis731
There's something weird with this ClearType. I like the left-most one, but I don't get it. Why is there a ternary operation???
You cannot trust anything these days.


Description: Start-up => switch on => switch off
Filesize: 19.1 KB
Viewed: 5841 Time(s)

ClearType.png



_________________
My updated idol Very Happy http://www.agner.org/optimize/
Post 16 Sep 2011, 08:21
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger Reply with quote
ouadji



Joined: 24 Dec 2008
Posts: 1081
Location: Belgium
ouadji

Teehee, can you try these two versions.
Sorry but I am not able to reproduce this problem,
So, i'm working blind.
thank you

_________________
I am not young enough to know everything (Oscar Wilde)- Image


Last edited by ouadji on 29 Sep 2011, 11:21; edited 1 time in total
Post 16 Sep 2011, 10:19
View user's profile Send private message Send e-mail Reply with quote
Teehee



Joined: 05 Aug 2009
Posts: 568
Location: Brazil
Teehee
ouadji, both versions with no bug anymore!!! Very Happy

_________________
Sorry if bad english.
Post 16 Sep 2011, 11:41
View user's profile Send private message Reply with quote
Madis731



Joined: 25 Sep 2003
Posts: 2140
Location: Estonia
Madis731
So what is the real reason behind this, if you care to explain, ouadji.
Post 16 Sep 2011, 13:24
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger Reply with quote
ouadji



Joined: 24 Dec 2008
Posts: 1081
Location: Belgium
ouadji

happy to have found the problem. Razz

I added "DT_NOCLIP" as parameter to the function "DrawText".
No problem under XP, but apparently this is not compatible with cleartype mode under Windows 7.
(So this was really a bug)
Code:
invoke  DrawText,ebx,esi,ecx,eax,\
                DT_LEFT+DT_NOPREFIX+DT_SINGLELINE ;+DT_NOCLIP <-- Sad
    
So Teehee, I owe you a drink ! Wink

Could you check that both versions don't cause any more problems
with ClearType, and without cleartype (under windows 7)


_________________
I am not young enough to know everything (Oscar Wilde)- Image


Last edited by ouadji on 18 Sep 2011, 23:19; edited 1 time in total
Post 16 Sep 2011, 14:05
View user's profile Send private message Send e-mail Reply with quote
Teehee



Joined: 05 Aug 2009
Posts: 568
Location: Brazil
Teehee
> with ClearType, and without cleartype (under windows 7)
test done! apparently no differences! everything ok.
Post 16 Sep 2011, 14:19
View user's profile Send private message Reply with quote
ouadji



Joined: 24 Dec 2008
Posts: 1081
Location: Belgium
ouadji

Teehee = Speedy Gonzales Wink

(so, bug solved)

thank you Teehee for your feedback and your help
edit : thank to Madis731 too.

ps:
you can also try the new feature.
save/restore all command lines (if last files flag is set)

_________________
I am not young enough to know everything (Oscar Wilde)- Image
Post 16 Sep 2011, 14:22
View user's profile Send private message Send e-mail Reply with quote
Teehee



Joined: 05 Aug 2009
Posts: 568
Location: Brazil
Teehee
After some time using wink (coding, compiling, coding, compiling, etc) it crashes! that happens many times (always?). Unkown reason.

_________________
Sorry if bad english.
Post 21 Sep 2011, 23:55
View user's profile Send private message Reply with quote
ouadji



Joined: 24 Dec 2008
Posts: 1081
Location: Belgium
ouadji

a - Does this occur after a specific event ?
opening a file, compiling, coding, scrolling the screen ... or any other.
b - Does this occur with a specific file ?
c - Version of wink ?
d - I guess there is no error message ?
e - Windows 7 or XP ?
f - Context ? (preprocessing / merge / lock-unlock)
g - How many files opened ?
h - Other programs in the background? a debugger?
i - Do you have a minidump file ?
j - Give me your latest file with which this problem happened.


(sorry for this inconvenience. I will try to solve this, your help is welcome)

_________________
I am not young enough to know everything (Oscar Wilde)- Image
Post 22 Sep 2011, 08:05
View user's profile Send private message Send e-mail Reply with quote
Teehee



Joined: 05 Aug 2009
Posts: 568
Location: Brazil
Teehee
a - coding most probaly. (maybe should you check labels search n' highlight?)
b - just my main file o.O
c - test_1 you sent me (6.93.00).
d - Yep. Just the default windows message: this program crashes blablabla.
e - Windows 7
f - None. Just coding.
g - 2. main.asm and example.txt, main.asm setted as 'assign to compile'
h - web browser Razz
i - no. I don't even know whats that.
j - i can't right now, wait some hours Razz

_________________
Sorry if bad english.
Post 22 Sep 2011, 10:58
View user's profile Send private message Reply with quote
ouadji



Joined: 24 Dec 2008
Posts: 1081
Location: Belgium
ouadji
Quote:
j - i can't right now, wait some hours
ok, thank you, I'm waiting.
Your file used when the bug is happened is a good working basis.
Give me the two files, it will be better, main.asm and exanple.txt.

First, be able to reproduce the bug.
A bug that is reproducible is a bug solved.

_________________
I am not young enough to know everything (Oscar Wilde)- Image
Post 22 Sep 2011, 12:41
View user's profile Send private message Send e-mail Reply with quote
Teehee



Joined: 05 Aug 2009
Posts: 568
Location: Brazil
Teehee
example.txt is just an empty .txt that i use to test characteres inputs.


Description:
Download
Filename: main.asm
Filesize: 8.09 KB
Downloaded: 248 Time(s)


_________________
Sorry if bad english.
Post 22 Sep 2011, 13:21
View user's profile Send private message Reply with quote
ouadji



Joined: 24 Dec 2008
Posts: 1081
Location: Belgium
ouadji

i found a big error !
some time ago, I reorganized wink data,
and i accidentally deleted a array of dword. Shocked (my god !!!!)
It is quite possible that the problem comes from this.
I'm working to solve this, just a few time.

Despite this error, it works because the data are written in the unused portion of another array ... (neck of luck!)
but if there is overflow of this unused zone ... Confused

thank you Teehee

_________________
I am not young enough to know everything (Oscar Wilde)- Image
Post 22 Sep 2011, 15:18
View user's profile Send private message Send e-mail Reply with quote
Teehee



Joined: 05 Aug 2009
Posts: 568
Location: Brazil
Teehee
Smile
Post 22 Sep 2011, 15:36
View user's profile Send private message Reply with quote
ouadji



Joined: 24 Dec 2008
Posts: 1081
Location: Belgium
ouadji

i'm looking at each line of wink code under the microscope.
I have already found a flaw with the management of memory allocations.

(the next version of "wink" in a few time)

[edit]

i like Wink Razz

Image

_________________
I am not young enough to know everything (Oscar Wilde)- Image
Post 22 Sep 2011, 15:48
View user's profile Send private message Send e-mail Reply with quote
Teehee



Joined: 05 Aug 2009
Posts: 568
Location: Brazil
Teehee
that crash happened to me today (2x) when pressing Enter.

_________________
Sorry if bad english.
Post 27 Sep 2011, 19:14
View user's profile Send private message Reply with quote
ouadji



Joined: 24 Dec 2008
Posts: 1081
Location: Belgium
ouadji

What did you write on the screen just before that (pressing Enter) ?

Can you reproduce this bug using the same file
and by starting again the last orders or the last things written on the screen?

Try to remember the last things you have made ​​or written,
get to reproduce this bug is essential.

For my part, I try and I've found several things that can cause problems.
But I can not reproduce this problem here, so I'm working again blindly.

thank you very much Teehee

_________________
I am not young enough to know everything (Oscar Wilde)- Image


Last edited by ouadji on 27 Sep 2011, 22:37; edited 1 time in total
Post 27 Sep 2011, 22:34
View user's profile Send private message Send e-mail Reply with quote
Teehee



Joined: 05 Aug 2009
Posts: 568
Location: Brazil
Teehee
still impossible reproduce this bug, i think its right after to type a label
Post 27 Sep 2011, 22:35
View user's profile Send private message Reply with quote
ouadji



Joined: 24 Dec 2008
Posts: 1081
Location: Belgium
ouadji

give me your file exactly as it was just before the bug.

"i think its right after to type a label" ...

global label, local label, proc, struct, annonymous ?
what is the name of this label ?

(That said, it gives me the opportunity to check the wink code under the microscope and improve many things)

[EDIT]
We'll get there, we'll catch this damn thing! Wink

_________________
I am not young enough to know everything (Oscar Wilde)- Image
Post 27 Sep 2011, 22:48
View user's profile Send private message Send e-mail Reply with quote
Teehee



Joined: 05 Aug 2009
Posts: 568
Location: Brazil
Teehee
> give me your file exactly as it was just before the bug.
impossible Very Happy

> global label, local label, proc, struct, annonymous ?
> what is the name of this label ?
oO idk.. but for sure its not struct or proc.
Post 27 Sep 2011, 22:51
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  
Goto page Previous  1, 2, 3 ... , 19, 20, 21  Next

< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.

Website powered by rwasa.