Author Topic: Anyone using CVS version? Testers needed...  (Read 18028 times)

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Anyone using CVS version? Testers needed...
« on: February 13, 2005, 11:57:47 pm »
Hi guys.

Some great new features have made it in the CVS version of codeblocks and I need some more people testing them (especially one specific feature, noted below).

Major updates are:
  • Editor color theme is now configured completely (yes, even the editor's background  :)  )
  • Support for unlimited, user-defined, editor color themes.
  • Import/export codeblocks configuration from/to text file (import not implemented yet). Available for all the configuration settings, or parts of them (user-selectable)
  • Libraries used for linking got separated from other linker options (mostly interested here)
  • Project file format changed subtly because of the last point, but conversion is handled automatically on first-time open of older projects[/list:u]
    Feedback is welcome for all of the above, but I am mostly interested for feedback on the linking libraries handling. The reason is that any bug/mistake with this, can break the build system and we don't want that, do we?  8)
    As a sidenote: keep a backup of your project files first. Better be safe than sorry ;)

    Thanks,
    Yiannis.
Be patient!
This bug will be fixed soon...

Offline hd

  • Multiple posting newcomer
  • *
  • Posts: 45
    • http://www.dynaset.org/dogusanh
Anyone using CVS version? Testers needed...
« Reply #1 on: February 14, 2005, 02:19:54 pm »
Hi Yiannis,

Yes I'm using CVS version.

(And You didn't commit compilerDMC yet ;-))

Though I saw the changes about seperating res from linker objects.

I'll look closely about mentioned "Major updates".

--
Regards,
Hakki Dogusan

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Anyone using CVS version? Testers needed...
« Reply #2 on: February 14, 2005, 02:55:01 pm »
Hey Hakki,

What a coincidence! Just seconds ago, I sent you a mail talking about the brand new DigitalMars support (thanks to you)!

Yiannis.
Be patient!
This bug will be fixed soon...

Offline hd

  • Multiple posting newcomer
  • *
  • Posts: 45
    • http://www.dynaset.org/dogusanh
Anyone using CVS version? Testers needed...
« Reply #3 on: February 14, 2005, 10:38:47 pm »
Hi Yiannis,

Thanks for accepting my tiny contribution.

Following is my current DMC switches:

    m_Commands[(int)ctCompileObjectCmd] = "$compiler -mn -c $options $includes -o$object $file";
    m_Commands[(int)ctCompileResourceCmd] = "$rescomp -32 $options -I$res_includes -o$resource_output $file";
    m_Commands[(int)ctLinkExeCmd] = "$linker /NOLOGO /subsystem:windows -WA $link_options $link_objects, $exe_output, , $libs, , $link_resobjects";
    m_Commands[(int)ctLinkConsoleExeCmd] = "$linker /NOLOGO $link_options $link_objects, $exe_output, , $libs";
    m_Commands[(int)ctLinkDynamicCmd] = "$linker /NOLOGO /subsystem:windows -WD $link_options $link_objects, $exe_output, , $libs, , $link_resobjects";
    m_Commands[(int)ctLinkStaticCmd] = "lib $static_output /C $link_options , $link_objects";


- I think we need $res_options variable
- Where do I enter $res_includes values?
- I successfully compiled console, win targets
- I'll work on for the others (wx targets compiles but not links:

C:\wx25\lib\dmc_lib\wxmsw25.lib(crashrpt)
 Error 42: Symbol Undefined ?wxGlobalSEInformation@@3PAU_EXCEPTION_POINTERS@@A (_EXCEPTION_POINTERS *wxGlobalSEInformation)
C:\wx25\lib\dmc_lib\wxtiff.lib(tif_print)
 Error 42: Symbol Undefined _TIFFGetTagListEntry
C:\wx25\lib\dmc_lib\wxtiff.lib(tif_print)
 Error 42: Symbol Undefined _TIFFGetTagListCount

I think it is not related about IDE settings.

I'll work on these..


--
Regards,
Hakki Dogusan

Offline hd

  • Multiple posting newcomer
  • *
  • Posts: 45
    • http://www.dynaset.org/dogusanh
Anyone using CVS version? Testers needed...
« Reply #4 on: February 14, 2005, 11:28:30 pm »
Hi, me again :)

Please change settings for static lib with the following:

    m_Commands[(int)ctLinkStaticCmd] = "lib $link_options $static_output $link_objects";


DMC happily compiles "$static_output.lib" with this settings ;-))

We need $static_output value replacement...

--
Regards,
Hakki Dogusan

ps: You want to see Code::Blocks in action ? Here it is :)

Project   : DMC
Compiler  : Digital Mars Compiler (called directly)
Directory : C:\a_C\cbdmc\
--------------------------------------------------------------------------------
Switching to target: staticlib
dmc.exe -mn -c       -o".objs\\sayhello.obj" "sayhello.cpp"
lib    -c -n -p32 $static_output ".objs\\sayhello.obj"
Digital Mars Librarian Version 8.00n
Copyright (C) Digital Mars 2000-2002 All Rights Reserved www.digitalmars.com
Digital Mars Librarian complete.  
Process terminated with status 0 (0 minutes, 0 seconds)
0 errors, 0 warnings

Offline hd

  • Multiple posting newcomer
  • *
  • Posts: 45
    • http://www.dynaset.org/dogusanh
Anyone using CVS version? Testers needed...
« Reply #5 on: February 14, 2005, 11:53:27 pm »
Sorry it was my mistake!

This works:
m_Commands[(int)ctLinkStaticCmd] = "lib $link_options $exe_output $link_objects";

Project   : DMC
Compiler  : Digital Mars Compiler (called directly)
Directory : C:\a_C\cbdmc\
--------------------------------------------------------------------------------
Switching to target: staticlib
dmc.exe -mn -c       -o".objs\\sayhello.obj" "sayhello.cpp"
lib    -c -n -p32 "dmc_static.lib" ".objs\\sayhello.obj"
Digital Mars Librarian Version 8.00n
Copyright (C) Digital Mars 2000-2002 All Rights Reserved www.digitalmars.com
Digital Mars Librarian complete.  
Process terminated with status 0 (0 minutes, 0 seconds)
0 errors, 0 warnings
 

--
Regards,
Hakki Dogusan

Anonymous

  • Guest
Anyone using CVS version? Testers needed...
« Reply #6 on: February 15, 2005, 10:48:17 pm »
> Editor color theme is now configured completely (yes, even the editor's background Smile )
How can I change background color for editor ?
When I change background color for "default", only backround under text is changed. It will be good also to have possibility to change foregroun color for all items.
For example I prefer black color for background, but then I can not see lot of thinks, becouse foreground color is also black and I can not change it.

Regards
AK

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Anyone using CVS version? Testers needed...
« Reply #7 on: February 15, 2005, 11:46:32 pm »
You 're right, I forgot to add that it would be a good idea to clear the configuration first. To achieve this, launch CB with the cmd line switch "--clear-configuration". This will make CB like it was just installed.

Yiannis.
Be patient!
This bug will be fixed soon...

mike

  • Guest
Anyone using CVS version? Testers needed...
« Reply #8 on: February 16, 2005, 09:31:04 am »
About compilers - is there a way to provide a regex for errors/warnings? Different compilers do them differently (say, file name and line separation, some also have character number), and I guess this is the reason I don't see many in the "Compiler messages" tab.

mike

  • Guest
Anyone using CVS version? Testers needed...
« Reply #9 on: February 16, 2005, 09:31:29 am »
P.S. Lint can also be seen as a compiler :-)

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Anyone using CVS version? Testers needed...
« Reply #10 on: February 16, 2005, 10:22:09 am »
Each supported compiler already works with regexes for the errors/warning parsing.
Are you talking about user-defined regexes?

Yiannis.
Be patient!
This bug will be fixed soon...

Anonymous

  • Guest
Anyone using CVS version? Testers needed...
« Reply #11 on: February 21, 2005, 03:23:29 am »
I built the CVS version but no resource file (.res) is linked in?

mike

  • Guest
Anyone using CVS version? Testers needed...
« Reply #12 on: February 21, 2005, 10:09:42 am »
Quote
Are you talking about user-defined regexes?


Not really, but I just noyiced that most of the warnings do not appear on the "Compiler messages" tab, though get colourised on "Compiler" tab (if I remember the names correctly - I don't have C::B at work).

mike

  • Guest
Anyone using CVS version? Testers needed...
« Reply #13 on: February 21, 2005, 10:10:11 am »
noyiced = noticed :-)