Author Topic: The 25 october 2006 build is out.  (Read 32154 times)

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: The 25 october 2006 build is out.
« Reply #15 on: October 26, 2006, 06:44:18 pm »
That's like stopping to use apache for http-server because in-development svn-version crashed, after you tried to mix some of it's sources with some older ones.
Lol, that's a quote I'll have to remember  :D
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

Offline stahta01

  • Lives here!
  • ****
  • Posts: 6789
    • My Best Post
Re: The 25 october 2006 build is out.
« Reply #16 on: October 26, 2006, 07:05:02 pm »
But you should not tell me that it's not a bug, just expected behaviour.
Ok- tell me an algorithm to read your mind what encoding (out of several dozen) you'd like to have for your files and I'll implement it.
With regards, Morten.

Morten:
Please share the code to implement the algorithm when you get it. I have needed this many times in the past but never found a good(or bad) implementation of the function readMind. I have been told it a short coming of mine that I can't read people minds. But, I was always afraid of garbage in / garbage out problem that would most likely happen with the function readMind. So, remember to support mind reading filters with your implementation.

Tim S
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline branleb

  • Multiple posting newcomer
  • *
  • Posts: 16
Re: The 25 october 2006 build is out.
« Reply #17 on: October 26, 2006, 07:20:58 pm »
May it would help if you set the default encoding to UTF-8 or UTF-16/32 ??
If this is would be an error, please explain me why.


Shade37337->greetz()
Don't hate the Hacker. Hate the Code!

Offline stahta01

  • Lives here!
  • ****
  • Posts: 6789
    • My Best Post
Re: The 25 october 2006 build is out.
« Reply #18 on: October 26, 2006, 07:35:56 pm »
May it would help if you set the default encoding to UTF-8 or UTF-16/32 ??
If this is would be an error, please explain me why.


Shade37337->greetz()

I would vote for the default of UTF-8. Window XP User thinking about using D as in gdc compiler.

Tim S
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9529
Re: The 25 october 2006 build is out.
« Reply #19 on: October 26, 2006, 07:40:56 pm »
If this is would be an error, please explain me why.
This wouldn't really be an error, but the "default" is still ANSI somehow. I don't know compilers that have Unicode in their language syntax (not in comments). In addition Unicode is not backward compatible. So the question is: Can the compiler read this (not really the case for UTF-8 though...)? Anyway: I'd like to note two things:
- it can be setup in the options (which is of great help)
- we are already working on a concept/framework for an encoding detector... if what I have in mind will work it will even be "revolutionary"... ;-)

With regards, Morten.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9529
Re: The 25 october 2006 build is out.
« Reply #20 on: October 26, 2006, 07:43:54 pm »
Please share the code to implement the algorithm when you get it.
*lol* :lol:
BTW: For some people it is as simple as that:
Code: [Select]
thoughts * readMind()
{
  return NULL;
}
Luckily they are not in our forum... ;-)
With regards, Morten.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ

Offline ramguru

  • Single posting newcomer
  • *
  • Posts: 8
Re: The 25 october 2006 build is out.
« Reply #21 on: October 26, 2006, 07:45:42 pm »
That's like stopping to use apache for http-server because in-development svn-version crashed, after you tried to mix some of it's sources with some older ones.
The greatest thing about this project is that it's based on custom edit control scintilla (best so far). Huh, not much left to implement. However, what I can least expect from such scintilla-based IDE are: good and handy docking system (well, you have one), superb file handling: saving & opening (these are "atom" operations to any text editor & simple to implement) the part that you failed to implement correctly. Any combination of encoding & input shouldn't lead to file-clearing that's why don't respect this project anymore!

MortenMacFly, you need more technical knowledge - any compiler CAN read UTF-8, because it's almost ANSI!!!!!!!!
« Last Edit: October 26, 2006, 08:10:04 pm by ramguru »

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9529
Re: The 25 october 2006 build is out.
« Reply #22 on: October 26, 2006, 07:53:12 pm »
MortenMacFly, you need more technical knowledge - any compiler CAN read UTF-8, because it's almost ANSI!!!!!!!!
Can the compiler read this (not really the case for UTF-8 though...)?
-no further comment-
With regards, Morten.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: The 25 october 2006 build is out.
« Reply #23 on: October 26, 2006, 07:55:31 pm »
MortenMacFly, you need more technical knowledge - any compiler CAN read UTF-8, because it's almost ANSI!!!!!!!!
Let He Who Is Without Sin Cast The First Stone.
John 8:7

Your claim is only true for keywords and operators, but not for variable names or character constants, therefore not every compiler can read UTF-8.
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

Offline bnilsson

  • Almost regular
  • **
  • Posts: 184
Re: The 25 october 2006 build is out.
« Reply #24 on: October 26, 2006, 07:57:28 pm »
Any news on a fix for the wxFNB tab problem for Mac?
No tabs on 3146 as far as I can see.
-- Ingnorance should not be taken for stupidity --

HW: PowerMac Dual PowerPC G5 2.3Ghz, 1GB RAM OS: MacOSX 10.4.10 Compiler: powerpc-apple-darwin8-gcc-4.0.1

Offline ramguru

  • Single posting newcomer
  • *
  • Posts: 8
Re: The 25 october 2006 build is out.
« Reply #25 on: October 26, 2006, 08:00:11 pm »
sorry MortenMacFly missed a few words in your vague statement....

Offline afb

  • Developer
  • Lives here!
  • *****
  • Posts: 884
Re: The 25 october 2006 build is out.
« Reply #26 on: October 26, 2006, 08:07:53 pm »
Any news on a fix for the wxFNB tab problem for Mac?
No tabs on 3146 as far as I can see.

You need to apply the patch, from wxFlatNotebook's SF project page.

Packaged for C::B here, posted the link on the Wiki page earlier:
http://www.algonet.se/~afb/wx/codeblocks-wxflatnotebook.patch

There is a redraw/refresh bug now, but it seems to mostly be
affecting the contents - the actual tabs should show up OK ?

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4291
    • Code::Blocks IDE
Re: The 25 october 2006 build is out.
« Reply #27 on: October 26, 2006, 08:22:08 pm »
However, what I can least expect from such scintilla-based IDE are: good and handy docking system (well, you have one), superb file handling: saving & opening (these are "atom" operations to any text editor & simple to implement) the part that you failed to implement correctly. Any combination of encoding & input shouldn't lead to file-clearing that's why don't respect this project anymore!

Thanks for helping us (idiots) out then.
Oh, and thanks for your kind words...

Bye-bye now and go have fun elsewhere.
Be patient!
This bug will be fixed soon...

Offline ramguru

  • Single posting newcomer
  • *
  • Posts: 8
Re: The 25 october 2006 build is out.
« Reply #28 on: October 26, 2006, 08:27:21 pm »

Thanks for helping us (idiots) out then.
Oh, and thanks for your kind words...

Bye-bye now and go have fun elsewhere.
After posting such reply you really look like one...no offence

Offline BCCISProf

  • Multiple posting newcomer
  • *
  • Posts: 60
    • Professor Langsam's Home Page
Re: The 25 october 2006 build is out.
« Reply #29 on: October 26, 2006, 08:55:24 pm »
Not that Mandrav and the rest of the Codeblocks development team need my defense, but let me state that I have found the team to be extremely responsive  and very helpful when I (and others) have had any questions or comments.

Codeblocks is an excellent system and we are recommending it to students at our college for use as their development environment.

Good work and I (we) all look forward to its continued enhancement.
« Last Edit: October 26, 2006, 08:59:06 pm by BCCISProf »