GTK+ Forums

Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
It is currently Thu Apr 24, 2014 3:17 am

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: GUI Frontend test request
PostPosted: Sat Dec 13, 2008 2:12 am 
Offline
Familiar Face

Joined: Sun Nov 23, 2008 8:14 pm
Posts: 41
I have a GTK+ [C] gui frontend that I've written. On my system, it works perfectly. I have had several other people test it -- and sadly, the identical sourcecode works differently on every single system. I think I need more people to test it, so I can get some more consistent error reports!

I would really appreciate it if anyone would try testing it out. Especially, if they would look at the GTK sourcecode and let me know anything that I'm doing wrong! This is my first GTK project, so I'm sure I'm doing one or two things wrong.

The code is designed to be a frontend to a much bigger application. The application backend has been removed, to make just the GUI frontend work as a standalone app (with stubbed, fake data). All of the GTK+ code is contained in the enh_dbg_os_specific.h file, if you want to look at it. Most of the code involves manipulating three main TreeView widgets.

It is designed to be used under X-windows on a Linux system, with pthread support. To compile, you will probably need to do something like:
g++ enh_dbg.cc `pkg-config --libs --cflags gtk+-2.0` -lpthread

(You may need to comment out the isprint() function in main.h.)

Here is the link to a zipfile that contains all of the sourcecode files:
http://bochsgui-gtk.googlecode.com/files/bochsgui.zip

If any of you need more info, before you test my code, please ask!
TIA!

Errors that have been reported so far:

-- There has been one report of a Gtk-CRITICAL error -- gtk_widget_show: assertion `GTK_IS_WIDGET (widget)' failed

-- There has been one report that this GUI frontend completely locks up sometimes (without locking up any other X apps, or the X server)

-- There has been one report that Maximizing the window, and then Restoring it causes an "inifinite resizing loop" where the window grows horizontally until it is 4096 pixels wide.

-- The gtk-qt-engine drawing functions of Ver .71 (or anything earlier than 1.0?) draw all of the text as black, instead of in the correct foreground colors. This affects users of the KDE desktop.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jan 26, 2009 4:02 pm 
Offline
GTK+ Geek

Joined: Sun Dec 07, 2008 4:46 pm
Posts: 56
Hi bewingX.

I downloaded and compiled your project today.

I am running Debian Lenny on a Dell Dimension 9100 Desktop PC. Although I haven't done any exhaustive testing of the GUI it appears to run OK on my machine. I did however get the following warnings when I compiled the code.

The GUI view is of a debugger with 3 windows. It was surprise to see your hex dump window, as i have been working on a similar layout :-)

Code:
In file included from enh_dbg.cc:5:
main.h:47: warning: deprecated conversion from string constant to ‘char*’
main.h:47: warning: deprecated conversion from string constant to ‘char*’
main.h:47: warning: deprecated conversion from string constant to ‘char*’
main.h:47: warning: deprecated conversion from string constant to ‘char*’
main.h:47: warning: deprecated conversion from string constant to ‘char*’
main.h: In function ‘int main(int, char**)’:
main.h:62: warning: deprecated conversion from string constant to ‘char*’
In file included from enh_dbg.cc:8:
wenhdbg_h.h: At global scope:
wenhdbg_h.h:144: warning: deprecated conversion from string constant to ‘char*’
wenhdbg_h.h:144: warning: deprecated conversion from string constant to ‘char*’
wenhdbg_h.h:275: warning: deprecated conversion from string constant to ‘char*’
wenhdbg_h.h:275: warning: deprecated conversion from string constant to ‘char*’
wenhdbg_h.h:275: warning: deprecated conversion from string constant to ‘char*’
wenhdbg_h.h:275: warning: deprecated conversion from string constant to ‘char*’
wenhdbg_h.h:275: warning: deprecated conversion from string constant to ‘char*’
wenhdbg_h.h:275: warning: deprecated conversion from string constant to ‘char*’
wenhdbg_h.h:275: warning: deprecated conversion from string constant to ‘char*’
wenhdbg_h.h:275: warning: deprecated conversion from string constant to ‘char*’
wenhdbg_h.h:275: warning: deprecated conversion from string constant to ‘char*’
wenhdbg_h.h:275: warning: deprecated conversion from string constant to ‘char*’
wenhdbg_h.h:275: warning: deprecated conversion from string constant to ‘char*’
wenhdbg_h.h:275: warning: deprecated conversion from string constant to ‘char*’
wenhdbg_h.h:275: warning: deprecated conversion from string constant to ‘char*’
wenhdbg_h.h:275: warning: deprecated conversion from string constant to ‘char*’
wenhdbg_h.h:275: warning: deprecated conversion from string constant to ‘char*’
wenhdbg_h.h:275: warning: deprecated conversion from string constant to ‘char*’
wenhdbg_h.h:290: warning: deprecated conversion from string constant to ‘char*’
wenhdbg_h.h:290: warning: deprecated conversion from string constant to ‘char*’
wenhdbg_h.h:290: warning: deprecated conversion from string constant to ‘char*’
wenhdbg_h.h:290: warning: deprecated conversion from string constant to ‘char*’
wenhdbg_h.h:290: warning: deprecated conversion from string constant to ‘char*’
wenhdbg_h.h:290: warning: deprecated conversion from string constant to ‘char*’
wenhdbg_h.h:290: warning: deprecated conversion from string constant to ‘char*’
wenhdbg_h.h:290: warning: deprecated conversion from string constant to ‘char*’
wenhdbg_h.h:290: warning: deprecated conversion from string constant to ‘char*’
wenhdbg_h.h:290: warning: deprecated conversion from string constant to ‘char*’
wenhdbg_h.h:290: warning: deprecated conversion from string constant to ‘char*’
wenhdbg_h.h:290: warning: deprecated conversion from string constant to ‘char*’
wenhdbg_h.h:290: warning: deprecated conversion from string constant to ‘char*’
wenhdbg_h.h:290: warning: deprecated conversion from string constant to ‘char*’
wenhdbg_h.h:290: warning: deprecated conversion from string constant to ‘char*’
wenhdbg_h.h:290: warning: deprecated conversion from string constant to ‘char*’
wenhdbg_h.h:290: warning: deprecated conversion from string constant to ‘char*’
wenhdbg_h.h:290: warning: deprecated conversion from string constant to ‘char*’
wenhdbg_h.h:290: warning: deprecated conversion from string constant to ‘char*’
wenhdbg_h.h:290: warning: deprecated conversion from string constant to ‘char*’
wenhdbg_h.h:290: warning: deprecated conversion from string constant to ‘char*’
wenhdbg_h.h:290: warning: deprecated conversion from string constant to ‘char*’
wenhdbg_h.h:290: warning: deprecated conversion from string constant to ‘char*’
wenhdbg_h.h:290: warning: deprecated conversion from string constant to ‘char*’
wenhdbg_h.h:290: warning: deprecated conversion from string constant to ‘char*’
wenhdbg_h.h:290: warning: deprecated conversion from string constant to ‘char*’
wenhdbg_h.h:290: warning: deprecated conversion from string constant to ‘char*’
wenhdbg_h.h:290: warning: deprecated conversion from string constant to ‘char*’
wenhdbg_h.h:290: warning: deprecated conversion from string constant to ‘char*’
wenhdbg_h.h:290: warning: deprecated conversion from string constant to ‘char*’
wenhdbg_h.h:290: warning: deprecated conversion from string constant to ‘char*’
wenhdbg_h.h:290: warning: deprecated conversion from string constant to ‘char*’
wenhdbg_h.h:290: warning: deprecated conversion from string constant to ‘char*’
wenhdbg_h.h:290: warning: deprecated conversion from string constant to ‘char*’
wenhdbg_h.h:290: warning: deprecated conversion from string constant to ‘char*’
wenhdbg_h.h:290: warning: deprecated conversion from string constant to ‘char*’
wenhdbg_h.h:290: warning: deprecated conversion from string constant to ‘char*’
wenhdbg_h.h:290: warning: deprecated conversion from string constant to ‘char*’
wenhdbg_h.h:290: warning: deprecated conversion from string constant to ‘char*’
wenhdbg_h.h:290: warning: deprecated conversion from string constant to ‘char*’
wenhdbg_h.h:290: warning: deprecated conversion from string constant to ‘char*’
wenhdbg_h.h:307: warning: deprecated conversion from string constant to ‘char*’
wenhdbg_h.h:307: warning: deprecated conversion from string constant to ‘char*’
wenhdbg_h.h:307: warning: deprecated conversion from string constant to ‘char*’
wenhdbg_h.h:307: warning: deprecated conversion from string constant to ‘char*’
wenhdbg_h.h:307: warning: deprecated conversion from string constant to ‘char*’
wenhdbg_h.h:307: warning: deprecated conversion from string constant to ‘char*’
wenhdbg_h.h:308: warning: deprecated conversion from string constant to ‘char*’
wenhdbg_h.h:308: warning: deprecated conversion from string constant to ‘char*’
wenhdbg_h.h:308: warning: deprecated conversion from string constant to ‘char*’
wenhdbg_h.h:308: warning: deprecated conversion from string constant to ‘char*’
wenhdbg_h.h:308: warning: deprecated conversion from string constant to ‘char*’
wenhdbg_h.h:308: warning: deprecated conversion from string constant to ‘char*’
wenhdbg_h.h:308: warning: deprecated conversion from string constant to ‘char*’
wenhdbg_h.h:308: warning: deprecated conversion from string constant to ‘char*’
wenhdbg_h.h:313: warning: deprecated conversion from string constant to ‘char*’
wenhdbg_h.h:313: warning: deprecated conversion from string constant to ‘char*’
wenhdbg_h.h:313: warning: deprecated conversion from string constant to ‘char*’
wenhdbg_h.h:313: warning: deprecated conversion from string constant to ‘char*’
wenhdbg_h.h:313: warning: deprecated conversion from string constant to ‘char*’
wenhdbg_h.h:313: warning: deprecated conversion from string constant to ‘char*’
wenhdbg_h.h:313: warning: deprecated conversion from string constant to ‘char*’
wenhdbg_h.h:313: warning: deprecated conversion from string constant to ‘char*’
wenhdbg_h.h:313: warning: deprecated conversion from string constant to ‘char*’
wenhdbg_h.h:313: warning: deprecated conversion from string constant to ‘char*’
wenhdbg_h.h:313: warning: deprecated conversion from string constant to ‘char*’
wenhdbg_h.h:313: warning: deprecated conversion from string constant to ‘char*’
wenhdbg_h.h:313: warning: deprecated conversion from string constant to ‘char*’
wenhdbg_h.h:313: warning: deprecated conversion from string constant to ‘char*’
wenhdbg_h.h:313: warning: deprecated conversion from string constant to ‘char*’
wenhdbg_h.h:313: warning: deprecated conversion from string constant to ‘char*’
wenhdbg_h.h:315: warning: deprecated conversion from string constant to ‘char*’
wenhdbg_h.h:315: warning: deprecated conversion from string constant to ‘char*’
wenhdbg_h.h:316: warning: deprecated conversion from string constant to ‘char*’
wenhdbg_h.h:316: warning: deprecated conversion from string constant to ‘char*’
wenhdbg_h.h:317: warning: deprecated conversion from string constant to ‘char*’
wenhdbg_h.h:317: warning: deprecated conversion from string constant to ‘char*’
wenhdbg_h.h:318: warning: deprecated conversion from string constant to ‘char*’
wenhdbg_h.h:318: warning: deprecated conversion from string constant to ‘char*’
wenhdbg_h.h:319: warning: deprecated conversion from string constant to ‘char*’
wenhdbg_h.h:319: warning: deprecated conversion from string constant to ‘char*’
wenhdbg_h.h:342: warning: deprecated conversion from string constant to ‘char*’
wenhdbg_h.h:342: warning: deprecated conversion from string constant to ‘char*’
wenhdbg_h.h:342: warning: deprecated conversion from string constant to ‘char*’
wenhdbg_h.h:342: warning: deprecated conversion from string constant to ‘char*’
wenhdbg_h.h:342: warning: deprecated conversion from string constant to ‘char*’
In file included from enh_dbg.cc:9:
enh_dbg_os_specific.h: In function ‘void MakeListsGray()’:
enh_dbg_os_specific.h:743: warning: deprecated conversion from string constant to ‘char*’
enh_dbg_os_specific.h:746: warning: deprecated conversion from string constant to ‘char*’
enh_dbg_os_specific.h: In function ‘gboolean VGAWrefreshTick(GtkWidget*)’:
enh_dbg_os_specific.h:1609: warning: deprecated conversion from string constant to ‘char*’
enh_dbg_os_specific.h: In function ‘bx_bool OSInit()’:
enh_dbg_os_specific.h:1927: warning: deprecated conversion from string constant to ‘char*’
enh_dbg_os_specific.h:1927: warning: deprecated conversion from string constant to ‘char*’
enh_dbg_os_specific.h:1927: warning: deprecated conversion from string constant to ‘char*’
enh_dbg_os_specific.h:1927: warning: deprecated conversion from string constant to ‘char*’
enh_dbg_os_specific.h:1927: warning: deprecated conversion from string constant to ‘char*’
enh_dbg_os_specific.h:1927: warning: deprecated conversion from string constant to ‘char*’
enh_dbg_os_specific.h:1927: warning: deprecated conversion from string constant to ‘char*’
enh_dbg_os_specific.h:1927: warning: deprecated conversion from string constant to ‘char*’
enh_dbg.cc: In function ‘void ParseIDText(char*)’:
enh_dbg.cc:355: warning: deprecated conversion from string constant to ‘char*’
enh_dbg.cc:355: warning: deprecated conversion from string constant to ‘char*’
enh_dbg.cc: In function ‘bx_bool InitDataDump(bx_bool, Bit64u)’:
enh_dbg.cc:2146: warning: deprecated conversion from string constant to ‘char*’
enh_dbg.cc:2146: warning: deprecated conversion from string constant to ‘char*’
enh_dbg.cc:2178: warning: deprecated conversion from string constant to ‘char*’
enh_dbg.cc:2178: warning: deprecated conversion from string constant to ‘char*’
enh_dbg.cc: In function ‘void ToggleGDT()’:
enh_dbg.cc:2236: warning: deprecated conversion from string constant to ‘char*’
enh_dbg.cc:2236: warning: deprecated conversion from string constant to ‘char*’
enh_dbg.cc: In function ‘void ToggleIDT()’:
enh_dbg.cc:2256: warning: deprecated conversion from string constant to ‘char*’
enh_dbg.cc:2256: warning: deprecated conversion from string constant to ‘char*’
enh_dbg.cc: In function ‘void doFind()’:
enh_dbg.cc:2345: warning: deprecated conversion from string constant to ‘char*’
enh_dbg.cc:2345: warning: deprecated conversion from string constant to ‘char*’
enh_dbg.cc:2366: warning: deprecated conversion from string constant to ‘char*’
enh_dbg.cc:2366: warning: deprecated conversion from string constant to ‘char*’
enh_dbg.cc: In function ‘void doStepN()’:
enh_dbg.cc:2399: warning: deprecated conversion from string constant to ‘char*’
enh_dbg.cc:2399: warning: deprecated conversion from string constant to ‘char*’
enh_dbg.cc: In function ‘void doDisAsm()’:
enh_dbg.cc:2428: warning: deprecated conversion from string constant to ‘char*’
enh_dbg.cc:2428: warning: deprecated conversion from string constant to ‘char*’
enh_dbg.cc:2437: warning: deprecated conversion from string constant to ‘char*’
enh_dbg.cc:2437: warning: deprecated conversion from string constant to ‘char*’
enh_dbg.cc: In function ‘void SetWatchpoint(unsigned int*, bx_phy_address*)’:
enh_dbg.cc:2543: warning: deprecated conversion from string constant to ‘char*’
enh_dbg.cc:2543: warning: deprecated conversion from string constant to ‘char*’
enh_dbg.cc: In function ‘void ChangeReg()’:
enh_dbg.cc:2566: warning: deprecated conversion from string constant to ‘char*’
enh_dbg.cc: In function ‘void SetMemLine(int)’:
enh_dbg.cc:2607: warning: deprecated conversion from string constant to ‘char*’
enh_dbg.cc:2656: warning: deprecated conversion from string constant to ‘char*’
enh_dbg.cc:2656: warning: deprecated conversion from string constant to ‘char*’
enh_dbg.cc:2658: warning: deprecated conversion from string constant to ‘char*’
enh_dbg.cc:2658: warning: deprecated conversion from string constant to ‘char*’
enh_dbg.cc: In function ‘int HotKey(int, int, int, int)’:
enh_dbg.cc:2926: warning: deprecated conversion from string constant to ‘char*’
enh_dbg.cc:2926: warning: deprecated conversion from string constant to ‘char*’
enh_dbg.cc: In function ‘void ActivateMenuItem(int)’:
enh_dbg.cc:3078: warning: deprecated conversion from string constant to ‘char*’
enh_dbg.cc:3078: warning: deprecated conversion from string constant to ‘char*’
enh_dbg.cc:3235: warning: deprecated conversion from string constant to ‘char*’
enh_dbg.cc:3235: warning: deprecated conversion from string constant to ‘char*’



Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 27, 2009 8:14 pm 
Offline
Familiar Face

Joined: Sun Nov 23, 2008 8:14 pm
Posts: 41
Yes, this is a frontend for an emulator -- sort of the opposite of your BigHead program. But in some sense, the interface for both is going to be similar.

I knew about the "deprecated string conversion" thing in the most recent GCC.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 28, 2009 10:23 am 
Offline
GTK+ Geek

Joined: Sun Dec 07, 2008 4:46 pm
Posts: 56
This is what your project looks like on my PC.

Image


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


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 post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group