topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Friday December 13, 2024, 4:13 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Last post Author Topic: NANY 2011 Release: Color Warlock  (Read 140112 times)

hamradio

  • Charter Honorary Member
  • Joined in 2006
  • ***
  • Posts: 884
  • Amateur Radio Guy
    • View Profile
    • HamRadioUSA.net
    • Read more about this member.
    • Donate to Member
Re: NANY 2011 Release: Color Warlock
« Reply #25 on: January 03, 2011, 10:06 PM »
Updated to hopefully fix a few bugs that fenixproductions found. :Thmbsup:

fenixproductions

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 1,186
    • View Profile
    • Donate to Member
Re: NANY 2011 Release: Color Warlock
« Reply #26 on: January 04, 2011, 12:57 PM »
@hamradio
Palettes work correctly when loaded from menu but there is still an error on startup.

To reproduce:
  • start Color Warlock,
  • from Custom menu choose some palette,
  • close application,
  • start CW again.
Note: after deleting settings.dat application can be started without errors again.

BTW I've attached all converted Inkscape palettes. In addition: there is also small command line converter within package (requires .NET 2.0).

hamradio

  • Charter Honorary Member
  • Joined in 2006
  • ***
  • Posts: 884
  • Amateur Radio Guy
    • View Profile
    • HamRadioUSA.net
    • Read more about this member.
    • Donate to Member
Re: NANY 2011 Release: Color Warlock
« Reply #27 on: January 04, 2011, 01:38 PM »
@hamradio
Palettes work correctly when loaded from menu but there is still an error on startup.

To reproduce:
  • start Color Warlock,
  • from Custom menu choose some palette,
  • close application,
  • start CW again.
Note: after deleting settings.dat application can be started without errors again.

BTW I've attached all converted Inkscape palettes. In addition: there is also small command line converter within package (requires .NET 2.0).
-fenixproductions (January 04, 2011, 12:57 PM)

Getting there on that fix I think.

Should be fixed for now try and see for me please.  It was the first time it had a big file listing in it so it brought out a bug that wasn't noticeable with the small list.  :)
« Last Edit: January 04, 2011, 02:51 PM by hamradio »

fenixproductions

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 1,186
    • View Profile
    • Donate to Member
Re: NANY 2011 Release: Color Warlock
« Reply #28 on: January 04, 2011, 07:14 PM »
@hamradio
Everything seems to be fine now.

Although I am thinking about other converters so new palettes could come and there is always a chance for new bugs ;)

BTW Few feature requests.

1. Would it be possible to add menu items grouping possibility? It would be nice feature for large lists scenario.

What I mean:
  • get Custom menu items count,
  • calculate height for all of them,
  • if its larger than screen height then create groups for letters (i.e. A-D, E-H, etc.).

2. Create custom palettes thumbnails and store them in cache file. Next time user clicks on palettes menu, he/she will be able to choose them more easily.

Something like:

menu.png

3. Please add "unique colours only" option for Chart Builder.

4. Please add Color Warlock icon for its executable. It is nicer something else than the one provided by system by default.
« Last Edit: January 04, 2011, 07:22 PM by fenixproductions »

hamradio

  • Charter Honorary Member
  • Joined in 2006
  • ***
  • Posts: 884
  • Amateur Radio Guy
    • View Profile
    • HamRadioUSA.net
    • Read more about this member.
    • Donate to Member
Re: NANY 2011 Release: Color Warlock
« Reply #29 on: January 04, 2011, 09:08 PM »
@hamradio
Everything seems to be fine now.

Although I am thinking about other converters so new palettes could come and there is always a chance for new bugs ;)

BTW Few feature requests.

1. Would it be possible to add menu items grouping possibility? It would be nice feature for large lists scenario.

What I mean:
  • get Custom menu items count,
  • calculate height for all of them,
  • if its larger than screen height then create groups for letters (i.e. A-D, E-H, etc.).

