Category nameļ¼šSourcesafe

SourceSafe Spy – A monitor tool

Sourcesafe Spy by Ramon Smits

Description | Download | History | License | Copyright

Description:

I was fed up that there aren’t any notification options within Sourcesafe so decided to make my own. There are probably thousands of such tools available but anyway I think it’s quite a nice tool. Although you could ask yourself why I did it especially with VS2005 in vicinity.

So what does it do? Sourcesafe Spy monitors your Visual Sourcesafe Journal file for changes and notifies them if changed actually occur. You could say that it is a sourcesafe monitor tool.

It has four nice features:

  • SMTP notification.
  • Non intrusive popup.
  • Minimizes to systemtray.

And these are the interesting details for developers:

  • Uses the file watcher instead of polling.
  • Uses delayed event handling for reading the changes from the journal.
  • Close gets intercepted. When the user session ends the application closes normally.
  • Most labels are shrunk to fit.
  • Tray icon menu is cloned from the application menu.
  • Minimize message is intercepted to minimize the application to the icon tray.
  • Global exception handler that shows a non intrusive info balloon and logs the exception to the event log.

Sourcesafe Spy can monitor any SourceSafe repository that has journaling enabled.

Download:

You can visit the Sourcesafe Spy site to download Sourcesafe Spy version 0.4 .

History:

Legend:

+Added
Removed
*Changed
!Fixed

0.4 Public release

*Won’t loop at start anymore when the journal file can’t be opened because for example the drive was not mapped correctly or the network share was not available.
*Opacity is back! Now sets the correct control styles to reduce incorrect painting.
*Not referencing Genghis anymore. Only used Genghis for the popup. I’ve made changes to it so needed to recompile Genghis but decided to merge AniForm with SourceSafe Spy.
+AniForm now fades in and out.
+AniForm now ‘steps’ to the left when the popup stack gets higher then the screen.
+Application now ask if you really want to quit when you press the close button. Should not show up when the user session is ending or when the user selects Exit from the menu.
*Popup now uses the system colors for a control background.
*Uses new version of Exyll general library. Fixes sound issue.
+Labels are shortened. Uses the SmartLabel control in Exyll library. Code is based on code by Jan Schreuder from bloggingabout.net.
+Added support for multiple datetime formats. It seems that sourcesafe doesn’t log entries in one format. It depends on the regional settigns. Currently supports ‘d-MM-yy H:mm’ (NL) and ‘M-dd-yy h:mmt’ (US).

0.3 Public release

!When sourcesafe releases the log file then multiple changes could be written.
+Delayed event handling (DEH) for file change event.
+Minimize will minimize to the tray.
Minimize menu item removed because of added minimize windows message interceptor.

0.2 Beta release

*No opacity. Caused a lot of graphical glitches.
+Sound notification add popup.
+SMTP notification. See “%USERPROFILE%Application DataExyll.SSSpy.Smtp+Settings.config”.
Unhandled exceptions are stored in the event log and the user gets a balloon notification.

0.1 Internal release

No bugs šŸ˜‰

License:

The is software is provided ‘as-is’, without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.

Permission is granted to anyone to use this software for any purpose, including commercial environment, subject to the following restrictions:

  1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software complementary to a product, an acknowledgment in the product documentation is required, as shown here:

    SourceSafeSpy by Ramon Smits (http://bloggingabout.net/blogs/Ramon/).

  2. No substantial portion of the source code of this library may be redistributed without the express written permission of the copyright holders, where “substantial” is defined as enough code to be recognizably from this library.

Copyright:

Copyright Ā© 2005 Ramon Smits
Portions copyright Ā© 2002-2004 The Genghis Group (http://www.genghisgroup.com/).

  • Recent Posts
  • Recent Comments
  • Archives
  • Categories
  • Meta