Home  
Login
Username:

Password:

Remember me



Lost Password?

Register now!
Sections
Who's Online
75 user(s) are online (15 user(s) are browsing News)

Members: 0
Guests: 75

more...
Support us!
Recent OS4 Files
OS4Depot.net
Recent Replied Topics
Software News : New CodeBench version
Posted by Rigo on 2017/10/19 21:02:04 (616 reads) News by the same author

The old saying goes: "No news is good news!"

It seems incredible to think that there has not been a public update for 4 years! Just where does the time go?

Well, we think its time to change that. It is understandable to think this project may well have been abandoned due to the silence, but one thing we hate is to announce something before it is ready. So without further ado:

CodeBench 0.55 is now AVAILABLE for download.

We really hope that news was worth waiting for! <4 years is kinda pushing it - ed!>

A detailed, but not exhaustive, list of the changes, additions, bug fixes and other general shenanigans over the years is included in the archive, which helps to explain some of the new features. We are still working on bringing the online documentation up to scratch, and to highlight all of the current features. Please bear with us while this ongoing work is completed, and check back frequently, as the documentation is updated regularly.

We hope you enjoy this latest version, there has been a lot of work put into it, as you can see from the list of changes.

If you have any questions or issues, please use our dedicated forums.

Printer Friendly Page Send this Story to a Friend Create a PDF from the article
The comments are owned by the author. We aren't responsible for their content.
Author Thread
328gts
Published: 2017/10/19 23:34  Updated: 2017/10/19 23:34
Home away from home
Joined: 07/07/2009
From: Toronto, Canada
Comments: 2198
 !
GREAT news !!!
Menthos
Published: 2017/10/20 6:40  Updated: 2017/10/20 6:40
Just popping in
Joined: 11/29/2006
From: Bure�, Sweden
Comments: 103
 Wohoo!
Thanks for the continued support for OS4!
orgin
Published: 2017/10/20 7:03  Updated: 2017/10/20 7:03
Supreme Council
Joined: 11/16/2006
From: Sweden
Comments: 3102
 YaY
Perfect!
cha05e90
Published: 2017/10/20 9:08  Updated: 2017/10/20 9:08
Quite a regular
Joined: 03/10/2009
From: Germany
Comments: 608
 Yep!
Thanks!
gregthecanuck
Published: 2017/10/21 0:17  Updated: 2017/10/21 0:17
Just popping in
Joined: 12/05/2006
From: Vancouver, Canada
Comments: 172
 Yippee!
Thanks looks like a great update.
zzd10h
Published: 2017/10/21 7:09  Updated: 2017/10/21 7:09
Just can't stay away
Joined: 08/14/2012
From: France
Comments: 1470
 Great
Thank you. No more freeze when resizing the search window during a search :) Regarding new AISS menu, I posted a question/request on your forum http://codebench.co.uk/forums/viewtopic.php?f=14&t=59 Thanks again !
trixie
Published: 2017/10/21 8:58  Updated: 2017/10/21 8:58
Quite a regular
Joined: 05/01/2009
From: Czech Republic
Comments: 937
 Great news
Oh thank you thank you THANK YOU! Donation time?
Caras
Published: 2017/10/22 4:06  Updated: 2017/10/22 4:10
Just popping in
Joined: 07/17/2015
From: Sydney
Comments: 47
 Crashes a lot
Crashes trying to load up an old project, crashes creating a new project, sticking with the older version for now.
trixie
Published: 2017/10/22 8:20  Updated: 2017/10/22 8:20
Quite a regular
Joined: 05/01/2009
From: Czech Republic
Comments: 937
 Re: Crashes a lot
@Caras
Quote:
Crashes trying to load up an old project, crashes creating a new project

Crashed for me also when loading an old project, and the crash was apparently due to the project dictionary format having changed. After ignoring the DSI and rebuilding the dictionary, all now works fine. I can create new projects with no problem.

@Rigo
My only gripe so far is that the Application Library registration still hangs after quitting the program (I reported this problem about a year ago). In fact, the way CodeBench handles registration needs to be revisited:

1) not only the app registration never goes away, but
2) the program doesn't implement the bare minimum as per this specification
3) CodeBench registers as non-unique (i.e. allowing multiple instances) but doesn't behave as such in Application Library terms. If REGAPP_UniqueApplication is FALSE, each new instance should perform its own registration (and receive a dedicated AppID) so that external control through a program like Exchanger or AppManager can be applied to a particular instance. Instead, CodeBench allows multiple instances on a single registration, which leaves APPLIBMT_ messages with no specific target to arrive at (and currently ignored by the program).

