Commit Graph

133 Commits

Author SHA1 Message Date
spx
2c6272e1f4 Added _WIN64 to preprocessor for 64bit resource compiler. 2010-11-13 19:30:24 +00:00
jsmorley
e4326582e8 Changed Application.rc and Library.rc to go back to using code page 1252, as the mismatch between changing to VALUE "Translation", 0x409, 1200 and the value in BLOCK "040904E4" causes 3rd party apps to fail to read the version information. I'm not sure I see any need to possibly break things in any case changing the code page for this version info block when it really doesn't matter what it is. 1252 is the tried and true Windows standard "Latin" that we are sure works on any version of Windows and any language setup. Just don't put UNICODE chars in the version information, and we are good to go... ;-) 2010-11-13 16:01:15 +00:00
Birunthan Mohanathas
5ff09cbd96 Adding version info to Rainmeter.dll.
Some other minor changes.
2010-11-13 14:51:58 +00:00
Birunthan Mohanathas
fa351991a5 Replaced UpdateApplicationRC.exe and UpdatePluginRC.exe with a more efficient method. 2010-11-13 12:51:20 +00:00
jsmorley
14f4a1b5a3 * Added .rc files for each of the plugins / updated the project files to use these resource files.
* This will allow a user to verify the version and architecture (x32/x64) by using the "Properties / Details" dialog in Windows Explorer on plugin dll files just as can be done today with Rainmeter.exe.
* Added a new AutoIt utility UpdatePluginRC.exe and source which will modify the new .rc files during the build to set the current Rainmeter version and the x32/x64 architecture.
* Modified the existing Build.py and UpdateRevision.py to use this new functionality (NOTE: WHEN YOU DOWNLOAD BUILD.PY, BE SURE TO CHANGE THE PATHS AT THE TOP TO YOURS)

JamesAC & JSMorley

====

* Minor change to RainThemes.au3 to address an issue where on some systems it was failing to stop Rainemter.exe properly.
2010-11-13 04:40:21 +00:00
jsmorley
2bf3299ded Additional change to make Rainmeter.cpp case insensitve when installing default theme. Added Recycle Bin to illustro default theme. 2010-11-07 13:14:51 +00:00
jsmorley
bddef71808 Minor update to illustro and Rainmeter.cpp to properly detect install the illustro theme. 2010-11-07 12:57:31 +00:00
jsmorley
b490555842 Updating Illustro skins to 02, updating RainThemes for addition of Illustro and removal of Gnometer / Enigma. Adding Illustro theme, and setting this theme as default.ini for new install. 2010-10-30 13:24:44 +00:00
Birunthan Mohanathas
461f8757c1 Fixed Debug x64.
Also some minor changes to the installer and Rainmeter.cpp.
2010-10-30 11:21:19 +00:00
jsmorley
4089f815b0 Update to remove the current (Gnometer, Enigma, Arcs) skins and themes from the build, add the new Illustro starter skin(s) by poiru, and update the build and install process for 1.4. This is a first pass for testing, and should not be used for a public beta yet. 2010-10-27 00:11:48 +00:00
jsmorley
1ee9137ea2 Updating all build files and processes to create 1.4 beta starting point.
Also adding file: TextFuncUF16.nsh to Rainstaller folder for UNICODE support.
If you download Build.py, be sure to set the paths to executables to your paths before using.
2010-10-12 15:01:48 +00:00
jsmorley
c1fda93526 Change by JamesAC to detect skins with no meters OR measures to reduce issues with people loading Rainlendar skins and such. 2010-09-22 14:04:00 +00:00
Birunthan Mohanathas
e618ad1777 Cosmetic changes here and there. 2010-09-21 11:09:36 +00:00
spx
df146e4eb4 Code cleanup & cosmetic. 2010-09-17 08:47:22 +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
jsmorley
cd074cd44d Fix by MattKing for numbers being truncated to 0 decimals issue in http://rainmeter.net/forum/viewtopic.php?f=14&t=5432 2010-09-14 17:08:25 +00:00
spx
3da0aa3f4c [Application]
- Added some codes to avoid loading a dll from current directory.

