SourceSafe Spy - A monitor tool

Published Mon, Aug 8 2005 7:30 PM | Ramon Smits

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 Data\Exyll.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/).

Filed under: , ,

Comments

# Ramon Smits said on August 8, 2005 10:36 AM:

I was fedup that there aren't any notification options within sourcesafe so decided to make my own. There...

# Ramon Smits said on August 8, 2005 10:36 AM:

I was fedup that there aren't any notification options within sourcesafe so decided to make my own. There...

# Ramon Smits said on August 10, 2005 1:30 PM:

SourceSafe Spy version 0.4 is released and can be downloaded from the SourceSafe Spy article. The following...

# Ramon Smits said on August 11, 2005 1:04 AM:

A couple of collegues wanted to know what kind of popup you would get when SourceSafe Spy will notify...

# Justin King said on August 11, 2005 6:28 PM:

Download links are broken.

# Chi Wai Man said on August 12, 2005 2:07 AM:

Please update the links because they are broken.

# Ramon Smits said on August 12, 2005 5:26 AM:

Due to a typo it wasn't possible to download SourceSafe Spy v0.4 . Seems I didn't try to test the download...

# Chi Wai Man said on August 12, 2005 7:46 AM:

Thanks for this excellent tool. Now I can big brother my collegues the whole day;)

# Ramon Smits said on August 13, 2005 7:07 AM:

I'm now busy with v0.5. It has the ability to filter with a regular expression. Will give it a test run this monday and if it works ok then I'll release it that evening.

# Ramon Smits said on December 30, 2005 9:00 AM:

Due to a typo it wasn't possible to download SourceSafe Spy v0.4 . Seems I didn't try to test the download...

# Ramon Smits said on December 30, 2005 9:00 AM:

A couple of collegues wanted to know what kind of popup you would get when SourceSafe Spy will notify...

# Ramon Smits said on December 30, 2005 9:00 AM:

SourceSafe Spy version 0.4 is released and can be downloaded from the SourceSafe Spy article. The following...

Leave a Comment

Name:  
Website:

Please add 5 and 7 and type the answer here: