Commit Graph

259 Commits

Author SHA1 Message Date
spx
07c9f62e40 Fixed: Wrong font is used due to the font caching problem. 2009-10-11 13:03:20 +00:00
jsmorley
04f485a02e RainBrowswer: Fairly significant re-write of the routines to get and display configs to make them faster and more reliable under all tree structures. 2009-10-11 00:47:48 +00:00
jsmorley
6b760ac3cd New 1.9 version of WiFiStatus plugin by nvme, including changes to the manual. 2009-10-10 20:25:00 +00:00
jsmorley
dc72c927f1 Added FileListToArrayXT to local source and removed "fix" for loading configs with !bang when Rainmeter has no configs currently loaded. 2009-10-10 14:50:42 +00:00
jsmorley
0582917fb9 Removed unneeded FileListToArrayNT7.au3 include file 2009-10-10 14:35:31 +00:00
Kimmo Pekkola
d3db25644d Updated history.htm for the next beta. 2009-10-10 08:34:23 +00:00
Kimmo Pekkola
f7970be6b5 The !bangs can be now used from command line even if there are no active configs.
Included RainBrowser to the build.
2009-10-10 08:20:28 +00:00
jsmorley
4a5e76ce7b Fix to RainBrowser to deal with this issue:
http://rainmeter.net/forum/viewtopic.php?p=10952#p10952

Still hoping we can enable !RainmeterActivateConfig and !RainmeterQuit when no configs are active, but this will work for now.  

Basically if there are no configs loaded and you ask to load one, I set "Active=n" (whatever is appropriate for the .ini in question) in Rainmeter.ini if the config exists there, or add [ConfigName] and "Active=n" if not, then kill and start Rainmeter using ProcessClose() and ShellExecute().
2009-10-10 01:56:20 +00:00
jsmorley
4131afefa6 Added [Metadata] sections to all "Tranquil" skins to support RainBrowser
Sample:

