Previous Thread
Next Thread
Print Thread
Page 1 of 2 1 2
(DEV) chdman...with a GUI...on Mac! #20356
01/23/05 09:14 AM
01/23/05 09:14 AM
Joined: Dec 2001
Posts: 233
San Antonio, TX
I
Isaac Offline OP
Senior Member
Isaac  Offline OP
Senior Member
I
Joined: Dec 2001
Posts: 233
San Antonio, TX
I decided to get off my butt and make a quick GUI for this handy app in Objective-C. It's a learning experience for me in Objective-C so it's really unpolished and I'm sure there are quite a few bugs but it passes the arguments just fine. I've been working on it for two days now and want one more thing before I let it loose (for those few who have a need for it). I want to give feedback when the program is working so I echoed the terminal but for some odd reason it's not scrolling smoothly at all. Well, on the long tasks anyway. It kinda jerks along and stuff. I'm sure it's having to do with NSTask and NSPipe so I'm wondering if any of you out there could help me out, I'd appreciate it. I've combed all the Internet and haven't slept for two days. Here a quick pic .

Re: (DEV) chdman...with a GUI...on Mac! #20357
01/23/05 10:40 PM
01/23/05 10:40 PM
Joined: Dec 1969
Posts: 892
Dublin, Ireland
Richard Bannister Offline

Senior Member
Richard Bannister  Offline

Senior Member
Joined: Dec 1969
Posts: 892
Dublin, Ireland
That link won't load for me?


Noli umquam docere porcum cantare; perdes tempus et irritabis porcum.
Re: (DEV) chdman...with a GUI...on Mac! #20358
01/23/05 11:26 PM
01/23/05 11:26 PM
Joined: Mar 2001
Posts: 16,226
USA
R
R. Belmont Offline
Very Senior Member
R. Belmont  Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 16,226
USA
Me neither.

Re: (DEV) chdman...with a GUI...on Mac! #20359
01/24/05 02:37 AM
01/24/05 02:37 AM
Joined: Dec 2001
Posts: 233
San Antonio, TX
I
Isaac Offline OP
Senior Member
Isaac  Offline OP
Senior Member
I
Joined: Dec 2001
Posts: 233
San Antonio, TX
Should work now. Copy and paste link. Like I said, it's not snazzy or anything. That'll come later. If I don't find out how to fix the scrolling, I'll release it as-is, although the program will show the beachball for long tasks. Thank goodness for preemptive multitasking. laugh

Re: (DEV) chdman...with a GUI...on Mac! #20360
01/25/05 04:02 AM
01/25/05 04:02 AM
Joined: Dec 2001
Posts: 233
San Antonio, TX
I
Isaac Offline OP
Senior Member
Isaac  Offline OP
Senior Member
I
Joined: Dec 2001
Posts: 233
San Antonio, TX
Finally got it to work. Scrolls nice and smooth in a fixed font so tabs and what-not are lined up. Unfortunately, something else broke along the way. I can get an input chd only which limits the commands you can use or use input and output chds but can't use input by itself. Make sense? Don't worry though. I got an idea to fix it. I'm sure there's no rush for this laugh

EDIT: I'll be out of town for a week so I won't be able to look at this till I return.

Re: (DEV) chdman...with a GUI...on Mac! #20361
01/28/05 02:55 PM
01/28/05 02:55 PM
Joined: Dec 2001
Posts: 233
San Antonio, TX
I
Isaac Offline OP
Senior Member
Isaac  Offline OP
Senior Member
I
Joined: Dec 2001
Posts: 233
San Antonio, TX
Okay, all done! If you want to download it and check it out, click here. I'm aware that there may be some bugs and I'll look into fixing them as fast as I can. For those that try it, I'd appreciate any feedback. Oh, and I'll release the source for this as soon as I clean it up. It shouldn't take long but you never know.

PS: It needs an icon.

Re: (DEV) chdman...with a GUI...on Mac! #20362
01/30/05 02:30 PM
01/30/05 02:30 PM
Joined: Dec 2001
Posts: 233
San Antonio, TX
I
Isaac Offline OP
Senior Member
Isaac  Offline OP
Senior Member
I
Joined: Dec 2001
Posts: 233
San Antonio, TX
I take it no problems... :whew:

Re: (DEV) chdman...with a GUI...on Mac! #20363
01/31/05 12:06 AM
01/31/05 12:06 AM
Joined: Sep 2000
Posts: 85
Veldhoven, Netherlands
A
Arnoud Offline
Senior Member
Arnoud  Offline
Senior Member
A
Joined: Sep 2000
Posts: 85
Veldhoven, Netherlands
I guess so smile

I would have love to test it, but I never bothered to download any .chd files... Uhm, I mean, I don't have any harddisk-based coin-ups in the basement laugh

So some comments on the GUI itself...

  • when looking at it, it looks rather intimidating...
  • when you don't have the log open and you press start before filling out all the needed forms you get no feedback something is wrong
  • Why is there a horizontal ruler on top of the window?
  • Some explanation of the 'Command:' option would be helpful I'd guess


In short: it needs a mini-manual as well?

Arnoud

Re: (DEV) chdman...with a GUI...on Mac! #20364
01/31/05 02:16 AM
01/31/05 02:16 AM
Joined: Dec 2001
Posts: 233
San Antonio, TX
I
Isaac Offline OP
Senior Member
Isaac  Offline OP
Senior Member
I
Joined: Dec 2001
Posts: 233
San Antonio, TX
Some answers:

  • The GUI does seem a little rough but most people will probably, at best, use the -info or -update command only.

  • On the horizontal line at the top, I had some stuff there once that I removed. Kinda like the path at the bottom (which will probably be removed too. It was for my own debugging purposes.)

  • You're right in that it needs a manual. I'm thinking of copying what I've put in the wiki into a ReadMe file.

  • Any errors you get are reported in the log drawer (any needed fields that are left blank ala chdman). You can open the log window anytime to get that info. I'll look into adding an error dialog though.


I went home and finished what I could. But I'm on the road again so it may be a couple of days.

Re: (DEV) chdman...with a GUI...on Mac! #20365
02/09/05 07:18 AM
02/09/05 07:18 AM
Joined: Dec 2001
Posts: 233
San Antonio, TX
I
Isaac Offline OP
Senior Member
Isaac  Offline OP
Senior Member
I
Joined: Dec 2001
Posts: 233
San Antonio, TX
Well, I took care of some things on the GUI today. I added a fake tooltip approach that simply states what a command does when you select it. I'm working on another project at the moment. Other than that, I think it's usable for what most people need with it.

EDIT: If anyone can tell me what the chomp and copydata commands do, that would be great.

Page 1 of 2 1 2

Who's Online Now
2 registered members (sof-max, 1 invisible), 145 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Shout Box
Forum Statistics
Forums9
Topics8,659
Posts113,532
Members4,847
Most Online324
Dec 20th, 2018
Powered by UBB.threads™ PHP Forum Software 7.6.1.1
(Release build 20180111)
Page Time: 0.049s Queries: 14 (0.031s) Memory: 5.7187 MB (Peak: 5.9305 MB) Zlib enabled. Server Time: 2019-06-27 04:51:34 UTC