Code::Blocks
July 29, 2010, 05:57:15 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: New release 10.05 is ready. Grab it while it's hot!!!
 
   Home   Help Search Login Register  :: WebsiteWiki  
Pages: 1 ... 3 4 [5]
  Send this topic  |  Print  
Author Topic: The 27 July 2009 build (5716) is out.  (Read 26346 times)
Acki
Advanced newcomer
*
Posts: 100


« Reply #60 on: August 12, 2009, 12:12:51 am »

is there a way to disable the ".dll" for the lib name ???
Search the forums.
ahh, so there is a way, I'll have a search, thx... Wink

but what about the Ctrl-Tab problem ???  Sad

EDIT:
so I found the options "Auto-generate filename prefix" and "Auto-generate filename extension"... Laughing
but it seems to be the problem like with Ctrl-Tab !!!
the check boxes have no effect, plus it generates the extension ".exe" instead of ".dll" !!!

to illustrate some screenshots:

Auto-generate enabled and extension entered:


Auto-generate enabled and no extension entered:


Auto-generate disabled and extension entered:


Auto-generate disabled and no extension entered:
« Last Edit: August 12, 2009, 01:18:20 am by Acki » Logged
Loaden
Regular
***
Posts: 464



« Reply #61 on: August 12, 2009, 08:07:33 am »

another problem when creating a DLL...
let's say I'm compiling a DLL called "Irrlicht.dll", now the lib file is named "libIrrlicht.dll.a"...
but I don't want the ".dll" between "libIrrlicht" and ".a" !!!
now I either need to rename the lib manually or change the project settings for all my projects...  Confused

is there a way to disable the ".dll" for the lib name ???

Since after a SVN version, it becomes the case.
I do not want that too.

The same problem: how to remove the middle of the ".dll"?
Thanks!
Logged

Arch & XP -|- GCC & VC  -|- Code::Blocks SVN Latest
------------------------------------------
Index for my patches
Ceniza
Developer
Lives here!
*****
Posts: 1342



WWW
« Reply #62 on: August 13, 2009, 07:02:15 pm »

Morten: can you see now that we do not like that behavior?
Logged
MortenMacFly
Administrator
Lives here!
*****
Posts: 4593



WWW
« Reply #63 on: August 13, 2009, 09:06:12 pm »

Morten: can you see now that we do not like that behavior?
...no?!

The point is:

The behavior we had before did not work for the cases I told you. In addition users complained.

The behavior we have now works on all cases but is less "intuitive". In addition users complain.

So - what's the better choice? Make it an option? What's the default value then?
Logged

Logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
Compiling help
Debugging help
Portable C::B
Ceniza
Developer
Lives here!
*****
Posts: 1342



WWW
« Reply #64 on: August 14, 2009, 10:47:56 am »

Morten: can you see now that we do not like that behavior?
...no?!

The point is:

The behavior we had before did not work for the cases I told you. In addition users complained.

The behavior we have now works on all cases but is less "intuitive". In addition users complain.

So - what's the better choice? Make it an option? What's the default value then?

The default behavior should be that we have always seen and expected: file.dll and libfile.a.

When the user wants to create a non-as-common-as-a-plain-.dll-file (like .Plugin), he/she should then specify it somehow using a non-yet-existent-option. Splitting the output file name into name and extension fields with, probably, a checkbox saying something like "Use this extension instead" could help. If the checkbox is not selected, the extension field should not be editable. An extra read-only output field could be added to show the user the final result of the selected options (probably two: one for the file name, and one for the library name).
Logged
MortenMacFly
Administrator
Lives here!
*****
Posts: 4593



WWW
« Reply #65 on: August 14, 2009, 11:15:08 am »

When the user wants to create a non-as-common-as-a-plain-.dll-file (like .Plugin),
Notice that this was only *one* problem.

Even worse was if you tried to create a System.Management.DLL file. This did not work, too. And that's the one I was referring to at most. Because such misbehaviour is in fact not acceptable.
Logged

Logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
Compiling help
Debugging help
Portable C::B
Ceniza
Developer
Lives here!
*****
Posts: 1342



WWW
« Reply #66 on: August 14, 2009, 11:49:38 am »

When the user wants to create a non-as-common-as-a-plain-.dll-file (like .Plugin),
Notice that this was only *one* problem.

Even worse was if you tried to create a System.Management.DLL file. This did not work, too. And that's the one I was referring to at most. Because such misbehaviour is in fact not acceptable.

What was wrong with System.Management.DLL again? (I have forget only memory)
Logged
jens
Global Moderator
Lives here!
*****
Posts: 2975



WWW
« Reply #67 on: August 14, 2009, 11:56:05 am »

When the user wants to create a non-as-common-as-a-plain-.dll-file (like .Plugin),
Notice that this was only *one* problem.

Even worse was if you tried to create a System.Management.DLL file. This did not work, too. And that's the one I was referring to at most. Because such misbehaviour is in fact not acceptable.

What was wrong with System.Management.DLL again? (I have forget only memory)
If I remember right, it was turned int "System.dll" .
Logged

Regards

Jens

debian - nightlies and wxWidgets (msw-)cross-build libs for "i386" and "amd64" : http://apt.jenslody.de/
C::B changelog: http://apt.jenslody.de/ChangeLog
Ceniza
Developer
Lives here!
*****
Posts: 1342



WWW
« Reply #68 on: August 14, 2009, 12:50:25 pm »

When the user wants to create a non-as-common-as-a-plain-.dll-file (like .Plugin),
Notice that this was only *one* problem.

Even worse was if you tried to create a System.Management.DLL file. This did not work, too. And that's the one I was referring to at most. Because such misbehaviour is in fact not acceptable.

What was wrong with System.Management.DLL again? (I have forget only memory)
If I remember right, it was turned int "System.dll" .

Well... with an extension field you should not have that problem.

Output file name: System.Management (user input)
[ ] Use custom extension (unchecked)
Custom extension: dll (default shown, empty, previous value, ...)
Full output file name: System.Management.dll (read-only)
Full import lib file name: libSystem.Management.a (read-only)

Is it too bad an idea?
Logged
MortenMacFly
Administrator
Lives here!
*****
Posts: 4593



WWW
« Reply #69 on: August 14, 2009, 01:02:48 pm »

Output file name: System.Management (user input)
Right - I should have been more precise: It's a wx function that tricks us so you cannot distinguish by a base file name "System.Management" whether it has an extension or not. Cause wx will report "Management" as extension. So is than the extension you want or do you need to add another ".dll"? How do you differ? What happened in the past was than if I enabled  "auto ext" and put "System.Management" as file name it resulted not in System.Management.dll but in System.dll because we remove any existing extension before automatically adding the new one. If you don't do that a library called "system.dll" with "auto-ext" enabled would become "system.dll.dll" and again we surely will have complaints.

To make it short: If you see a way tat copes with all the cases correctly and looks "nice" - tell me or better just implement it. I just don't see any. All I did was at least making it functioning correctly because that has highest priority for me and not if the file names are "correct". Cause again: GCC handles the files just fine the way it is now.
Logged

Logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
Compiling help
Debugging help
Portable C::B
Ceniza
Developer
Lives here!
*****
Posts: 1342



WWW
« Reply #70 on: August 14, 2009, 01:10:34 pm »

Output file name: System.Management (user input)
Right - I should have been more precise: It's a wx function that tricks us so you cannot distinguish by a base file name "System.Management" whether it has an extension or not. Cause wx will report "Management" as extension. So is than the extension you want or do you need to add another ".dll"? How do you differ? What happened in the past was than if I enabled  "auto ext" and put "System.Management" as file name it resulted not in System.Management.dll but in System.dll because we remove any existing extension before automatically adding the new one. If you don't do that a library called "system.dll" with "auto-ext" enabled would become "system.dll.dll" and again we surely will have complaints.

To make it short: If you see a way tat copes with all the cases correctly and looks "nice" - tell me or better just implement it. I just don't see any. All I did was at least making it functioning correctly because that has highest priority for me and not if the file names are "correct". Cause again: GCC handles the files just fine the way it is now.

I am giving you a solution. It implies that you won't try to guess an extension at all. You read that field 'as is'. If the user has not selected an extension of his own, dll/so will be used by appending it to the base file name. If you want an extension of your own, then you check the checkbox and write the one you want. The result will be the base file name + . + the extension.
Logged
courage
Advanced newcomer
*
Posts: 48


« Reply #71 on: September 18, 2009, 04:34:55 am »

Hello, I have a bug report. Every time when I open the main frame window in wxSmith, and I see the ckecked menu item will now be set unchecked in the MenuBar editor.
« Last Edit: September 22, 2009, 10:09:23 am by courage » Logged
cgarcia109
Advanced newcomer
*
Posts: 24



« Reply #72 on: September 18, 2009, 03:13:10 pm »

*.dll.a

I didnt liked this too in the first place, but now i like it. Maybe its not de cool name youre used to, but its just a name, and i see some advatages it make clears is a stub lib to a dinamic link library, and differentiate(sp?) from a static lib, in the case you need to build both without making every library goes to a different place. What would make more complex configure dependants projects.
Actually i changed my mind and i like this way.
Logged
MortenMacFly
Administrator
Lives here!
*****
Posts: 4593



WWW
« Reply #73 on: September 18, 2009, 03:15:36 pm »

Actually i changed my mind and i like this way.
Thanks! You are the first saying so which makes me glad. I like it, too obviously. Wink
Logged

Logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
Compiling help
Debugging help
Portable C::B
Pages: 1 ... 3 4 [5]
  Send this topic  |  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!