[Metadata]
Name=Tranquil System Info Bar
Config=Tranquil | Bar
Description=System info bar | CPU, TimeDate, Memory, Network UP/DN and C/D/E/F/G drive
Instructions=
Version=1.1
Tags=System | CPU | Time | Date | Memory | Network | Drive
License=GNU GENERAL PUBLIC LICENSE Version 2, June 1991
Variant=4
Preview=
2009-10-09 15:46:25 +00:00
jsmorley
e094ca6919 Major code cleanup of RainBrowser. We can go with this version for the next beta build. 2009-10-09 14:29:44 +00:00
jsmorley
753ce75b3f Minor fix for RainBrowser to fix a nasty little sorting problem. 2009-10-08 19:56:10 +00:00
spx
febd3d1407 [MeasureFreeDiskSpace]
Fixed: When the designation of Drive is wrong, a strange volume label is indicated.
Changed: Incorrect drive letter (e.g. not "C:\" but "C:") is now allowed.
2009-10-08 16:49:41 +00:00
jsmorley
1f93585b00 Minor fix to RainBrowser where it was reacting poorly to a config with a number at the start of the name. 2009-10-08 15:00:53 +00:00
spx
e208c55c8a Updated Settings.htm and Skins.htm.
- Moved from Settings.htm to Skins.htm
  LeftMouseDownAction
  RightMouseDownAction
  MiddleMouseDownAction
  LeftMouseUpAction
  RightMouseUpAction
  MiddleMouseUpAction
  MouseOverAction
  MouseLeaveAction
  OnRefreshAction

- Moved from Skins.htm to Settings.htm
  KeepOnScreen
2009-10-08 00:47:48 +00:00
jsmorley
ad61b06ccc Minor fix for error in RainBrowser when a .ini file has an invalid format. 2009-10-07 20:38:40 +00:00
spx
bab35411b4 Fixed: Handling for MeterButton's "ButtonCommand" was forgotten on r236. 2009-10-07 18:47:40 +00:00
jsmorley
bc35355236 Adding RainBrowser to the SVN 2009-10-07 18:37:25 +00:00
Kimmo Pekkola
0b4ba32924 Added cache for the fonts.
Fixed a memory leak in the string meter.
Changed the library project to use precompiled headers.
2009-10-07 16:45:14 +00:00
jsmorley
61df4e1bad Added manual entry for #CURRENTCONFIG# to Skins.htm 2009-10-06 04:04:59 +00:00
jsmorley
fd759799fe Adding Spx's fix for the #CURRENTCONFG# code.
See http://code.google.com/p/rainmeter/source/detail?r=237 for details.
2009-10-06 03:49:03 +00:00
jsmorley
3da892f271 Backing out the change in r237. The #CURRENTCONFIG# routine can cause an error when Rainmeter first Initializes before the first skin is read.
See the comments in r237 for details.
2009-10-06 02:16:35 +00:00
spx
4bed8bdbbd Fixed: The value is not replaced by correct substitute when DynamicVariables is enabled in Measure. 2009-10-05 19:27:08 +00:00
jsmorley
7fdeafba9f MattKing's change to add #CURRENTCONFIG# as a "built-in" variable.
Purpose. To allow Rainmeter to send the current config name (basically the current path but starting under "\Skins" and with no trailing "\") to external programs with !Execute.  This will allow external programs to know the config name if they need to take some action and then send "Rainmeter.exe !RainmeterDeactivate" or "Rainmeter.exe!RainmeterRefresh" or other bangs that require a config name when sent to Rainmeter via the command line.
2009-10-05 04:29:33 +00:00
spx
3afe01569c Broken backwards compatibility was fixed.
([Measure] contained in Action in Measure and Meter are not replaced when reading skins. They are replaced only when executing action.)
2009-10-01 03:13:19 +00:00
Kimmo Pekkola
1ebff32421 Replaced the application icon.
The old config is backed up before it is upgraded.
2009-09-30 17:06:16 +00:00
jsmorley
daeb18c1f4 2009-09-30 03:24:29 +00:00
spx
48fdf42bb2 Reverted the changes from r229 (dragging problem). 2009-09-26 16:29:22 +00:00
jsmorley
8869cd0bcc Added MouseActionCursor to the manual under "Meters" 2009-09-26 13:01:28 +00:00
spx
f6f293cc57 Minor tweaks of "hand pointer". 2009-09-26 07:16:55 +00:00
jsmorley
5560d6e72a Added MattKing's code to enable the standard "hand pointer" mouse cursor when you hover over a meter with any "MouseAction" on it or a button.
This behavior is ON by default.  If you do not want the cursor change on a meter or button, set MouseActionCursor=0 on the Meter or button.

Example of disabling mouse cursor change:

[Meter]
Meter=Image
W=100
H=100
SolidColor=0,0,0,255
LeftMouseUpAction=!Execute ["http://rainmeter.net"]
MouseActionCursor=0

Note: If you have a button with a meter (either image or text) on TOP of it, you will need to set MouseActionCursor=0 on the image/text meter even if it doesn't have a mouse action, or the button will not change cursors.
2009-09-25 22:20:07 +00:00
spx
4771fafe87 Minor fixes 2009-09-25 12:30:50 +00:00
jsmorley
3aac534323 Minor tweak to manual in Plugin-WebParser.htm 2009-09-23 14:12:11 +00:00
jsmorley
d493e8d2e9 Fix to Middle Mouse functionality. It was not detecting mouse actions in the [Rainmeter] section, only in [MeterName] 2009-09-23 13:45:39 +00:00
jsmorley
de38315cd8 Updates to manual:
Added Debug2File function to History.htm

Added @Include function to Skins.htm

Added Debug2File function to Plugin-WebParser.htm
2009-09-21 18:59:34 +00:00
jsmorley
dd1369c440 Added MattKing's code to allow a user to set the path and name of the text file to have Debug=2 write to. This will allow persistence for html files retrieved by WebParser, so they can be parsed as a local file as needed.
Usage:

[WebParserMeasure]
Debug2File="[path\]Filename.ext"
Debug=2

Examples:

[WebParserMeasure]
Debug2File="Debug2File.txt" (saves to current skin folder)
Debug=2

[WebParserMeasure]
Debug2File="#SKINSPATH#DebugFiles\Debug2File.txt" (saves to 
\DebugFiles under the \Skins folder)
Debug=2

Notes:

Must be enclosed in quotes.

Must include at least a filename.  Path alone will not work.

Must be a directory which already exists.  Does not create the target directory.

If the Debug2File= parameter is not used, WebParser will save webparserdbump.txt in the root of C: as it always has.
2009-09-21 17:02:48 +00:00
spx
f8bd5fb2eb A silly mistake on r217 was fixed. 2009-09-20 08:53:28 +00:00
Kimmo Pekkola
8414159d62 Updated the History.htm for the next beta. 2009-09-19 17:40:31 +00:00
Kimmo Pekkola
71c1d052a7 The relative coordinates got broken by the previous changes. They should be fixed now.
Changed the meter bangs to case insensitive.
2009-09-19 07:15:28 +00:00
Kimmo Pekkola
fa6d437a71 Added a version check for the skins which come with Rainmeter so they can be upgraded. 2009-09-18 18:42:50 +00:00
Kimmo Pekkola
1de7706678 If native transparency is enabled the windows are not refreshed anymore when settings change but they are just moved to the correct location. 2009-09-18 16:05:10 +00:00
Kimmo Pekkola
e84e7d534d The skin files can read other files with @include statement. 2009-09-18 15:30:51 +00:00
kenz0
b9bb71a669 Fixed: Tranquil-Weather 2009-09-16 11:14:53 +00:00
spx
9d96ec61c1 - Fixed: Multibang [] not assumed when [Measure] is replaced in CConfigParser::ReadString().
- Minor changes of ConvertToXXX(): Get an appropriate buffer size to convert the string. And using [] when deleting arrays.
- Fixed a few memory leaks.
- It's now possible to send the !BANG command when all windows are "On Desktop". (Rainmeter.exe and WebParser)
2009-09-12 11:11:40 +00:00
jsmorley
8ea3c6780a Additional code changes by spx268 to address issues with other image meter types (MeterBar, MeterBitmap, MeterButton, MeterRotator) and dynamic variables.
http://code.google.com/p/rainmeter/issues/detail?id=108
2009-09-07 20:00:50 +00:00
jsmorley
48bee2c6fe 1) Added MattKing's code for supporting the middle mouse button in [Rainmeter] and [MeasureName].
MiddleMouseUpAction | MiddleMouseDownAction

2) Updated the manual entries for the middle mouse functionality

3) Added  spx268's code to fix a problem with BUTTON and dynamic variables addressed in:

http://code.google.com/p/rainmeter/issues/detail?id=108
2009-09-07 16:37:58 +00:00
jsmorley
11528ab3cc New manual entry for MeterStyle functionality 2009-09-05 00:46:14 +00:00
Kimmo Pekkola
483784d570 Updated the History.htm for the beta release. 2009-09-04 17:49:27 +00:00
Kimmo Pekkola
8eccc8ddec Got rid of the "Not a meter or measure" error.
The handling of the MeterStyle is now done in the CConfigParser.
2009-09-04 17:40:02 +00:00
Kimmo Pekkola
4274397806 The m_FontCollection wasn't initialized so it could cause a crash on exit.
Some code cleanup.
2009-09-04 17:18:15 +00:00
Kimmo Pekkola
4bf4e51126 Reverted the changes from r209. 2009-09-04 16:37:51 +00:00