Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
77de797f
Kaydet (Commit)
77de797f
authored
Şub 25, 2011
tarafından
Mathias Bauer
Kaydeden (comit)
Bjoern Michaelsen
Haz 16, 2011
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
CWS gnumake4: convert cppcanvas to new build system [hg:a93ffc180db8]
üst
4a1b61df
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
144 additions
and
171 deletions
+144
-171
Library_cppcanvas.mk
cppcanvas/Library_cppcanvas.mk
+54
-27
Makefile
cppcanvas/Makefile
+9
-21
Module_cppcanvas.mk
cppcanvas/Module_cppcanvas.mk
+8
-31
Package_inc.mk
cppcanvas/Package_inc.mk
+19
-44
basegfxfactory.hxx
cppcanvas/inc/cppcanvas/basegfxfactory.hxx
+2
-1
cppcanvasdllapi.h
cppcanvas/inc/cppcanvas/cppcanvasdllapi.h
+38
-0
vclfactory.hxx
cppcanvas/inc/cppcanvas/vclfactory.hxx
+2
-1
build.lst
cppcanvas/prj/build.lst
+2
-6
d.lst
cppcanvas/prj/d.lst
+0
-19
makefile.mk
cppcanvas/prj/makefile.mk
+10
-17
cppcanvas.flt
cppcanvas/util/cppcanvas.flt
+0
-4
No files found.
cppcanvas/
source/wrapper/makefile
.mk
→
cppcanvas/
Library_cppcanvas
.mk
Dosyayı görüntüle @
77de797f
...
...
@@ -2,7 +2,7 @@
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# Copyright 2000, 201
0
Oracle and/or its affiliates.
# Copyright 2000, 201
1
Oracle and/or its affiliates.
#
# OpenOffice.org - a multi-platform office productivity suite
#
...
...
@@ -25,36 +25,63 @@
#
#*************************************************************************
PRJ
=
..
$/
..
$(eval $(call gb_Library_Library,cppcanvas))
PRJNAME
=
cppcanvas
TARGET
=
canvaswrapper
ENABLE_EXCEPTIONS
=
TRUE
$(eval $(call gb_Library_add_package_headers,cppcanvas,cppcanvas_inc))
$(eval $(call gb_Library_add_precompiled_header,cppcanvas,$(SRCDIR)/cppcanvas/inc/precompiled_cppcanvas))
# --- Settings -----------------------------------------------------------
$(eval $(call gb_Library_set_include,cppcanvas,\
-I$(SRCDIR)/cppcanvas/inc \
-I$(SRCDIR)/cppcanvas/inc/pch \
-I$(SRCDIR)/cppcanvas/source/inc \
$$(INCLUDE) \
-I$(OUTDIR)/inc/offuh \
))
.INCLUDE
:
settings.mk
$(eval $(call gb_Library_set_defs,cppcanvas,\
$$(DEFS) \
-DCPPCANVAS_DLLIMPLEMENTATION \
))
# --- Common ----------------------------------------------------------
$(eval $(call gb_Library_add_linked_libs,cppcanvas,\
tl \
cppu \
sal \
vcl \
stl \
comphelper \
canvastools \
cppuhelper \
basegfx \
i18nisolang1 \
$(gb_STDLIBS) \
))
.IF
"$(verbose)"
!=
""
||
"$(VERBOSE)"
!=
""
CDEFS
+=
-DVERBOSE
.ENDIF
$(eval $(call gb_Library_add_exception_objects,cppcanvas,\
cppcanvas/source/wrapper/vclfactory \
cppcanvas/source/wrapper/implcolor \
cppcanvas/source/wrapper/basegfxfactory \
cppcanvas/source/wrapper/implcustomsprite \
cppcanvas/source/wrapper/implspritecanvas \
cppcanvas/source/wrapper/implsprite \
cppcanvas/source/wrapper/implpolypolygon \
cppcanvas/source/wrapper/implcanvas \
cppcanvas/source/wrapper/implbitmap \
cppcanvas/source/wrapper/implfont \
cppcanvas/source/wrapper/impltext \
cppcanvas/source/wrapper/implbitmapcanvas \
cppcanvas/source/tools/tools \
cppcanvas/source/tools/canvasgraphichelper \
cppcanvas/source/mtfrenderer/transparencygroupaction \
cppcanvas/source/mtfrenderer/cachedprimitivebase \
cppcanvas/source/mtfrenderer/lineaction \
cppcanvas/source/mtfrenderer/pointaction \
cppcanvas/source/mtfrenderer/polypolyaction \
cppcanvas/source/mtfrenderer/textaction \
cppcanvas/source/mtfrenderer/implrenderer \
cppcanvas/source/mtfrenderer/mtftools \
cppcanvas/source/mtfrenderer/bitmapaction \
))
SLOFILES
=
$(SLO)$/
implbitmap.obj
\
$(SLO)$/
implcanvas.obj
\
$(SLO)$/
implcolor.obj
\
$(SLO)$/
implfont.obj
\
$(SLO)$/
vclfactory.obj
\
$(SLO)$/
basegfxfactory.obj
\
$(SLO)$/
impltext.obj
\
$(SLO)$/
implpolypolygon.obj
\
$(SLO)$/
implbitmapcanvas.obj
\
$(SLO)$/
implspritecanvas.obj
\
$(SLO)$/
implsprite.obj
\
$(SLO)$/
implcustomsprite.obj
# ==========================================================================
.INCLUDE
:
target.mk
# vim: set noet sw=4 ts=4:
cppcanvas/
source/tools/makefile.mk
→
cppcanvas/
Makefile
Dosyayı görüntüle @
77de797f
...
...
@@ -2,7 +2,7 @@
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# Copyright 2000, 201
0
Oracle and/or its affiliates.
# Copyright 2000, 201
1
Oracle and/or its affiliates.
#
# OpenOffice.org - a multi-platform office productivity suite
#
...
...
@@ -25,26 +25,14 @@
#
#*************************************************************************
PRJ
=
..
$/
..
ifeq
($(strip
$(SOLARENV)),)
$(error
No
environment
set!)
endif
PRJNAME
=
cppcanvas
TARGET
=
cppcanvastools
ENABLE_EXCEPTIONS
=
TRUE
gb_PARTIALBUILD
:=
T
GBUILDDIR
:=
$(SOLARENV)
/gbuild
include
$(GBUILDDIR)/gbuild.mk
$(eval
$(call
gb_Module_make_global_targets,$(shell
ls
$(dir
$(realpath
$(firstword
$(MAKEFILE_LIST))))/Module*.mk)))
# --- Settings -----------------------------------------------------------
.INCLUDE
:
settings.mk
# --- Common ----------------------------------------------------------
.IF
"$(verbose)"
!=
""
||
"$(VERBOSE)"
!=
""
CDEFS
+=
-DVERBOSE
.ENDIF
SLOFILES
=
$(SLO)$/
canvasgraphichelper.obj
\
$(SLO)$/
tools.obj
# ==========================================================================
.INCLUDE
:
target.mk
# vim: set noet sw=4 ts=4:
cppcanvas/
source/mtfrenderer/makefile
.mk
→
cppcanvas/
Module_cppcanvas
.mk
Dosyayı görüntüle @
77de797f
#*************************************************************************
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# Copyright 2000, 201
0
Oracle and/or its affiliates.
#
# Copyright 2000, 201
1
Oracle and/or its affiliates.
#
# OpenOffice.org - a multi-platform office productivity suite
#
...
...
@@ -25,34 +25,11 @@
#
#*************************************************************************
PRJ
=
..
$/
..
PRJNAME
=
cppcanvas
TARGET
=
metafilerenderer
ENABLE_EXCEPTIONS
=
TRUE
# --- Settings -----------------------------------------------------------
.INCLUDE
:
settings.mk
# --- Common ----------------------------------------------------------
.IF
"$(verbose)"
!=
""
||
"$(VERBOSE)"
!=
""
CDEFS
+=
-DVERBOSE
.ENDIF
SLOFILES
=
$(SLO)$/
cachedprimitivebase.obj
\
$(SLO)$/
bitmapaction.obj
\
$(SLO)$/
implrenderer.obj
\
$(SLO)$/
lineaction.obj
\
$(SLO)$/
pointaction.obj
\
$(SLO)$/
polypolyaction.obj
\
$(SLO)$/
rendergraphicaction.obj
\
$(SLO)$/
textaction.obj
\
$(SLO)$/
transparencygroupaction.obj
\
$(SLO)$/
mtftools.obj
$(eval $(call gb_Module_Module,cppcanvas))
# ==========================================================================
$(eval $(call gb_Module_add_targets,cppcanvas,\
Library_cppcanvas \
Package_inc \
))
.INCLUDE
:
target.mk
# vim: set noet sw=4 ts=4:
cppcanvas/
util/makefile
.mk
→
cppcanvas/
Package_inc
.mk
Dosyayı görüntüle @
77de797f
...
...
@@ -2,7 +2,7 @@
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# Copyright 2000, 201
0
Oracle and/or its affiliates.
# Copyright 2000, 201
1
Oracle and/or its affiliates.
#
# OpenOffice.org - a multi-platform office productivity suite
#
...
...
@@ -25,46 +25,21 @@
#
#*************************************************************************
PRJ
=
..
PRJNAME
=
cppcanvas
TARGET
=
cppcanvas
ENABLE_EXCEPTIONS
=
TRUE
# --- Settings -----------------------------------------------------------
.INCLUDE
:
settings.mk
# --- Common ----------------------------------------------------------
LIB1TARGET
=
$(SLB)$/$(TARGET)
.lib
LIB1FILES
=
\
$(SLB)$/
canvaswrapper.lib
\
$(SLB)$/
metafilerenderer.lib
\
$(SLB)$/
cppcanvastools.lib
SHL1TARGET
=
$(TARGET)$(DLLPOSTFIX)
SHL1IMPLIB
=
i
$(TARGET)
SHL1STDLIBS
=
$(TOOLSLIB)
$(CPPULIB)
$(SALLIB)
$(VCLLIB)
$(COMPHELPERLIB)
$(CANVASTOOLSLIB)
$(CPPUHELPERLIB)
$(BASEGFXLIB)
$(I18NISOLANGLIB)
.IF
"$(debug)$(dbgutil)"
!=
""
SHL1STDLIBS
+=
$(CPPUHELPERLIB)
.ENDIF
# "$(debug)$(dbgutil)"!=""
SHL1LIBS
=
$(SLB)$/$(TARGET)
.lib
SHL1DEF
=
$(MISC)$/$(SHL1TARGET)
.def
DEF1NAME
=
$(SHL1TARGET)
DEF1DEPN
=
$(MISC)$/$(SHL1TARGET)
.flt
\
$(LIB1TARGET)
DEF1DES
=
CPPCanvas
DEFLIB1NAME
=
$(TARGET)
# ==========================================================================
.INCLUDE
:
target.mk
$(MISC)$/$(SHL1TARGET).flt
:
makefile.mk
@$(TYPE)
$(TARGET).flt
>
$@
$(eval $(call gb_Package_Package,cppcanvas_inc,$(SRCDIR)/cppcanvas/inc))
$(eval $(call gb_Package_add_file,cppcanvas_inc,inc/cppcanvas/canvas.hxx,cppcanvas/canvas.hxx))
$(eval $(call gb_Package_add_file,cppcanvas_inc,inc/cppcanvas/sprite.hxx,cppcanvas/sprite.hxx))
$(eval $(call gb_Package_add_file,cppcanvas_inc,inc/cppcanvas/vclfactory.hxx,cppcanvas/vclfactory.hxx))
$(eval $(call gb_Package_add_file,cppcanvas_inc,inc/cppcanvas/font.hxx,cppcanvas/font.hxx))
$(eval $(call gb_Package_add_file,cppcanvas_inc,inc/cppcanvas/customsprite.hxx,cppcanvas/customsprite.hxx))
$(eval $(call gb_Package_add_file,cppcanvas_inc,inc/cppcanvas/canvasgraphic.hxx,cppcanvas/canvasgraphic.hxx))
$(eval $(call gb_Package_add_file,cppcanvas_inc,inc/cppcanvas/polypolygon.hxx,cppcanvas/polypolygon.hxx))
$(eval $(call gb_Package_add_file,cppcanvas_inc,inc/cppcanvas/color.hxx,cppcanvas/color.hxx))
$(eval $(call gb_Package_add_file,cppcanvas_inc,inc/cppcanvas/spritecanvas.hxx,cppcanvas/spritecanvas.hxx))
$(eval $(call gb_Package_add_file,cppcanvas_inc,inc/cppcanvas/text.hxx,cppcanvas/text.hxx))
$(eval $(call gb_Package_add_file,cppcanvas_inc,inc/cppcanvas/renderer.hxx,cppcanvas/renderer.hxx))
$(eval $(call gb_Package_add_file,cppcanvas_inc,inc/cppcanvas/basegfxfactory.hxx,cppcanvas/basegfxfactory.hxx))
$(eval $(call gb_Package_add_file,cppcanvas_inc,inc/cppcanvas/bitmap.hxx,cppcanvas/bitmap.hxx))
$(eval $(call gb_Package_add_file,cppcanvas_inc,inc/cppcanvas/bitmapcanvas.hxx,cppcanvas/bitmapcanvas.hxx))
$(eval $(call gb_Package_add_file,cppcanvas_inc,inc/cppcanvas/cppcanvasdllapi.h,cppcanvas/cppcanvasdllapi.h))
# vim: set noet sw=4 ts=4:
cppcanvas/inc/cppcanvas/basegfxfactory.hxx
Dosyayı görüntüle @
77de797f
...
...
@@ -38,6 +38,7 @@
#include <cppcanvas/sprite.hxx>
#include <basegfx/vector/b2isize.hxx>
#include <cppcanvas/cppcanvasdllapi.h>
namespace
basegfx
{
...
...
@@ -62,7 +63,7 @@ namespace cppcanvas
only be drawn on exactly that canvas. You have to regenerate
them for different canvases.
*/
class
BaseGfxFactory
class
CPPCANVAS_DLLPUBLIC
BaseGfxFactory
{
public
:
static
BaseGfxFactory
&
getInstance
();
...
...
cppcanvas/inc/cppcanvas/cppcanvasdllapi.h
0 → 100644
Dosyayı görüntüle @
77de797f
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
*
* This file is part of OpenOffice.org.
*
* OpenOffice.org is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License version 3
* only, as published by the Free Software Foundation.
*
* OpenOffice.org 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 Lesser General Public License version 3 for more details
* (a copy is included in the LICENSE file that accompanied this code).
*
* You should have received a copy of the GNU Lesser General Public License
* version 3 along with OpenOffice.org. If not, see
* <http://www.openoffice.org/license.html>
* for a copy of the LGPLv3 License.
*
************************************************************************/
#ifndef INCLUDED_CPPCANVASDLLAPI_H
#define INCLUDED_CPPCANVASDLLAPI_H
#if defined CPPCANVAS_DLLIMPLEMENTATION
#define CPPCANVAS_DLLPUBLIC SAL_DLLPUBLIC_EXPORT
#else
#define CPPCANVAS_DLLPUBLIC SAL_DLLPUBLIC_IMPORT
#endif
#define CPPCANVAS_DLLPRIVATE SAL_DLLPRIVATE
#endif
cppcanvas/inc/cppcanvas/vclfactory.hxx
Dosyayı görüntüle @
77de797f
...
...
@@ -37,6 +37,7 @@
#include <cppcanvas/text.hxx>
#include <cppcanvas/sprite.hxx>
#include <cppcanvas/cppcanvasdllapi.h>
class
Window
;
class
Bitmap
;
...
...
@@ -70,7 +71,7 @@ namespace cppcanvas
only be drawn on exactly that canvas. You have to regenerate
them for different canvases.
*/
class
VCLFactory
class
CPPCANVAS_DLLPUBLIC
VCLFactory
{
public
:
static
VCLFactory
&
getInstance
();
...
...
cppcanvas/prj/build.lst
Dosyayı görüntüle @
77de797f
cx cppcanvas : comphelper cppuhelper offuh tools vcl basegfx canvas NULL
cx cppcanvas usr1 - all cx_mkout NULL
cx cppcanvas\inc nmake - all cx_inc NULL
cx cppcanvas\source\tools nmake - all cx_tools cx_inc NULL
cx cppcanvas\source\wrapper nmake - all cx_wrapper cx_inc NULL
cx cppcanvas\source\mtfrenderer nmake - all cx_mtfrenderer cx_inc NULL
cx cppcanvas\util nmake - all cx_util cx_tools cx_wrapper cx_mtfrenderer NULL
cx cppcanvas\prj nmake - all cx_prj NULL
cppcanvas/prj/d.lst
Dosyayı görüntüle @
77de797f
..\%__SRC%\bin\cppcanv*.dll %_DEST%\bin%_EXT%\cppcanv*.dll
..\%__SRC%\lib\icppcanvas.lib %_DEST%\lib%_EXT%\icppcanvas.lib
..\%__SRC%\lib\lib*.* %_DEST%\lib%_EXT%\lib*.*
mkdir: %_DEST%\inc%_EXT%\cppcanvas
..\inc\cppcanvas\bitmap.hxx %_DEST%\inc%_EXT%\cppcanvas\bitmap.hxx
..\inc\cppcanvas\bitmapcanvas.hxx %_DEST%\inc%_EXT%\cppcanvas\bitmapcanvas.hxx
..\inc\cppcanvas\canvas.hxx %_DEST%\inc%_EXT%\cppcanvas\canvas.hxx
..\inc\cppcanvas\canvasgraphic.hxx %_DEST%\inc%_EXT%\cppcanvas\canvasgraphic.hxx
..\inc\cppcanvas\color.hxx %_DEST%\inc%_EXT%\cppcanvas\color.hxx
..\inc\cppcanvas\customsprite.hxx %_DEST%\inc%_EXT%\cppcanvas\customsprite.hxx
..\inc\cppcanvas\font.hxx %_DEST%\inc%_EXT%\cppcanvas\font.hxx
..\inc\cppcanvas\polypolygon.hxx %_DEST%\inc%_EXT%\cppcanvas\polypolygon.hxx
..\inc\cppcanvas\renderer.hxx %_DEST%\inc%_EXT%\cppcanvas\renderer.hxx
..\inc\cppcanvas\sprite.hxx %_DEST%\inc%_EXT%\cppcanvas\sprite.hxx
..\inc\cppcanvas\spritecanvas.hxx %_DEST%\inc%_EXT%\cppcanvas\spritecanvas.hxx
..\inc\cppcanvas\text.hxx %_DEST%\inc%_EXT%\cppcanvas\text.hxx
..\inc\cppcanvas\vclfactory.hxx %_DEST%\inc%_EXT%\cppcanvas\vclfactory.hxx
..\inc\cppcanvas\basegfxfactory.hxx %_DEST%\inc%_EXT%\cppcanvas\basegfxfactory.hxx
cppcanvas/
inc
/makefile.mk
→
cppcanvas/
prj
/makefile.mk
Dosyayı görüntüle @
77de797f
...
...
@@ -24,24 +24,17 @@
# for a copy of the LGPLv3 License.
#
#*************************************************************************
PRJ
=
..
PRJNAME
=
cppcanvas
TARGET
=
inc
# --- Settings -----------------------------------------------------
.INCLUDE
:
settings.mk
# --- Files --------------------------------------------------------
# --- Targets -------------------------------------------------------
PRJ
=
..
TARGET
=
prj
.INCLUDE
:
target
.mk
.INCLUDE
:
settings
.mk
.IF
"$(ENABLE_PCH)"
!=
""
ALLTAR
:
\
$(SLO)$/precompiled.pch
\
$(SLO)$/precompiled_ex.pch
.ENDIF
# "$(ENABLE_PCH)"!=""
.IF
"$(VERBOSE)"
!=
""
VERBOSEFLAG
:=
.ELSE
VERBOSEFLAG
:=
-s
.ENDIF
all
:
cd
$(PRJ)
&&
$(GNUMAKE)
$(VERBOSEFLAG)
-r
-j
$(MAXPROCESS)
$(gb_MAKETARGET)
&&
$(GNUMAKE)
$(VERBOSEFLAG)
-r
deliverlog
cppcanvas/util/cppcanvas.flt
deleted
100644 → 0
Dosyayı görüntüle @
4a1b61df
__CT
Impl
IMP
internal
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment