Recent

Author Topic: Lazarus 0.9.30 released  (Read 176619 times)

Salvatore

  • Newbie
  • Posts: 5
Re: Lazarus 0.9.30 released
« Reply #75 on: April 01, 2011, 02:27:55 pm »
Look, ALL windows versions between 98 and win7 are listed, except WinXP, which is a most popular of them! It looks like a direct descrimination. :)

Windows ME is missing as well  :D
Windows ME
not a great loss!
I'm one of unlucky people that got it  >:(

Thanks to all of you, developpers, reporters etc.!

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 12107
  • FPC developer.
Re: Lazarus 0.9.30 released
« Reply #76 on: April 04, 2011, 11:53:18 am »
There were bugreports about this. Afaik it does not work, because the widestring manager uses options not in NT4. After some discussion it was decided to copy NT4 from the officially supported list.

However maybe this can be circumvented by having an own NT4 widestring manager.

See http://bugs.freepascal.org/view.php?id=18803
And you re-compile the fpc tools (and maybe even the compiler) with this NT4 widestring manager.

If they use widestrings. But afaik non do. Most use either (c)charset or none at all.

But that is regarded from the Unix side. There might be cases where win32 tools use widestring manager where they don't in Unix.

xenblaise

  • Sr. Member
  • ****
  • Posts: 358
Re: Lazarus 0.9.30 released
« Reply #77 on: April 05, 2011, 05:13:04 pm »
Lazarus kicks all the Languages, I told you before, this year?, Lazarus Lives at Top 10 most popular programming Language.
http://sourceforge.net/projects/lazarus/files/stats/timeline?dates=2011-01-01+to+2011-04-04

Go and spread that Lazarus lives and Rocks. :D

Leledumbo

  • Hero Member
  • *****
  • Posts: 8790
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: Lazarus 0.9.30 released
« Reply #78 on: April 05, 2011, 07:56:47 pm »
Quote
Lazarus kicks all the Languages, I told you before, this year?, Lazarus Lives at Top 10 most popular programming Language.
Correction: Lazarus is the IDE, FPC is the compiler, (Object / Modern) Pascal is the language 8)

xenblaise

  • Sr. Member
  • ****
  • Posts: 358
Re: Lazarus 0.9.30 released
« Reply #79 on: April 05, 2011, 09:06:53 pm »
detailed  :D

Vincent Snijders

  • Administrator
  • Hero Member
  • *
  • Posts: 2661
    • My Lazarus wiki user page
Re: Lazarus 0.9.30 released
« Reply #80 on: April 06, 2011, 11:16:18 am »
However maybe this can be circumvented by having an own NT4 widestring manager.

See http://bugs.freepascal.org/view.php?id=18803
And you re-compile the fpc tools (and maybe even the compiler) with this NT4 widestring manager.

If they use widestrings. But afaik non do. Most use either (c)charset or none at all.

But that is regarded from the Unix side. There might be cases where win32 tools use widestring manager where they don't in Unix.
FPCRES does use it. If doesn't use a correct widestring manager, it cannot build lazarus.

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 12107
  • FPC developer.
Re: Lazarus 0.9.30 released
« Reply #81 on: April 06, 2011, 03:57:29 pm »
Quote
 
But that is regarded from the Unix side. There might be cases where win32 tools use widestring manager where they don't in Unix.
FPCRES does use it. If doesn't use a correct widestring manager, it cannot build lazarus.

It seems coffreader/write and resreader/writer use widestrings. Probably because certain strings in windows resource/binary structures are unicode.

One could argue if this really should be done over the widestring manager, but as said, I'm not terribly interested in fixing this at all. And even less so for NT4 as development system. (and for non-development (running lazarus files only) target, the widestringmgr fix is enough).

I don't like the idea that the RTL becomes a minefield due to  support for totally outdated targets that only one or two people can actually test on.   If it is really, really necessary, they should split off to a separate target, so that, like dos, the legacy platforms don't hinder general windows RTL progress.

Edited: fixed quoting.
« Last Edit: April 13, 2011, 10:20:03 pm by marcov »

Jishaxe

  • Full Member
  • ***
  • Posts: 103
  • Hobbist Programmer
Re: Lazarus 0.9.30 released
« Reply #82 on: April 12, 2011, 10:27:02 pm »
Cool, if I install it can I still keep my configuration and installed components?
Linux Mint 12
Windows 7 Home Premium
______________________
Definition of programmer: An organism that converts caffeine into software.

fabienwang

  • Sr. Member
  • ****
  • Posts: 449
  • Lazarus is the best
    • My blog
Re: Lazarus 0.9.30 released
« Reply #83 on: April 12, 2011, 10:33:46 pm »
no you'll have to reinstall your components

By the way, about the lazarus 0.9.30 release,
is it planned to submit packages to repositories like Ubuntu Debian etc. ?

To submit it on Debian Testing repository (for the next Debian version),
http://mentors.debian.net/cgi-bin/welcome

:D

Thanks.
« Last Edit: April 12, 2011, 10:37:50 pm by FabienWang »
I'm using Arch Linux.
Known for: CPickSniff, OpenGrabby
Contributed to: LazPaint

Jishaxe

  • Full Member
  • ***
  • Posts: 103
  • Hobbist Programmer
Re: Lazarus 0.9.30 released
« Reply #84 on: April 12, 2011, 10:55:37 pm »
Quote
no you'll have to reinstall your components
Ah, okay cheers
Linux Mint 12
Windows 7 Home Premium
______________________
Definition of programmer: An organism that converts caffeine into software.

TurboRascal

  • Hero Member
  • *****
  • Posts: 672
  • "Good sysadmin. Bad programmer."™
Re: Lazarus 0.9.30 released
« Reply #85 on: April 13, 2011, 01:51:15 pm »
Hum and what about the LCL win32/64 Jurassic look ?
No plan to have it more XXI millennium like ?

Huh?
Are you saying that your LCL apps look as in windoze <= 2000? LCL by default uses newer controls if available, not the "jurassic" ones...

Do you have XP Manifest option enabled for your projects? It should be checked by default...

Or are you referring to the few new components introduced by Vista?
Regards, ArNy the Turbo Rascal
-
"The secret is to give them what they need, not what they want." - Scotty, STTNG:Relics

Fred vS

  • Hero Member
  • *****
  • Posts: 3500
    • StrumPract is the musicians best friend
Re: Lazarus 0.9.30 released
« Reply #86 on: April 13, 2011, 08:31:57 pm »
@TurboRascal.

Hello  ::)

Quote
Hum and what about the LCL win32/64 Jurassic look ?

In fact there are 2 objects i do not find very fine in Windows :

-ScrollBars.
-Trackbars.

See pictures : Linux GTK2 are good, Windows not too nice...

Quote
Do you have XP Manifest option enabled for your projects?

What that XP Manifest ? I do not understand  %)

Quote
Or are you referring to the few new components introduced by Vista?

Not really, but if it is possible to have trackbars-scrollbars with that look, why not...

By the way, thanks for the answer.  :)
« Last Edit: April 13, 2011, 08:57:45 pm by fredvs »
I use Lazarus 2.2.0 32/64 and FPC 3.2.2 32/64 on Debian 11 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt.

https://github.com/fredvs
https://gitlab.com/fredvs
https://codeberg.org/fredvs

TurboRascal

  • Hero Member
  • *****
  • Posts: 672
  • "Good sysadmin. Bad programmer."™
Re: Lazarus 0.9.30 released
« Reply #87 on: April 13, 2011, 10:14:43 pm »
What that XP Manifest ? I do not understand  %)
...
... but if it is possible to have trackbars-scrollbars with that look, why not...

By the way, thanks for the answer.  :)

You're quite welcome ;)

The so called "XP Manifest" is a thingy that makes programs use comctrls 6 which introduced more "modern looking" GUI widgets. Lazarus should do that by default, but you can check it under Project Options / Application (the very first item), the option is named Use Manifest File... and it should be checked.

However, on your Win32 screenshot the trackbars do look ancient... What components did you use exactly?
Regards, ArNy the Turbo Rascal
-
"The secret is to give them what they need, not what they want." - Scotty, STTNG:Relics

Fred vS

  • Hero Member
  • *****
  • Posts: 3500
    • StrumPract is the musicians best friend
Re: Lazarus 0.9.30 released
« Reply #88 on: April 14, 2011, 12:50:52 pm »
@ TurboRascal.

Thank-you for your answer.  :)

Code: [Select]
What components did you use exactly?
I use TTrackBar...

Code: [Select]
XP Manifest
Indeed, the components are more up-to-date (but trackbar is nearly the same).

But..., could you try this code in Windows 7 ?

Code: [Select]
unit Unit1;

{$mode objfpc}{$H+}

interface

uses

 Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls;

type

  { TForm1 }

  TForm1 = class(TForm)

  procedure FormCreate(Sender: TObject);

  private

    { private declarations }

  public

    { public declarations }

  end;

var

  Form1: TForm1;

implementation

{$R *.lfm}

{ TForm1 }

procedure TForm1.FormCreate(Sender: TObject);

begin

  if DirectoryExists(pchar('C:\Program Files\test')) then else

       ForceDirectories(pchar('C:\Program Files\test'));

   if DirectoryExists(pchar('C:\Program Files\test')) then

   MessageDlg('\test\ exists...'  ,mtInformation, [mbYes], 0)

   else MessageDlg('\test\ do not exist...'  ,mtWarning, [mbYes], 0) ;

 if DirectoryExists(pchar('C:\Program Files\test')) then

 removedir(pchar('C:\Program Files\test')) ;

   end;
         end;
end.

In Windows 7
First try to compile without Manifest enabled.
You should get message \test\ exists...
Now compile it with Manifest : the directory is not created and you get \test\ do NOT exist !

The new policy of Microsoft redirects all files created in C:\Program Files to
C:\Users\your_user_name\AppData\Local\VirtualStore\Program Files\

It seems that Manifest do not care about that... :'(
« Last Edit: April 14, 2011, 12:54:12 pm by fredvs »
I use Lazarus 2.2.0 32/64 and FPC 3.2.2 32/64 on Debian 11 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt.

https://github.com/fredvs
https://gitlab.com/fredvs
https://codeberg.org/fredvs

TurboRascal

  • Hero Member
  • *****
  • Posts: 672
  • "Good sysadmin. Bad programmer."™
Re: Lazarus 0.9.30 released
« Reply #89 on: April 15, 2011, 12:49:47 am »
In Windows 7
First try to compile without Manifest enabled.
You should get message \test\ exists...
Now compile it with Manifest : the directory is not created and you get \test\ do NOT exist !

The new policy of Microsoft redirects all files created in C:\Program Files to
C:\Users\your_user_name\AppData\Local\VirtualStore\Program Files\

It seems that Manifest do not care about that... :'(

I don't know much about win7, but I think that is what happens when an ordinary user tries to write to \Program Files  which is a system directory to which only an administrator i.e. user with elevated rights can write. You should not access the directory by hardcoding the path anyway - that would create problems for the non-English windows users which have that directory named according to their language. You should get the environment variable 'ProgramFiles' which will point you to the right directory.

And, I don't understand what has manifest file to do with this?  ::)
Regards, ArNy the Turbo Rascal
-
"The secret is to give them what they need, not what they want." - Scotty, STTNG:Relics

 

TinyPortal © 2005-2018