Opened 10 years ago

Closed 8 years ago

#663 closed enhancement (fixed)

Rewritten Win32 launcher

Reported by: dolmen Owned by: Sewi
Priority: major Milestone:
Component: editor Version: trunk
Keywords: win32 launcher Cc:

Description

I completely rewrote the Win32 launcher.
Here are the features of the new launcher:

  • localisable with resource file
  • only kernel32 and user32 libraries used (no more shell32 and msvcrt could be bypassed too if I find the right gcc/ld flags)
  • quotes around Padre script path (to allow perl path containing spaces)
  • fixed the build script

Attachments (4)

compile_padre.bat (221 bytes) - added by dolmen 10 years ago.
Build script
padre-rc.h (465 bytes) - added by dolmen 10 years ago.
Resource ids
padre-rc.rc (997 bytes) - added by dolmen 10 years ago.
Resources, including french locale
padre.c (4.0 KB) - added by dolmen 10 years ago.
Main source

Download all attachments as: .zip

Change History (10)

Changed 10 years ago by dolmen

Build script

Changed 10 years ago by dolmen

Resource ids

Changed 10 years ago by dolmen

Resources, including french locale

Changed 10 years ago by dolmen

Main source

comment:1 Changed 10 years ago by azawawi

  • Owner set to azawawi
  • Status changed from new to assigned

Great work!
Do you have an account to commit it or shall i commit it?

comment:2 Changed 10 years ago by dolmen

Thanks.

I don't have a commit bit... yet. Of course your blessing may help.

comment:3 Changed 10 years ago by dolmen

Could you commit it, please?

comment:4 Changed 10 years ago by Sewi

  • Owner changed from azawawi to Sewi
  • Status changed from assigned to accepted

I compiled it and it seems to work - if placed in the wperl.exe - dir.

Could you change it to try both, $exe_dir\wperl.exe and C:\strawberry\perl\bin\wperl.exe and use the first one you find?

comment:5 Changed 10 years ago by dolmen

$exe_dir is already handled.

Hardcoding a path (C:\strawberry\perl\bin) is not a good thing to do. It will not be a solution for Portable Strawberry Perl and make Portable Perl issues less visible (as not seen by the dev team).

However looking for WPerl.exe in %PATH% as a fallback may be a idea.

comment:6 Changed 8 years ago by azawawi

  • Resolution set to fixed
  • Status changed from accepted to closed

Fixed in r11150

dolmen++ # for the great commit :)

Note: See TracTickets for help on using tickets.