2. Create custom palettes thumbnails and store them in cache file. Next time user clicks on palettes menu, he/she will be able to choose them more easily.

Something like:
 (see attachment in previous post)
3. Please add "unique colours only" option for Chart Builder.

4. Please add Color Warlock icon for its executable. It is nicer something else than the one provided by system by default.
-fenixproductions (January 04, 2011, 07:14 PM)


#4. Ah guess cause I forgot and only had 256x256 icon in it. That it wont show on non vista or 7 machines for the icon. Download replaced still same version as no actual coding was did.
« Last Edit: January 04, 2011, 09:20 PM by hamradio »

belight

  • Supporting Member
  • Joined in 2010
  • **
  • Posts: 2
    • View Profile
    • Donate to Member
Re: NANY 2011 Release: Color Warlock
« Reply #30 on: January 12, 2011, 03:40 AM »
Thanks - I'm going to have a lot of fun with this one.

hamradio

  • Charter Honorary Member
  • Joined in 2006
  • ***
  • Posts: 884
  • Amateur Radio Guy
    • View Profile
    • HamRadioUSA.net
    • Read more about this member.
    • Donate to Member
Re: NANY 2011 Release: Color Warlock
« Reply #31 on: January 28, 2011, 12:34 PM »
Updated now with a screen eyedropper, a couple new generate color options, and a built-in update checker. You can also still use the dcupdate file with DcUpdater if you prefer that way also. See first post for download link. :)

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,287
    • View Profile
    • Donate to Member
Re: NANY 2011 Release: Color Warlock
« Reply #32 on: January 28, 2011, 12:42 PM »
Really nice, Ham.  Beautiful application.   :up:

fenixproductions

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 1,186
    • View Profile
    • Donate to Member
Re: NANY 2011 Release: Color Warlock
« Reply #33 on: January 28, 2011, 03:53 PM »
@hamradio
Screen picker is not intuitive. Maybe you could add small info how to use it in ToolTip?

hamradio

  • Charter Honorary Member
  • Joined in 2006
  • ***
  • Posts: 884
  • Amateur Radio Guy
    • View Profile
    • HamRadioUSA.net
    • Read more about this member.
    • Donate to Member
Re: NANY 2011 Release: Color Warlock
« Reply #34 on: January 30, 2011, 03:07 PM »
Updated to have a few ToolTips in configuration builder (Magic Screen Eyedropper is one of those. ;D). :)
« Last Edit: January 30, 2011, 07:10 PM by hamradio »

hamradio

  • Charter Honorary Member
  • Joined in 2006
  • ***
  • Posts: 884
  • Amateur Radio Guy
    • View Profile
    • HamRadioUSA.net
    • Read more about this member.
    • Donate to Member
Re: NANY 2011 Release: Color Warlock
« Reply #35 on: February 03, 2011, 12:35 PM »
RECOMMENDED UPDATE:

1. A blend color tool has been added to the chart builder.
2. Remove Duplicate Colors in chart builder.
3. Reworked the color tools layout of the chart builder.
4. A few other changes.

:)

fenixproductions

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 1,186
    • View Profile
    • Donate to Member
Re: NANY 2011 Release: Color Warlock
« Reply #36 on: February 03, 2011, 01:45 PM »
@hamradio
It is getting better and better :)

Any thoughts about sorting?

hamradio

  • Charter Honorary Member
  • Joined in 2006
  • ***
  • Posts: 884
  • Amateur Radio Guy
    • View Profile
    • HamRadioUSA.net
    • Read more about this member.
    • Donate to Member
Re: NANY 2011 Release: Color Warlock
« Reply #37 on: February 12, 2011, 09:31 PM »
@hamradio
It is getting better and better :)

Any thoughts about sorting?
-fenixproductions (February 03, 2011, 01:45 PM)

Meant to reply sooner...but perhaps in the chart builder.

hamradio

  • Charter Honorary Member
  • Joined in 2006
  • ***
  • Posts: 884
  • Amateur Radio Guy
    • View Profile
    • HamRadioUSA.net
    • Read more about this member.
    • Donate to Member
Re: NANY 2011 Release: Color Warlock
« Reply #38 on: February 15, 2011, 11:18 AM »
MINOR UPDATE:

1. Added option Border Style of Colors.
2. Optimized color chart load code.

:)

hamradio

  • Charter Honorary Member
  • Joined in 2006
  • ***
  • Posts: 884
  • Amateur Radio Guy
    • View Profile
    • HamRadioUSA.net
    • Read more about this member.
    • Donate to Member
Re: NANY 2011 Release: Color Warlock
« Reply #39 on: February 25, 2011, 07:23 PM »
New version is out with...

1. Customize copy actions of colors.
2. Sort by Alphabetical Order.
3. See help for complete list.

:)

superboyac

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 6,347
    • View Profile
    • Donate to Member
Re: NANY 2011 Release: Color Warlock
« Reply #40 on: February 25, 2011, 11:31 PM »
Hey!  This is really cool!
You guys do great stuff around here, I'm continually impressed.

fenixproductions

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 1,186
    • View Profile
    • Donate to Member
Re: NANY 2011 Release: Color Warlock
« Reply #41 on: February 26, 2011, 07:28 AM »
@hamradio
2. Sort by Alphabetical Order.

What about:

Code: C# [Select]
  1. outputPalette.Sort( delegate( PaletteColour p1, PaletteColour p2 ) { return p1.myColor.GetBrightness().CompareTo( p2.myColor.GetBrightness() ); } );
  2. outputPalette.Sort( delegate( PaletteColour p1, PaletteColour p2 ) { return p1.myColor.GetHue().CompareTo( p2.myColor.GetHue() ); } );
  3. outputPalette.Sort( delegate( PaletteColour p1, PaletteColour p2 ) { return p1.myColor.GetSaturation().CompareTo( p2.myColor.GetSaturation() ); } );

or maybe even:
Code: C# [Select]
  1. outputPalette.Sort( delegate( PaletteColour p1, PaletteColour p2 ) { return p1.myColor.GetHashCode().CompareTo( p2.myColor.GetHashCode() ); } );
  2. outputPalette.Sort( delegate( PaletteColour p1, PaletteColour p2 ) { return p1.MakeGrayscale().CompareTo( p2.MakeGrayscale() ); } );
  3. outputPalette.Sort( delegate( PaletteColour p1, PaletteColour p2 ) { return p1.MakeGrayscale2().CompareTo( p2.MakeGrayscale2() ); } );
  4. outputPalette.Sort( delegate( PaletteColour p1, PaletteColour p2 ) { return p1.MakeSepia().ToArgb().CompareTo( p2.MakeSepia().ToArgb() ); } );

?

hamradio

  • Charter Honorary Member
  • Joined in 2006
  • ***
  • Posts: 884
  • Amateur Radio Guy
    • View Profile
    • HamRadioUSA.net
    • Read more about this member.
    • Donate to Member
Re: NANY 2011 Release: Color Warlock
« Reply #42 on: February 26, 2011, 07:31 PM »
1. Added more sort routines.
2. Rewrote KnownColors palettes for compatibility.

See first post for download or use the built in updater checker download button to launch the url in default browser for the download. :)

Also Note: Last update unless something major comes up for February 2011.

fenixproductions

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 1,186
    • View Profile
    • Donate to Member
Re: NANY 2011 Release: Color Warlock
« Reply #43 on: February 27, 2011, 04:16 AM »
1. Added more sort routines.

Nice  :Thmbsup:

hamradio

  • Charter Honorary Member
  • Joined in 2006
  • ***
  • Posts: 884
  • Amateur Radio Guy
    • View Profile
    • HamRadioUSA.net
    • Read more about this member.
    • Donate to Member
Re: NANY 2011 Release: Color Warlock
« Reply #44 on: March 08, 2011, 12:37 PM »
RECOMMENDED UPDATE:

1. Modified the Chart Builder form layout.
2. Optimized some of the code. (The optimizations reduced this version from the previous build by 16kb from 268kb to 252kb.)
3. Display HTML Hex Colors and Sort now works for temp charts. ("Bugfix")

:)

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,964
    • View Profile
    • Donate to Member
Re: NANY 2011 Release: Color Warlock
« Reply #45 on: March 09, 2011, 04:59 PM »
after downloading almost every update I finally got to unpack this one :-)

Thanks! this is a really lovely, well-thought-out, and well-made, programme :up: :up:


____________________________________________________

I have managed to get two unhandled exceptions, but both seem to be resolved now - I'll report in case it's of help
OS is XP SP3

1) on the first start of colorwarlock; first copy (I dont know did I left or right-click, or maybe I did both too quickly) I got this
Spoiler
************** Exception Text **************
System.Runtime.InteropServices.ExternalException: Requested Clipboard operation did not succeed.
  at System.Windows.Forms.Clipboard.ThrowIfFailed(Int32 hr)
  at System.Windows.Forms.Clipboard.SetDataObject(Object data, Boolean copy, Int32 retryTimes, Int32 retryDelay)
  at System.Windows.Forms.Clipboard.SetText(String text, TextDataFormat format)
  at System.Windows.Forms.Clipboard.SetText(String text)
  at ColorWarlock.frmMain.OnMouseUpPanel(Object sender, MouseEventArgs e)
  at System.Windows.Forms.Control.OnMouseUp(MouseEventArgs e)
  at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
  at System.Windows.Forms.Control.WndProc(Message& m)
  at System.Windows.Forms.Label.WndProc(Message& m)
  at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
  at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
  at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
   Assembly Version: 2.0.0.0
   Win32 Version: 2.0.50727.3615 (GDR.050727-3600)
   CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
ColorWarlock
   Assembly Version: 1.1.0.200
   Win32 Version: 1.1.0.200
   CodeBase: file:///F:/Portable/Colorwarlock/ColorWarlock.exe
----------------------------------------
System.Windows.Forms
   Assembly Version: 2.0.0.0
   Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
   CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
   Assembly Version: 2.0.0.0
   Win32 Version: 2.0.50727.3614 (GDR.050727-3600)
   CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
   Assembly Version: 2.0.0.0
   Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
   CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------

I clicked continue & all was well (I'm unable to reproduce that since though.. which is fine by me)

2) Second one is when I check for updates via the menu
Spoiler
************** Exception Text **************
System.Net.WebException: The operation has timed out
  at System.Net.HttpWebRequest.GetResponse()
  at ColorWarlock.frmCheckUpdates.CheckForUpdates()
  at ColorWarlock.frmCheckUpdates.frmCheckUpdates_Load(Object sender, EventArgs e)
  at System.Windows.Forms.Form.OnLoad(EventArgs e)
  at System.Windows.Forms.Form.OnCreateControl()
  at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
  at System.Windows.Forms.Control.CreateControl()
  at System.Windows.Forms.Control.WmShowWindow(Message& m)
  at System.Windows.Forms.Control.WndProc(Message& m)
  at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
  at System.Windows.Forms.ContainerControl.WndProc(Message& m)
  at System.Windows.Forms.Form.WmShowWindow(Message& m)
  at System.Windows.Forms.Form.WndProc(Message& m)
  at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
  at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
  at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
   Assembly Version: 2.0.0.0
   Win32 Version: 2.0.50727.3615 (GDR.050727-3600)
   CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
ColorWarlock
   Assembly Version: 1.1.0.200
   Win32 Version: 1.1.0.200
   CodeBase: file:///F:/Portable/Colorwarlock/ColorWarlock.exe
----------------------------------------
System.Windows.Forms
   Assembly Version: 2.0.0.0
   Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
   CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
   Assembly Version: 2.0.0.0
   Win32 Version: 2.0.50727.3614 (GDR.050727-3600)
   CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
   Assembly Version: 2.0.0.0
   Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
   CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Accessibility
   Assembly Version: 2.0.0.0
   Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
   CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
System.Xml
   Assembly Version: 2.0.0.0
   Win32 Version: 2.0.50727.3082 (QFE.050727-3000)
   CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Configuration
   Assembly Version: 2.0.0.0
   Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
   CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------

Clicking continue - a window opens and it hangs. Looks like it just couldnt reach 'home' -ahh, after the fourth or fifth attempt it's working now, without exceptions!


3) a minor bug:
in the Chart Builder, when typing in a name for a custom colour, I pressed the delete key to delete some text and I got a "Delete colors..." dialogue:
"Are you sure you want to delete the 0 selected color(s) in this chart?"


4) suggestion/request:
again in the Chart Builder: it would be nice if the "Chart Name" as filled in would automatically be transferred to the File Name in the save dialogue.
Tom

hamradio

  • Charter Honorary Member
  • Joined in 2006
  • ***
  • Posts: 884
  • Amateur Radio Guy
    • View Profile
    • HamRadioUSA.net
    • Read more about this member.
    • Donate to Member
Re: NANY 2011 Release: Color Warlock
« Reply #46 on: March 09, 2011, 11:13 PM »
after downloading almost every update I finally got to unpack this one :-)

Thanks! this is a really lovely, well-thought-out, and well-made, programme :up: :up:


____________________________________________________

I have managed to get two unhandled exceptions, but both seem to be resolved now - I'll report in case it's of help
OS is XP SP3

1) on the first start of colorwarlock; first copy (I dont know did I left or right-click, or maybe I did both too quickly) I got thisI clicked continue & all was well (I'm unable to reproduce that since though.. which is fine by me)

2) Second one is when I check for updates via the menuClicking continue - a window opens and it hangs. Looks like it just couldnt reach 'home' -ahh, after the fourth or fifth attempt it's working now, without exceptions!


3) a minor bug:
in the Chart Builder, when typing in a name for a custom colour, I pressed the delete key to delete some text and I got a "Delete colors..." dialogue:
"Are you sure you want to delete the 0 selected color(s) in this chart?"


4) suggestion/request:
again in the Chart Builder: it would be nice if the "Chart Name" as filled in would automatically be transferred to the File Name in the save dialogue.

1. Cant reproduce that bug either.
2. Should have better handling in the next release.
3. Should also have better handling in the next release.
4. Implemented and should also be in the next release.

Thanks for the information on the issues. :)

hamradio

  • Charter Honorary Member
  • Joined in 2006
  • ***
  • Posts: 884
  • Amateur Radio Guy
    • View Profile
    • HamRadioUSA.net
    • Read more about this member.
    • Donate to Member
Re: NANY 2011 Release: Color Warlock
« Reply #47 on: March 09, 2011, 11:54 PM »
RECOMMENDED UPDATE:

1. Added chart name as the default save filename.
2. Better check for update handling implemented.
3. Changed delete selected colors and delete all colors shortcut key.

First post for download link
or download through the link in the check for updates screen.
:D

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,964
    • View Profile
    • Donate to Member
Re: NANY 2011 Release: Color Warlock
« Reply #48 on: March 10, 2011, 03:39 AM »
1. Added chart name as the default save filename.
2. Better check for update handling implemented.
3. Changed delete selected colors and delete all colors shortcut key.
[url=https://www.donationcoder.com/forum/index.php?topic=24872.msg226875#msg226875]

all sorted :Thmbsup: :)
Tom

worstje

  • Honorary Member
  • Joined in 2009
  • **
  • Posts: 588
  • The Gent with the White Hat
    • View Profile
    • Donate to Member
Re: NANY 2011 Release: Color Warlock
« Reply #49 on: March 10, 2011, 06:08 AM »
hamradio, have a look at this StackOverflow question - it might shed some light on your clipboard issue.