hi,

somehow the "proc in statusbar" is broken now ?
it always says.. .486

thanks!
Posted on 2003-08-03 17:49:31 by X05
Would be nice to force one of the new windows for addins to be a rebar, that would allow multiple addins to use the same window and not result in mutually exclusive addins.
Posted on 2003-08-03 18:59:40 by donkey
Hi all

New upload at the top.

- Fixed Proc in statusbar bug (X05).
- Fixed collapse bug (donkey (.)).
- Max number of code block definitions can now be 10.

KetilO
Posted on 2003-08-04 04:08:05 by KetilO
Hi
I've been reading the help files, and playing with the ini files. Your program is grate, KetilO, I'm moving all my projects to radasm. :)

I have a problem with the collapsible code feature. I've added (successfully) a few more entries to masm.ini, but I couldn't manage to do this two things:

1) Use my .switch/.case/endswitch macros. Apparently I cannot make collapsible code with my own macros instead of masm built-in ones. I tried adding them to masm.ini, I got them to be highlighted properly, but not to collapse.

2) When I have a macro that uses FOR, it doesn't collapse well.
sample MACRO var:VARARG

LOCAL arg
FOR arg, <var>
; do some stuff
ENDM ; "sample" collapses using this ENDM
; this part never gets collapsed
ENDM
Posted on 2003-08-04 11:16:12 by QvasiModo
BTW, is there a way to prevent this?


; this is a comment line that ends in .if

.endif <-- this is added by RadASM
Posted on 2003-08-04 13:19:33 by QvasiModo
Hi QvasiModo

Expect the ENDM problem to be solved.

; ..... .if
This bug is corrected. Make a new download of the pre release at the top.

KetilO
Posted on 2003-08-04 13:59:11 by KetilO
Hi all

New upload at the top.

- Made several enhancements to collapseable code blocks. See RadASMini.rtf for more info.

Example for masm:


1=.if,.endif,.elseif,.else,0
2=.while,.endw,.break,,0
3=$ proc,$ endp,,,6
4=$ struct,$ ends,,,6
5=$ struc,$ ends,,,6
6=$ macro,endm,,,14
7=.data,.*,,,0
8=.data?,.*,,,0
9=.const,.*,,,0

KetilO
Posted on 2003-08-05 04:40:13 by KetilO
KetilO you are just amazing...:alright: What a great job on the IDE. :)

One issue I found on the last update. The .const will not collapse, but after I remove the
asteriks the problem is gone :confused: .data and .data? seems to be fine.
Posted on 2003-08-05 09:31:08 by SpEcIeS
I don't have the problem here, make sure that the const section is followed by .code or anything beginning with a . (dot)
Posted on 2003-08-05 09:41:12 by donkey
Hi Ketil,

Just tried out the new download and everything seems to work great. I do have one concern though, I'm afraid that at the rate you're adding features one day I'll start RadASM and a voice will say "Please describe what you want your program to do in plain Norwegian" and it will write the optimized program for me. :grin:
Posted on 2003-08-05 13:24:40 by donkey
hi all

here goes a feature request then..

I would like a drop down combo in the colour & keywords dialog, with some of the best
user made colour schemes included! I'm sure it would be easy to store schemes inside RadAsm with
array

thanks :)
Posted on 2003-08-05 13:29:54 by X05
You could do that as an addin X05 ! I know you know how to write one, you wrote some of the most popular addins available :alright:
Posted on 2003-08-05 13:46:52 by donkey
Sorry for being too lazy to search for myself.. but what are those 3 new ToolWindows for ? :o

I see that the first one shows something like TRUE equ 1 etc..
but the others?

Cheers,
JC
Posted on 2003-08-05 16:53:11 by JimmyClif
The other two are for use by addins.
Posted on 2003-08-05 16:55:45 by donkey
Could you show me how to get to it's potential?

My addins thing looks like this:


