News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

RadASM 2.2.1.0 bugtest

Started by KetilO, June 26, 2006, 10:48:58 AM

Previous topic - Next topic

Mark Jones

#15
Small addition to masmApiCall.api:


ArgCl,ArgNum,ItemBuffer
ArgClC,ArgNum,ItemBuffer
GetCl,ArgNum,ItemBuffer
ReadDirectoryChangesW,hDirectory,lpBuffer,nBufferLength,bWatchSubtree,dwNotifyFilter,lpBytesReturned,lpOverlapped,lpCompletionRoutine


and masmApiConst.api:


REG_OPTION_RESERVED,REG_OPTION_NON_VOLATILE,REG_OPTION_VOLATILE,REG_OPTION_CREATE_LINK,REG_OPTION_BACKUP_RESTORE,REG_NONE,REG_SZ,REG_EXPAND_SZ,REG_BINARY,REG_DWORD,REG_DWORD_LITTLE_ENDIAN,REG_DWORD_BIG_ENDIAN,REG_LINK,REG_MULTI_SZ,REG_RESOURCE_LIST,REG_FULL_RESOURCE_DESCRIPTOR,REG_RESOURCE_REQUIREMENTS_LIST,REG_CREATED_NEW_KEY,REG_OPENED_EXISTING_KEY,REG_WHOLE_HIVE_VOLATILE,REG_REFRESH_HIVE,REG_NOTIFY_CHANGE_NAME,REG_NOTIFY_CHANGE_ATTRIBUTES,REG_NOTIFY_CHANGE_LAST_SET,REG_NOTIFY_CHANGE_SECURITY,REG_LEGAL_CHANGE_FILTER,REG_LEGAL_OPTION

FILE_NOTIFY_CHANGE_FILE_NAME,FILE_NOTIFY_CHANGE_DIR_NAME,FILE_NOTIFY_CHANGE_ATTRIBUTES,FILE_NOTIFY_CHANGE_SIZE,FILE_NOTIFY_CHANGE_LAST_WRITE,FILE_NOTIFY_CHANGE_LAST_ACCESS,FILE_NOTIFY_CHANGE_CREATION,FILE_NOTIFY_CHANGE_SECURITY


Could we perhaps have a sticky thread for additions such as these? :8)
"To deny our impulses... foolish; to revel in them, chaos." MCJ 2003.08

KetilO

Thanks Mark Jones

Good idea.

KetilO

lamer

Hi, Ketil!
RadASM works perfectly as portable application from USB drive with minor changes in pathes, but... it writes one binary value to registry: Software\KetilO\RadAsm\toolbar\DefToolbar
As far as I can see - this is a single registry value written by RadASM (except MRU and MUI cache). Is it necessary? Or may be you can change it to INI file?
I just don't like to leave trails at my office computer (furthermore it's strongly prohibited).
Thank you.

KetilO

Hi lamer

It is the entry for the customizable toolbar (radtoolbar.dll addin uses TB_SAVERESTORE message).
Use addin manager and turn off custom toolbar.

KetilO

lamer


KetilO

#20
New upload

o Improved project loading time.
o Fixed a paint problem in RAEdit when a non fixed font was used.
o Fixed a bug where closing all files would leave the 'File Change Notify' thread
  running and the next file opened would create a new thread.

There has been a few reports on stability problems when opening a project and when copying / paste text.

I have created a RadASM tester to test these things.
Test 1 will open the four projects on the mru list in turn a total of 1000 times.
Test 2 will cut 100 lines from the top and paste them at the end. Repeated 1000 times.

NOTE:
The included program must be modified to suit your configuration and processor speed.

With RadASM 2.2.1.0 I have run these tests several times without any crashes.

Let me know the result, also if you dont have any crashes.

KetilO


[attachment deleted by admin]

KetilO

Hi all

New upload:

o RAEdit now does a garbage collection each time memory is expanded.
o Fixed a bug where adding an existing code file to project did not auto refresh properties.

KetilO

Mark Jones

Hello KetilO, I was going to update to this latest version and tried to terminate RadASM but it froze with 100% CPU usage. I had just Built the project (to save any changes) then immediately clicked close. The active code window disappeared and RadASM would not refresh (sounds like it lost the ability to process windows messages, maybe stuck in a loop somewhere.) Had to end-task. Installed update, cannot reproduce problem.
"To deny our impulses... foolish; to revel in them, chaos." MCJ 2003.08

Mark Jones

I updated a file outside of RadASM, then went into RadASM and it said "file has changed, reload" or whatnot. I clicked yes, and it froze just like yesterday. This is the latest version, and no configuration files have been changed in weeks. I will try the test application.
"To deny our impulses... foolish; to revel in them, chaos." MCJ 2003.08

KetilO

Hi

What OS are you using?
Are you able to reproduce the freeze?
Try removing all addins if this happends again.

KetilO

KetilO

Hi all

New upload:

o Added ResourceID addin. Activate it with addinmanager.
  - This addin auto exports resource id's to the file rsrc.inc when any of the
  - resource scripts are updated. At the same time code properties are refreshed.
  - This means that code complete on resource id's will work immediatly after any
  - resource script is saved.
  - The export is done ONLY if the rsrc.inc file exists in the projects root folder.

KetilO

Shantanu Gadgil

I am using a standard .dlg based project created from the templates (MASM).

By default there is no rsrc.inc file in the root of the project, so its OK...nothing out of the ordinary.
So I create an empty rsrc.inc along with the .rap file, modify some dialog ID or something and click Save (or Save All) and RadASM closes!!!  :eek :eek

Regards,
Shantanu
To ret is human, to jmp divine!

Mark Jones

Quote from: KetilO on August 25, 2006, 06:53:48 AM
What OS are you using?
Are you able to reproduce the freeze?

XP SP2, unable to reproduce the freeze. The crashes only seem to be happening after hours of use, especially when RadASM has been in the background for a long time, then is brought to the foreground. I will keep you informed of any further issues and try to debug if possible.
"To deny our impulses... foolish; to revel in them, chaos." MCJ 2003.08

drizz

Ketil, thank you for the resourceid addin, and a small bug report for it:
ExportFile will stay in an infinite loop and eventualy crash if nAsm is other than those handled,
esi is not increased in ExportLine, hence SearchMem will always stay on the same #define
my suggsestion is putting asm-type as default
.if eax==6
; hla
.elseif eax==7
; cpp
.elseif eax==8
;bcet
.else
; default asm
.endif
The truth cannot be learned ... it can only be recognized.

RedHawK

Hello to all, other icons Always appear in the options to cut, to copy, to stick. there I show the image, that happens also in previous versions, Thank you ::)
For the rest, good work :clap:

http://img243.imageshack.us/img243/9972/capture04082006181437tt2.png