PureBasic 4.10 beta 1 (Windows) released!

Ankündigungen PureBasic oder die Community betreffend.
freak
PureBasic Team
Beiträge: 766
Registriert: 29.08.2004 00:20
Wohnort: Stuttgart

PureBasic 4.10 beta 1 (Windows) released!

Beitrag von freak »

Tag zusammen,

Das Warten hat ein Ende: Ab sofort gibt es die erste Beta für 4.10 auf eurem
Download-Account zum runterladen!
http://www.purebasic.com/securedownload ... anguage=DE

Engl. Disskussion:
http://www.purebasic.fr/english/viewtop ... 267#197267

Die Liste der Änderungen gibt es hier:

Code: Alles auswählen

Vista compatibility:
--------------------

 - The PureBasic package is fully compatible with UAC
 - All tools except the setup and SmartUpdate work also for limited users
 - Vista is added to OSVersion()

Note: The Sprite&Screen packages still work with DX7, which means that it is a bit slow
      on Vista and OpenWindowedScreen() will disable the glass skin. The work to update all this
      to DX9 is in progress, but it will not be finished for 4.10.
      This will be done in the 4.20 release.

Libraries:
----------
 - lots of bugs fixed (see the bugs forum for more info)

 - added TruncateFile() for file lib
 - added #PB_OS_Windows_Vista and #PB_OS_Windows_Server_2008 for OSVersion()
 - changed the module replayer with 'ModPlug' so it can be used in any applications

 - added brand new XML library
 - added brand new Drag & Drop library

 - added scintilla library (dll version):
      InitScintilla(DllFile$) - load the scintilla dll
      ScintillaGadget(#Gadget, x, y, Width, Height, Flags, Callback)
      ScintillaSendMessage(#Gadget, Message, Param1, Param2)

      Callback format:
      Procedure ScintillaCallBack(EditorWindow.l, EditorGadget.l, *scinotify.SCNotification, lParam.l)
      EndProcedure


 - added: Lots of new Stuff for the WebGadget
      SetGadgetItemText(#Web, #PB_Web_HtmlCode, Code$) - stream new code into the gadget
      GetGadgetItemText(#Web, #PB_Web_HtmlCode)        - get all code inside the gadget
      GetGadgetItemText(#Web, #PB_Web_PageTitle)       - get title string for the currently displayed page
      GetGadgetItemText(#Web, #PB_Web_StatusMessage)   - get the current message for the browser statusbar
      GetGadgetItemText(#Web, #PB_Web_SelectedText)    - get all currently selected text

    New EventType() values for the WebGadget
      #PB_EventType_TitleChange       ; page title changed
      #PB_EventType_StatusChange      ; statusbar message changed
      #PB_EventType_PopupWindow       ; a popup was blocked (only if popups are blocked)
      #PB_EventType_DownloadStart     ; loading a page started
      #PB_EventType_DownloadProgress  ; loading progress changed (see Progress, ProgressMax below)
      #PB_EventType_DownloadEnd       ; loading finished (or aborted)
      #PB_EventType_PopupMenu         ; the popup menu is requested (only if the IE menu is blocked)

    For Get/SetGadgetAttribute():
      #PB_Web_BlockPopups        ; block popup windows
      #PB_Web_BlockPopupMenu     ; block IE menu (the above event is fired to allow a custom menu)
      #PB_Web_NavigationCallback ; set a callback to trace (and prevent) navigation (See example)
      #PB_Web_Progress           ; at a DownloadProgress event, get the downloaded data (readonly) may be 0 if unknown
      #PB_Web_ProgressMax        ; at a DownloadProgress event, get the total size (readonly) may be 0 if unknown
      #PB_Web_Busy               ; check if the Gadget is busy loading/rendering (readonly)
      #PB_Web_ScrollX            ; get/set the X scroll position
      #PB_Web_ScrollY            ; get/set the Y scroll position


IDE changes:
------------

Important changes:
 - For Vista compatibility nothing is written in the PureBasic dir anymore
 - The temporary exe is placed in the Windows temp dir
 - The Preferences location was moved to %App Data%\PureBasic\ for all preferences
   NOTE: This cann still be changed with the /P, /A, /T commandline switches to specify different
         locations for the preferences files.
 - New commandline switch /PORTABLE which puts all preferences in the PureBasic dir (as before),
   and disables the creation of the .pb extension for USB sticks and such.


Compiler Options:
 - added new tab with settings for Compile/Run:
    - the debugger type can be chosen for an individual program
    - the current directory for executing the program can be chosen
    - the temporary exe can be created in the source directory
    - external tools can be enabled on a per-program basis (if the option is enabled in the tools config)

 - added tab for compiler constants:
    - special editor constants for build counting
    - custom constants can be defined, even by using environment variables

 - improved "Run" command by keeping all compiled sources ready
 - added ADMIN and USER mode for Vista (to request admin priviledges or disable virtualisation)

 - new pipe based IDE->Compiler communication. (documented in the Library SDK)


Coloring:
 - improved color management: (individual color settings can be disabled)
 - new colors to hilight matching/mismatching braces
 - optional color for procedure backgrounds
 - New color for "custom keywords" to color Preprocessor/Macro packages

AutoComplete:
 - The shortcut to insert a word can now be customized (Shortcut options)
   NOTE: The default is now TAB, so if you are used to the ENTER key, just change it back
 - various improvements of the autocomplete handling

Misc:
 - The font & color for the Toolspanel can be disabled
 - A custom font for the Debug Output window can be specified 
Viel Spaß mit diesem Update,

Das PureBasic Team
Benutzeravatar
Kiffi
Beiträge: 10711
Registriert: 08.09.2004 08:21
Wohnort: Amphibios 9

Beitrag von Kiffi »

Hört sich seeehr interessant an!

Bild

Grüße ... Kiffi
a²+b²=mc²
Benutzeravatar
Falko
Admin
Beiträge: 3535
Registriert: 29.08.2004 11:27
Computerausstattung: PC: MSI-Z590-GC; 32GB-DDR4, ICore9; 2TB M2 + 2x3TB-SATA2 HDD; Intel ICore9 @ 3600MHZ (Win11 Pro. 64-Bit),
Acer Aspire E15 (Win11 Home X64). Purebasic LTS 6.11b1
HP255G8 Notebook @AMD Ryzen 5 5500U with Radeon Graphics 2.10 GHz 3.4GHz, 32GB_RAM, 3TB_SSD (Win11 Pro 64-Bit)
Kontaktdaten:

Beitrag von Falko »

@Kiffi,
das denke ich auch. :allright:

Gruß Falko
Bild
Win11 Pro 64-Bit, PB_6.11b1
Benutzeravatar
hardfalcon
Beiträge: 3447
Registriert: 29.08.2004 20:46

Beitrag von hardfalcon »

Ironie des Schicksals: Vor ca 8 Stunden hab ich Vista wieder runtergeschmissen und XP draufgemacht... :lol:

Aber das is echt ma interessant. Keep on rockin'! :allright:

//EDIT: Zumindest in der deutschen Hilfe fehlen, abgesehen von der XML-Lib, die ganzen Neuerungen noch, glaube ich...

//EDIT2: Ich weiss nicht, wie die anderen hier das sehen, aber vielleicht wäre es ganz praktisch, wenn man das "Startverzeichnis" für die 2 Requester "Datei öffnen" und "Speichern als" einstellen könnte...
Was das "Nicht-Mehr-Ins-PureBasic-Verzeichnis-Schreiben" angeht: Es wäre ganz praktisch, wenn man den Examples-Ordner auch "auslagern" könnte (z.B. werden die Einstellungen des 3DPreferencesRequesters ja auch in den gleichen Ordner gespeichert, sprich geschrieben), und das neue Examples-Verzeichnis dann als vordefinierte Konstante zur Verfügung hätte. So könnte man Codes, die die Dateien im Examples-Ordner verwenden, viel einfacher und schneller testen, weil man nicht mehr zuerst alle Dateien zusammenkopieren und in den passenden Unterordner kopieren muss...
//EDIT3: Die Beschreibung zur Drag&Drop-Library hab ich wohl übersehen gehabt, die is in der Hilfe ja auch dazugekommen... :allright:
Zuletzt geändert von hardfalcon am 01.06.2007 00:38, insgesamt 4-mal geändert.
Benutzeravatar
ts-soft
Beiträge: 22292
Registriert: 08.09.2004 00:57
Computerausstattung: Mainboard: MSI 970A-G43
CPU: AMD FX-6300 Six-Core Processor
GraKa: GeForce GTX 750 Ti, 2 GB
Memory: 16 GB DDR3-1600 - Dual Channel
Wohnort: Berlin

Beitrag von ts-soft »

hardfalcon hat geschrieben:Ironie des Schicksals: Vor ca 8 Stunden hab ich Vista wieder runtergeschmissen und XP draufgemacht... :lol:
PureBasic funktioniert trotzdem :mrgreen:

:allright:
Die neuen Funktionen kann ich gut gebrauchen (muß ich doch xml lernen :mrgreen: )
PureBasic 5.73 LTS | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Nutella hat nur sehr wenig Vitamine. Deswegen muss man davon relativ viel essen.
Bild
Benutzeravatar
rolaf
Beiträge: 3843
Registriert: 10.03.2005 14:01

Beitrag von rolaf »

Wow - hört sich gut an.
Dank an das fleißige Team. :allright:
:::: WIN 10 :: PB 5.73 :: (x64) ::::
Benutzeravatar
RSBasic
Admin
Beiträge: 8047
Registriert: 05.10.2006 18:55
Wohnort: Gernsbach
Kontaktdaten:

Beitrag von RSBasic »

Bild
Aus privaten Gründen habe ich leider nicht mehr so viel Zeit wie früher. Bitte habt Verständnis dafür.
Bild
Bild
Benutzeravatar
AND51
Beiträge: 5220
Registriert: 01.10.2005 13:15

Beitrag von AND51 »

Hab zwar nicht so ein schickes Simley wie Kiffi, aber gratuliere trotzdem... Juhuuuuu!
Auf geht's! :allright:
PB 4.30

Code: Alles auswählen

Macro Happy
 ;-)
EndMacro

Happy End
Kaeru Gaman
Beiträge: 17389
Registriert: 10.11.2004 03:22

Beitrag von Kaeru Gaman »

Klasse, vielen Dank!

...bevor ich mir weitergehende probleme aufhalse:

wenn ich die Beta jetzt zusätzlich in ein neues verzeichnis installiere,
wie kann ich verhindern, dass die .pb files mit der beta assoziiert werden?
ich möchte weiterhin die 4.02 geöffnet bekommen bei doppelklick auf .pb im explorer...
Der Narr denkt er sei ein weiser Mann.
Der Weise weiß, dass er ein Narr ist.
Benutzeravatar
Kiffi
Beiträge: 10711
Registriert: 08.09.2004 08:21
Wohnort: Amphibios 9

Beitrag von Kiffi »

Kaeru Gaman hat geschrieben:wie kann ich verhindern, dass die .pb files mit der beta assoziiert werden?
ich benutze die IDE zwar nicht, aber so wie ich das verstanden habe, reicht
es aus, die IDE der 4.02 einmal manuell zu starten. Dann sollte der Pfad in
der Registry wieder stimmen. PB 4.1 sollte dann nur noch mit dem Parameter
/NOEXT gestartet werden.
freak hat geschrieben:Man kan auch eine Verknüpfung mit der PureBasic.exe erstellen und die
option /NOEXT als parameter übergeben, dann wird die *.pb Dateiendung
nicht beim Start mit der IDE verknüpft.
Grüße ... Kiffi
a²+b²=mc²
Antworten