It appears CodeBench performs registration when its codebench.library starts up, and unregisters when the library is expunged. Which unfortunately is not the case: after quitting all instances the library is still present in the system (I've checked with SysMon). This explains why the registration hangs.

My advice is: remove the registration code from the library, and put it where the actual program starts. In your event loop implement support for Application Library messages, namely: APPLIBMT_Quit, APPLIBMT_ToFront, APPLIBMT_Hide and APPLIBMT_Unhide.

Otherwise, there's no point in registering at all. Currently the registration is purely formal as CodeBench does not make use of any Application Library features.
Rigo
Published: 2017/10/22 11:21  Updated: 2017/10/22 11:21
Supreme Council
Joined: 11/19/2006
From: London, England
Comments: 1262
 Applib registration
@trixie Hmm, I was sure this issue was fixed shortly after you mentioned it. It needs to register in order to issue notifications, but looking at the code, it registers, sends the notification, then unregisters, so it is difficult to understand why it's hanging around afterwards. What program are you using to see if the registration is still valid? The notifications are sent via a separate process, this is why it is done in the library. It was tried all sorts of different ways and trying to do it synchronously led to all manner of problems, including lock-ups. Simon
trixie
Published: 2017/10/22 11:48  Updated: 2017/10/22 11:48
Quite a regular
Joined: 05/01/2009
From: Czech Republic
Comments: 937
 Re: Applib registration
@Rigo

Quote:
What program are you using to see if the registration is still valid?

Exchanger, AppManager and SysMon - they all report CodeBench still being registered after it quits.

My (other) problem is that system utilities now exist that keep track of registered applications and allow controlling them via Application Library messages. On top of these, I'm now developing a program switcher commodity that allows flipping between running applications, sending them an APPLIBMT_ToFront whenever the user wants them to become the active program (much like you do with Alt-Tab on Windows). The trouble is that if Application Library support is implemented carelessly or is incomplete, the APPLIBMT_ messages don't work and it is the control utility that appears broken. And the user will get annoyed that the selected program won't come to front despite being told to. This is why I'm trying to advocate that the Application Library support be implemented according to the Wiki spec. It's not to hassle programmers but to enhance user experience and improve program control in the OS.
Rigo
Published: 2017/10/22 16:12  Updated: 2017/10/22 16:12
Supreme Council
Joined: 11/19/2006
From: London, England
Comments: 1262
 Applib registration
Well, like I said, as there is currently nothing in the OS that will manipulate applications the way you suggest, even if we wanted to try and incorporate something like this, there's no way it could be tested. Unless you want to send over your program, of course... Simon
zzd10h
Published: 2017/10/22 17:50  Updated: 2017/10/22 17:50
Just can't stay away
Joined: 08/14/2012
From: France
Comments: 1470
 ...
"there's no way it could be tested" SysMon allows to send all type of Application messages (even custom messages) to any registered Applications. Sorry for the off-topic...
Rigo
Published: 2017/10/22 18:03  Updated: 2017/10/22 18:03
Supreme Council
Joined: 11/19/2006
From: London, England
Comments: 1262
 Applib registration
@zzd10h Isn't that only available via AmiStore?
zzd10h
Published: 2017/10/22 18:55  Updated: 2017/10/22 18:55
Just can't stay away
Joined: 08/14/2012
From: France
Comments: 1470
 ...
yes, it is
trixie
Published: 2017/10/22 19:13  Updated: 2017/10/22 19:16
Quite a regular
Joined: 05/01/2009
From: Czech Republic
Comments: 937
 Re: Applib registration
@Rigo

Quote:
there is currently nothing in the OS that will manipulate applications the way you suggest

This is not about me suggesting something The program control/messaging facility is part of the Application Library, which has been a component of AmigaOS4 for more than a decade. The APPLIBMT_ control messages are meant to be sent to running registered applications, as per the official documentation. Why no-one made any practical use of it for so long is rather a question for the OS dev team: the system has Exchange (a program for external control of commodities) but none for registered applications.

Vicente Gimeno developed AppManager in 2010 to control programs in a way similar to Exchange. It can also be used for testing whether your APPLIBMT_ message handling is implemented in a correct and safe way. The program is freeware.

Guillaume Boesel's SysMon, too, can send the entire APPLIBMT_ message range to running applications. The program is part of the zTools package, available from AmiStore for peanuts.

I have developed Exchanger as a crossbreed between Exchange and AppManager. It allows controlling both types of program from a single interface. The program is part of the Enhancer Software suite.
Caras
Published: 2017/10/23 4:04  Updated: 2017/10/23 4:04
Just popping in
Joined: 07/17/2015
From: Sydney
Comments: 47
 wtf
Now it's asking for a Code: volume, then it deletes the SDL2_main.lib. I'm done.
broadblues
Published: 2017/10/23 8:07  Updated: 2017/10/23 8:07
Just can't stay away
Joined: 12/04/2006
From:
Comments: 1892
 Re: wtf
@Caras

What are you actually trying to load into CodeBench? If it's an existing project does it reference the CODE: volume ?
Rigo
Published: 2017/10/23 18:19  Updated: 2017/10/23 18:19
Supreme Council
Joined: 11/19/2006
From: London, England
Comments: 1262
 Applib registration
@trixie Well, I assume you'll be happy to hear I have managed to rejig the application.library code, and now have supported all the features supplied by Appmanager. Hopefully, that'll keep you happy :) Simon
trixie
Published: 2017/10/23 18:48  Updated: 2017/10/23 18:48
Quite a regular
Joined: 05/01/2009
From: Czech Republic
Comments: 937
 Re: Applib registration
@Rigo

Call me a man of simple pleasures but you've really made my day! Thank you!

One caveat though. Please make sure that your handling of the APPLIBMT_ToFront message accounts for the case when the program is iconified. I've seen far too many times that programmers do

case APPLIBMT_ToFront:
   
IIntuition->WindowToFront(progWin);
   break;


which of course results in a crash when the program window is iconified. Unlike IDCMP, Application Library messages are not window-centric and can arrive regardless of program state.
Rigo
Published: 2017/10/23 19:44  Updated: 2017/10/23 19:44
Supreme Council
Joined: 11/19/2006
From: London, England
Comments: 1262
 Applib registration
Don't worry, already tested under all perceivable conditions :) Simon
Caras
Published: 2017/10/24 2:02  Updated: 2017/10/24 2:02
Just popping in
Joined: 07/17/2015
From: Sydney
Comments: 47
 Re: wtf
The Code: reference seems to just be because I had libpthread.a before the SDL2 libs. Not sure why any files were deleted. I've reverted back to a previous version of codebench anyway.
blmara
Published: 2017/10/28 9:39  Updated: 2017/10/28 9:39
Just popping in
Joined: 12/05/2006
From: Vantaa,Finland
Comments: 28
 Re: New CodeBench version
Rigo,

thanks so much for this update! However, it seems that in the archive there is an AutoInstall file but AmiUpdate doesn't update anything. And in the AmiUpdate Database there seems to be no entry for Codebench. Could you update the database, please?

Marko
trixie
Published: 2017/10/30 8:13  Updated: 2017/10/30 8:13
Quite a regular
Joined: 05/01/2009
From: Czech Republic
Comments: 937
 RichEditor Gadget
I've also noticed that the RichEditor Gadget has become much more sluggish with this release. On my Sam440ep-Flex, key presses often get eaten unless I type really slow. This is a nuisance, as I always have to move the cursor back and insert the missing characters :-(
General
Site sponsors
Advertise Here

Site statistics
Registered members
  1370
Logged in last:
  24 hours, 45
  7 days, 88
  30 days, 136
Top Posters
1 kas1e   kas1e 4193
2 ChrisH   ChrisH 3490
3 Chris   Chris 3173
4 orgin   orgin 3102
5 samo79   samo79 2975
6 Raziel   Raziel 2881
7 LiveForIt   LiveForIt 2639
8 Antique   Antique 2461
9 328gts   328gts 2198
10 Mikey_C   Mikey_C 2062
New Members
Skateman   Skateman 10/28/2017
cjdobs   cjdobs 10/14/2017
MDW   MDW 10/05/2017
m1nuto   m1nuto 09/27/2017
TheGrayOne   TheGrayOne 09/23/2017
mahmoodi   mahmoodi 09/20/2017
Tuskagee   Tuskagee 09/09/2017
MannaTheBerserk   MannaTheBerserk 09/06/2017
AcillClassics   AcillClassics 09/06/2017
AmigaOldskooler   AmigaOldskooler 08/25/2017
Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project