mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 00:20:48 +00:00
* Source/NSBitmapImageRep+GIF.m: Handle EGifOpen similar to
other version specific functions. * Headers/Additions/GNUstepGUI/GSXibElement.h * Headers/Additions/GNUstepGUI/GSXibLoading.h * Headers/Additions/GNUstepGUI/GSXibObjectContainer.h * Headers/Additions/GNUstepGUI/GSXibParser.h Correct FSF address. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@38581 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
8060ece175
commit
41d42922c2
6 changed files with 53 additions and 34 deletions
17
ChangeLog
17
ChangeLog
|
@ -1,4 +1,14 @@
|
|||
2015-05-26: Sebastian Reitenbach <sebastia@l00-bugdead-prods.de>
|
||||
2015-05-28 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/NSBitmapImageRep+GIF.m: Handle EGifOpen similar to other
|
||||
version specific functions.
|
||||
* Headers/Additions/GNUstepGUI/GSXibElement.h
|
||||
* Headers/Additions/GNUstepGUI/GSXibLoading.h
|
||||
* Headers/Additions/GNUstepGUI/GSXibObjectContainer.h
|
||||
* Headers/Additions/GNUstepGUI/GSXibParser.h
|
||||
Correct FSF address.
|
||||
|
||||
2015-05-26 Sebastian Reitenbach <sebastia@l00-bugdead-prods.de>
|
||||
|
||||
* Source/NSView.m
|
||||
* Source/NSTextContainer.m
|
||||
|
@ -19,10 +29,13 @@
|
|||
* Source/NSSplitView.m
|
||||
* Model/GMArchiver.m
|
||||
* TextConverters/RTF/RTFConsumer.m
|
||||
Format string fixes and casts
|
||||
Format string fixes and casts
|
||||
* Source/NSGradient.m
|
||||
* Source/NSWindow.m
|
||||
abs() -> fabs()
|
||||
* Source/NSBitmapImageRep+GIF.m
|
||||
giflib 5.1.0 also has EGifCloseFile with 2 parameters,
|
||||
so add a define like others have to fix its usage.
|
||||
|
||||
2015-05-22 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
|
|
|
@ -9,21 +9,23 @@
|
|||
Refactored slightly by: Gregory Casamento <greg.casamento@gmail.com>
|
||||
Created: May 2010
|
||||
|
||||
This file is part of the GNUstep Base Library.
|
||||
This file is part of the GNUstep GUI Library.
|
||||
|
||||
This library is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU Library General Public
|
||||
modify it under the terms of the GNU Lesser General Public
|
||||
License as published by the Free Software Foundation; either
|
||||
version 2 of the License, or (at your option) any later version.
|
||||
|
||||
This library is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
Library General Public License for more details.
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
Lesser General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Library General Public
|
||||
License along with this library; if not, write to the Free
|
||||
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111 USA.
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with this library; see the file COPYING.LIB.
|
||||
If not, see <http://www.gnu.org/licenses/> or write to the
|
||||
Free Software Foundation, 51 Franklin Street, Fifth Floor,
|
||||
Boston, MA 02110-1301, USA.
|
||||
*/
|
||||
|
||||
#ifndef _GNUstep_H_GSXibElement
|
||||
|
|
|
@ -9,21 +9,23 @@
|
|||
Refactored slightly by: Gregory Casamento <greg.casamento@gmail.com>
|
||||
Created: May 2010
|
||||
|
||||
This file is part of the GNUstep Base Library.
|
||||
This file is part of the GNUstep GUI Library.
|
||||
|
||||
This library is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU Library General Public
|
||||
modify it under the terms of the GNU Lesser General Public
|
||||
License as published by the Free Software Foundation; either
|
||||
version 2 of the License, or (at your option) any later version.
|
||||
|
||||
This library is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
Library General Public License for more details.
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
Lesser General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Library General Public
|
||||
License along with this library; if not, write to the Free
|
||||
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111 USA.
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with this library; see the file COPYING.LIB.
|
||||
If not, see <http://www.gnu.org/licenses/> or write to the
|
||||
Free Software Foundation, 51 Franklin Street, Fifth Floor,
|
||||
Boston, MA 02110-1301, USA.
|
||||
*/
|
||||
|
||||
#ifndef _GNUstep_H_GSXibLoading
|
||||
|
|
|
@ -7,21 +7,23 @@
|
|||
Written by: Gregory Casamento <greg.casamento@gmail.com>
|
||||
Created: March 2014
|
||||
|
||||
This file is part of the GNUstep Base Library.
|
||||
This file is part of the GNUstep GUI Library.
|
||||
|
||||
This library is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU Library General Public
|
||||
modify it under the terms of the GNU Lesser General Public
|
||||
License as published by the Free Software Foundation; either
|
||||
version 2 of the License, or (at your option) any later version.
|
||||
|
||||
This library is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
Library General Public License for more details.
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
Lesser General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Library General Public
|
||||
License along with this library; if not, write to the Free
|
||||
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111 USA.
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with this library; see the file COPYING.LIB.
|
||||
If not, see <http://www.gnu.org/licenses/> or write to the
|
||||
Free Software Foundation, 51 Franklin Street, Fifth Floor,
|
||||
Boston, MA 02110-1301, USA.
|
||||
*/
|
||||
|
||||
#ifndef _GNUstep_H_GSXibObjectContainer
|
||||
|
|
|
@ -7,21 +7,23 @@
|
|||
Written by: Gregory Casamento <greg.casamento@gmail.com>
|
||||
Created: March 2014
|
||||
|
||||
This file is part of the GNUstep Base Library.
|
||||
This file is part of the GNUstep GUI Library.
|
||||
|
||||
This library is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU Library General Public
|
||||
modify it under the terms of the GNU Lesser General Public
|
||||
License as published by the Free Software Foundation; either
|
||||
version 2 of the License, or (at your option) any later version.
|
||||
|
||||
This library is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
Library General Public License for more details.
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
Lesser General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Library General Public
|
||||
License along with this library; if not, write to the Free
|
||||
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111 USA.
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with this library; see the file COPYING.LIB.
|
||||
If not, see <http://www.gnu.org/licenses/> or write to the
|
||||
Free Software Foundation, 51 Franklin Street, Fifth Floor,
|
||||
Boston, MA 02110-1301, USA.
|
||||
*/
|
||||
|
||||
#ifndef _GNUstep_H_GSXibParser
|
||||
|
|
|
@ -59,6 +59,7 @@ objective-c headers.
|
|||
// GIF > 5.0
|
||||
#if GIFLIB_MAJOR >= 5
|
||||
#define DGifOpen(s, i) DGifOpen(s, i, NULL)
|
||||
#define EGifOpen(s, i) EGifOpen(s, i, NULL)
|
||||
#endif
|
||||
|
||||
// GIF> 5.1
|
||||
|
@ -529,11 +530,8 @@ static int gs_gif_output(GifFileType *file, const GifByteType *buffer, int len)
|
|||
free(GIFImage);
|
||||
return nil;
|
||||
}
|
||||
#if GIFLIB_MAJOR >= 5
|
||||
GIFFile = EGifOpen(GIFRep, gs_gif_output, NULL);
|
||||
#else
|
||||
|
||||
GIFFile = EGifOpen(GIFRep, gs_gif_output);
|
||||
#endif
|
||||
status = EGifPutScreenDesc(GIFFile, width, height, 8, 0, NULL);
|
||||
if (status == GIF_ERROR)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue