This App is No Longer Maintained. Visit the Replacement at StrokesPlus.net

StrokesPlus Forum
                       
StrokesPlus Forum
Home | Profile | Active Topics
Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Releases
 Downloads
 Version 2.7.3 (Beta)
 Forum Locked  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Rob

USA
2615 Posts

Posted - 08/13/2013 :  21:41:21  Show Profile  Visit Rob's Homepage
I'm beginning to think that the random crashes happening for some people may be due to a change I made in 2.6.4. I was able to reproduce a certain situation which would cause S+ to crash and resolved it (for me). Given the nature of this change and fix, there's a moderate possibility that it's the actual problem that has been randomly affecting people since 2.6.4.

As such, I'm going back to the previous method of releases (not splitting them up) as I really don't feel it's necessary if everything is coded and working properly.

Please leave comments in this thread regarding this beta release, its features, or anything related to the possible crash fix.



32-bit:

Portable/ZIP Download - Signed and Unsigned:
http://www.strokesplus.com/files/StrokesPlus_2.7.3_x86.zip

Setup Package Download - Unsigned, Windows XP/Vista/7/8:
http://www.strokesplus.com/files/StrokesPlusSetup_2.7.3_x86.exe

Setup Package Download - Signed, Windows Vista/7/8 with UAC enabled:
http://www.strokesplus.com/files/StrokesPlusSetup_2.7.3_x86_Signed.exe

64-bit:

Portable/ZIP Download - Signed and Unsigned:
http://www.strokesplus.com/files/StrokesPlus_2.7.3_x64.zip

Setup Package Download - Unsigned, Windows XP/Vista/7/8:
http://www.strokesplus.com/files/StrokesPlusSetup_2.7.3_x64.exe

Setup Package Download - Signed, Windows Vista/7/8 with UAC enabled:
http://www.strokesplus.com/files/StrokesPlusSetup_2.7.3_x64_Signed.exe

Notes:
All installers create a shortcut in Startup. Signed installers also attempt to install the certificate; while I've tested on my machine and a clean Win8 VM, I can't be certain this will always work. StrokesPlus.cer will be installed in the destination folder, in case you need to manually import (to Trusted Root Certification Authories).

All installers will NOT overwrite StrokesPlus.xml, StrokesPlus.lua, or ActionHelp.xml (since some may have a translated version). So if you just want to update to the latest version, you can run the setup and not worry about losing anything.

The ZIP downloads contain both signed and unsigned versions as well as the certificate for manual installation.

Change Log:
- Added critical section block around action script init code. This eliminates race conditions which resulted in crashes during rapid actions in succession; subsequent actions will be queued, not discarded
- Added critical section block in hotkey function, to prevent duplicate firing if the hotkey is still being pressed; hotkeys sent while a hotkey is still firing will be discarded
- Also added a slight delay at the end of the hotkey fire function, again for the purpose of improving hotkey UX
- Added option to fire a Global Lua function on middle mouse down (only if stroke button is not middle button), create following function in Global Lua to house your script:

function sp_middle_mouse_down()
--do something here
end

- Note that this functionality and script are executed entirely outside of gesture logic, including modifier checks. Meaning if you have this option enabled and an action with a middle click modifier, you'll be able to use the action as always, but the middle click function will also fire.
- You can certainly tweak the code in the sp_middle_mouse_down() function yourself to workaround any issues or conflicts as needed.
- This new functionality follows the same rules where it will not be executed if over an ignored window, or only on defined applications when the "Only Capture On Defined Applications (no Global Actions)" option is enabled
- This functionality does not consume the middle down click event. So if you middle click on something which responds to a middle click, it will still receive the middle down click event, and the sp_middle_mouse_down() will execute.
- For example, middle-clicking on a tab in Chrome will normally close the tab, so if you turned on this option and made a call to close a tab (CTRL+W) and middle-clicked on a tab, the tab would be closed AND S+ would send CTRL+W, closing another tab
- You may be able to leverage acConsumePhysicalInput(1) in sp_middle_mouse_down to prevent the middle mouse down event from being delivered, just make sure you call acConsumePhysicalInput(0) at the end of the script or you will lose the ability to interact with Windows!
- Updated language file to include support for new preference:
language.Preferences.AdvancedOptionsFrame.AllowMiddleClickScript - "Allow Middle Click Script*"
- Updated the default StrokesPlus.lua file to include the updated sp_before/after function templates as well as the sp_middle_mouse_down() and sp_after_release() functions with descriptions
- The setup package will NOT automatically update or overwrite this file is you already have one
  Previous Topic Topic Next Topic  
 Forum Locked  Topic Locked
 Printer Friendly
Jump To:
StrokesPlus Forum © 2011-2018 Rob Yapchanyk Go To Top Of Page
Snitz Forums 2000