spx
34005f14a4
Switched from std::wstring.compare() to wcscmp().
2011-11-27 08:30:39 +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
spx
614eef6c3b
- Added some info to error message from MathParser.
...
- Cosmetic changes.
2011-08-29 21:57:36 +00:00
Birunthan Mohanathas
a92bdd9b18
Cosmetic changes to code.
2011-03-29 19:21:57 +00:00
spx
fe9fd9f476
Code cleanup.
2011-02-15 16:26:54 +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
spx
0ad2ef9414
Code cleanup.
2011-01-24 10:15:05 +00:00
spx
f4bfe8f4fc
- Added #CURRENTSECTION# variable.
...
For instance:
-----
[Variables]
Var=#CURRENTSECTION#
[StyleString]
Text=#CURRENTSECTION#
[MeterString]
Meter=String
MeterStyle=StyleString
Prefix="#CURRENTSECTION# / "
Postfix=" / #Var#"
-----
Displays:
MeterString / MeterString / Variables
- Additional changes for r677.
* Obsoleted DebugLog(). Use LogWithArgs() with LOG_DEBUG instead.
* Added Log().
2010-12-20 08:57:37 +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
spx
1668de5a3b
Code cleanup & cosmetics.
2010-10-31 20:13:32 +00:00
spx
15992c2dc3
Cosmetic changes.
2010-09-21 22:47:53 +00:00
spx
df146e4eb4
Code cleanup & cosmetic.
2010-09-17 08:47:22 +00:00
spx
8fe2a26a51
Fixed the issue that RANDOM is replaced incorrectly in Measure=Calc.
2010-08-11 18:08:41 +00:00
spx
3d33a16f9f
- Additional fix for r502. Functions/Measures/Counter in Formula are now case-insensitive in MeasureCalc.
...
- "[Measure]" is now case-insensitive in DynamicVariables.
2010-08-10 18:23:10 +00:00
Birunthan Mohanathas
237043352d
Fixed issue that Counter in Measure=Calc is case-sensitive. Added MeasureName2 as an alternative to SecondaryMeasureName in Meter=Histogram.
2010-08-10 15:37:35 +00:00
spx
4cf4a84afb
Fixed a problem that "Random" doesn't return the HighBound value in CALC measure.
2010-04-08 23:47:52 +00:00
spx
32db892e2c
Fixed a problem that "Random" is case-sensitive in CALC measure.
...
Fixed a problem that a deletion of the meter window encounters enormous delays when the meter window has enormous Update=.
Some small cosmetics.
2010-04-08 23:16:43 +00:00
spx
415c905d0a
- Fixed a problem that !RainmeterQuit isn't executed when no meter window is running.
...
- Fixed a problem that StyleTemplate affects to Meters which have no relation.
- Added a workaround to avoid the "IniFileMapping" function when reading skins.
- Some small code cosmetics.
2010-04-02 01:35:53 +00:00
spx
a6f2f01036
Some code changes for optimization
2010-03-30 22:37:05 +00:00
jsmorley
2dbf79c6e6
Fixed: MattKing's change to RANDOM to fix issue where it was only random once.
2010-02-28 14:19:35 +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
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
jsmorley
dc365cfb6e
Reconciled all changes by Rainy and the branch with MattKing's LocalFont function. The trunk now contains all current code changes.
...
Added changes to RANDOM function based on Rainy's input. If there were multiple RANDOM statements in multiple CALC measure, they would all get the same random number. Fixed.
Added new RANDOM function and LocalFont to the help files and History.htm
2009-09-03 00:33:46 +00:00
jsmorley
c4f95ca973
Committed MattKing's code to generate a random number in a CALC measure.
...
RANDOM Function:
Returns a random number between "LowBound" and "HighBound" defined in the measure.
Sample usage:
[MeasureCalc]
Measure=Calc
Formula=(Random)
LowBound=5
HighBound=100
2009-08-31 17:47:09 +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