Birunthan Mohanathas
ea67809d9b
Replaced throw with Log where possible
2012-04-06 19:54:20 +03:00
Birunthan Mohanathas
ba239ffeea
Changed all numerical options or numerical parameters of bangs to accept formulas
2012-04-06 15:16:54 +03:00
Birunthan Mohanathas
bb44c29f6c
Cosmetic changes to function comment blocks.
2012-02-20 19:10:40 +00:00
jsmorley
3c98527338
Add: Formulas now allowed in the following settings:
...
LineWidth
LineLength
StartAngle
RotationAngle
Angle
ImageRotate
MinValue
MaxValue
IfAboveValue
IfEqualValue
IfBelowValue
2012-02-19 15:45:43 +00:00
Birunthan Mohanathas
b21658b1cd
- Partially refactored bang handling code
...
- Renamed CMeasure::ExecuteBang to CMeasure::Command
- Minor cosmetic changes and tweaks
2012-02-01 15:55:29 +00:00
Birunthan Mohanathas
e99403ce1e
Tweaks.
2012-01-23 09:35:32 +00:00
spx
ebec08914a
Adjusted copyright notice.
...
http://www.gnu.org/licenses/gpl-2.0.html
2012-01-23 06:36:15 +00:00
spx
3bebd7002a
Minor tweaks.
2011-12-09 19:49:06 +00:00
Birunthan Mohanathas
13b3241307
Minor tweaks and cleanup.
2011-12-09 08:40:19 +00:00
spx
2835739b12
Code tweaks and cleanup.
2011-12-09 03:28:19 +00:00
spx
8e8b7d1268
Code tweaks and cleanup.
2011-12-04 22:18:40 +00:00
spx
3c1338b4c5
- Renamed bool ReadFormula() to ParseFormula.
...
- Changed ReadConfig() in Measure/Meter to protected.
- Other code tweaks and cleanups.
2011-11-26 02:49:52 +00:00
Birunthan Mohanathas
1e9d424c99
Made log messages more consistent.
2011-11-09 09:27:06 +00:00
Birunthan Mohanathas
f8f31a527e
Switched from _snwprintf_s to _itow_s where possible.
2011-11-09 08:52:32 +00:00
Birunthan Mohanathas
a1e722181e
More tweaks.
2011-11-08 19:11:31 +00:00
spx
569a151c6c
- Switched from size()>0 to empty().
...
- Code cleanup.
2011-11-08 17:21:29 +00:00
spx
a209bf15d0
- Fixed Button issue: http://rainmeter.net/forum/viewtopic.php?t=10274&p=59935
...
- Removed unneeded NULL checks.
- Other code tweaks and cleanups.
2011-11-08 10:32:57 +00:00
spx
3bf00bccd0
Minor tweak.
2011-11-06 00:10:39 +00:00
Birunthan Mohanathas
13c17b9d1a
- Removed support for using Rainmeter.dll as Litestep module
...
- Merged Rainmeter.dll and Rainmeter.exe
- Language resource file now located in \Language\<LanguageName>.dll
- Build.bat now automatically builds and packages all languages
2011-09-28 18:28:35 +00:00
spx
58a16ef66e
Fixed that !WriteKeyValue fails if filepath includes ".." like "skin..ini".
2011-09-09 17:15:02 +00:00
Birunthan Mohanathas
f14d751604
- Added #CURRENTFILE# variable
...
- Changes to log strings
2011-09-09 16:31:55 +00:00
Birunthan Mohanathas
78639bfe78
About Measures: The Value column now shows a non-scaled value up to 5 decimal points with trailing zeros removed.
2011-09-04 10:36:56 +00:00
spx
d300d469b0
Code cleanup.
2011-08-03 23:25:52 +00:00
Birunthan Mohanathas
cb4aa0ade3
Script: Fixed that returning "" in Update() displayed 0 due to r885.
2011-08-01 09:08:11 +00:00
spx
b16d3d0762
RegExpSubstitute: Enabled "\0" for replacing to the string matched by the complete expression.
2011-07-30 22:11:31 +00:00
JamesAC
d7dedcfc75
Adding support for RegExp in Substitute strings when RegExpSubstitute=1 is set.
2011-07-29 11:49:46 +00:00
spx
fdad6fb036
Minor tweaks.
2011-07-14 00:26:53 +00:00
spx
6ceacb0d98
Minor tweaks.
2011-07-12 13:37:31 +00:00
spx
c2e3b6292d
Additional change for r852,r856. Improved reading the network statistics from Rainmeter.stats.
...
Some cosmetic changes.
2011-07-08 22:50:02 +00:00
spx
341e9d2bd0
Removed trailing zeros when DynamicVariables=1 even if a value is such as "1.01000".
...
E.g.
1.00000 -> 1
1.01000 -> 1.01
1.01001 -> 1.01001
2011-07-02 10:16:38 +00:00
Birunthan Mohanathas
a92bdd9b18
Cosmetic changes to code.
2011-03-29 19:21:57 +00:00
spx
35f54fcf46
Small change for r770.
2011-02-19 21:38:29 +00:00
spx
606afe79e6
Fixed crash when AverageSize= is set in Measure.
2011-02-19 21:30:22 +00:00
spx
fe9fd9f476
Code cleanup.
2011-02-15 16:26:54 +00:00
spx
1ba57f2adf
Fixed some Lua related issues.
...
Removed some internal functions from exposed functions for Lua.
Code cleanup and optimizing for VC2010.
2011-02-15 13:22:19 +00:00
spx
7ea3a762ac
- Fixed that r716 (precompiled header) doesn't work on x64.
...
- Now uses constructor initialization list in each class.
- TintedImage: Code cleanup.
2011-01-29 00:11:01 +00:00
Birunthan Mohanathas
2aa4d62278
Defined _CRT_SECURE_NO_WARNINGS.
2011-01-27 19:24:09 +00:00
spx
0ad2ef9414
Code cleanup.
2011-01-24 10:15:05 +00:00
spx
235841e01f
Added AutoScale=2 and "k" postfix to Meter=STRING.
...
----
For instance:
A=2800000000, B=0
- AutoScale=0
AutoScale is disabled. Uses Scale value. (Same as before.)
A="2800000000", B="0"
- AutoScale=1
Scales value by 1024. (Same as before.)
A="2.6 G", B="0.0 "
- AutoScale=2
Scales value by 1000.
A="2.8 G", B="0.0 "
- AutoScale=1k
Scales value by 1024, and uses kilo as the lowest unit.
A="2.6 G", B="0.0 k"
- AutoScale=2k
Scales value by 1000, and uses kilo as the lowest unit.
A="2.8 G", B="0.0 k"
----
2011-01-19 15:31:45 +00:00
spx
7c09acb889
Fixed crash when If***Action contains !RainmeterUpdate. (It caused an infinite loop.)
2011-01-04 15:34:19 +00:00
spx
2fafb5dcdc
- Added !RainmeterUpdate/!RainmeterUpdateMeter(Group)/!RainmeterUpdateMeasure(Group).
...
- Changed Update= and UpdateDivider= behaviors. If you specify < 0 to them, measures/meters are not updated automatically.
2010-12-28 13:31:17 +00:00
JamesAC
c50f1c27f2
- Replace DebugLog() with LogWithArgs(int nLevel, const WCHAR* format, ... ), so that variable strings can be logged but the log level can be set to those other than LOG_DEBUG
...
- Note: DebugLog() is still in the code as I was not sure whether it is required to maintain Litestep interoperability
- Replaced instances of LOG_DEBUG where other log levels would be more appropriate
2010-12-19 23:06:13 +00:00
spx
d1a7b604df
Core dll:
...
- Replace swprintf/wsprintf/wcscpy/wcscat to _snwprintf_s/wcsncpy_s/wcsncat_s.
- Changed printf format parameter strictly for supporting both 32bit and 64bit.
- Fixed an issue that !RainmeterWriteKeyValue doesn't accept %APPDATA%\Rainmeter path.
- Code cleanup.
2010-12-16 20:35:44 +00:00
mapeki
c516bf8310
Added Lua Stuff
...
There are a few changes to the core Rainmeter code.
2010-12-12 17:08:36 +00:00
spx
54537c66b0
Code cleanup.
2010-12-09 06:05:17 +00:00
spx
62519fbdd5
MeasureDiskSpace: Improved total size detection for removable device.
2010-11-28 21:39:46 +00:00
spx
0e1486f0be
Code optimization.
2010-11-25 15:34:49 +00:00
Birunthan Mohanathas
d91db2cd50
Fixed http://code.google.com/p/rainmeter/issues/detail?id=175 and typo in VirtualDesktops.rc
2010-11-13 19:12:43 +00:00
spx
cab258a7e5
Code optimization and removed unused part for reducing core dll size.
2010-11-11 20:24:59 +00:00
spx
25abbc2444
- Added multiple MeterStyle.
...
- Code cleanup & cosmetics.
2010-11-04 00:17:42 +00:00
spx
15992c2dc3
Cosmetic changes.
2010-09-21 22:47:53 +00:00
Birunthan Mohanathas
11588043de
Error messages now display meter/measure in question.
2010-09-21 16:45:29 +00:00
Birunthan Mohanathas
e618ad1777
Cosmetic changes here and there.
2010-09-21 11:09:36 +00:00
spx
5ab0192d41
NumOfDecimals is now enabled when Percentual=1 in STRING meter.
2010-09-15 12:52:40 +00:00
jsmorley
6fe8fd0aa7
Fix by spx for the problem where r538 caused some backwards compatibility issues.
2010-09-15 10:05:09 +00:00
spx
2cb88b0733
Shrunk some string buffer size.
2010-09-13 20:06:52 +00:00
spx
46b19fbd73
- Now able to use single quote as quotes in Substitute. Reverted r510, r511.
...
- [WebParser] Updated PCRE library 6.4 to 8.10.
2010-08-18 07:28:55 +00:00
spx
67e5d4142d
Fix for r510 (Fixed the issue that '#', 'Q', 'O' and 'T' are replaced to '"'.)
2010-08-17 22:50:48 +00:00
Birunthan Mohanathas
02658b1ecc
Fixed: Not being able to Substitute a quote character.
...
The variable #QUOT# can be used in Substitutes. E.g.
Substitute="#QUOT#":"blaa"
2010-08-17 12:09:57 +00:00
spx
f61a35a64d
- Added "Group" option to Measure/Meter to operate Measures/Meters in bulk.
...
Usage:
Group=group1 | group2 | group3
* Concatenate group with the "|" if you'd like to assign multiple groups.
- Added !Bangs for Group. (!RainmeterShowMeterGroup, !RainmeterHideMeterGroup, !RainmeterToggleMeterGroup, !RainmeterEnableMeasureGroup, !RainmeterDisableMeasureGroup, !RainmeterToggleMeasureGroup)
Usage:
!RainmeterShowMeterGroup [group] (Config)
!RainmeterHideMeterGroup [group] (Config)
!RainmeterToggleMeterGroup [group] (Config)
!RainmeterEnableMeasureGroup [group] (Config)
!RainmeterDisableMeasureGroup [group] (Config)
!RainmeterToggleMeasureGroup [group] (Config)
- Modified logging feature. Added new "Logging" menu to the context menu.
- Added the manifest to Rainmeter.exe to apply visual style to button etc.
2010-07-07 23:46:44 +00:00
spx
f2682eaee0
Changed the behavior of DynamicVariables. The fixed value definition of the following settings is handled as the starting value. If the value definition of these settings contains variables or measures, related !bangs are ignored.
...
[Measure]
Disabled
[Meter]
Hidden
X
Y
In case of "Hidden":
- Hidden not added or Hidden=0/1 (=fixed value specified) and DynamicVariables=1
The specified value is handled as the starting value. After that the value is not re-read on every update. !RainmeterShowMeter etc. are enabled.
- Hidden=#VAR# or Hidden=[Measure] and DynamicVariables=1
The value is re-read on every update. !RainmeterShowMeter etc. are disabled by re-reading value.
2010-06-01 14:55:52 +00:00
spx
b675265606
Fixed incomplete fix in r420 and r422.
...
Fixed the issue that the result of some bangs is overwritten with the default value if DynamicVariables=1 is added to Measure/Meter. (Issue 125) Note that this fix is effective only when the setting is not defined in skin configuration file. The result of !RainmeterHideMeter(or Show/Toggle) is overwritten if Hidden=0/1 is added.
Some minor changes.
2010-05-31 21:02:04 +00:00
spx
a6f2f01036
Some code changes for optimization
2010-03-30 22:37:05 +00:00
spx
c9fd071177
Changed behavior so as not to indicate the error message box when DynamicVariables is 1 and FontSize is 0. (issue 126)
...
FIXED: Virtual Bytes usage for an x64 process with perfmon plugin does not display value greater than 4 GB (issue 113)
The numerical value greater than 32bit can be now displayed when NumOfDecimals is 0 in Meter=STRING.
Fixed the broken compatibility in Windows 2000. (AboutDialog, SysInfo)
2010-02-04 07:16:22 +00:00
spx
df3215c487
FIXED: DynamicVariables=1 disables UpdateDivider (issue 123)
...
FIXED: LineColor does not use values of Dynamic Variables in the Line meter (issue 138)
2010-01-29 23:57:41 +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
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
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
dc3c767efa
It's now possible to use the measures as if they were variables (use [MeasureName] instead #VariableName#). Set DynamicVariables=1 for all meters and measures which refer to other measures.
...
New bang !RainmeterSetVariable can be used to change the value of a variable (DynamicVariables must be 1 in places where the variable is used).
2009-08-26 17:37:15 +00:00
Kimmo Pekkola
5d2f960552
Code cleanup.
2009-02-14 10:11:28 +00:00
Kimmo Pekkola
30edc895f2
2009-02-10 18:37:48 +00:00