;FlipCase,x (1=Flip case, 2=Auto Show/Hide Output, 4=Auto Show/Hide ToolBox, 8=Save as temp, 16=Page Break, 32 Show output on mouse over statusbar, 63=All)
1=FlipCase.dll,63
2=asciiTab.dll,1
3=DlgToWin.dll,1
4=ReallyRad.dll,1
5=MsdnHelp.dll,3
6=PthExpl++.dll,1
7=RADbg.dll,0
8=InsertColor.dll,1
9=Version-Inc.dll,1
10=AsmVars.dll,1
11=Res2Dlg.dll,1
12=ButtonChanger.dll,1
13=Bitmask.dll,1

And what does the Buttonchanger do ? ;)
Posted on 2003-08-05 17:04:45 by JimmyClif

1=FlipCase.dll >> Used for various UI functions
2=asciiTab.dll >> Displays the Ascii character picker
3=DlgToWin.dll >> Converts a dialog box to createwindowex code
4=ReallyRad.dll >> More UI stuff by Ketil (mostly for dialog editor)
5=MsdnHelp.dll >> Allows multiple help files to be attached to the F1 key
6=PthExpl++.dll >> opens a shell explorer window in the current folder
7=RADbg.dll >> Used for RadASM integrated breakpoints
8=InsertColor.dll >> Eviloids color picker
9=Version-Inc.dll >> auto-increments the version numbers of your app
10=AsmVars.dll >> Uses Collake's AsmVars to search for unused variables
11=Res2Dlg.dll >> Extract Dialogs from a RES file and convert to RadASM format
12=ButtonChanger.dll >> Allows you to select the image for the 2 user buttons
13=Bitmask.dll >> Generates bitmasks

There are a few others,they are all detailled in the help file. I would suggest you add my radtoolbar addin, it allows you to customize the toolbar and reduce the number of buttons displayed. Most are mirrored in menus anyway and I find it a bit overpopulated. See the update thread posted today. The two addin windows are new so no current addin uses them though I expect there will be one soon (no not from me)
Posted on 2003-08-05 17:13:59 by donkey
Thanks a lot :alright:
____________________

How do I add the Bitmask Generator to the Menu somewhere, I kicked it out of the Toolbar but don't want to get it out of sight ;)
Posted on 2003-08-05 18:44:03 by JimmyClif
You would have to rewrite the InstallDll section to replace the TB_ADDBUTTON command with an AppendMenu command. Not a big job, I wrote the bitmask addin so I think all you should have to do is this:
[b]Replace:[/b]


mov TBB.iBitmap,1
mov eax,BitMaskID
mov TBB.idCommand,eax
mov TBB.fsState,TBSTATE_ENABLED
mov TBB.fsStyle,TBSTYLE_BUTTON
mov TBB.dwData,0
mov TBB.iString,NULL
;Add a button to the toolbar
invoke SendMessage,hToolBar,TB_ADDBUTTONS,1,ADDR TBB
invoke LoadIcon,hInstance,ADDR szIconName
invoke UpdateIcon,eax,BitMaskID

[b]With :[/b]

mov ecx, 4
add ecx, [eax].ADDINDATA.fMaximized
mov eax,lpHStruct
invoke GetSubMenu,[eax].ADDINHANDLES.hMenu,ecx
invoke AppendMenu, eax, MF_STRING, BitMaskID, offset BitmaskTip
Should work OK.

This version will do what you want just use fOpt=2 for the menu, fOpt=1 for the toolbar ie:

xx=BitMask.dll,1 >> Item is on the toolbar
xx=BitMask.dll,2 >> Item is on the project menu

Edit: You should also look at adding Minor28's ColorRef.DLL to your toolbar in place of Eviloid's InsertColor.dll. It has a few more features like capturing screen colors and an all-in-one dialog.
Posted on 2003-08-05 19:53:56 by donkey
Hi,

In fact i am testing the package in this thread yet. I found it very good. Anyway, everyday is better then before. Thanks.

And, may i suggest to see tooltips ever caret is over(not only mouse cursor).

Regards
Posted on 2003-08-05 20:20:42 by cakmak
Nice... thanks for changing it.
Posted on 2003-08-05 21:06:32 by JimmyClif