You've already forked linux-packaging-mono
Imported Upstream version 4.6.0.125
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
This commit is contained in:
parent
a569aebcfd
commit
e79aa3c0ed
@@ -1,40 +0,0 @@
|
||||
2008-09-27 Jonathan Pobst <monkey@jpobst.com>
|
||||
|
||||
* Tango-fy SystemIcons.
|
||||
|
||||
2008-04-23 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
|
||||
|
||||
* AssemblyInfo.cs: Added missing attributes
|
||||
|
||||
2006-12-03 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* Mono.ico: Add mono icon to be included in SystemIcons.
|
||||
|
||||
2006-06-07 Kornél Pál <kornelpal@gmail.com>
|
||||
|
||||
* AssemblyInfo.cs: Use Consts.FxFileVersion for AssemblyFileVersion.
|
||||
|
||||
2006-05-08 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* AssemblyInfo.cs: Reduce the errors reported by corcompare.
|
||||
|
||||
2005-11-28 Konstantin Triger <kostat@mainsoft.com>
|
||||
|
||||
* Added system icons.
|
||||
|
||||
2005-08-03 Andrew Skiba <andrews@mainsoft.com>
|
||||
|
||||
* AssemblyInfo.cs: add TARGET_JVM mode
|
||||
|
||||
2004-02-07 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
|
||||
|
||||
* Locale.cs: Added
|
||||
|
||||
2003-11-13 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
|
||||
|
||||
* Consts.cs: Added
|
||||
|
||||
2003-07-17 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
|
||||
|
||||
* AssemblyInfo.cs: Added
|
||||
* ChangeLog: Added
|
||||
File diff suppressed because it is too large
Load Diff
@@ -5,13 +5,14 @@ SUBDIRS =
|
||||
LIBRARY = System.Drawing.dll
|
||||
|
||||
LIB_REFS = System
|
||||
LIB_MCS_FLAGS = /unsafe /r:$(corlib) -d:FEATURE_TYPECONVERTER \
|
||||
LIB_MCS_FLAGS = /unsafe -d:FEATURE_TYPECONVERTER \
|
||||
-resource:Assembly/Mono.ico,Mono.ico -resource:Assembly/Information.ico,Information.ico \
|
||||
-resource:Assembly/Error.ico,Error.ico -resource:Assembly/Warning.ico,Warning.ico \
|
||||
-resource:Assembly/Question.ico,Question.ico -resource:Assembly/Shield.ico,Shield.ico
|
||||
|
||||
TEST_LIB_REFS = System.Drawing System.Runtime.Serialization.Formatters.Soap System.Xml
|
||||
|
||||
TEST_MCS_FLAGS = $(LIB_MCS_FLAGS) -define:TEST -resource:Test/resources/indexed.png,indexed.png \
|
||||
-r:System.Drawing.dll -r:System.Runtime.Serialization.Formatters.Soap.dll -r:System.Xml.dll \
|
||||
-nowarn:0618 -nowarn:219 -nowarn:169
|
||||
|
||||
include ../../build/library.make
|
||||
|
||||
@@ -1,165 +0,0 @@
|
||||
2008-08-06 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* ToolboxItem.cs: (Initialize) Avoid casting image to Bitmap 2 times.
|
||||
[Found using Gendarme]
|
||||
|
||||
2008-02-16 Ivan N. Zlatev <contact@i-nz.net>
|
||||
|
||||
* UITypeEditor.cs: Associate string[] with StringArrayEditor in the
|
||||
editors table.
|
||||
[Part of fix for bugs #360666 and #358332]
|
||||
|
||||
2007-07-10 Rolf Bjarne Kvinge <RKvinge@novell.com>
|
||||
|
||||
* UITypeEditor.cs: Add a table of special editors (types that can't use
|
||||
attributes to specify the editor) to TypeDescriptor.
|
||||
|
||||
2007-06-30 Gert Driesen <drieseng@users.sourceforge.net>
|
||||
|
||||
* ToolboxItem.cs: GetType (IDesignerHost) is 2.0 only.
|
||||
|
||||
2007-06-08 Ivan N. Zlatev <contact@i-nz.net>
|
||||
|
||||
* ToolboxItem.cs: Implement some 2.0 stuff.
|
||||
Fix events not to get fired twice.
|
||||
|
||||
2007-06-06 Alan McGovern <alan.mcgovern@gmail.com>
|
||||
|
||||
* ToolboxItem.cs: Fixed typo in event firing
|
||||
|
||||
2007-03-14 Ivan N. Zlatev <contact@i-nz.net>
|
||||
|
||||
* ToolboxItem.cs: Fixed GetType not to be
|
||||
dependant on ITypeResolutionService.
|
||||
|
||||
2007-03-14 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* ToolboxItem.cs: Normalize line endings.
|
||||
|
||||
2006-11-22 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* ToolboxItem.cs: Implemented some 2.0 stuff.
|
||||
|
||||
2006-11-28 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* UITypeEditor.cs: Remove MonoTODO (this always returns false).
|
||||
|
||||
2006-08-29 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* ToolboxItem.cs: Fix compiler warning.
|
||||
|
||||
2006-05-24 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* ToolboxItem.cs: Update ComponentType property to match MS result.
|
||||
|
||||
2006-05-21 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* PropertyValueUIHandler.cs: Removed [Serializable] from 2.0 profile.
|
||||
* PropertyValueUIItemInvokeHandler.cs: Removed [Serializable] from
|
||||
2.0 profile.
|
||||
* ToolboxComponentsCreatedEventHandler.cs: Removed [Serializable]
|
||||
from 2.0 profile.
|
||||
* ToolboxComponentsCreatingEventHandler.cs: Removed [Serializable]
|
||||
from 2.0 profile.
|
||||
* ToolboxItemCreatorCallback.cs: Removed [Serializable] from 2.0
|
||||
profile.
|
||||
|
||||
2006-05-05 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* IToolboxService.cs: corcompare fix. Added [ComImport] for 2.0.
|
||||
* ToolboxItem.cs: corcompare fix. Added new overload for
|
||||
CreateComponentsCore in 2.0
|
||||
* UITypeEditor.cs: corcompare fix. Added new IsDropDownResizable
|
||||
property for 2.0.
|
||||
|
||||
2005-12-05 Jordi Mas i Hernandez <jordimash@gmail.com>
|
||||
|
||||
* ToolboxItem.cs: Add new methods and properties for .Net and
|
||||
also moved to an internal properties hashtable implementation
|
||||
|
||||
* IToolboxItemProvider.cs: New .Net 2.0 interface
|
||||
|
||||
2005-09-16 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* CategoryNameCollection.cs: Added LinkDemand for Unrestricted
|
||||
permissions. Added null checks in constructors.
|
||||
* PaintValueEventArgs.cs: Added LinkDemand and InheritanceDemand for
|
||||
Unrestricted permissions. Added null checks in constructor.
|
||||
* PropertyValueItem.cs: Added LinkDemand and InheritanceDemand for
|
||||
Unrestricted permissions. Added null checks in constructor.
|
||||
* ToolboxComponentsCreatedEventArgs.cs: Added LinkDemand and
|
||||
InheritanceDemand for Unrestricted permissions.
|
||||
* ToolboxComponentsCreatingEventArgs.cs: Added LinkDemand and
|
||||
InheritanceDemand for Unrestricted permissions.
|
||||
* ToolboxItem.cs: Added LinkDemand and InheritanceDemand for
|
||||
Unrestricted permissions.
|
||||
* ToolboxItemCollection.cs: Added LinkDemand for Unrestricted
|
||||
permissions.
|
||||
* UITypeEditor.cs: Added LinkDemand and InheritanceDemand for
|
||||
Unrestricted permissions.
|
||||
|
||||
2005-08-24 Michael Hutchinson <m.j.hutchinson@gmail.com>
|
||||
|
||||
* ToolboxItem.cs: Implemented retrieving item's bitmap
|
||||
|
||||
2005-08-09 Michael Hutchinson <m.j.hutchinson@gmail.com>
|
||||
|
||||
* ToolboxItemCollection.cs: Call base constructor
|
||||
* ToolboxItem: Implemented CreateComponentsCore, GetType, Initialize
|
||||
|
||||
2005-08-03 Andrew Skiba <andrews@mainsoft.com>
|
||||
|
||||
* UITypeEditor.cs: Added TARGET_JVM support
|
||||
|
||||
2003-06-30 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
|
||||
|
||||
* ToolboxItem.cs: Added serialization/deserialization support
|
||||
|
||||
2003-06-18 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
|
||||
|
||||
* CategoryNameCollection.cs
|
||||
* ToolboxItemCollection.cs: Implemented
|
||||
|
||||
* PropertyValueItem.cs: Implemented
|
||||
* IDesignerHost.cs: Deleted (not defined in this namespace)
|
||||
|
||||
* IToolboxService.cs: Fixed missing imports, added missing interface declarations
|
||||
* ToolboxComponentsCreatingEventArgs.cs: Fixed missing imports
|
||||
|
||||
* ToolboxItem.cs: Fixed missing imports, Partially implemented
|
||||
|
||||
* UITypeEditor.cs: Implemented
|
||||
|
||||
* UITypeEditorEditStyle.cs: Fixed incorrect values
|
||||
|
||||
2003-03-31 Alan Tam <Tam@SiuLung.com>
|
||||
|
||||
* UITypeEditor.cs: Added
|
||||
* PaintValueEventArgs.cs: Fixed typo in namespace
|
||||
|
||||
2002-12-01 Alejandro Sánchez Acosta <raciel@es.gnu.org>
|
||||
|
||||
* PaintValueEventArgs.cs,
|
||||
ToolboxComponentsCreatingEventArgs.cs,
|
||||
PropertyValueItem.cs,
|
||||
ToolboxComponentsCreatingEventHandler.cs
|
||||
IDesignerHost.cs,
|
||||
ToolboxItemCreatorCallback.cs,
|
||||
ToolboxItem.cs,
|
||||
ToolboxComponentsCreatedEventArgs.cs
|
||||
UITypeEditorEditStyle.cs,
|
||||
IToolboxUser.cs
|
||||
ToolboxComponentsCreatedEventHandler.cs
|
||||
CategoryNameCollection.cs : Added
|
||||
|
||||
2002-11-20 Alejandro Sánchez Acosta <raciel@es.gnu.org>
|
||||
|
||||
* IPropertyValueUIService.cs: Added
|
||||
|
||||
* PropertyValueItem.cs: Added
|
||||
|
||||
* PropertyValueUIHandler.cs: Added
|
||||
|
||||
* PropertyValueUIItemInvokeHandler.cs: Added
|
||||
|
||||
* ChangeLog: new file.
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1,437 +0,0 @@
|
||||
2009-07-08 Carlos Alberto Cortez <calberto.cortez@gmail.com>
|
||||
|
||||
* PaperSource.cs: Implement RawKind.
|
||||
Fixes the remaining bits of #507739.
|
||||
|
||||
2009-07-08 Carlos Alberto Cortez <calberto.cortez@gmail.com>
|
||||
|
||||
* PaperSize.cs: Implement support for RawKind.
|
||||
Patch by Andy Hume (andyhume32@yahoo.co.uk).
|
||||
Fixes part of #507739.
|
||||
|
||||
2009-07-07 Carlos Alberto Cortez <calberto.cortez@gmail.com>
|
||||
|
||||
* PaperSize.cs: Actually implement RawKind by retrieving and setting
|
||||
the kind field.
|
||||
|
||||
2008-11-01 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* PrintingServicesUnix.cs: Fix potential crash on 64bit OS. Gendarme
|
||||
rule for checking IntPtr has been updated to cover this case as well
|
||||
|
||||
2008-10-12 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* PaperSize.cs, PreviewPrintController.cs, PrinterSettings.cs,
|
||||
PrintingPermissionAttribute.cs, PrintingPermission.cs: Remove unneeded
|
||||
field initialization to their default values.
|
||||
[Found using Gendarme AvoidUnneededFieldInitializationRule]
|
||||
|
||||
2008-02-10 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* PrintingServicesUnix.cs: Fix AvoidToStringOnStringsRule found
|
||||
using Gendarme.
|
||||
|
||||
2007-12-10 Andreia Gaita <avidigal@novell.com>
|
||||
|
||||
* PrintingServicesWin32.cs: Add enumeration flag to get remote
|
||||
printers as well as locally connected ones. Fixes #325258
|
||||
|
||||
2007-06-30 Gert Driesen <drieseng@users.sourceforge.net>
|
||||
|
||||
* Margins.cs: Overloaded operators are 2.0 only.
|
||||
|
||||
2007-05-29 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* Margins.cs: Implement missing == and != operators (MoMA reports them
|
||||
but they were not included in the class status pages). Fix property
|
||||
setters (to check value), reduced code duplication and changed
|
||||
GetHashCode to be less CPU intensive.
|
||||
|
||||
2007-05-24 Gert Driesen <drieseng@users.sourceforge.net>
|
||||
|
||||
* PrintingServicesWin32.cs: Pass 0 as mode to DocumentProperties to
|
||||
obtain the size of the buffer required to hold the DEVMODE structure.
|
||||
Fixes bug #81723.
|
||||
|
||||
2007-05-23 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* PreviewPrintController.cs: Reduce bitmap size and avoid scaling the
|
||||
print preview (fix bug #80765). Patch from Vladimir Dimitrov.
|
||||
* PrintingServicesUnix.cs: Reorder calculation to avoid loss of
|
||||
precision in integer division. Use printer resolution for Cairo
|
||||
fallback. Patch from Vladimir Dimitrov.
|
||||
|
||||
2007-03-13 Andreia Gaita <avidigal@novell.com>
|
||||
|
||||
* PrintingServices.cs: Add missing static method SysPrn.GetPrintDialogInfo
|
||||
for SWF to call up printing dialogues.
|
||||
|
||||
2007-02-21 Andreia Gaita <avidigal@novell.com>
|
||||
|
||||
* PrintingServicesUnix.cs: Report an error in the console if there is
|
||||
a problem opening the printer.
|
||||
|
||||
2007-02-21 Andreia Gaita <avidigal@novell.com>
|
||||
|
||||
* PrintingServicesUnix.cs: don't free up pointers unnecessarily (doh)
|
||||
|
||||
2007-02-21 Andreia Gaita <avidigal@novell.com>
|
||||
|
||||
* PrintingServicesUnix.cs: add checks and try blocks to make sure
|
||||
things don't blow up if we try to double free anything (not that
|
||||
we're trying to do anything like that :p )
|
||||
|
||||
2007-02-21 Andreia Gaita <avidigal@novell.com>
|
||||
|
||||
* PrintingServicesUnix.cs: fix a double-free bug
|
||||
|
||||
2007-02-20 Andreia Gaita <avidigal@novell.com>
|
||||
|
||||
* PrintingServicesUnix.cs: Fix leak caused by not calling cupsFreeDests
|
||||
on certain codepaths. Fix return value of cupsFreeDests to void.
|
||||
|
||||
2007-02-20 Andreia Gaita <avidigal@novell.com>
|
||||
|
||||
* PrintingServicesUnix.cs: Correct missing static initialization
|
||||
of loaded printers hashtable, unit tests were failing (oops :p)
|
||||
|
||||
2007-02-17 Marek (please complete)
|
||||
|
||||
* PrintPreviewController, InvalidPrinterException:
|
||||
Remove warnings
|
||||
|
||||
2007-02-16 Andreia Gaita <avidigal@novell.com>
|
||||
|
||||
Redesign how and when cups gets called to minimize
|
||||
p/invokes, implements caching of printers and printer
|
||||
settings as per calberto's patch - #79822, plotter detection,
|
||||
duplex, fixes for image disposing, code modularization,
|
||||
misc. fixes.
|
||||
|
||||
* PageSettings.cs: Check and ignore null setter values on
|
||||
paper sizes, sources and resolutions.
|
||||
|
||||
* PaperSize.cs: Add default paper size flag
|
||||
|
||||
* PaperSource.cs: Add default paper source flag, minor code
|
||||
beautification
|
||||
|
||||
* PrinterSettings.cs: Add duplex and plotter implementation,
|
||||
modify calls to PrintingServices to support caching, add
|
||||
a printer capabilities list to store specific printer options -
|
||||
only loaded with cups, for now. Move the internal list classes
|
||||
to the end of the code so as not to clutter.
|
||||
|
||||
* PrintingServices.cs: Separate the PrintingServices class in 2 -
|
||||
PrintingServices and GlobalPrintingServices (see calberto's patch
|
||||
in #79822). The PrintingServices class is where all the methods
|
||||
caching information reside, the GlobalPrintingServices methods do
|
||||
no caching.
|
||||
The cached information resides on the Printer class, added to the
|
||||
SysPrn class.
|
||||
|
||||
* PrintingServicesUnix.cs: Big rewrite.
|
||||
- Essentially, redesigned and modularized the code to minimize cups
|
||||
calls. Then, applied the caching so all the cups calls are reduced
|
||||
to a minimum, by loading a list of printers onto a hashtable, then
|
||||
loading the settings of the chosen printer and saving that in the
|
||||
hashtable all in one go.
|
||||
- Also, fixes for loading the proper default values of the printer,
|
||||
which are stored in it's global options;
|
||||
- Modularization of cups/ppd loading methods (LoadPrinterOptions,
|
||||
LoadOptionList, OpenPrinter, ClosePrinter) so we don't repeat
|
||||
cups/ppd loading loops everywhere.
|
||||
- Proper disposing of pointers and structures, calling the proper
|
||||
cups free calls.
|
||||
- Add duplex support
|
||||
|
||||
* PrintingServicesWin32.cs: IsPrinterValid is no longer caching the value,
|
||||
since it should be supporting global caching as well, though that is not
|
||||
yet complete on win32. Implements plotter detection support, and changes for
|
||||
the new PrinterSettings/GlobalPrinterSettings structure. Some minor changes
|
||||
the code to minimize p/invoke calls (load the printer sources and sizes
|
||||
before accessing the collections)
|
||||
|
||||
* StandardPrintController.cs: PrinterSettings/GlobalPrinterSettings structure
|
||||
changes
|
||||
|
||||
2007-02-09 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* PrintingServicesUnix.cs: Ensure we free the original pointer in
|
||||
GetAlternativeDefaultPrinter (not the one used for iteration).
|
||||
|
||||
2007-01-19 Andreia Gaita <avidigal@novell.com>
|
||||
|
||||
* PrintingServicesUnix.cs: Add is_default flag check for
|
||||
detecting default printer when cupsGetDefault doesn't return
|
||||
valid values (mainly ubuntu). Fixes #80198, #80519
|
||||
|
||||
2007-01-09 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* PrintingServices.cs: Unify platform detection code.
|
||||
|
||||
2006-12-04 Carlos Alberto Cortez <calberto.cortez@gmail.com>
|
||||
|
||||
* PrintingServicesUnix.cs: Add "landscape" option
|
||||
when using PaperSettings.Landscape set to true. Also
|
||||
swap the width and height for the postscript file.
|
||||
|
||||
2006-12-01 Andreia Gaita <avidigal@novell.com>
|
||||
|
||||
* PrintingServicesUnix: Proper size structure use for 64 bit
|
||||
support.
|
||||
|
||||
2006-12-01 Andreia Gaita <avidigal@novell.com>
|
||||
|
||||
* PrintingServicesUnix: *properly* check return value from
|
||||
cupsGetDefault. If there are no default printers set,
|
||||
check if there are installed printers, and use that.
|
||||
Hopefully fixes #79835
|
||||
|
||||
2006-12-01 Andreia Gaita <avidigal@novell.com>
|
||||
|
||||
* PrintingServicesUnix: check return value from cupsGetDefault.
|
||||
Hopefully fixes #79835
|
||||
|
||||
2006-12-01 Jordi Mas i Hernandez <jordimash@gmail.com>
|
||||
|
||||
* PrintingServicesWin32.cs: Fixes paper sizes reading. The POINT
|
||||
structure is 8 bytes long not 4. This fixes margins calculations
|
||||
(based on the paper size) that were badly broken.
|
||||
|
||||
2006-11-28 Andreia Gaita <avidigal@novell.com>
|
||||
|
||||
* PageSettings.cs:
|
||||
- internal member name changes to help
|
||||
out with intelisense.
|
||||
- Use internal members directly instead of using
|
||||
corresponding properties so that exceptions are not thrown
|
||||
* PrintingServicesWin32:
|
||||
- Only return DefaultPrinter if it is actually valid. This
|
||||
is because Win32GetDefaultPrinter returns a printer name
|
||||
even if PrintSpooler is stopped (which should behave the
|
||||
same way as if there are no printers installed)
|
||||
- Do not try to allocate if EnumPrinters returns 0
|
||||
|
||||
2006-11-25 Jordi Mas i Hernandez <jordimash@gmail.com>
|
||||
|
||||
* PrintingServicesUnix.cs: Implements GetPrintDialogInfo
|
||||
|
||||
2006-11-24 Carlos Alberto Cortez <calberto.cortez@gmail.com>
|
||||
|
||||
Initial support for PageSettings (color, copies, collate,
|
||||
and media size).
|
||||
|
||||
* StandardPrintController.cs: Pass PrintDocument.PageSettings to
|
||||
create the Graphics object (althought PageSettings
|
||||
contains a PrinterSettings and vice versa, PrintDocument
|
||||
can contain non-related PrinterSettings and PageSettings objects).
|
||||
|
||||
* PrintingServices.cs: Likewise.
|
||||
* PrintingServicesWin32.cs: Likewise.
|
||||
* PrintingServicesUnix.cs: Likewise. Also use cupsParseOptions
|
||||
to pass printing options when calling cupsPrintFile. Use "Custom"
|
||||
as name for custom pages without associated name (Laxmark printers
|
||||
have this problem, causing a nullref exc). Add GetPaperKind () method
|
||||
to retrieve and set the right PaperKind value for PaperSize, instead
|
||||
of using PaperKind.Custom for all page sizes. Finally save
|
||||
PageSettings in DOCINFO to use it later.
|
||||
|
||||
* PrintDocument.cs: Clone PrinterSettings.PageSettings
|
||||
instead of creating a new one (this avoid creating an additional
|
||||
PrinterSettings instance).
|
||||
|
||||
2006-11-17 Andreia Gaita <avidigal@novell.com>
|
||||
|
||||
* PrintingServicesWin32.cs: fix another dumb typo -
|
||||
check proper return value from printer validity call
|
||||
|
||||
2006-11-16 Chris Toshok <toshok@ximian.com>
|
||||
|
||||
* PreviewPrintController.cs: fix typo - don't throw
|
||||
InvalidPrinterException when it wasn't supposed to be.
|
||||
|
||||
2006-11-16 Carlos Alberto Cortez <calberto.cortez@gmail.com>
|
||||
|
||||
* PrintDocument.cs: Use QueryPageSettingsEventArgs.PageSettings
|
||||
in PrintPageEventArgs, instead of using the default one (mimic
|
||||
.Net behaviour).
|
||||
|
||||
* PageSettings.cs: Implement Clone the right way (intead of using
|
||||
the default page settings).
|
||||
|
||||
2006-11-14 Andreia Gaita <avidigal@novell.com>
|
||||
Fixes #79835, implements PrinterSettings.IsValid, throws proper
|
||||
InvalidPrinterException with differentiated messages.
|
||||
|
||||
* PrintingServices.cs: Declares IsPrinterValid to enable easy checking
|
||||
if printer name is a valid printer
|
||||
|
||||
* PrintingServicesWin32.cs: Implements IsPrinterValid, caches
|
||||
last assigned printer name and if it is valid to speed up next calls.
|
||||
|
||||
* PrintingServicesUnix.cs: Implements IsPrinterValid, caches
|
||||
last assigned printer name and if it is valid to speed up next calls.
|
||||
|
||||
* PageSettings.cs:
|
||||
- throw InvalidPrinterException in the properties,
|
||||
according to the docs: Color, Landscape, PaperSize, PaperSource,
|
||||
PrinterResolution
|
||||
- change the private fields above to internal, so that in the
|
||||
constructor we can access them without triggering the exceptions
|
||||
if there are no printers installed
|
||||
|
||||
* PrinterSettings.cs: Implement IsValid to call IsPrinterValid
|
||||
implemented above
|
||||
|
||||
* PreviewPrintController.cs: throw InvalidPrinterException on
|
||||
StartPrint() if there's no valid printer configured
|
||||
|
||||
* InvalidPrinterException.cs: New private GetMessage() to customize
|
||||
printer error message, used by constructor
|
||||
|
||||
2006-09-27 Jordi Mas i Hernandez <jordimash@gmail.com>
|
||||
|
||||
* PrintingServicesUnix.cs: Implements LoadPrinterPaperSources member,
|
||||
simplifies GetPaperSizeName and loads paper source and size defaults
|
||||
|
||||
2006-09-27 Jordi Mas i Hernandez <jordimash@gmail.com>
|
||||
|
||||
* PrintingServices.cs: Add LoadPrinterPaperSources member
|
||||
|
||||
* PrintingServicesWin32.cs: Implements LoadPrinterPaperSources and
|
||||
reads the default paper source and size.
|
||||
|
||||
* PrintingServicesUnix.cs: Add stub LoadPrinterPaperSources member
|
||||
|
||||
* PrinterSettings.cs: Implements PaperSourceCollection property and
|
||||
makes default paper source and size from the system.
|
||||
|
||||
2006-08-02 Chris Toshok <toshok@ximian.com>
|
||||
|
||||
* PreviewPrintController.cs: scale the Graphics context we pass
|
||||
back from OnStartPage such that the preview looks the way the
|
||||
printed output will.
|
||||
|
||||
2006-07-28 Carlos Alberto Cortez <calberto.cortez@gmail.com>
|
||||
|
||||
* PrintDocument.cs: When null is passed to PrinterSettings,
|
||||
it should be set to a new PrinterSettings instance, and should never
|
||||
be null.
|
||||
|
||||
* PrinterSettings.cs: Default value for Copies should be 1. Also
|
||||
add a space in the ToString method, to correctly show the printer
|
||||
info.
|
||||
|
||||
2006-07-26 Chris Toshok <toshok@ximian.com>
|
||||
|
||||
* PrinterSettings.cs: expose PrintFileName in the 1.1 case as an
|
||||
internal property, so we can get at it from MWF.
|
||||
|
||||
* PrintingServicesUnix.cs: handle print to file, and also remove
|
||||
the temp file after sending the data to the printer. fix some
|
||||
dllimports to match the rest of system.drawing.
|
||||
|
||||
* PreviewPrintController.cs: implement this (warning, it'll eat
|
||||
all your memory until we get a real Metafile implementation, as
|
||||
we're storing bitmaps).
|
||||
|
||||
* PrintDocument.cs: shift the graphics context stuff around a bit
|
||||
in Print(), so that the events after OnStartPrint are passed the
|
||||
graphics context the controller created there, and we use the
|
||||
return value of OnStartPage to do all drawing.
|
||||
|
||||
2006-05-20 Jordi Mas i Hernandez <jordimash@gmail.com>
|
||||
|
||||
* PrintingServices.cs: GetPrintDialogInfo definition
|
||||
* PrintingServicesWin32.cs GetPrintDialogInfo implementation
|
||||
* PrintingServicesUnix.cs: GetPrintDialogInfo stub
|
||||
|
||||
2006-04-14 Jordi Mas i Hernandez <jordimash@gmail.com>
|
||||
|
||||
* PrintingServicesUnix.cs: Replace cupsGetPrinters deprecated API call
|
||||
|
||||
2006-04-13 Jordi Mas i Hernandez <jordimash@gmail.com>
|
||||
|
||||
* PrintingServicesUnix.cs: Checks if cups is installed
|
||||
* PrinterSettings.cs: PrintToFile property and ToString method
|
||||
|
||||
2006-04-28 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* PrintController.cs: corcompare fix. No public ctor in 2.0.
|
||||
* PrinterSettings.cs: corcompare fix. Clone method isn't virtual.
|
||||
|
||||
2006-03-21 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* PrintingServicesUnix.cs: cupsGetPrinters(char***) requires to free
|
||||
each individual string and (finally) the list. Note that this call is
|
||||
deprecated.
|
||||
|
||||
2006-03-13 Peter Dennis Bartok <pbartok@novell.com>
|
||||
|
||||
* PrintingServicesUnix.cs: Handle not having a printer
|
||||
|
||||
2006-02-09 Peter Dennis Bartok <pbartok@novell.com>
|
||||
|
||||
* PrintingServicesWin32.cs: Simplyfied the code, removing the need
|
||||
for pointer calculations (part of 64bit cleanup)
|
||||
|
||||
2006-01-27 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* PrintingServicesWin32.cs: Ensure Marshal.FreeHGlobal is called for
|
||||
all unmanaged memory allocated with AllocHGlobal.
|
||||
|
||||
2006-01-15 Jordi Mas i Hernandez <jordimash@gmail.com>
|
||||
|
||||
* PrintingServicesUnix.cs: Allow setting the dpy's for the surface
|
||||
|
||||
2005-12-22 Jordi Mas i Hernandez <jordimash@gmail.com>
|
||||
|
||||
* PrintingServices.cs: Printing services abstration class
|
||||
* PrintingServicesWin32.cs: Win32 printer driver
|
||||
* PrintingServicesUnix.cs: Unix printer driver
|
||||
* Margins.cs: Fixes exceptions error messages
|
||||
* PrinterResolution.cs: Fixes
|
||||
* PrintEventArgs.cs: New internal method
|
||||
* PrintPageEventArgs.cs: New internal method
|
||||
* StandardPrintController.cs: Fixes
|
||||
* PrinterUnitConvert.cs: Fixes conversion errors
|
||||
* PrintDocument.cs: Fixes to make it print
|
||||
* PageSettings.cs: Take margains into account
|
||||
* PrintController.cs: Fixes
|
||||
* PaperSize.cs: Method to set paper Kind
|
||||
* PrinterSettings.cs: Implements settings and fixes
|
||||
*
|
||||
|
||||
2005-12-07 Jordi Mas i Hernandez <jordimash@gmail.com>
|
||||
|
||||
* PrinterResolutionKind.cs: Fixes signature for .Net 2.0
|
||||
* PaperKind.cs: Fixes signature for .Net 2.0
|
||||
* PaperSource.cs: Fixes signature for .Net 2.0
|
||||
* Margins.cs: Fixes signature for .Net 2.0
|
||||
* PrinterResolution.cs: Fixes signature for .Net 2.0
|
||||
* PrintEventArgs.cs: Fixes signature for .Net 2.0
|
||||
* PrintAction.cs: New enum in .Net 2.0
|
||||
* PageSettings.cs: Fixes signature for .Net 2.0
|
||||
* PaperSourceKind.cs: Fixes signature for .Net 2.0
|
||||
* PrintController.cs: Fixes signature for .Net 2.0
|
||||
* Duplex.cs: Fixes signature for .Net 2.0
|
||||
* PaperSize.cs: Fixes signature for .Net 2.0
|
||||
* PreviewPrintController.cs: Fixes signature for .Net 2.0
|
||||
* PrinterSettings.cs: Fixes signature for .Net 2.0
|
||||
* PrintRange.cs: Fixes signature for .Net 2.0
|
||||
|
||||
2005-09-16 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* InvalidPrinterException.cs: Removed NotImplementedException (not
|
||||
required) and added a demand for SerializationFormatter on the
|
||||
GetObjectData method.
|
||||
* PrintingPermission.cs: Throw ArgumentException if the class or
|
||||
version attributes are missing in the supplied XML (only in 1.x).
|
||||
|
||||
2005-03-23 Jordi Mas i Hernandez <jordi@ximian.com>
|
||||
* PaperKind.cs: fixes wrong enum values
|
||||
|
||||
2005-01-27 Lluis Sanchez Gual <lluis@novell.com>
|
||||
|
||||
* MarginsConverter.cs: Implemented support for InstanceDescriptor.
|
||||
@@ -299,6 +299,9 @@ namespace System.Drawing.Printing
|
||||
CUPS_OPTIONS cups_options;
|
||||
string option_name, option_value;
|
||||
int cups_size = Marshal.SizeOf(typeof(CUPS_OPTIONS));
|
||||
|
||||
LoadOptionList (ppd, "PageSize", paper_names, out defsize);
|
||||
LoadOptionList (ppd, "InputSlot", paper_sources, out defsource);
|
||||
|
||||
for (int j = 0; j < numOptions; j++)
|
||||
{
|
||||
@@ -306,6 +309,8 @@ namespace System.Drawing.Printing
|
||||
option_name = Marshal.PtrToStringAnsi(cups_options.name);
|
||||
option_value = Marshal.PtrToStringAnsi(cups_options.val);
|
||||
|
||||
if (option_name == "PageSize") defsize = option_value;
|
||||
else if (option_name == "InputSlot") defsource = option_value;
|
||||
#if PrintDebug
|
||||
Console.WriteLine("{0} = {1}", option_name, option_value);
|
||||
#endif
|
||||
@@ -314,9 +319,6 @@ namespace System.Drawing.Printing
|
||||
|
||||
options = (IntPtr) ((long)options + cups_size);
|
||||
}
|
||||
|
||||
LoadOptionList (ppd, "PageSize", paper_names, out defsize);
|
||||
LoadOptionList (ppd, "InputSlot", paper_sources, out defsource);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -1,143 +0,0 @@
|
||||
2007-05-21 Adar Wesley <adarw@mainsoft.com>
|
||||
|
||||
* LineLayout.jvm.cs: change MemberwiseClone to clone.
|
||||
|
||||
2006-08-25 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* PrivateFontCollection.cs: Fix warning by reusing the full path.
|
||||
|
||||
2006-08-07 Andrew Skiba <andrews@mainsoft.com>
|
||||
|
||||
* LineLayout.jvm.cs: TARGET_JVM fix
|
||||
|
||||
2006-05-30 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* FontCollection.cs: Avoid calling GdipGetFontCollectionFamilyList
|
||||
when GdipGetFontCollectionFamilyCount returns a count of 0 items.
|
||||
|
||||
2006-05-21 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* GenericFontFamilies.cs: Removed [Serializable] from 2.0 profile.
|
||||
* HotkeyPrefix.cs: Removed [Serializable] from 2.0 profile.
|
||||
* TextRenderingHint.cs: Removed [Serializable] from 2.0 profile.
|
||||
|
||||
2006-04-13 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* FontCollection.cs: Remove unused ctor. Throw on disposed (private)
|
||||
collections. Don't dispose (but leak) under non-Windows OS.
|
||||
* InstalledFontCollection.cs: Remove unused ctor.
|
||||
* PrivateFontCollection.cs: Remove unused ctor. Fix exceptions to
|
||||
match unit tests.
|
||||
|
||||
2006-03-23 Peter Dennis Bartok <pbartok@novell.com>
|
||||
|
||||
* FontCollection.cs (Dispose): When on Linux/Unix, call
|
||||
GdipDeletePrivateFontCollection to free up the font collection (even
|
||||
though it's not private, we'd be leaking otherwise. Don't try this
|
||||
with Microsoft's GDI+ on Win32, though.)
|
||||
|
||||
2006-03-23 Peter Dennis Bartok <pbartok@novell.com>
|
||||
|
||||
* FontCollection.cs (get_Families): Now letting the runtime do the
|
||||
marshalling work for us. Easier to maintain and cleaner code.
|
||||
* PrivateFontCollection.cs:
|
||||
- AddFontFile: Fixed weird english in error message
|
||||
- Dispose: Need to pass ref to the native object, we were crashing
|
||||
badly
|
||||
|
||||
2006-02-09 Peter Dennis Bartok <pbartok@novell.com>
|
||||
|
||||
* ChangeLog: Created, contents from deleted 'changelog' file
|
||||
* FontCollection.cs: Cleaned up marshalling and made 64bit safe
|
||||
|
||||
2005-12-13 Konstantin Triger <kostat@mainsoft.com>
|
||||
|
||||
* TextLineIterator.jvm.cs: handle null string.
|
||||
|
||||
2005-11-16 Konstantin Triger <kostat@mainsoft.com>
|
||||
|
||||
* PrivateFontCollection.jvm.cs: open a correct stream.
|
||||
|
||||
2005-11-13 Konstantin Triger <kostat@mainsoft.com>
|
||||
|
||||
* Added LineLayout.jvm.cs, TextLineIterator.jvm.cs for text support
|
||||
|
||||
2005-11-10 Vladimir Krasnov <vladimirk@mainsoft.com>
|
||||
|
||||
* FontCollection.jvm.cs: refactoring, added GetInitialFont()
|
||||
* InstalledFontCollection.jvm.cs: refactoring, removed GetFamilyName
|
||||
* PrivateFontCollection.jvm.cs: refactoring
|
||||
|
||||
2005-08-03 Andrew Skiba <andrews@mainsoft.com>
|
||||
|
||||
* FontCollection.jvm.cs, InstalledFontCollection.jvm.cs,
|
||||
PrivateFontCollection.jvm.cs: added TARGET_JVM implementation
|
||||
|
||||
2005-04-04 Jordi Mas i Hernandez <jordi@ximian.com>
|
||||
|
||||
* PrivateFontCollection.cs: nativeFontCollection equals IntPtr.Zero to
|
||||
avoid errors on multiple disposes
|
||||
|
||||
* FontCollection.cs: implements dispose
|
||||
|
||||
2004-11-25 Marek Safar <marek.safar@seznam.cz>
|
||||
|
||||
* Image.cs: Add CheckStatus to Families.
|
||||
|
||||
2004-02-25 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
|
||||
|
||||
* PrivateFontCollection.cs: Removed excess attributes
|
||||
|
||||
2004-02-25 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
|
||||
|
||||
* FontCollection.cs: Remove console
|
||||
|
||||
2004-02-06 Sanjay Gupta <gsanjay@novell.com>
|
||||
* CheckStatus(): Used method of GDIPlus for error checking
|
||||
in FontCollection.cs, InstalledFontCollection.cs and
|
||||
PrivateFontCollection.cs
|
||||
|
||||
2004-01-29 Sanjay Gupta <gsanjay@novell.com>
|
||||
* FontCollection.cs: Implemented Dispose method.
|
||||
* InstalledFontCollection.cs: Removed Console.WriteLine calls.
|
||||
* PrivateFontCollection.cs: Implemented AddMemoryFont method.
|
||||
|
||||
2004-01-28 Jordi Mas <jordi@ximian.com>
|
||||
* FontCollection.cs: fixed marshalling issues
|
||||
|
||||
2004-01-28 Sanjay Gupta <gsanjay@novell.com>
|
||||
|
||||
* FontCollection.cs: Implemented missing functionalities.
|
||||
* InstalledFontCollection.css: Implemented missing functionalities.
|
||||
* PrivateFontCollection.cs: Implemented few methods.
|
||||
|
||||
2004-01-10 Ravindra <rkumar@novell.com>
|
||||
|
||||
* All Enums: Made serializable.
|
||||
|
||||
2003-10-12 Alexandre Pigolkine <pigolkine@gmx.de>
|
||||
* InstalledFontCollection.cs factory removed
|
||||
|
||||
2003-06-22 Alexandre Pigolkine <pigolkine@gmx.de>
|
||||
* FontCollection.cs
|
||||
* InstalledFontCollection.cs
|
||||
calls to implementation added
|
||||
|
||||
2002-09-16 Nick Drochak <ndrochak@gol.com>
|
||||
|
||||
* PrivateFontCollection.cs: Fix build error. Cannot put ComVisible on
|
||||
constructors.
|
||||
|
||||
2003-09-14 Piers Haken <piersh@friskit.com>
|
||||
|
||||
* PrivateFontCollection.cs: import interop for ComVisible attribute
|
||||
|
||||
2002-09-13 Dennis Hayes (dennish@raytek.com)
|
||||
* checked in for Everaldo Canuto everaldo.canuto@bol.com.br
|
||||
|
||||
* FontCollection.cs
|
||||
* GenericFontFamilies.cs
|
||||
* HotkeyPrefix.cs
|
||||
* InstalledFontCollection.cs
|
||||
* PrivateFontCollection.cs
|
||||
* TextRenderingHint.cs
|
||||
@@ -2,6 +2,8 @@ Assembly/AssemblyInfo.cs
|
||||
../../build/common/Consts.cs
|
||||
../../build/common/Locale.cs
|
||||
System.Drawing/Bitmap.cs
|
||||
System.Drawing/BitmapSuffixInSameAssemblyAttribute.cs
|
||||
System.Drawing/BitmapSuffixInSatelliteAssemblyAttribute.cs
|
||||
System.Drawing/Brush.cs
|
||||
System.Drawing/Brushes.cs
|
||||
System.Drawing/BufferedGraphics.cs
|
||||
|
||||
@@ -0,0 +1,48 @@
|
||||
//
|
||||
// System.Drawing.BitmapSuffixInSameAssemblyAttribute.cs
|
||||
//
|
||||
// Authors:
|
||||
// Andrés G. Aragoneses (knocte@gmail.com)
|
||||
//
|
||||
// Copyright (C) 2016 Andrés G. Aragoneses
|
||||
//
|
||||
// Permission is hereby granted, free of charge, to any person obtaining
|
||||
// a copy of this software and associated documentation files (the
|
||||
// "Software"), to deal in the Software without restriction, including
|
||||
// without limitation the rights to use, copy, modify, merge, publish,
|
||||
// distribute, sublicense, and/or sell copies of the Software, and to
|
||||
// permit persons to whom the Software is furnished to do so, subject to
|
||||
// the following conditions:
|
||||
//
|
||||
// The above copyright notice and this permission notice shall be
|
||||
// included in all copies or substantial portions of the Software.
|
||||
//
|
||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
||||
// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
||||
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
//
|
||||
|
||||
using System;
|
||||
using System.ComponentModel;
|
||||
|
||||
namespace System.Drawing
|
||||
{
|
||||
[AttributeUsage (AttributeTargets.Assembly)]
|
||||
public class BitmapSuffixInSameAssemblyAttribute : Attribute {
|
||||
|
||||
public BitmapSuffixInSameAssemblyAttribute ()
|
||||
: base ()
|
||||
{
|
||||
}
|
||||
|
||||
public virtual object TypeId {
|
||||
get {
|
||||
throw new NotImplementedException ();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,48 @@
|
||||
//
|
||||
// System.Drawing.BitmapSuffixInSatelliteAssemblyAttribute.cs
|
||||
//
|
||||
// Authors:
|
||||
// Andrés G. Aragoneses (knocte@gmail.com)
|
||||
//
|
||||
// Copyright (C) 2016 Andrés G. Aragoneses
|
||||
//
|
||||
// Permission is hereby granted, free of charge, to any person obtaining
|
||||
// a copy of this software and associated documentation files (the
|
||||
// "Software"), to deal in the Software without restriction, including
|
||||
// without limitation the rights to use, copy, modify, merge, publish,
|
||||
// distribute, sublicense, and/or sell copies of the Software, and to
|
||||
// permit persons to whom the Software is furnished to do so, subject to
|
||||
// the following conditions:
|
||||
//
|
||||
// The above copyright notice and this permission notice shall be
|
||||
// included in all copies or substantial portions of the Software.
|
||||
//
|
||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
||||
// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
||||
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
//
|
||||
|
||||
using System;
|
||||
using System.ComponentModel;
|
||||
|
||||
namespace System.Drawing
|
||||
{
|
||||
[AttributeUsage (AttributeTargets.Assembly)]
|
||||
public class BitmapSuffixInSatelliteAssemblyAttribute : Attribute {
|
||||
|
||||
public BitmapSuffixInSatelliteAssemblyAttribute ()
|
||||
: base ()
|
||||
{
|
||||
}
|
||||
|
||||
public virtual object TypeId {
|
||||
get {
|
||||
throw new NotImplementedException ();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
3f744aa254fb0a42f54ccd43ccec505a28658bd0
|
||||
@@ -1,58 +0,0 @@
|
||||
2007-10-17 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* HostIgnoreList.cs: Now use the DISTRO variable to track tests to
|
||||
ignore.
|
||||
|
||||
2007-01-07 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* HostIgnoreList.cs: New class to ignore some tests on specific hosts.
|
||||
Useful for monobuild where old versions of libraries (e.g. fontconfig)
|
||||
are failing some unit tests (that we don't want to ignore for all
|
||||
platforms/distros).
|
||||
|
||||
2006-09-18 Boris Kirzner <borisk@mainsoft.com>
|
||||
|
||||
* Test20.J2EE.vmwcsproj : fixed reference path.
|
||||
|
||||
2006-09-12 Boris Kirzner <borisk@mainsoft.com>
|
||||
* Test20.csproj,Test20.J2EE.vmwcsproj: updated references path.
|
||||
|
||||
2006-08-28 Boris Kirzner <borisk@mainsoft.com>
|
||||
* System.Drawing.Test20.J2EE.sln, System.Drawing.Test20.sln,
|
||||
Test20.csproj, Test20.J2EE.vmwcsproj: added solution
|
||||
and project files for NET_2_0 tests.
|
||||
|
||||
2006-01-25 Boris Kirzner <borisk@mainsoft.com>
|
||||
* Test.vmwcsproj,Test.dotnet.csproj: added reference to NUnit projects.
|
||||
|
||||
2006-01-23 Boris Kirzner <borisk@mainsoft.com>
|
||||
* Test.vmwcsproj: perform java output validation.
|
||||
|
||||
2005-09-06 Boris Kirzner <borisk@mainsoft.com>
|
||||
|
||||
* Test.dotnet.csproj, Test.vmwcsproj: Added GraphicsPathIterator.cs.
|
||||
|
||||
2005-08-16 Andrew Skiba <andrews@mainsoft.com>
|
||||
|
||||
* Test.dotnet.csproj, Test.vmwcsproj: Embed Bitmap1.png, add Bitmap1.bmp
|
||||
|
||||
2005-08-10 Boris Kirzner <borisk@mainsoft.com>
|
||||
* Test.dotnet.csproj, Test.vmwcsproj: Added GraphicsPath.cs.
|
||||
|
||||
2005-08-09 Andrew Skiba <andrews@mainsoft.com>
|
||||
|
||||
* Test.dotnet.csproj, Test.vmcsproj: add ColorConverter.cs and ColorTranslator.cs
|
||||
|
||||
2005-08-08 Andrew Skiba <andrews@mainsoft.com>
|
||||
* Test.dotnet.csproj, Test.vmcsproj: move these projects from DrawingTest/Test and include Mono tests in addition to Mainsoft tests.
|
||||
|
||||
2004-03-17 Ravindra <rkumar@novell.com>
|
||||
* System.Drawing.Drawing2D: Created repository for tests of
|
||||
this namespace.
|
||||
* System.Drawing.Imaging: Created repository for tests of
|
||||
this namespace.
|
||||
* System.Drawing.Printing: Created repository for tests of
|
||||
this namespace.
|
||||
* System.Drawing.Text: Created repository for tests of this
|
||||
namespace.
|
||||
* ChangeLog: Added.
|
||||
@@ -1,39 +0,0 @@
|
||||
2006-12-21 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* TestToolboxItem.cs: More test cases (mostly 2.0 stuff).
|
||||
|
||||
2006-11-28 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* UITypeEditorCas.cs: Reuse new unit test cases in CAS tests.
|
||||
* UITypeEditorTest.cs: New. Unit tests for UITypeEditor.
|
||||
|
||||
2006-05-25 Gert Driesen <drieseng@users.sourceforge.net>
|
||||
|
||||
* PropertyValueUIItemCas.cs: Fix compilation using csc 1.x.
|
||||
|
||||
2006-05-24 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* TestToolboxItem.cs: Update ComponentType check to work under MS 2.0.
|
||||
|
||||
2005-12-05 Jordi Mas i Hernandez <jordimash@gmail.com>
|
||||
|
||||
* TestToolboxItem.cs: New unit test
|
||||
|
||||
2005-09-16 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* CategoryNameCollectionCas.cs: New. CAS unit tests to check for
|
||||
LinkDemand for SkipVerification.
|
||||
* PaintValueEventArgsCas.cs: New. CAS unit tests to check for
|
||||
LinkDemand for SkipVerification.
|
||||
* PropertyValueUIItemCas.cs: New. CAS unit tests to check for
|
||||
LinkDemand for SkipVerification.
|
||||
* ToolboxComponentsCreatedEventArgsCas.cs: New. CAS unit tests to
|
||||
check for LinkDemand for SkipVerification.
|
||||
* ToolboxComponentsCreatingEventArgsCas.cs: New. CAS unit tests to
|
||||
check for LinkDemand for SkipVerification.
|
||||
* ToolboxItemCas.cs: New. CAS unit tests to check for LinkDemand for
|
||||
SkipVerification.
|
||||
* ToolboxItemCollectionCas.cs: New. CAS unit tests to check for
|
||||
LinkDemand for SkipVerification.
|
||||
* UITypeEditorCas.cs: New. CAS unit tests to check for LinkDemand for
|
||||
SkipVerification.
|
||||
@@ -1,250 +0,0 @@
|
||||
2010-07-15 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* LinearGradientBrushTest.cs: Add test case for #537396 (empty rects)
|
||||
|
||||
2009-08-28 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* TestBlend.cs, TestMatrix.cs : nunit test upgrade to modern style.
|
||||
|
||||
2008-12-23 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* GraphicsPathTest.cs, LinearGradientBrushTest.cs, TestMatrix.cs:
|
||||
Add delta when comparing floating point values since there can be
|
||||
small differences between different platforms.
|
||||
|
||||
2008-12-10 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* LinearGradientBrushTest.cs, GraphicsPathTest.cs,
|
||||
TestMatrix.cs : fix tests wrt rounding that were failing on .NET
|
||||
too (exposed by nunit24).
|
||||
|
||||
2008-11-01 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* GraphicsPathIteratorTest.cs: New. Add some (incomplete) unit
|
||||
tests for GraphicsPathIterator. Test cases are mostly to ensure
|
||||
null check compatibility with MS.
|
||||
* LinearGradientBrushTest.cs: Add test case when setting null
|
||||
on properties.
|
||||
* PathGradientBrushTest.cs: Add test case when setting null
|
||||
on properties.
|
||||
|
||||
2008-09-03 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* GraphicsPathTest.cs: Add unit test to check for an open curve
|
||||
points.
|
||||
|
||||
2008-09-02 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* GraphicsPathTest.cs: Add a bunch of unit tests to check when
|
||||
points can be compressed (removed) when adding shapes to a path.
|
||||
|
||||
2008-08-04 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* GraphicsPathTest.cs: Add test case for "half" closed paths.
|
||||
[Bug #413461]
|
||||
|
||||
2007-10-30 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* GraphicsPathTest.cs: Added IsVisible test cases on ellipses
|
||||
(#325502)
|
||||
|
||||
2007-07-31 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* GraphicsPathTest.cs: Added more test cases for Reverse based on the
|
||||
C test cases provided in #81859.
|
||||
|
||||
2007-07-30 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* GraphicsPathTest.cs: Added more test cases for Reverse, the complex
|
||||
ones don't work yet (see #81859).
|
||||
|
||||
2007-03-30 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* TestMatrix.cs: Allow a small delta when comparing floats. This
|
||||
allows the ARM to work properly (e.g. -9.999995 versus -10).
|
||||
|
||||
2006-09-26 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* GraphicsPathTest.cs: Added test case for Reverse (and found out that
|
||||
the types aren't reversed, only the points are).
|
||||
|
||||
2006-09-18 Boris Kirzner <borisk@mainsoft.com>
|
||||
|
||||
* TestColorBlend.cs,TestHatchBrush.cs : marked tests not working
|
||||
for TARGET_JVM.
|
||||
|
||||
2006-08-16 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* GraphicsPathTest.cs: Ignore some test cases if we cannot get any
|
||||
font family from GDI+.
|
||||
* TestHatchBrush.cs: Ignore some test cases if we cannot get any font
|
||||
family from GDI+. Update to NUnit 2.2+ and fix getOutSufix method
|
||||
|
||||
2006-06-09 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* GraphicsPathTest.cs: Added test cases for IsVisible methods.
|
||||
|
||||
2006-06-07 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* GraphicsPathTest.cs: Added test cases for IsOutlineVisible methods.
|
||||
|
||||
2006-06-01 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* TestHatchBrush.cs: Some were surprisingly similar until...
|
||||
|
||||
2006-05-24 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* GraphicsPathTest.cs: Ignore some test cases that aren't implemented
|
||||
in libgdiplus and have different results in MS 1.x/2.0 (or between
|
||||
different executions, yuck).
|
||||
|
||||
2006-05-09 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* PathGradientBrushTest.cs: New. Unit tests (mostly) based on the test
|
||||
cases created for LinearGradientBrush.
|
||||
|
||||
2006-05-08 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* GraphicsPathTest.cs: Added test cases for Widen and Wrap with empty
|
||||
path (expected behaviour) and paths that have a single point (stranger
|
||||
behaviour). Changed comments on GetBounds_WithPen test case as it will
|
||||
probably never work under Mono due to difference in precisions.
|
||||
|
||||
2006-05-05 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* GraphicsPathTest.cs: Added more test cases for GetBounds and found
|
||||
out the results are very imprecise when curves are used (hence
|
||||
difficult to test but much easier to implement ;-)
|
||||
|
||||
2006-05-03 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* LinearGradientBrushTest.cs: Added new test case for #78185 (from
|
||||
Bill Holmes).
|
||||
|
||||
2006-05-01 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* LinearGradientBrushTest.cs: Added new test case for #78179 (from
|
||||
Bill Holmes).
|
||||
|
||||
2006-04-28 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* TestColorBlend.cs: Added new test cases to verify if the TODO were
|
||||
still valid. Updated existing test cases to nunit 2.2 api.
|
||||
* GraphicsPathTest.cs: Added new test cases for AddCurve and it's
|
||||
different behaviour (in some methods) when only two points are used
|
||||
to define a curve.
|
||||
|
||||
2006-04-27 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* GraphicsPathTest.cs: Activate two unit tests where we use AddLines
|
||||
to add a single point to a path.
|
||||
|
||||
2006-04-27 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* GraphicsPathTest.cs: Added new test cases for AddString.
|
||||
|
||||
2006-04-20 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* LinearGradientBrushTest.cs: Remove "NonWorking" from many test
|
||||
cases. Added more test cases for non-invertible matrix and to ensure
|
||||
all matrix-based transformation are correct.
|
||||
|
||||
2006-04-19 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* GraphicsPathTest.cs: Add test cases for Wrap and Widen (most of them
|
||||
are current "NotWorking").
|
||||
|
||||
2006-04-10 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* TestMatrix.cs: Added new test cases for contructors accepting
|
||||
rectangles and points.
|
||||
|
||||
2006-03-30 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* LinearGradientBrushTest.cs: Added a bunch of test cases to check
|
||||
for the "initial" matrix of the brush (which we don't set).
|
||||
* TestMatrix.cs: Added test cases about matrix identity precision.
|
||||
|
||||
2006-03-29 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* GraphicsPathTest.cs: Add test cases for every Add* method to check
|
||||
their (different) behaviour wrt starting and closing figures in the
|
||||
path they are added.
|
||||
|
||||
2006-03-28 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* TestMatrix.cs: Added new test cases.
|
||||
|
||||
2006-03-22 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* LinearGradientBrushTest.cs: New. Some unit tests (moslty failing).
|
||||
|
||||
2006-03-14 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* TestMatrix.cs: Added new test cases to test libgdiplus validations.
|
||||
|
||||
2006-03-13 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* GraphicsPathTest.cs: Added new test cases for SetMarkers,
|
||||
ClearMarkers, CloseFigure and CloseAllFigures on an empty path.
|
||||
|
||||
2006-01-27 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* GraphicsPathTest.cs: Removed "NotWorking" from existing Flatten
|
||||
tests and added more test cases (for each type of shape).
|
||||
|
||||
2006-01-16 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* GraphicsPathTest.cs: Added test cases for GetBounds and re-activated
|
||||
some parts of the tests that checked bounds (Add* tests).
|
||||
|
||||
2006-01-13 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* GraphicsPathTest.cs: New. Added multiple test cases to check null
|
||||
handling and how the points are generated for the Add* methods.
|
||||
* PathDataTest.cs: New. Added clone test case.
|
||||
|
||||
2006-01-12 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* GraphicsPathTest.cs: New. Basic test cases for empty path and
|
||||
cloning.
|
||||
* PathDataTest.cs: New. Test cases for PathData.
|
||||
|
||||
2005-09-16 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* TestBlend.cs, TestColorBlend.cs, TestHatchBrush.cs, TestMatrix.cs:
|
||||
Deny UnmanagedCode permission to all tests. This shows (when executed
|
||||
under MS runtime) that S.D API is safe and doesn't requires high
|
||||
privileges to run - even if we know that, deep down, this calls into
|
||||
GDI+.
|
||||
|
||||
2005-08-25 Jordi Mas i Hernandez <jordi@ximian.com>
|
||||
|
||||
* TestMatrix.cs: New test cases
|
||||
|
||||
2005-08-24 Jordi Mas i Hernandez <jordi@ximian.com>
|
||||
|
||||
* TestMatrix.cs: New Matrix unit case
|
||||
|
||||
2004-06-03 Ravindra <rkumar@novell.com>
|
||||
|
||||
* TestHatchBrush.cs: Added missing test cases for all the hatch
|
||||
styles.
|
||||
|
||||
2004-05-18 Ravindra <rkumar@novell.com>
|
||||
|
||||
* TestHatchBrush.cs: Added a test case for HatchBrush.cs.
|
||||
* TestBlend.cs: dos2unix format and namespace changed to
|
||||
MonoTests.System.Drawing.Drawing2D.
|
||||
* TestColorBlend.cs: dos2unix format and namespace changed to
|
||||
MonoTests.System.Drawing.Drawing2D.
|
||||
|
||||
2004-03-17 Ravindra <rkumar@novell.com>
|
||||
|
||||
* TestBlend.cs: Added.
|
||||
* TestColorBlend.cs: Added.
|
||||
|
||||
2004-03-17 Ravindra <rkumar@novell.com>
|
||||
* System.Drawing.Drawing2D: Created a repository for
|
||||
System.Drawing.Drawing2D tests.
|
||||
* ChangeLog: Added.
|
||||
@@ -1,272 +0,0 @@
|
||||
2008-08-06 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* FrameDimensionTest.cs: New. Unit tests for FrameDimension
|
||||
|
||||
2007-08-01 Vladimir Krasnov <vladimirk@mainsoft.com>
|
||||
|
||||
* TestImageAttributes.cs: ImageAttributes tests ignored in TARGET_JVM
|
||||
since not ImageAttributes supported
|
||||
* TestJpegCodec.cs: Bitmap8bbpIndexedGreyscalePixels is not working in GH
|
||||
|
||||
2007-07-05 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* TestImageAttributes.cs: More complete test for small versus big
|
||||
alpha uses in matrices.
|
||||
|
||||
2007-06-21 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* TestImageAttributes.cs: Add test case for big alpha value used in
|
||||
a ColorMatrix.
|
||||
|
||||
2007-05-30 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* GifCodecTest.cs: Add test case for interlaced GIF
|
||||
* TestImageAttributes.cs: Add test cases for ColorMatrixFlags and for
|
||||
Gray ColorMatrix uses.
|
||||
|
||||
2007-05-23 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* PngCodecTest.cs: Add test cases for 2bpp PNG images. Add some
|
||||
palette assertions in 1bpp and 4bpp test cases.
|
||||
|
||||
2007-05-17 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* MetafileTest.cs: Ignore test Measure if no fonts are available.
|
||||
|
||||
2007-05-17 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* MetafileTest.cs: Add a few test cases on what happens when recording
|
||||
metafiles.
|
||||
|
||||
2007-05-08 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* TestJpegCodec.cs: Add test cases for 8bpp indexed greyscale JPEG
|
||||
|
||||
2007-04-26 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* MetafileTest.cs: Add test cases for some .ctor(Stream...)
|
||||
|
||||
2007-04-26 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* MetafileTest.cs: Add test cases for more .ctors
|
||||
|
||||
2007-04-16 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* GifCodecTest.cs: Fix typo and add Stride check.
|
||||
* IconCodecTest.cs: Fix typo.
|
||||
* PngCodecTest.cs: Fix typo and add Stride check.
|
||||
* TiffCodecTest.cs: Fix typo.
|
||||
|
||||
2007-04-12 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* TestBmpCodec.cs: Reenable some NotWorking test case.
|
||||
* TestJpegCodec.cs: Reenable some NotWorking test case.
|
||||
* TiffCodecTest.cs: Reenable some NotWorking test case.
|
||||
|
||||
2007-04-11 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* GifCodecTest.cs: Reenable some NotWorking test cases.
|
||||
* IconCodecTest.cs: Reenable some NotWorking test cases.
|
||||
* PngCodecTest.cs: Reenable some NotWorking test cases.
|
||||
|
||||
2007-04-10 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* GifCodecTest.cs: Fix Save* test cases to check 8bpp indexed for all
|
||||
GIF saved. Added comments to why we're not getting the "right" Red.
|
||||
* TestBmpCodec.cs: Remove "NotWorking" from Bitmap32bitPixels test
|
||||
case. The file is a 32bpp RGB (no alpha).
|
||||
|
||||
2007-03-28 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* TiffCodecTest.cs: Ignore both SPARC bots by using the HostIgnoreList
|
||||
mechanism.
|
||||
|
||||
2007-03-15 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* EmfPlusRecordTypeTest.cs: New. Unit tests.
|
||||
* TestColorMatrix.cs: Added some test case and reworked existing to
|
||||
fix expected/actual results and add test descriptions (which should
|
||||
help find where the endian issue is hiding).
|
||||
|
||||
2007-03-14 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* GifCodecTest.cs: Add test cases for a GIF87a image - which is the
|
||||
format that GDI+ save GIF files (even if the original was a GIF89a).
|
||||
|
||||
2007-03-09 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* MetafileTest.cs: New. Metafile unit tests.
|
||||
|
||||
2007-02-16 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* TestImageCodecInfo.cs: Add missing test case for TIFF codec;
|
||||
|
||||
2007-02-08 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* TestBmpCodec.cs: Add test case for non-inverted bitmaps #80751
|
||||
|
||||
2007-01-15 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* IconCodecTest.cs: New test case to check 32bpp (XP) icons.
|
||||
|
||||
2007-01-11 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* IconCodecTest.cs: New test case to check loading from an Icon then
|
||||
create a Bitmap from the Image. Some properties are changed in the
|
||||
process (e.g. palette, flags).
|
||||
|
||||
2007-01-10 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* IconCodecTest.cs: Add test cases for 48x48, 64x64 and 96x96 icons.
|
||||
Fix test cases for 16x16 and 32x32 icons. Add test cases for 256
|
||||
colors and monochrome icons. Remove NotWorking from most tests.
|
||||
|
||||
2007-01-08 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* IconCodecTest.cs: Remove [Ignore] and replace with NotWorking.
|
||||
* TestImageCodecInfo.cs: Add test for new encoders/decoders and
|
||||
signature masks and patterns.
|
||||
|
||||
2006-12-21 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* TestImageAttributes.cs: Added test cases for #80323 for ColorMatrix
|
||||
using alpha values (with or without an original alpha-based color).
|
||||
|
||||
2006-10-31 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* MetaHeaderTest.cs: New. Unit tests for MetaHeader.
|
||||
* WmfPlaceableFileHeaderTest.cs: New. Unit tests for
|
||||
WmfPlaceableFileHeader.
|
||||
|
||||
2006-09-18 Boris Kirzner <borisk@mainsoft.com>
|
||||
|
||||
* TestBmpCodec.cs,TestColorMatrix.cs,TestJpegCodec.cs : mark tests
|
||||
not working in TARGET_JVM.
|
||||
|
||||
2006-09-16 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* GifCodecTest.cs: Change filename for Save to ease debugging.
|
||||
* IconCodecTest.cs: Change filename for Save to ease debugging.
|
||||
* PngCodecTest.cs: Change filename for Save to ease debugging. Change
|
||||
color from Red to BlueViolet for lossless formats.
|
||||
* TestBmpCodec.cs: Change filename for Save to ease debugging. Change
|
||||
color from Red to BlueViolet for lossless formats.
|
||||
* TestJpegCodec.cs: Change filename for Save to ease debugging.
|
||||
* TiffCodecTest.cs: Change filename for Save to ease debugging. Change
|
||||
color from Red to BlueViolet for lossless formats.
|
||||
|
||||
2006-09-15 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* GifCodecTest.cs, IconCodecTest.cs, PngCodecTest.cs, TestBmpCodec.cs,
|
||||
TestJpegCodec.cs, TiffCodecTest.cs: Refactor Save test case to check
|
||||
convertions between pixel formats.
|
||||
|
||||
2006-09-12 Boris Kirzner <borisk@mainsoft.com>
|
||||
|
||||
* TestBmpCodec.cs, TestJpegCodec.cs: ifdef unsafe code
|
||||
for TARGET_JVM.
|
||||
|
||||
2006-09-01 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* GifCodecTest.cs: New. Unit tests for GIF codec.
|
||||
* IconCodecTest.cs: New. Unit tests for ICON codec (not working).
|
||||
* PngCodecTest.cs: New. Unit tests for PNG codec.
|
||||
* TiffCodecTest.cs: New. Unit tests for TIFF codec.
|
||||
|
||||
2006-08-31 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* TestBmpCodec.cs: Add more test cases for 1, 8 and 32 bbp bitmaps
|
||||
including checks for Pixels and BitmapData.
|
||||
* TestImageCodecInfo.cs: Fix namespace and class name.
|
||||
* TestJpegCodec.cs: Reactivate the tests (not sure why they were
|
||||
commented). Added test cases for Pixel and BitmapData (NotWorking).
|
||||
|
||||
2006-08-25 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* TestBmpCodec.cs: Add pixel value tests to a well known bitmap.
|
||||
|
||||
2006-08-24 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* TestColorMatrix.cs: Add test cases for error handling inside ctor and
|
||||
for testing each field with a different value.
|
||||
|
||||
2006-07-19 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* TestImageFormat.cs: Added test cases for well known image format
|
||||
(which returns a human readable name when the ImageFormat comes from
|
||||
the static properties).
|
||||
|
||||
2006-06-30 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* TestImageAttribute.cs: Fix namespace and split test for easier
|
||||
search of a memory leak.
|
||||
|
||||
2006-05-29 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* TestImageFormat.cs: Added test cases for Equals and GetHashCode.
|
||||
|
||||
2006-05-24 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* TestImageFormat.cs: Update ToString expected outputs to match MS.
|
||||
|
||||
2006-05-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
|
||||
|
||||
* TestBmpCodec.cs: Bitmap24bitFeatures works now.
|
||||
|
||||
2006-04-25 Peter Dennis Bartok <pbartok@novell.com>
|
||||
|
||||
* TestBmpCodec.cs: Marked the 24bit test as not working until
|
||||
bug #78189 is fixed.
|
||||
|
||||
2006-01-25 Boris Kirzner <borisk@mainsoft.com>
|
||||
*TestBmpCodec.cs, TestImageAttributes.cs, TestImageCodecInfo.cs:
|
||||
added #ifdef for TARGET_JVM.
|
||||
|
||||
2005-11-13 Kornél Pál <kornelpal@hotmail.com>
|
||||
|
||||
* TestImageFormat.cs: Added ToStringTest.
|
||||
|
||||
2005-10-31 Jordi Mas i Hernandez <jordi@ximian.com>
|
||||
|
||||
* TestImageFormat.cs: New test unit
|
||||
|
||||
2005-09-16 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* TestBmpCodec.cs, TestColorMatrix.cs, TestImageAttributes.cs,
|
||||
TestImageCodecInfo.cs, TestJpegCodec.cs: Deny UnmanagedCode permission
|
||||
to all tests. This shows (when executed under MS runtime) that S.D API
|
||||
is safe and doesn't requires high privileges to run - even if we know
|
||||
that, deep down, this calls into GDI+.
|
||||
|
||||
2005-08-19 Jordi Mas i Hernandez <jordi@ximian.com>
|
||||
|
||||
* TestBmpCodec.cs: Enable PixelFormat tests
|
||||
|
||||
2005-08-16 Andrew Skiba <andrews@mainsoft.com>
|
||||
|
||||
* TestImageCodecInfo.cs: use regular expressions for results that may vary
|
||||
while still in correct format, so same tests can be used for jvm
|
||||
|
||||
2005-08-09 Andrew Skiba <andrews@mainsoft.com>
|
||||
|
||||
* TestImageCodecInfo.cs: FormatID, CodecName, DllName, FilenameExtension,
|
||||
Flags, FormatDescription, MimeType properties checked
|
||||
|
||||
2005-08-09 Andrew Skiba <andrews@mainsoft.com>
|
||||
|
||||
* TestImageCodecInfo.cs: refactor to make possible to add tests for all
|
||||
properties, not only FormatID.
|
||||
|
||||
2004-03-22 Jordi Mas i Hernandez <jordi@ximian.com>
|
||||
|
||||
* TestColorMatrix.cs: added test case
|
||||
* TestImageAttributes.cs: added test case
|
||||
|
||||
2004-06-10 Sanjay Gupta <gsanjay@novell.com>
|
||||
|
||||
* TestBmpCodec.cs, TestImageCodecInfo.cs, TestJpedCodec.cs: Removed
|
||||
dependency on obsolete class, Assertion from NUnit.
|
||||
|
||||
2004-03-17 Ravindra <rkumar@novell.com>
|
||||
* Created this repository for System.Drawing.Imaging tests.
|
||||
* ChangeLog: Added.
|
||||
@@ -71,6 +71,27 @@ namespace MonoTests.System.Drawing.Imaging {
|
||||
return sRslt;
|
||||
}
|
||||
|
||||
private bool IsArm64Process ()
|
||||
{
|
||||
if (Environment.OSVersion.Platform != PlatformID.Unix || !Environment.Is64BitProcess)
|
||||
return false;
|
||||
|
||||
try {
|
||||
var process = new global::System.Diagnostics.Process ();
|
||||
process.StartInfo.FileName = "uname";
|
||||
process.StartInfo.Arguments = "-m";
|
||||
process.StartInfo.RedirectStandardOutput = true;
|
||||
process.StartInfo.UseShellExecute = false;
|
||||
process.Start ();
|
||||
process.WaitForExit ();
|
||||
var output = process.StandardOutput.ReadToEnd ();
|
||||
|
||||
return output.Trim () == "aarch64";
|
||||
} catch {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
/* Checks bitmap features on a known 1bbp bitmap */
|
||||
[Test]
|
||||
public void Bitmap1bitFeatures ()
|
||||
@@ -290,6 +311,9 @@ namespace MonoTests.System.Drawing.Imaging {
|
||||
[Test]
|
||||
public void Bitmap2bitFeatures ()
|
||||
{
|
||||
if (IsArm64Process ())
|
||||
Assert.Ignore ("https://bugzilla.xamarin.com/show_bug.cgi?id=41171");
|
||||
|
||||
string sInFile = getInFile ("bitmaps/81674-2bpp.png");
|
||||
using (Bitmap bmp = new Bitmap (sInFile)) {
|
||||
GraphicsUnit unit = GraphicsUnit.World;
|
||||
@@ -318,6 +342,9 @@ namespace MonoTests.System.Drawing.Imaging {
|
||||
[Test]
|
||||
public void Bitmap2bitPixels ()
|
||||
{
|
||||
if (IsArm64Process ())
|
||||
Assert.Ignore ("https://bugzilla.xamarin.com/show_bug.cgi?id=41171");
|
||||
|
||||
string sInFile = getInFile ("bitmaps/81674-2bpp.png");
|
||||
using (Bitmap bmp = new Bitmap (sInFile)) {
|
||||
#if false
|
||||
@@ -350,6 +377,9 @@ namespace MonoTests.System.Drawing.Imaging {
|
||||
[Test]
|
||||
public void Bitmap2bitData ()
|
||||
{
|
||||
if (IsArm64Process ())
|
||||
Assert.Ignore ("https://bugzilla.xamarin.com/show_bug.cgi?id=41171");
|
||||
|
||||
string sInFile = getInFile ("bitmaps/81674-2bpp.png");
|
||||
using (Bitmap bmp = new Bitmap (sInFile)) {
|
||||
BitmapData data = bmp.LockBits (new Rectangle (0, 0, bmp.Width, bmp.Height), ImageLockMode.ReadOnly, PixelFormat.Format24bppRgb);
|
||||
|
||||
@@ -1,65 +0,0 @@
|
||||
2009-07-09 Carlos Alberto Cortez <calberto.cortez@gmail.com>
|
||||
|
||||
* PageSourceTest.cs:
|
||||
* PaperSizeTest.cs: Include the new tests in NET_2_0 define, to fix
|
||||
the 1.1 build.
|
||||
|
||||
2009-07-08 Carlos Alberto Cortez <calberto.cortez@gmail.com>
|
||||
|
||||
* PageSourceTest.cs: New file, by Andy Hume <andyhume32@yahoo.co.uk>
|
||||
|
||||
2009-07-08 Carlos Alberto Cortez <calberto.cortez@gmail.com>
|
||||
|
||||
* PaperSizeTest.cs: New file, by Andy Hume <andyhume32@yahoo.co.uk>
|
||||
|
||||
2007-07-03 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* MarginsTest.cs: Remove operator tests before 2.0. Fix bots failures.
|
||||
|
||||
2007-05-29 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* MarginsTest.cs: New. Unit tests for Margins.
|
||||
|
||||
2007-05-03 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* PrintingServicesUnixTest.cs: New. Test case to make sure libgdiplus
|
||||
was compiled with printing support.
|
||||
|
||||
2006-11-23 Carlos Alberto Cortez <calberto.cortez@gmail.com>
|
||||
|
||||
* PageSettingsTest.cs: Check for installed printers,
|
||||
since we need to have at least one. Don't run the tests
|
||||
otherwise.
|
||||
|
||||
2006-11-16 Carlos Alberto Cortez <calberto.cortez@gmail.com>
|
||||
|
||||
* PageSettingsTest.cs: New file.
|
||||
|
||||
2005-09-22 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* PrintingPermissionAttributeTest.cs: Removed *Choice security actions
|
||||
|
||||
2005-09-16 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* PrintingPermissionTest.cs: Before 2.0 some test cases throws
|
||||
ArgumentException.
|
||||
|
||||
2005-08-26 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* PrintingPermissionTest.cs, PrintingPermissionAttributeTest.cs :
|
||||
removed BOM. LF as eol.
|
||||
|
||||
2005-05-30 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* PrintingPermissionTest.cs: Added tests for unification as this
|
||||
assembly is signed by the "MS final" key (not the ECMA key).
|
||||
|
||||
2004-09-09 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* PrintingPermissionAttributeTest.cs: New. Unit tests for Printing
|
||||
PermissionAttribute.
|
||||
* PrintingPermissionTest.cs: New. Unit tests for PrintingPermission.
|
||||
|
||||
2004-03-17 Ravindra <rkumar@novell.com>
|
||||
* Created this repository for System.Drawing.Printing tests.
|
||||
* ChangeLog: Added.
|
||||
@@ -99,7 +99,6 @@ namespace MonoTests.System.Drawing.Printing {
|
||||
optionPtr = (IntPtr)((long)optionPtr + cupsOptionSize);
|
||||
}
|
||||
cupsFreeDests (1, destPtr);
|
||||
|
||||
return options;
|
||||
}
|
||||
|
||||
@@ -115,8 +114,9 @@ namespace MonoTests.System.Drawing.Printing {
|
||||
var settings = new PrinterSettings () { PrinterName = PrinterSettings.InstalledPrinters [0] };
|
||||
Assert.AreEqual (options ["PageSize"], settings.DefaultPageSettings.PaperSize.PaperName,
|
||||
"Bug #602934 (https://bugzilla.novell.com/show_bug.cgi?id=602934) not fixed (PaperSize)");
|
||||
Assert.AreEqual (options ["Resolution"], string.Format ("{0}dpi", settings.DefaultPageSettings.PrinterResolution.X),
|
||||
"Bug #602934 (https://bugzilla.novell.com/show_bug.cgi?id=602934) not fixed (Resolution)");
|
||||
if (options.ContainsKey("Resolution"))
|
||||
Assert.AreEqual (options ["Resolution"], string.Format ("{0}dpi", settings.DefaultPageSettings.PrinterResolution.X),
|
||||
"Bug #602934 (https://bugzilla.novell.com/show_bug.cgi?id=602934) not fixed (Resolution)");
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user