Commit Graph

64 Commits

Author SHA1 Message Date
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