Page 1 of 3 123 LastLast
Results 1 to 25 of 69

Thread: SCAR Divi 3.25 Final

  1. #1
    Join Date
    Feb 2006
    Location
    Belgium
    Posts
    3,137
    Mentioned
    3 Post(s)
    Quoted
    5 Post(s)

    Default SCAR Divi 3.25 Final

    SCAR Divi 3.25 Final has been released! It's been though a very long development process, easily 75% of the application has been rewritten from scratch. But it has certainly been for the best. It is a lot more stable and powerful than any of the previous versions and I've tried to maintain backwards compatibility as much as I possibly could. 99.9% of all scripts that work with SCAR 3.22 should still work with 3.25 possibly with minor changes.

    SCAR Divi now has it's own community as Freddy1990.com got a bit cluttered. You can now find SCAR at http://www.scar-divi.com/ and the forums at http://forums.scar-divi.com/

    You will find a small screenshot summary of some the features in 3.25 on the main page.

    I'd also like to thank Janilabo, IceFire908, Timer, Naum, BL172 and ti.teg.tnod.i for all of their help testing during development. (Let me know if I forgot you )

    The changelog:
    Code:
    SCAR Divi 3.25:
    ---------------
    
    Improvements:
     - Ported to Delphi 2010
     - Internal restructuring
     - Cleaned unused code
     - Brand new settings management
     - Increased starting and closing speeds
     - Debug/report are now in 2 tabs
     - New icons
     - New options dialog
     - New goto-line dialog
     - Overhauled main interface
     - New "single window system"
     - New resource management
     - New scriptengine front-end
     - New debug watches
     - New visual component library supporting Vista/7 features and lots of new stuff
     - GetFiles/GetFolders no longer pass trough the filewall
     - Pause gets in-editor hotkey Ctrl+F6
     - Replaced client transparency buttons with spinedit
     - DeleteINI will now remove the INI file when called with an empty section
     - DTM Editor now has scrollbars
     - Bitmap to string conversion is now virtually instantanious
     - New form designer
     - Delete now supports arrays next to strings
     - "Save screenshot" can now also save png images (optional)
     - Files of all types can now be dropped onto SCAR
     - New about dialog
     - New FindColorSpiral(Tolerance) functions
     - New firewall
     - LoadChars2 returns -1 when the fonts folder does not exist
    
    Bugfixes:
     - Bug in the tab system that caused errors
     - Fixed LoadCharsFromFont2 for Windows Vista and Windows 7
     - Bug in MakeWindowTransparent
     - Print function's font
     - Dividing of ints with the / operator now returns a floating point value
     - Bug in the script resource cleanup for fonts
     - Memory leak in the firewall dialog
     - The editor is refreshed properly when pasting now
     - Replace all didn't register in the undo queue and didn't set the script to modified
     - Memory leak in OpenWebPage
     - Memory leak in PostHTTPPage
     - Memory leak in PostHTTPPageEx
     - Run to line works again
     - Pausing shows the paused location properly
     - ThreadSafeCall and CallProc now return data from variable parameters in the variantarray
     - GetBitmapDc returned an incorrect handle
     - Fixed IsFontSmoothingEnabled for Windows Vista and Windows 7
     - The default client, colorpicker, dtm editor and more didn't function with special monitor setups
     - You could use WriteIni to write to undefined sections/keys
    
    Removed:
     - Fontset constants
     - Fontsets
     - Preview
     - Projects
     - Excessive toolbar buttons
     - Script properties
     - Events viewer
     - SCARClosing is no longer supported by the plugin system
     - TNxMultiButtonEdit
     - Filewall
    
    Additions:
     - Compiler define "SCAR325_UP" (Will remain in all next versions)
     - rs_LoadUpChars
     - A print dialog with printing options
     - Short-circuit boolean evaluation
     - Editor settings (Word wrap, cursor past EOL and cursor past EOF)
     - Selection of a working directory to save scripts and such
     - Commandline processor
     - Breakpoints
     - Variables display
     - Close all other tabs button in tab menu
     - Clear bookmarks button to editor rc menu
     - function DeleteFile(const FileName: string): Boolean;
     - TTreeView, TListView, ...
     - function ClearSingleTimeout(const Index: Integer): Boolean;
     - function SetTimeoutEx(const ms: Integer; const ProcName: string; const Loop: Boolean): Integer;
     - function IncludesPath: string;
     - function FontsPath: string;
     - function LogsPath: string;
     - Explore root button
     - function GetINISections(const FileName: string): TStringArray;
     - function INISectionExists(const Section, FileName: string): Boolean;
     - function INIKeyExists(const Section, KeyName, FileName: string): Boolean;
     - function PregMatch(const Pattern, Subject: string): string;
     - function PregMatchEx(const Pattern, Subject: string; out Matches: TRegexMatchArray): Boolean;
     - function PregQuote(const Str: string): string;
     - function PregReplace(const Pattern, Replacement, Subject: string): string;
     - function OperatingSystem: TOpSys;
     - function ForceDirectories(const Path: string): Boolean;
     - function RemoveDirectory(const Path: string): Boolean;
     - function ResizeBitmap(const iBmp, Width, Height: Integer): Integer;
     - function TPAToATPA(const TPA: TPointArray; const Dist: Integer): T2DPointArray;
     - function TPAToATPAEx(const TPA: TPointArray; const XMax, YMax: Integer): T2DPointArray;
     - function ScreenPath: AnsiString;
     - function MakeScreenPath(const Extension: AnsiString): AnsiString;
     - Explore logs folder, dfm folder, workspace folder, fonts folder and screenshots folder buttons
     - RegexPos, FindRegex, ReplaceRegex front-ends for the new Preg functions for backwards compatibility
     - procedure DebugBitmap(const iBitmap: Integer);
     - function BitmapAssigned(const iBmp: Integer): Boolean;
     - TJvBrowseForFolderDialog
     - function MouseInBox(const Box: TBox): Boolean;
     - function GetClipboard: AnsiString;
     - procedure SetClipboard(const Text: AnsiString);
     - procedure ClearClipboard;
     - Bitmap compression update tool
     - Bitmap picker tool
     - procedure TPAFilterBoxes(var TPA: TPointArray; const Boxes: TBoxArray);
     - function TPAToStr(const TPA: TPointArray): AnsiString;
     - function StrToTPA(const Str: AnsiString): TPointArray;
     - Compiler define "PORTABLE" for the portable edition of SCAR
     - Update checker
    I hope everyone enjoys this release!

    ~Freddy
    Last edited by Freddy1990; 05-10-2011 at 06:18 PM.

  2. #2
    Join Date
    Apr 2007
    Location
    Colchester, UK
    Posts
    1,220
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    cool, good job on releasing it

  3. #3
    Join Date
    Aug 2007
    Location
    in a random little world
    Posts
    5,778
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

  4. #4
    Join Date
    Jan 2007
    Location
    the middle of know-where
    Posts
    1,308
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Cool Beans!!! Thanks.
    It's looking good. Nice that it's not instantly nabbed as a virus by antivirus programs.

    Also, what Shut said.?

    E: I can give it a more "constructive" criticizing later.
    Last edited by anonymity; 05-10-2011 at 04:36 PM.
    On vacation in NeverLand,
    Code:
    typedef int bool;
    enum { false, true };

  5. #5
    Join Date
    Aug 2007
    Location
    in a random little world
    Posts
    5,778
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

  6. #6
    Join Date
    Jan 2007
    Posts
    8,876
    Mentioned
    123 Post(s)
    Quoted
    327 Post(s)

    Default

    Sweet freddy!! Great job

  7. #7
    Join Date
    May 2007
    Location
    England
    Posts
    4,140
    Mentioned
    11 Post(s)
    Quoted
    266 Post(s)

    Default

    Nice to see you're still at it Freddy. Great job, and gratz on the release!
    <3

    Quote Originally Posted by Eminem
    I don't care if you're black, white, straight, bisexual, gay, lesbian, short, tall, fat, skinny, rich or poor. If you're nice to me, I'll be nice to you. Simple as that.

  8. #8
    Join Date
    Feb 2006
    Posts
    3,044
    Mentioned
    4 Post(s)
    Quoted
    21 Post(s)

    Default

    Great Job Freddy!

    ~Home

  9. #9
    Join Date
    Feb 2007
    Location
    PA, USA
    Posts
    5,240
    Mentioned
    36 Post(s)
    Quoted
    496 Post(s)

    Default

    Great release Freddy!!! (:

  10. #10
    Join Date
    Feb 2006
    Location
    Belgium
    Posts
    3,137
    Mentioned
    3 Post(s)
    Quoted
    5 Post(s)

    Default

    Quote Originally Posted by Shuttleu View Post
    nice, any chance simba scripts are compatible?

    ~shut
    As far as I'm aware of, SRL should still be compatible, whether scripts are probably depends on whether the developers of the scripts kept it compatible.

    Quote Originally Posted by Shuttleu View Post
    nothing from the includes manager works

    ~shut
    What exactly is the problem? The includes are installing correctly for me... Do they not show up or do they not install?

  11. #11
    Join Date
    Feb 2006
    Posts
    3,044
    Mentioned
    4 Post(s)
    Quoted
    21 Post(s)

    Default

    Quote Originally Posted by Shuttleu View Post
    nothing from the includes manager works

    ~shut
    Works for me :S

    ~Home

  12. #12
    Join Date
    Aug 2007
    Location
    in a random little world
    Posts
    5,778
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

    Default

    i click on SRL and it downloads and installs correctly
    but when i run Compile SRL.scar i get this
    Compiling Error 51 Math.scar Unkown identifier 'CreateTPAFromBMP'
    if i do pheonix and run test.scar i get
    Compiling Error 74 Color.scar Type Mismatch
    ~shut

  13. #13
    Join Date
    Feb 2006
    Posts
    3,044
    Mentioned
    4 Post(s)
    Quoted
    21 Post(s)

    Default

    Quote Originally Posted by Shuttleu View Post
    i click on SRL and it downloads and installs correctly
    but when i run Compile SRL.scar i get this

    if i do pheonix and run test.scar i get


    ~shut
    Very odd.. Works fine for me :/

    ~Home

  14. #14
    Join Date
    Feb 2006
    Location
    Belgium
    Posts
    3,137
    Mentioned
    3 Post(s)
    Quoted
    5 Post(s)

    Default

    Quote Originally Posted by Shuttleu View Post
    i click on SRL and it downloads and installs correctly
    but when i run Compile SRL.scar i get this

    if i do pheonix and run test.scar i get


    ~shut
    I can't say much about Phoenix, but with SRL, make sure you have the development version installed, not the regular one.

  15. #15
    Join Date
    Aug 2007
    Location
    in a random little world
    Posts
    5,778
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

  16. #16
    Join Date
    Dec 2006
    Location
    Houston, TX USA
    Posts
    4,791
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Great work, I'll look into any possible compatibility issues when I get home.

  17. #17
    Join Date
    Jan 2010
    Posts
    5,227
    Mentioned
    6 Post(s)
    Quoted
    60 Post(s)

    Default

    - Dividing of ints with the / operator now returns a floating point value

    wat. Why? :/

    Also,

    - New scriptengine front-end

    more detail on that?

  18. #18
    Join Date
    Jan 2007
    Posts
    8,876
    Mentioned
    123 Post(s)
    Quoted
    327 Post(s)

    Default

    Quote Originally Posted by i luffs yeww View Post
    - Dividing of ints with the / operator now returns a floating point value

    wat. Why? :/
    What....?

    Why not? It's much better that way.... If you don't want it to return a float, use "div"

  19. #19
    Join Date
    Oct 2009
    Location
    Stockton, CA
    Posts
    2,040
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    I have to say, quite nice . Where are you downloading SRL from? We should be able to add our own includes somehow..
    Join the IRC! irc.rizon.net:6667/srl | SQLite (0.99rc3+) | SRL Doc | Simba Doc | Extra Simba Libraries (openSSL & sqlite3)
    Quote Originally Posted by #srl
    10:45 < Toter> daphil when can get sex anyday I want
    10:45 < Toter> he is always on #SRL
    "A programmer is just a tool which converts caffeine into code"

  20. #20
    Join Date
    Jan 2010
    Posts
    5,227
    Mentioned
    6 Post(s)
    Quoted
    60 Post(s)

    Default

    It is not much better that way, in my opinion. It slows it down and makes a sort of dynamic typing addition. Dividing two integers and returning a float makes sense in math, but not in programming, especially not in a statically typed language. In Python or something it'd make sense, but Python itself doesn't make a whole lot of sense in the first place.

    Should 4.0 / 2.0 return 2 then? :/ Because I don't think it should. Integers should be integers, floating point numbers should be floating point numbers (unless you cast them otherwise).

  21. #21
    Join Date
    Feb 2006
    Location
    Belgium
    Posts
    3,137
    Mentioned
    3 Post(s)
    Quoted
    5 Post(s)

    Default

    Quote Originally Posted by i luffs yeww View Post
    - Dividing of ints with the / operator now returns a floating point value

    wat. Why? :/

    Also,

    - New scriptengine front-end

    more detail on that?
    It's actually the normal way it worked, it used to be implemented incorrectly. / is used for floating point devision and div for integer division. Div should in theory work faster than /, though I'm not certain this is the case for SCAR. It will be a minor adjustment to implement properly in scripts, but not that much of a hassle I think.

    The new script-engine front-end is basically a gigantic wrapper I wrote for the engine which basically handles anything and everything related to running and debugging scripts. It's basically an attempt to structure the application to make it less prone to bugs and at the same time fill out some possible shortcomings of the engine itself.

    Quote Originally Posted by Sex View Post
    I have to say, quite nice . Where are you downloading SRL from? We should be able to add our own includes somehow..
    SRL is downloaded from the central access point for all SCAR services. http://services.scar-divi.com/ Everything including the include system, error reporting, news and version checking is based out of that domain to keep things simple and tidy while still separating it from the rest. You can add your own includes, to avoid abuse I've made it so you can't just add an include, but once I give you a slot in the system, you can update your include yourself, it works with single scar files, zip files and subversion, you can set the location of where it updates the includes from and such. If your server dies, the include system will keep serving your include.
    Last edited by Freddy1990; 05-10-2011 at 07:38 PM.

  22. #22
    Join Date
    Jan 2007
    Posts
    8,876
    Mentioned
    123 Post(s)
    Quoted
    327 Post(s)

    Default

    Quote Originally Posted by i luffs yeww View Post
    It is not much better that way, in my opinion. It slows it down and makes a sort of dynamic typing addition. Dividing two integers and returning a float makes sense in math, but not in programming, especially not in a statically typed language. In Python or something it'd make sense, but Python itself doesn't make a whole lot of sense in the first place.

    Should 4.0 / 2.0 return 2 then? :/ Because I don't think it should. Integers should be integers, floating point numbers should be floating point numbers (unless you cast them otherwise).
    Seriously?
    I'd like 16 / 15 to return 1.06 instead of 1 anytime. Simply because 1 is not the same as 1.06.

  23. #23
    Join Date
    Feb 2006
    Location
    Belgium
    Posts
    3,137
    Mentioned
    3 Post(s)
    Quoted
    5 Post(s)

    Default

    The division shouldn't really matter since you can still use div to divide to integer, which is the standard way of it being done in he pascal language.

  24. #24
    Join Date
    Jan 2010
    Posts
    5,227
    Mentioned
    6 Post(s)
    Quoted
    60 Post(s)

    Default

    Hm. So 16 div 15 would return 1, while 16 / 15 would return 1.06? Good to know, but still, I'd rather have the type not change, regardless of operator (besides casting).

    Just me I guess.

  25. #25
    Join Date
    Feb 2006
    Location
    Belgium
    Posts
    3,137
    Mentioned
    3 Post(s)
    Quoted
    5 Post(s)

    Default

    Quote Originally Posted by Sex View Post
    I have to say, quite nice . Where are you downloading SRL from? We should be able to add our own includes somehow..
    Here's an example, when you make an include, I basically give you a panel where you enter a link to an xml file, I would give you a template and once it's filled out it should look something like this: http://rs-hacking.com/srldev.xml

    You can put the xml on w/e server you wish, you can always change the location in the server-side include manager. This xml file then specifies where the system should get your include and all details relating to it.

Page 1 of 3 123 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •