Commit Graph

118 Commits

Author SHA1 Message Date
69913fa251 Work on exporting stuff, revert some changes for better diff 2014-08-01 22:54:35 +03:00
7cba5cc109 Fixed line endings and applied gitignore 2014-07-26 09:43:40 +03:00
8541cce5f4 A bit of work on app's UI and integration between .net and native. 2014-07-23 13:47:09 +03:00
Birunthan Mohanathas
a577608835 Unignore and fix warnings in Library/ 2013-12-23 19:42:31 +00:00
Brian Ferguson
6d705f5c95 String: Strip carriage returns in strings for compatibility between GDI+ and D2D 2013-10-13 16:28:57 +03:00
Birunthan Mohanathas
b539c19b8f Minor tweaks to 176a941 2013-10-13 16:19:51 +03:00
Birunthan Mohanathas
176a9414f5 Gfx: Make D2D acknowledge trailing whitespace followed by a NBSP/MMSP
This hacky workaround makes D2D behavior consistent with GDI+.
2013-08-11 12:11:59 +03:00
Birunthan Mohanathas
923215c0da ConfigParser: Implement ReadBool
This may break backwards compatibility in some cases. For example, the FreeDiskSpace measure treated only `Type=1` as true and `Type={0, 2, 3, ...}` as false. Now `Type=0` is false and everything else is true like with most other boolean options.
2013-07-31 13:36:53 +03:00
Brian Ferguson
e3c8ae2dfa Fixed issues with Padding 2013-07-21 09:49:16 -06:00
Brian Ferguson
d67db33ecf Added "Padding" option to meters.
Usage: Padding = left, top, right, bottom
2013-07-20 10:07:51 -06:00
Brian Ferguson
eeef84dfa0 Added skin/section (if available) to logging. 2013-06-29 10:59:18 -06:00
Birunthan Mohanathas
04090b232a Make Rainmeter a singleton class
This change is part of making the Libray project more testable. The old g_Rainmeter global pointer has been replaced with a GetRainmeter() function to guarantee that the object exists in some state.
2013-06-13 17:20:27 +03:00
Birunthan Mohanathas
72bf8dc317 String: Fix issue with Angle= since 59b3dea 2013-06-09 19:05:46 +03:00
Birunthan Mohanathas
1934c5db72 Change NULL to nullptr 2013-05-31 17:28:39 +03:00
Birunthan Mohanathas
da9384cfad Remove "C" prefix in class names 2013-05-31 17:18:52 +03:00
Birunthan Mohanathas
a3d8f73f6c Tweak f4429ad 2013-05-30 17:19:42 +03:00
Birunthan Mohanathas
f4429ad8cc Refactor logging logic into new CLogger class 2013-05-29 22:05:41 +03:00
Brian Ferguson
8b477d1a9b String Meter: Fixed capitalization problem when letter followed whitespace that was not a space. 2013-04-18 11:19:21 -06:00
Birunthan Mohanathas
aa3c7eb8ce Tweaks to reduce OnChangeAction overhead 2013-04-10 19:00:22 +03:00
Birunthan Mohanathas
0b3a4d86c4 Gfx: Add FontCollection implementation
The D2D implementation is a stub for now.
2013-04-09 20:35:49 +03:00
Brian Ferguson
59b3dea21c Gfx: Added support for TransformationMatrix and Angle (for String meters) 2013-04-05 02:35:20 -06:00
Birunthan Mohanathas
349988e5dd Gfx: Add GDI+ specific temporary solution for transformations 2013-03-29 13:33:11 +02:00
Birunthan Mohanathas
39fe9750fd Gfx: Add temporary solution for local fonts 2013-03-28 15:09:46 +02:00
Birunthan Mohanathas
c6374f7c12 Minor tweaks and fixes 2013-03-28 14:26:55 +02:00
Birunthan Mohanathas
ef1cf223a7 Change to use Gfx rendering 2013-03-25 17:42:18 +02:00
spx
95aacda3cb Code cleanup 2013-02-06 19:12:16 +09:00
Brian Ferguson
c0d969f4b6 String meter: Fixed issues with ClipString=2 2013-01-28 00:38:26 -07:00
Brian Ferguson
178ccb0af4 ClipString options changed back to 0/1, and Auto changed to 2 to be more consistent with other options and to allow formulas. 2013-01-25 21:05:47 -07:00
spx
39459ad64b Code cleanup 2013-01-24 05:24:25 +09:00
Brian Ferguson
84b1e3a7cd Deprecated ClipString values 0/1 in favor of OFF/ON and added new value AUTO.
Added ClipStringW/ClipStringH options that work with ClipString=AUTO.
2013-01-23 11:57:01 -07:00
spx
f929109f01 Code cleanup 2012-11-12 11:10:40 +09:00
spx
1613fd76e2 Cleanup 2012-09-26 18:47:25 -07:00
Brian Ferguson
a4e158b796 Fixed memory leak in 6bd978a 2012-09-26 10:49:48 -06:00
Brian Ferguson
6bd978ad21 Arial font is now the default font when errors occur. Invalid string styles are now logged. 2012-09-26 00:45:53 -06:00
Brian Ferguson
71025aaf51 Use Arial font (if installed) when FontFace is invalid. 2012-09-25 17:37:28 -06:00
Birunthan Mohanathas
4dbf7932ab Additional changes to f2b52b4 2012-07-18 09:22:47 +03:00
Birunthan Mohanathas
8309eb2bda Tweaks 2012-07-17 10:57:28 +03:00
Birunthan Mohanathas
4bbc372116 Tweaked measure binding 2012-07-17 10:37:53 +03:00
Birunthan Mohanathas
e2bb2b9ce2 Reverted 8a43e40 due to incorrect handling of newline (#CRLF#) 2012-07-03 20:31:34 +03:00
Birunthan Mohanathas
2cf883598c Reverted 0706bf3 2012-07-03 16:57:46 +03:00
Birunthan Mohanathas
0706bf3a6e Tweaks 2012-07-03 16:29:25 +03:00
Birunthan Mohanathas
63a5f4be38 Removed test code.
Ugh.
2012-07-03 16:21:55 +03:00
Birunthan Mohanathas
8a43e40583 String: Fixed that trailing spaces were ignored 2012-07-03 15:51:53 +03:00
Birunthan Mohanathas
922dd098c9 Cosmetics: Changed "config" to more consistent and descriptive terms 2012-06-01 16:06:36 +03:00
Birunthan Mohanathas
e3d92d354c Cosmetics 2012-05-30 21:53:44 +03:00
Birunthan Mohanathas
6a520542bc Removed useless comments 2012-05-20 20:58:37 +03:00
Birunthan Mohanathas
9453780c26 Tweaks 2012-05-19 18:16:04 +03:00
Brian
1ec7f71ce7 Changed StringAlign on Meter=String to support both horizontal and vertical positioning 2012-05-16 14:02:31 -04:00
Birunthan Mohanathas
b80fe5dbd1 Tweaks 2012-05-13 12:30:20 +03:00
Birunthan Mohanathas
69ec0aecc1 String: Fixed StringCase=UPPER/LOWER/PROPER with non-Latin chars 2012-05-13 12:17:00 +03:00