Compiled lasm don't run in my machine because error below:Glib2 Required
./lasm: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by ./lasm)
Version in my machine is below.
So, when I was assembling I receive some errors, I don't know whats ".ifline" do but I commented that lines to be able to assemble:redowload mmacros.inc from https://github.com/mabdelouahab/lasmIDE/blob/main/projects/lasmIDE/muasm/mmacros.inc (https://github.com/mabdelouahab/lasmIDE/blob/main/projects/lasmIDE/muasm/mmacros.inc) , I Forgot to update it
Projects.inc(41) : Error A2210: Syntax error: .ifline
Now it runs, I receive some errors in terminal:Usual routines are not errors, they come when some input is empty
(lasm:11704): GLib-GObject-CRITICAL **: 21:03:19.127: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
(lasm:11704): GLib-CRITICAL **: 21:04:18.222: g_key_file_set_string: assertion 'string != NULL' failed
I perceive that you have inserted user interface xml (glade) files inside source code. If I need touch that xml I need remove that from code and insert again, this can create some confusion. This is true in the case of icons or others datas. Will be better if xml/icons/... files stay outside code.A good idea to make it easier to modify the interface without modifying the code, and I have already included that in this case:
invoke gtk_builder_add_from_string, GGtkBuilder,addr MainWindowInterface ,-1,addr _err
;invoke gtk_builder_add_from_file , GGtkBuilder,str$("UASMIde1.glade"),addr _err
I'm facing some problems with uasm. Sometimes it insert a "sub rsp,8" in an invoke to a function that have 5 parameters as an example, causing stack not stay aligned. Happens two times only today.a lot problems :biggrin:
Will post soon changes.I'm waiting for you, thanks :thumbsup:
Hello sir mabdelouahab,great, creative :thumbsup:
INSERT a "-rdynamic" to link these changes:
Link=gcc -o $EXE $OBJ -fno-pie -no-pie -rdynamic
Sorry to make you wait, I program slowly, I made few changes.
Create Color menu. When selecting a color then it is sent as a string to the active editor (#RRGGBB)
Create Font menu. The font and/or its respective size apply only to the current view.
I inserted some hotkeys, <control+f> for the search dialog. You programmed to send the selected text to the search edit box, so I set the default search button. Now select the text, press <control+f>, and press the space key for next occurrences, or just double click word and search by looking.
I created a menu to activate highlight current line and word_wrap as options.
If the word is selected and we press the shortcut key <control+F1>, then the program "Devhelp" is invoked with the respective word help selected.
-incomplete:
If you type "[", then a tooltip will appear next to the current cursor. If you press "]" or "ESC" the tooltip will be disabled. It is incomplete in the sense of being useful. I still intend to populate it.
I have activated word completion, it currently completes words from the current buffer (respective notebook). It helps to type less, but it still needs to be more useful.
So, the idea is that both will work together.
I was doing that code folding, it's working only to proc/endp pairs.I'm done with folding, in a different way, using a list of words like: .IF; IF; WHILE; .WHILE; REPEAT; .REPEAT; ";{"; {; UNION; STRUCT; SEGMENT; PROC; MACRO , We can also use fold within fold