Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
102 user(s) are online (8 user(s) are browsing News)

Members: 1
Guests: 101

flash, more...

Headlines


Recent Replied Topics
Software News : New CodeBench version
Posted by Rigo on 2017/10/19 22:02:04 (9155 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
The comments are owned by the author. We aren't responsible for their content.
Author Thread
328gts
Published: 2017/10/20 0:34  Updated: 2017/10/20 0:34
Home away from home
Joined: 07/07/2009
From: Man Cave, Canada
Comments: 3024
 !
GREAT news !!!
Menthos
Published: 2017/10/20 7:40  Updated: 2017/10/20 7: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 8:03  Updated: 2017/10/20 8:03
Supreme Council
Joined: 11/16/2006
From: Sweden
Comments: 3266
 YaY
Perfect!
cha05e90
Published: 2017/10/20 10:08  Updated: 2017/10/20 10:08
Quite a regular
Joined: 03/10/2009
From: Germany
Comments: 642
 Yep!
Thanks!
gregthecanuck
Published: 2017/10/21 1:17  Updated: 2017/10/21 1:17
Just popping in
Joined: 12/05/2006
From: Vancouver, Canada
Comments: 192
 Yippee!
Thanks looks like a great update.
zzd10h
Published: 2017/10/21 8:09  Updated: 2017/10/21 8:09
Just can't stay away
Joined: 08/14/2012
From: France
Comments: 1496
 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 9:58  Updated: 2017/10/21 9:58
Just can't stay away
Joined: 05/01/2009
From: Czech Republic
Comments: 1598
 Great news
Oh thank you thank you THANK YOU! Donation time?
Caras
Published: 2017/10/22 5:06  Updated: 2017/10/22 5:10
Just popping in
Joined: 07/17/2015
From: Sydney
Comments: 54
 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 9:20  Updated: 2017/10/22 9:20
Just can't stay away
Joined: 05/01/2009
From: Czech Republic
Comments: 1598
 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 12:21  Updated: 2017/10/22 12:21
Supreme Council
Joined: 11/19/2006
From: London, England
Comments: 1382
 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 12:48  Updated: 2017/10/22 12:48
Just can't stay away
Joined: 05/01/2009
From: Czech Republic
Comments: 1598
 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 17:12  Updated: 2017/10/22 17:12
Supreme Council
Joined: 11/19/2006
From: London, England
Comments: 1382
 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 18:50  Updated: 2017/10/22 18:50
Just can't stay away
Joined: 08/14/2012
From: France
Comments: 1496
 ...
"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 19:03  Updated: 2017/10/22 19:03
Supreme Council
Joined: 11/19/2006
From: London, England
Comments: 1382
 Applib registration
@zzd10h Isn't that only available via AmiStore?
zzd10h
Published: 2017/10/22 19:55  Updated: 2017/10/22 19:55
Just can't stay away
Joined: 08/14/2012
From: France
Comments: 1496
 ...
yes, it is
trixie
Published: 2017/10/22 20:13  Updated: 2017/10/22 20:16
Just can't stay away
Joined: 05/01/2009
From: Czech Republic
Comments: 1598
 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 5:04  Updated: 2017/10/23 5:04
Just popping in
Joined: 07/17/2015
From: Sydney
Comments: 54
 wtf
Now it's asking for a Code: volume, then it deletes the SDL2_main.lib. I'm done.
broadblues
Published: 2017/10/23 9:07  Updated: 2017/10/23 9:07
Home away from home
Joined: 12/04/2006
From:
Comments: 2370
 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 19:19  Updated: 2017/10/23 19:19
Supreme Council
Joined: 11/19/2006
From: London, England
Comments: 1382
 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 19:48  Updated: 2017/10/23 19:48
Just can't stay away
Joined: 05/01/2009
From: Czech Republic
Comments: 1598
 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 20:44  Updated: 2017/10/23 20:44
Supreme Council
Joined: 11/19/2006
From: London, England
Comments: 1382
 Applib registration
Don't worry, already tested under all perceivable conditions :) Simon
Caras
Published: 2017/10/24 3:02  Updated: 2017/10/24 3:02
Just popping in
Joined: 07/17/2015
From: Sydney
Comments: 54
 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 10:39  Updated: 2017/10/28 10:39
Just popping in
Joined: 12/05/2006
From: Vantaa,Finland
Comments: 41
 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
Just can't stay away
Joined: 05/01/2009
From: Czech Republic
Comments: 1598
 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
  1673
Logged in last:
  24 hours, 70
  7 days, 133
  30 days, 182

Top Posters
1 kas1e
kas1e 8948
2 Raziel
Raziel 5413
3 LiveForIt
LiveForIt 3776
4 samo79
samo79 3754
5 ChrisH
ChrisH 3582
6 Chris
Chris 3361
7 orgin
orgin 3266
8 328gts
328gts 3024
9 Hans
Hans 2673
10 Antique
Antique 2618

New Members
Djk83
Djk83 04/19/2024
akutra
akutra 04/08/2024
kishigo
kishigo 03/25/2024
amigait
amigait 03/21/2024
fordprefect
fordprefect 03/06/2024
brufnus
brufnus 02/21/2024
Sugo77
Sugo77 02/11/2024
tomkrk78
tomkrk78 02/01/2024
Radar103
Radar103 01/28/2024
alanb
alanb 01/21/2024


Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project