[Library]
- Added new functions to avoid loading a dll from current directory. (CSystem::RmSetDllDirectory(), CSystem::RmLoadLibrary())
2010-09-11 19:39:45 +00:00
spx
3afada92ed Fixed the message loop to valid code. (http://msdn.microsoft.com/en-us/library/ms644936.aspx) 2010-09-10 19:39:54 +00:00
jsmorley
eee8d9bb1c Changed ToolTip function to allow using %1, %2 etc. as appropriate for various meter types:
Line, String: %1, %2, %3, ...
Histogram: %1, %2
Others: %1
2010-09-10 17:29:30 +00:00
jsmorley
d9137c2413 Changes by JamesAC and spx to the "About" dialog. 2010-08-26 20:50:36 +00:00
spx
bea3b2821a Modified for icons on About dialog box. 2010-08-25 14:36:20 +00:00
jsmorley
31b51da234 Win7AudioPlugin updated to version 1.6
- New bangs Mute/Unmute
- Volume shows -1 when muted
2010-08-22 19:05:33 +00:00
jsmorley
10f0640298 Added JamesAC's new bangs to change "settings" in Rainmeter.ini for one / group / all skins at once.
!RainmeterDraggable/!RainmeterDraggableGroup
!RainmeterKeepOnScreen/!RainmeterKeepOnScreenGroup
!RainmeterClickThrough/!RainmeterClickThroughGroup
!RainmeterSnapEdges/!RainmeterSnapEdgesGroup

!RainmeterSnapEdges [parm1] (Config | *)
!RainmeterSnapEdgesGroup [parm1] [GroupName]

Parm1:
-1 toggles the setting.
0 forces the setting to off.
1 forces to setting to on.
2010-08-22 12:08:38 +00:00
jsmorley
b3e93c0765 Fix by elestel to iTunes plugin: iTunesPlugin did not handle AboutToPromptUserToQuitEvent before
(when user quit iTunes there will be a quit/don't quit dialog)
2010-08-15 13:32:18 +00:00
jsmorley
99508e090b Adding new PluginMediaKey plugin by poiru to the build. 2010-08-10 16:02:40 +00:00
spx
cce8a5ead4 Modified the behavior of starting multiple processes. 2010-08-05 17:35:45 +00:00
jsmorley
6f2d67859d Updates to the manual htm pages for the public beta today. 2010-07-25 19:16:47 +00:00
jsmorley
b3507f6f8e Tooltips: Added ToolTipWidth= key | Fix for using [MeasureName] as ToolTipText alone. 2010-07-20 21:20:14 +00:00
jsmorley
5366da997d Lots of changes to the beta manual. 2010-07-18 14:01:04 +00:00
jsmorley
ab272307a4 Minor fix by JamesAC to ToolTip routines
Many changes to Help files for 1.3 beta
Minor fix for Installer script
2010-07-17 19:11:05 +00:00
jsmorley
935852426a Added spx's meter/measure/config "Group" functionality.
Minor fix to installer script
2010-07-17 13:02:34 +00:00
jsmorley
ff153f3f86 Adding JamesAC's new ToolTips functionality.
Minor fix to the Rainmeter installer
Minor changes to RainBrowser and RainThemes
2010-07-17 00:06:24 +00:00
jsmorley
a52758f9d2 Minor changes to RainBrowser, RainThemes, and the Rainmeter installer. 2010-07-15 22:39:19 +00:00
jsmorley
5d2e750d3f RainBrowser: Final spit and polish on the new interface. 2010-07-14 10:47:48 +00:00
jsmorley
ccbb5e4b0b Changed RainBrowser to have the new "look and feel" of the other addon applications 2010-07-11 15:25:28 +00:00
jsmorley
5be6e9783d Adding code to improve DesktopWorkArea with mulitple monitors. This is code from user Jott, with some minor tweaks by spx
Adds DesktopWorkArea(x) where "x" is the desired monitor. DesktopWorkArea without a number is the primary monitor.
2010-07-10 12:56:37 +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
jsmorley
36dfa2c6e5 Alex2539 found a problem in the ccalc lexer.c file which caused an error if a number was used in a calc statement (say from a WebParser measure) which had a leading "0". (08 for instance) This would cause the library to see the number as an Octal, and the formula would be incorrect at best, and fail with an error in the log at worst. (08 is an invalid Octal number) Alex has changed the library so you CAN indicate and do math with Octal, Hex and Binary numbers, but the numbers must be preceded with 0b (binary) 0x (hex) 0o (octal). If a number like 08 is used, it will be treated as "8", as it should.
Change to RainThemes to support new Logging= setting in Rainmeter.ini
2010-07-07 22:31:44 +00:00
jsmorley
8ae76e0d92 Adding new PluginVirtualDesktops plugin from Patrick at Dexpot
Change to Build.py and Rainmeter.sln to support new plugin
New Example.rmskin for Rainstaller
2010-07-05 23:44:22 +00:00
jsmorley
b16f02d243 Added changes by JamesAC, Spx and Patrick/Dexpot to expand the range of information which can be requested from Rainmeter via Windows Messages. (SendMessage/WM_COPYDATA)
See the header file RainmeterQuery.h for details and usage help.
2010-06-28 22:30:20 +00:00
Birunthan Mohanathas
38409f2d05 * Several changes to the Rainmeter context menu (including handle leak fix)
* Rainmeter now opens text files with associated text editor (with fallback to Notepad) if ConfigEditor is not specifed
2010-06-23 12:36:39 +00:00
jsmorley
8a47a191d7 Changes to Rainstaller and RainThemes to support new version checking method.
Minor fix to a couple of typos in the version checking code
Changed "Update Available" to "New Version Available"
2010-06-21 17:14:56 +00:00
jsmorley
8785516c09 1) JamesAC / spx change to Windows Messages / Dexpot support, with fix for copy / paste error in previous commit.
2) Change to version checking:
* CheckVersion= setting depreciated.  Removed from "About" dialog and automatically ignored and removed from Rainmeter.ini at Rainmeter start.
* New DisableVersionCheck= (1/0) setting added, which now changes the default from "don't check version" to "do check version" unless this is set to "1"
2010-06-21 16:00:19 +00:00
jsmorley
34387ce2cf Starting point for 1.3 beta:
Changes to multiple files to change version number
Changes by JamesAC / spx to improve management of Windows Mssages, mostly to support working with the DexPot folks
Addition of the Win7AudioPlugin plugin by reiswaffle. This includes plugin code and changes to the Rainmeter.sln project file.
2010-06-20 20:52:52 +00:00
jsmorley
a334ec99be Changed version numbers of Enigma and Gnometer to force install of final skins for all users. 2010-06-13 10:53:05 +00:00
jsmorley
20bd9e6f0b Couple of minor changes to manual
Several minor tweaks to Gnometer
Updated history.htm for the RC3 Release
2010-06-09 16:48:54 +00:00
jsmorley
0de1483e75 Update to the manual and history.htm for the RC build. Changed the version number of Enigma from 2.6 to 2.7 in all .ini files. 2010-06-01 16:08:31 +00:00
jsmorley
5ff8f59ebf Hopefully final changes to Enimga and Gnometer before the RC build.
Includes change to EnigmaConfigure to "restore" changes to variables made in UserVariables.inc in a previous installation of Enigma when upgrading to 1.2.
2010-06-01 08:57:51 +00:00
jsmorley
4549e4a898 Updating some Enigma skins before RC build 2010-05-30 16:22:54 +00:00
jsmorley
931ab990f9 Minor changes to Gnometer 2010-05-21 17:47:11 +00:00
jsmorley
90e120805c Minor changes to Rainstaller and Ranmeter Install.nsi. Tweak to Gnometer Preview Theme 2010-05-20 20:46:43 +00:00
jsmorley
1ead08dcf5 Some fixes for Rainstaller and the Rainmeter Install Script
Change to RainThemes to preserve "Version=" for default skins on save and load of a theme.
Small change to EnigmaConfigure.cfg by Dragonmage
Higer rez images for Enigma\MusicAlbum.B.png
2010-05-19 11:29:37 +00:00
jsmorley
80e27c534b Update of Enigma skins and themes by Dragonmage to fix some issues. Update of Enigma themes by Dragonmage.
Change to installer to make default for "Create Icon on Desktop" No instead of Yes.
2010-05-16 18:07:58 +00:00
jsmorley
c054e74bb1 Some improvements to Rainstaller, including restriction to one instance at a time. Change to how RainThemes handles TrayExecute statements when there is a conflict on loading a theme. 2010-05-16 10:47:24 +00:00
jsmorley
befa90ce8f Committing JamesAC / spx changes to SpeedFan plugin to support conversion of default Centigrade temp values to Fahrenheit or Kelvin. Also manual update to support change. 2010-05-09 17:14:20 +00:00
jsmorley
d0fe23ec1f Deleted thumbs.db files, replaced \Images in Enigma, replaced the pdf in Enigma, fixed the install .nsi, replaced preview for arcs. 2010-05-09 15:38:29 +00:00
jsmorley
c01fb4eb76 Update to get things in place for one final beta followed by a Release Candidate as soon as we can.
1) Added Gnometer as one of the default skins, including two themese (Gnometer and Gnometer Preview)
2) Removed Tranquil skins
3) Added RainBackup in \Addons and to start menu
4) Changes to Rainstaller to use default header .bmp file if the author does not provide one in the .rmskin.
5) Changes to Rainmeter.cpp to handle Gnometer as one of the new default skins
6) Changes to the Rainmeter installation program to allow selection of default skin / theme (Gnometer or Enigma)
2010-05-08 19:51:33 +00:00
jsmorley
3e8c954f87 Various updates to Rainstaller and RainThemes to support new build
Some minor changes to the manual .htm files
Updated History.htm
2010-05-02 16:55:18 +00:00
jsmorley
c0fb21241e RainThemes: Added the ability to edit themes in your text editor. Changed the interface to be more consistent with the "look and feel" of Rainstaller. 2010-04-30 05:45:32 +00:00
jsmorley
b4655b16e6 Changes to support Rainmeter under PortableApps.com / RainmeterPortable.exe
1: Changed both Rainstaller and RainThemes to preserve original settings of the following in the [Rainmeter] section of Rainmeter.ini

ConfigEditor
TrayExecuteL
TrayExecuteM
TrayExecuteR
TrayExecuteDL
TrayExecuteDM
TrayExecuteDR
CheckUpdate

2: Changed RainThemes to not load any included wallpaper / desktop background when RainmeterPortable.exe is detected as running.
2010-04-23 16:30:50 +00:00
jsmorley
383c2e0962 Rainmeter Build: Added a small app UpdateApplicationRC.exe called by the build process to set the proper revision number in Applicaton.rc so this no longer has to be done manually prior to the install. Poiru, you can remove the lines warning you to edit Application.rc and the "pause" in Build.bat in the VC++ folder. AutoIt3 source for the app is included, but not compiled during the build as it is static. 2010-04-22 02:16:01 +00:00
jsmorley
2c9829381f Rainmeter Build: Small change to build.py to support new icons for RainBrowser / RainThemes 2010-04-20 20:57:22 +00:00
jsmorley
a174881483 RainBrowser/RainThemes: New icons
Rainstaller: Change to script for issue with elevated user when launching Rainmeter at the end
2010-04-20 20:23:19 +00:00
jsmorley
1501176fad Rainstaller: Fix for bug when there is no top level folder in a .rmskin file. 2010-04-19 17:00:31 +00:00
jsmorley
f049d80153 Update for final fixes for Rainstaller, new Rainmeter icons and changes to History.htm to support new public build. 2010-04-18 20:12:32 +00:00
jsmorley
883be23f42 Rainstaller:
Updates to finalize Rainstaller for an "alpha" build I will do so the folks in Forum Devs can do initial testing.
2010-04-17 14:49:31 +00:00
jsmorley
c9320f38f2 Rainstaller:
This commit is to get the repository set up to add Rainstaller.exe to the Rainmeter build and installation package

- Rainstaller is installed to the Rainmeter program folder under \Addons\Rainstaller
Rainstaller.exe
Rainstaller.chm

- A file association is created for the extension .rmskins to allow double clicking a .rmskins file to open Rainstaller.exe, unpack the .rmskins archive (it is a renamed .zip file) and install the Skin(s) / Themes included.

- Rainstaller.lnk (Rainstaller.exe) and Rainstaller Help.lnk (Rainstaller Help.chm) are added to the Windows Start Menu under Rainmeter

- Code added to the "uninstall" routines in Rainmeter Install Script.nsi to remove the file association for Rainstaller.exe / .rmskins on uninstall of Rainmeter and to remove the links from the Windows Start Menu.

*****************
Code Changes:

- New version of Build.py for compiling all source code
- New version of Rainmeter Install Script.nsi for creating the Rainmeter installation package

- Source code and build script for Rainstaller in \Addons\Rainstaller\Source
Rainmeter.nsi
Rainmeter.chm
\include (folder has some addon scripts and plugins for NSIS)

Note:  As of this build, everything works EXCEPT that Rainstaller can only be used by double-clicking a .rmskins file.  The ability to drag and drop a .rmskins file on Rainstaller.exe or to run Rainstaller.exe and "browse" to open a .rmskins file is coming in the next day or two.
2010-04-17 02:00:09 +00:00
jsmorley
a204a2a827 2010-04-10 02:55:41 +00:00
Kimmo Pekkola
68ec1714c1 Added the version information to the rc file. 2010-04-04 17:52:14 +00:00
spx
be3b4114bb - Added the function that measures the CPU usage for multi core/processors.
For instance:

[MeasureCPU]
Measure=CPU

[MeasureCPU1]
Measure=CPU
Processor=1

[MeasureCPU2]
Measure=CPU
Processor=2

MeasureCPU returns the average of the CPU usage across all core/processors. This is same as Processor=0.

MeasureCPU1/2 returns the CPU usage of each core/processor.

-----

- Fixed the problem that the correct value is not returned if the Interface=0 in NetIn/NetOut/NetTotal measure. The cause of this problem is because the value of all filter devices is summed in Vista or newer.

-----

- Added the option (Debug) for debug logging. This must be put under [Rainmeter]-section in Rainmeter.ini.

This option specifies whether extra debugging log from Rainmeter.dll is output to Rainmeter.log.

[Rainmeter]
Debug=1

Default is 0.

-----

- Application: Fixed a wrong return value type from MainWndProc.
2010-02-13 03:07:34 +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
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
1ebff32421 Replaced the application icon.
The old config is backed up before it is upgraded.
2009-09-30 17:06:16 +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
Kimmo Pekkola
d6444b7dff RainThemes wasn't started correctly if the path had spaces. Fixed. 2009-08-12 19:02:51 +00:00
Kimmo Pekkola
3a5b634b1b !RainmeterQuit bang doesn't show error message even if Rainmeter is not running. 2009-08-05 08:36:38 +00:00
Kimmo Pekkola
3c0923f862 The themes are now copied to the %APPDATA% on first run.
Few changes to the Enigma skin to make it work better in different resolutions.
2009-08-01 16:40:04 +00:00
Kimmo Pekkola
14648a2974 The WORKAREAHEIGHT wasn't calculated correctly. Fixed. 2009-08-01 11:46:15 +00:00
Kimmo Pekkola
a7c6c939ac Skins are now read from the My Documents by default.
Added the revision number to the about dialog (use UpdateRevision.py to update it).
Added a check to the startup which verifies that the rainmeter.ini is writable.
The skin folder can be opened from the context menu.
2009-07-24 07:56:37 +00:00
Kimmo Pekkola
e2448f42b1 Added 64-bit compilation configuration.
The bitmap meter supports transition frames now.
Few Vista/Win7 fixes (the rainmeter.ini is now in %APPDATA%).
2009-07-21 12:26:50 +00:00
Kimmo Pekkola
2d2247d3d8 Upgraded the project to VC 2008. 2009-03-21 09:35:03 +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