Who's Online |
153 user(s) are online ( 120 user(s) are browsing Forums)
Members: 1
Guests: 152
afxgroup,
more...
|
|
Headlines |
-
mce.lha - game/utility
Apr 23, 2024
-
theme_list.lha - utility/misc
Apr 23, 2024
-
faac.lha - audio/convert
Apr 22, 2024
-
faad2.lha - audio/convert
Apr 22, 2024
-
seq.lha - audio/misc
Apr 22, 2024
-
libfaac.lha - development/library/audio
Apr 22, 2024
-
libfaad.lha - development/library/audio
Apr 22, 2024
-
image2pdf.lha - utility/text/convert
Apr 22, 2024
-
libharfbuzz.lha - development/library/graphics
Apr 20, 2024
-
libpng.lha - development/library/graphics
Apr 20, 2024
|
|
|
|
Re: Break en entire program from inside a function.
|
Posted on: 2009/7/25 17:49
#81
|
Just popping in
|
@freddix Quote: I develop an engine so, if user enter an erroneous value in a function, the program must stop giving the error message in CLI ... so, it's not in this case a bad practise but a need for that precise kind of development.
If you start allocating resources here and there you will find that it is. What's wrong with using return codes ?
|
|
|
|
Re: New windows bar docky, from OpenAmiga
|
Posted on: 2009/5/22 18:54
#82
|
Just popping in
|
@orgin
Yes, some nasty windows don't set their UserPort immediately after opening (now fixed).
|
|
|
|
Re: New windows bar docky, from OpenAmiga
|
Posted on: 2009/5/21 17:32
#83
|
Just popping in
|
@orgin Quote: Using more than one dock area will make you end up with different heights , widths and overlapping. Not a good solution. A good dock system would enable you to fit everything in my example inside a single dock, where the user dictates the height, not the dockies.
I was talking about a single dock with the winbar to the left, whatever icons you need in the middle, and the application dockies to the right, works quite well here. Quote: "smartbutton.docky and winbar.docky use this feature."
How do you activate that? Currently it forces a height to the dock.
It's always activated, but since AmiDock also respects the minimum width asked by the docky, you can only see the effect if there is an object larger than the docky in the dock, in this case the docky will use all the width available (anyway, the docky contains fixed size elements so you can't provide it whatever size you want and expect to have a readable and usable tool). Quote: No not at all, not even close.
Hmmm, I think you exagerate a bit on this point. Application.library provides a way to add automatically an icon or even a docky into the main dock, this terribly looks like what is called a "system tray" on other systems... You may not like the implementation, or the features, and few programs may make use of it (but YAM, AmiARC, Wet and so on do), but it has the very same function. That said, quite a number of things could be improved in AmiDock, and I hope that this will be the case when things of higher priority are complete.
|
|
|
|
Re: New windows bar docky, from OpenAmiga
|
Posted on: 2009/5/21 16:02
#84
|
Just popping in
|
@orgin and PEB Okay, great, going directly to OS4depot then . Quote: There seems to be some internal max width? Is it difficult to get it to fill the whole dock width?
Could you add a column setting that respects the line settings and just adds columns without any limitation? (instead of max 16 per line).
Yes, there is a limit to the docky width which is way lower than the screen width (something like 75%). And the worst is that if you try to set the width above this limit, you don't even get an error from AmiDock, the request is just ignored. Quote: 2. You can't freely position dockies inside a docky. Without these major flaws it would have been easier to set up a nice looking dock with your winbar docky to the left, a few program start icons and then add stuff like a clock, cpu meter etc to the right all using the same height and the clock and cpu meter would stay fixed at the far right without moving about when the winbar docky changed width.
For this, you can use a dock snapped to the bottom right corner, it will grow to the left. Quote: 1. it's the dockies that dictate the dock size and not the other way around.
[...]
Perhaps it would be possible to create container (like Ilayout) dockies where you can define if they should align their contents in any particular direction. And add new docky methods like DO_SCALEOTOHEIGHT that an individual docky receives a call to and scales itself to teh requested height.
Actually, dockies can adapt themselves to the dock "thickness" (that is, the width of a vertical dock and the height of an horizontal one), smartbutton.docky and winbar.docky use this feature. As for the other dimension, since it's not fixed you can't do a layout like with ReAction or MUI gadgets, and IMHO, dockies are not meant to be as complex as such gadgets. Quote: Btw, next up, system tray? ;)
Come on, AmiDock is a kind of system tray for OS4 .
|
|
|
|
Re: New windows bar docky, from OpenAmiga
|
Posted on: 2009/5/21 11:53
#85
|
Just popping in
|
@PEB OK, I think I fixed at least the bug occuring on your machine (hope this is the same as Orgin has...) @PEB and Orgin Could you please try this new version ?
|
|
|
|
Re: New windows bar docky, from OpenAmiga
|
Posted on: 2009/5/20 0:41
#86
|
Just popping in
|
@salass00
The UserPort is checked against NULL, but I didn't know about mp_SigTask possibly being an interrupt, so I will fix this, thanks for the tip. However, this is probably not the reason of the crash, since the pointer is used as a key to search the list of processes.
@PEB If you delete the default preferences (winbar-docky.xml), the crash at reboot doesn't occur ?
@orgin Thanks for the crash log (the funniest I've seen...). The bug possibly happens when IntuitionBase is locked, hence the big mess. Strange that I don't get it on my machine. As for the automatic detection of changed titles, I'll look into it.
|
|
|
|
Re: New windows bar docky, from OpenAmiga
|
Posted on: 2009/5/19 16:27
#87
|
Just popping in
|
@orgin
Thanks! Well, I finally use the Window structure to retrieve a pointer on the task listening to the IntuiMessages (through the window user port). It's probably the way AmiStart does its job too. It works quite well with a lot of programs, but obviously if the GUI handling is deferred to a sub-process, it won't.
|
|
|
|
Re: Amiga server?
|
Posted on: 2009/5/13 22:42
#88
|
Just popping in
|
@Antique
For HTTP, there is also BlackWidow on os4depot. Lightweight, works like a charm, and very easy to setup with its own GUI, I sometimes use it to serve files like photos on my PC.
|
|
|
|
Re: smartbutton docky from openamiga.org
|
Posted on: 2009/5/13 22:05
#89
|
Just popping in
|
@PEB Phew! I think I'll have to add a warning about this though...
|
|
|
|
Re: smartbutton docky from openamiga.org
|
Posted on: 2009/5/13 20:33
#90
|
Just popping in
|
@PEB
Could you please try either activating that option or manually saving AmiDock's preferences just before the operation ?
Smartbutton.docky needs to close briefly AmiDock when importing/exporting, to be able to update the preferences file (in a friendly way). I suspect that in your case it doesn't save the preferences when exiting.
|
|
|
|
Re: smartbutton docky from openamiga.org
|
Posted on: 2009/5/13 19:22
#91
|
Just popping in
|
@PEB
Do you have the auto-save preferences option activated in AmiDock ?
|
|
|
|
Re: smartbutton docky from openamiga.org
|
Posted on: 2009/5/13 0:02
#92
|
Just popping in
|
@PEB Yes, it works here . Sorry, couldn't resist. Does importing work with a .dock file generated on your machine ? For example, create a new subdock and fill it with 3 buttons, export it to RAM Disk:test.dock, then create a second subdock and try to import test.dock into it.
|
|
|
|
Re: [Solved] Active screen
|
Posted on: 2009/5/8 15:53
#93
|
Just popping in
|
@orgin
What do you mean by "not conclusive" ?
|
|
|
|
Re: [Solved] Active screen
|
Posted on: 2009/5/8 15:48
#94
|
Just popping in
|
@orgin From intuition autodoc, intuition.library/LockIBase Quote: [...] Grabs Intuition internal semaphore so that caller may examine IntuitionBase safely. This function is not a magic "fix all my race conditions" panacea. The idea here is that you can get the locks Intuition needs before such IntuitionBase fields as ActiveWindow and FirstScreen are changed, or linked lists of windows and screens are changed.
[...]
|
|
|
|
Re: Active screen
|
Posted on: 2009/5/7 0:08
#95
|
Just popping in
|
@orgin
No problem with this if you LockIBase() / UnLockIBase().
|
|
|
|
Re: smartbutton docky from openamiga.org
|
Posted on: 2009/4/29 20:17
#96
|
Just popping in
|
@PEB Bug fixed.
|
|
|
|
Re: smartbutton docky from openamiga.org
|
Posted on: 2009/4/28 23:00
#97
|
Just popping in
|
@PEB
Thanks for notifying this. I fixed the second bug. Could you please send me a screenshot of the first one (amicentaurz at club dot fr) ? I can't reproduce it.
|
|
|
|
Re: smartbutton docky from openamiga.org
|
Posted on: 2009/4/27 19:36
#98
|
Just popping in
|
@all This new version features an improved "build mode", as well as a small GUI to configure global parameters (menu-related). For example it is now possible to orientate new subdocks perpendicular to their parent, to build "staircase-like" menus (to be honest, I don't know if it is useful ).
Edited by centaurz on 2009/4/27 19:53:02
|
|
|
|
Re: smartbutton docky from openamiga.org
|
Posted on: 2009/4/20 23:58
#99
|
Just popping in
|
@Mason Quote: Thanks! Quote: Let's see what I can do
That's interesting @MichaelMerkel Quote: one suggestion: maje the text field optional if an icon/picture is displayed in the smartsubdock so that it looks like the other dock elements.
Sure, an image-only mode would be good.
|
|
|
|
Re: smartbutton docky from openamiga.org
|
Posted on: 2009/4/20 16:16
#100
|
Just popping in
|
@PEB
Yes this is planned for image files (not for icons). Actually, smartbutton.docky used to load automatically "selected" and "ghosted" states bitmaps using the AISS naming scheme ("myimage_s" and "myimage_g"), but ATM it's deactivated due to a rewrite of the image rendering. So a "highlighted" state image could be added as well, using for example "myimage_h" as file name. The only requirement is to have such images available.
Edit: fixed weird wording
Edited by centaurz on 2009/4/20 19:53:51
|
|
|
|