summaryrefslogtreecommitdiff
path: root/basctl
diff options
context:
space:
mode:
authorXisco Fauli <anistenis@gmail.com>2011-08-21 21:50:13 +0200
committerXisco Fauli <anistenis@gmail.com>2011-08-21 21:50:13 +0200
commit6c76e4db034fd2c43884698b1a30225fd00b3bfd (patch)
tree1937cb9be81cd2b9f3d0ad27adcc7a7531b8f29d /basctl
parente9440fb5a0579096423c081b0f0a2185b628e896 (diff)
parent36703ca1de68cd62782d0d425123521a5bc6732b (diff)
Merge branch 'master' into feature/gsoc2011_wizards
Conflicts: automation/source/inc/cmdbasestream.hxx automation/source/server/cmdbasestream.cxx automation/source/server/retstrm.hxx automation/source/testtool/cmdstrm.cxx automation/source/testtool/cmdstrm.hxx automation/source/testtool/tcommuni.cxx basctl/prj/d.lst basctl/uiconfig/basicide/toolbar/findbar.xml cui/source/dialogs/about.cxx cui/source/dialogs/about.src cui/source/inc/about.hxx extensions/source/abpilot/abpservices.cxx extensions/source/dbpilots/dbpservices.cxx extensions/source/propctrlr/pcrservices.cxx extensions/source/svg/makefile.mk forms/Library_frm.mk lingucomponent/source/hyphenator/altlinuxhyph/hyphen/hyphenimp.cxx lingucomponent/source/spellcheck/spell/sspellimp.cxx package/prj/d.lst package/source/zipapi/XMemoryStream.cxx package/source/zipapi/XMemoryStream.hxx setup_native/prj/d.lst setup_native/source/win32/customactions/relnotes/makefile.mk tools/test/export.map wizards/com/sun/star/wizards/common/ConfigGroup.py wizards/com/sun/star/wizards/common/ConfigNode.py wizards/com/sun/star/wizards/common/Configuration.py wizards/com/sun/star/wizards/common/Desktop.py wizards/com/sun/star/wizards/common/FileAccess.py wizards/com/sun/star/wizards/common/Helper.py wizards/com/sun/star/wizards/common/SystemDialog.py wizards/com/sun/star/wizards/document/OfficeDocument.py wizards/com/sun/star/wizards/fax/FaxDocument.py wizards/com/sun/star/wizards/fax/FaxWizardDialog.py wizards/com/sun/star/wizards/fax/FaxWizardDialogConst.py wizards/com/sun/star/wizards/fax/FaxWizardDialogImpl.py wizards/com/sun/star/wizards/fax/FaxWizardDialogResources.py wizards/com/sun/star/wizards/letter/LetterDocument.py wizards/com/sun/star/wizards/letter/LetterWizardDialog.py wizards/com/sun/star/wizards/letter/LetterWizardDialogConst.py wizards/com/sun/star/wizards/letter/LetterWizardDialogImpl.py wizards/com/sun/star/wizards/letter/LetterWizardDialogResources.py wizards/com/sun/star/wizards/text/TextDocument.py wizards/com/sun/star/wizards/text/TextFieldHandler.py wizards/com/sun/star/wizards/text/TextSectionHandler.py wizards/com/sun/star/wizards/text/ViewHandler.py wizards/com/sun/star/wizards/ui/UnoDialog.py wizards/com/sun/star/wizards/ui/UnoDialog2.py wizards/com/sun/star/wizards/ui/WizardDialog.py wizards/com/sun/star/wizards/ui/event/CommonListener.py wizards/com/sun/star/wizards/ui/event/DataAware.py wizards/com/sun/star/wizards/ui/event/RadioDataAware.py wizards/com/sun/star/wizards/ui/event/UnoDataAware.py wizards/util/helpids.h wizards/util/hidother.src xmlsecurity/prj/build.lst xmlsecurity/prj/d.lst xmlsecurity/qa/certext/SanCertExt.cxx
Diffstat (limited to 'basctl')
-rw-r--r--basctl/AllLangResTarget_basctl.mk (renamed from basctl/source/dlged/makefile.mk)70
-rw-r--r--basctl/Library_basctl.mk135
-rw-r--r--basctl/Makefile (renamed from basctl/source/accessibility/makefile.mk)31
-rw-r--r--basctl/Module_basctl.mk (renamed from basctl/sdi/makefile.mk)36
-rw-r--r--basctl/Package_xml.mk42
-rw-r--r--basctl/inc/iderdll.hxx1
-rw-r--r--basctl/prj/build.lst8
-rw-r--r--basctl/prj/d.lst24
-rw-r--r--basctl/prj/makefile.mk (renamed from basctl/inc/makefile.mk)27
-rw-r--r--basctl/source/basicide/baside2b.cxx3
-rw-r--r--basctl/source/basicide/basides1.cxx36
-rw-r--r--basctl/source/basicide/iderdll.cxx14
-rw-r--r--basctl/source/basicide/makefile.mk99
-rw-r--r--basctl/source/basicide/register.cxx8
-rw-r--r--basctl/source/dlged/dlgedobj.cxx8
-rw-r--r--basctl/source/inc/basidesh.hxx1
-rw-r--r--basctl/uiconfig/basicide/toolbar/findbar.xml9
-rwxr-xr-xbasctl/util/basctl.map10
-rw-r--r--basctl/util/hidother.hrc27
-rw-r--r--basctl/util/hidother.src44
-rw-r--r--basctl/util/makefile.mk112
21 files changed, 256 insertions, 489 deletions
diff --git a/basctl/source/dlged/makefile.mk b/basctl/AllLangResTarget_basctl.mk
index 6eacc9c2dd1e..1611f9a506e2 100644
--- a/basctl/source/dlged/makefile.mk
+++ b/basctl/AllLangResTarget_basctl.mk
@@ -1,8 +1,9 @@
+# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
#*************************************************************************
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-#
-# Copyright 2000, 2010 Oracle and/or its affiliates.
+#
+# Copyright 2000, 2011 Oracle and/or its affiliates.
#
# OpenOffice.org - a multi-platform office productivity suite
#
@@ -25,39 +26,32 @@
#
#*************************************************************************
-PRJ=..$/..
-
-PRJNAME=basctl
-TARGET=dlged
-AUTOSEG=true
-VISIBILITY_HIDDEN=TRUE
-
-# --- Settings -----------------------------------------------------
-
-.INCLUDE : settings.mk
-
-# --- Files --------------------------------------------------------
-
-EXCEPTIONSFILES= \
- $(SLO)$/dlged.obj \
- $(SLO)$/dlgedclip.obj \
- $(SLO)$/dlgedfac.obj \
- $(SLO)$/dlgedfunc.obj \
- $(SLO)$/dlgedlist.obj \
- $(SLO)$/dlgedmod.obj \
- $(SLO)$/dlgedobj.obj \
- $(SLO)$/dlgedpage.obj \
- $(SLO)$/dlgedview.obj \
- $(SLO)$/managelang.obj \
- $(SLO)$/propbrw.obj
-
-SLOFILES= $(EXCEPTIONSFILES)
-
-SRS1NAME=$(TARGET)
-SRC1FILES= dlgresid.src \
- managelang.src
-
-# --- Targets -------------------------------------------------------
-
-.INCLUDE : target.mk
-
+$(eval $(call gb_AllLangResTarget_AllLangResTarget,basctl))
+
+$(eval $(call gb_AllLangResTarget_add_srs,basctl,\
+ basctl/res \
+))
+
+$(eval $(call gb_SrsTarget_SrsTarget,basctl/res))
+
+$(eval $(call gb_SrsTarget_set_include,basctl/res,\
+ -I$(realpath $(SRCDIR)/basctl/inc) \
+ -I$(realpath $(SRCDIR)/basctl/source/inc) \
+ -I$(realpath $(SRCDIR)/basctl/source/basicide) \
+ -I$(realpath $(SRCDIR)/basctl/source/dlged) \
+ $$(INCLUDE) \
+))
+
+$(eval $(call gb_SrsTarget_add_files,basctl/res,\
+ basctl/source/basicide/basicprint.src \
+ basctl/source/basicide/basidesh.src \
+ basctl/source/basicide/brkdlg.src \
+ basctl/source/basicide/macrodlg.src \
+ basctl/source/basicide/moduldlg.src \
+ basctl/source/basicide/moptions.src \
+ basctl/source/basicide/objdlg.src \
+ basctl/source/dlged/dlgresid.src \
+ basctl/source/dlged/managelang.src \
+))
+
+# vim: set noet sw=4 ts=4:
diff --git a/basctl/Library_basctl.mk b/basctl/Library_basctl.mk
new file mode 100644
index 000000000000..c8069807dbf2
--- /dev/null
+++ b/basctl/Library_basctl.mk
@@ -0,0 +1,135 @@
+# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
+#*************************************************************************
+#
+# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+#
+# Copyright 2000, 2011 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.
+#
+#*************************************************************************
+
+$(eval $(call gb_Library_Library,basctl))
+
+$(eval $(call gb_Library_add_precompiled_header,basctl,$(SRCDIR)/basctl/inc/pch/precompiled_basctl))
+$(eval $(call gb_Library_add_precompiled_header,basctl,$(SRCDIR)/basctl/source/basicide/ide_pch))
+
+$(eval $(call gb_Library_set_componentfile,basctl,basctl/util/basctl))
+
+$(eval $(call gb_Library_set_include,basctl,\
+ -I$(realpath $(SRCDIR)/basctl/inc) \
+ -I$(realpath $(SRCDIR)/basctl/inc/pch) \
+ -I$(realpath $(SRCDIR)/basctl/sdi) \
+ -I$(realpath $(SRCDIR)/basctl/source/inc) \
+ $$(INCLUDE) \
+ -I$(WORKDIR)/SdiTarget/basctl/sdi \
+))
+
+$(eval $(call gb_Library_add_api,basctl,\
+ udkapi \
+ offapi \
+))
+
+$(eval $(call gb_Library_add_linked_libs,basctl,\
+ comphelper \
+ cppu \
+ cppuhelper \
+ editeng \
+ fwe \
+ sal \
+ sb \
+ sfx \
+ sot \
+ svl \
+ svt \
+ svx \
+ svxcore \
+ tk \
+ tl \
+ utl \
+ ucbhelper \
+ vcl \
+ xcr \
+ $(gb_STDLIBS) \
+))
+
+$(eval $(call gb_Library_add_exception_objects,basctl,\
+ basctl/source/accessibility/accessibledialogcontrolshape \
+ basctl/source/accessibility/accessibledialogwindow \
+ basctl/source/basicide/basdoc \
+ basctl/source/basicide/basicbox \
+ basctl/source/basicide/basicrenderable \
+ basctl/source/basicide/baside2b \
+ basctl/source/basicide/baside2 \
+ basctl/source/basicide/baside3 \
+ basctl/source/basicide/basidectrlr \
+ basctl/source/basicide/basides1 \
+ basctl/source/basicide/basides2 \
+ basctl/source/basicide/basides3 \
+ basctl/source/basicide/basidesh \
+ basctl/source/basicide/basobj2 \
+ basctl/source/basicide/basobj3 \
+ basctl/source/basicide/bastype2 \
+ basctl/source/basicide/bastype3 \
+ basctl/source/basicide/bastypes \
+ basctl/source/basicide/brkdlg \
+ basctl/source/basicide/doceventnotifier \
+ basctl/source/basicide/docsignature \
+ basctl/source/basicide/documentenumeration \
+ basctl/source/basicide/iderdll \
+ basctl/source/basicide/localizationmgr \
+ basctl/source/basicide/macrodlg \
+ basctl/source/basicide/moduldl2 \
+ basctl/source/basicide/moduldlg \
+ basctl/source/basicide/objdlg \
+ basctl/source/basicide/register \
+ basctl/source/basicide/scriptdocument \
+ basctl/source/basicide/tbxctl \
+ basctl/source/basicide/unomodel \
+ basctl/source/dlged/dlgedclip \
+ basctl/source/dlged/dlged \
+ basctl/source/dlged/dlgedfac \
+ basctl/source/dlged/dlgedfunc \
+ basctl/source/dlged/dlgedlist \
+ basctl/source/dlged/dlgedmod \
+ basctl/source/dlged/dlgedobj \
+ basctl/source/dlged/dlgedpage \
+ basctl/source/dlged/dlgedview \
+ basctl/source/dlged/managelang \
+ basctl/source/dlged/propbrw \
+))
+
+$(eval $(call gb_Library_add_sdi_headers,basctl,basctl/sdi/basslots))
+
+$(eval $(call gb_SdiTarget_SdiTarget,basctl/sdi/basslots,basctl/sdi/baside))
+
+$(eval $(call gb_SdiTarget_set_include,basctl/sdi/basslots,\
+ $$(INCLUDE) \
+))
+
+ifeq ($(OS),WNT)
+$(eval $(call gb_Library_add_linked_libs,basctl,\
+ advapi32 \
+ gdi32 \
+ shell32 \
+))
+endif
+
+# vim: set noet sw=4 ts=4:
diff --git a/basctl/source/accessibility/makefile.mk b/basctl/Makefile
index ec899b893944..3abf1ae8b6bb 100644
--- a/basctl/source/accessibility/makefile.mk
+++ b/basctl/Makefile
@@ -1,8 +1,9 @@
+# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
#*************************************************************************
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-#
-# Copyright 2000, 2010 Oracle and/or its affiliates.
+#
+# Copyright 2000, 2011 Oracle and/or its affiliates.
#
# OpenOffice.org - a multi-platform office productivity suite
#
@@ -25,24 +26,14 @@
#
#*************************************************************************
-PRJ=..$/..
-
-PRJNAME=basctl
-TARGET=accessibility
-ENABLE_EXCEPTIONS=TRUE
-VISIBILITY_HIDDEN=TRUE
-
-# --- Settings -----------------------------------------------------
-
-.INCLUDE : settings.mk
-
-# --- Files --------------------------------------------------------
+ifeq ($(strip $(SOLARENV)),)
+$(error No environment set!)
+endif
-SLOFILES=\
- $(SLO)$/accessibledialogwindow.obj \
- $(SLO)$/accessibledialogcontrolshape.obj
-
-# --- Targets -------------------------------------------------------
+gb_PARTIALBUILD := T
+GBUILDDIR := $(SOLARENV)/gbuild
+include $(GBUILDDIR)/gbuild.mk
-.INCLUDE : target.mk
+$(eval $(call gb_Module_make_global_targets,$(shell ls $(dir $(realpath $(firstword $(MAKEFILE_LIST))))/Module*.mk)))
+# vim: set noet sw=4 ts=4:
diff --git a/basctl/sdi/makefile.mk b/basctl/Module_basctl.mk
index d334ad7f86d0..7ff2a7e117d8 100644
--- a/basctl/sdi/makefile.mk
+++ b/basctl/Module_basctl.mk
@@ -1,8 +1,9 @@
+# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
#*************************************************************************
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-#
-# Copyright 2000, 2010 Oracle and/or its affiliates.
+#
+# Copyright 2000, 2011 Oracle and/or its affiliates.
#
# OpenOffice.org - a multi-platform office productivity suite
#
@@ -25,29 +26,12 @@
#
#*************************************************************************
-PRJ=..
-
-PRJNAME=basctl
-TARGET=basslots
-
-# --- Settings -----------------------------------------------------
-
-.INCLUDE : settings.mk
-.IF "$(L10N_framework)"==""
-SDI1NAME=$(TARGET)
-SDI1EXPORT=basctl
-
-# --- Files --------------------------------------------------------
-
-SVSDI1DEPEND= \
- $(SOLARINCXDIR)$/sfx2/sfx.sdi \
- $(SOLARINCXDIR)$/sfx2/sfxitems.sdi \
- $(SOLARINCXDIR)$/svx/svx.sdi \
- $(SOLARINCXDIR)$/svx/svxitems.sdi \
- $(SOLARINCXDIR)$/svx/xoitems.sdi \
- baside.sdi
+$(eval $(call gb_Module_Module,basctl))
-# --- Targets -------------------------------------------------------
-.ENDIF
-.INCLUDE : target.mk
+$(eval $(call gb_Module_add_targets,basctl,\
+ AllLangResTarget_basctl \
+ Library_basctl \
+ Package_xml \
+))
+# vim: set noet sw=4 ts=4:
diff --git a/basctl/Package_xml.mk b/basctl/Package_xml.mk
new file mode 100644
index 000000000000..c420e5391767
--- /dev/null
+++ b/basctl/Package_xml.mk
@@ -0,0 +1,42 @@
+# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
+#*************************************************************************
+#
+# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+#
+# Copyright 2000, 2011 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.
+#
+#*************************************************************************
+
+$(eval $(call gb_Package_Package,basctl_xml,$(SRCDIR)/basctl))
+
+$(eval $(call gb_Package_add_file,basctl_xml,xml/basctl.xml,util/basctl.xml))
+$(eval $(call gb_Package_add_file,basctl_xml,xml/uiconfig/modules/BasicIDE/menubar/menubar.xml,uiconfig/basicide/menubar/menubar.xml))
+$(eval $(call gb_Package_add_file,basctl_xml,xml/uiconfig/modules/BasicIDE/statusbar/statusbar.xml,uiconfig/basicide/statusbar/statusbar.xml))
+$(eval $(call gb_Package_add_file,basctl_xml,xml/uiconfig/modules/BasicIDE/toolbar/dialogbar.xml,uiconfig/basicide/toolbar/dialogbar.xml))
+$(eval $(call gb_Package_add_file,basctl_xml,xml/uiconfig/modules/BasicIDE/toolbar/findbar.xml,uiconfig/basicide/toolbar/findbar.xml))
+$(eval $(call gb_Package_add_file,basctl_xml,xml/uiconfig/modules/BasicIDE/toolbar/fullscreenbar.xml,uiconfig/basicide/toolbar/fullscreenbar.xml))
+$(eval $(call gb_Package_add_file,basctl_xml,xml/uiconfig/modules/BasicIDE/toolbar/insertcontrolsbar.xml,uiconfig/basicide/toolbar/insertcontrolsbar.xml))
+$(eval $(call gb_Package_add_file,basctl_xml,xml/uiconfig/modules/BasicIDE/toolbar/macrobar.xml,uiconfig/basicide/toolbar/macrobar.xml))
+$(eval $(call gb_Package_add_file,basctl_xml,xml/uiconfig/modules/BasicIDE/toolbar/standardbar.xml,uiconfig/basicide/toolbar/standardbar.xml))
+$(eval $(call gb_Package_add_file,basctl_xml,xml/uiconfig/modules/BasicIDE/toolbar/translationbar.xml,uiconfig/basicide/toolbar/translationbar.xml))
+
+# vim: set noet sw=4 ts=4:
diff --git a/basctl/inc/iderdll.hxx b/basctl/inc/iderdll.hxx
index 6b48b37f50c4..02e2c75bb014 100644
--- a/basctl/inc/iderdll.hxx
+++ b/basctl/inc/iderdll.hxx
@@ -46,7 +46,6 @@ public:
BasicIDEShell* GetShell() const { return pShell; }
BasicIDEData* GetExtraData();
static void Init();
- static void Exit();
static BasicIDEDLL* GetDLL();
};
diff --git a/basctl/prj/build.lst b/basctl/prj/build.lst
index 507edfec14bd..a92b34691792 100644
--- a/basctl/prj/build.lst
+++ b/basctl/prj/build.lst
@@ -1,9 +1,3 @@
bc basctl : LIBXSLT:libxslt TRANSLATIONS:translations svx NULL
bc basctl usr1 - all bc_mkout NULL
-bc basctl\inc nmake - all bc_inc NULL
-bc basctl\source\inc get - all bc_sinc NULL
-bc basctl\sdi nmake - all bc_sdi NULL
-bc basctl\source\dlged nmake - all bc_dlg bc_inc NULL
-bc basctl\source\basicide nmake - all bc_bide bc_sdi bc_inc NULL
-bc basctl\source\accessibility nmake - all bc_acc bc_inc NULL
-bc basctl\util nmake - all bc_util bc_bide bc_dlg bc_acc NULL
+bc basctl\prj nmake - all bc_prj NULL
diff --git a/basctl/prj/d.lst b/basctl/prj/d.lst
index b3ded50b6bbe..e69de29bb2d1 100644
--- a/basctl/prj/d.lst
+++ b/basctl/prj/d.lst
@@ -1,24 +0,0 @@
-mkdir: %COMMON_DEST%\bin%_EXT%\hid
-mkdir: %_DEST%\xml%_EXT%\uiconfig
-mkdir: %_DEST%\xml%_EXT%\uiconfig\modules
-mkdir: %_DEST%\xml%_EXT%\uiconfig\modules\BasicIDE
-mkdir: %_DEST%\xml%_EXT%\uiconfig\modules\BasicIDE\menubar
-mkdir: %_DEST%\xml%_EXT%\uiconfig\modules\BasicIDE\toolbar
-mkdir: %_DEST%\xml%_EXT%\uiconfig\modules\BasicIDE\statusbar
-
-..\%COMMON_OUTDIR%\misc\*.hid %COMMON_DEST%\bin%_EXT%\hid\*.hid
-..\%__SRC%\inc\basslots.ilb %_DEST%\inc%_EXT%\basslots.ilb
-..\%__SRC%\lib\lib*.* %_DEST%\lib%_EXT%\lib*.*
-..\%__SRC%\bin\basctl*.dll %_DEST%\bin%_EXT%\basctl*.dll
-..\%__SRC%\bin\basctl*.res %_DEST%\bin%_EXT%\basctl*.res
-..\%__SRC%\misc\basctl*.map %_DEST%\bin%_EXT%\basctl*.map
-..\%__SRC%\misc\basctl.csv %_DEST%\inc%_EXT%\basctl.csv
-
-mkdir: %_DEST%\inc%_EXT%\basctl
-
-..\util\basctl.xml %_DEST%\xml%_EXT%\basctl.xml
-
-..\uiconfig\basicide\menubar\*.xml %_DEST%\xml%_EXT%\uiconfig\modules\BasicIDE\menubar\*.xml
-..\uiconfig\basicide\toolbar\*.xml %_DEST%\xml%_EXT%\uiconfig\modules\BasicIDE\toolbar\*.xml
-..\uiconfig\basicide\statusbar\*.xml %_DEST%\xml%_EXT%\uiconfig\modules\BasicIDE\statusbar\*.xml
-..\%__SRC%\misc\basctl.component %_DEST%\xml%_EXT%\basctl.component
diff --git a/basctl/inc/makefile.mk b/basctl/prj/makefile.mk
index 894c77722abc..85b25665cc83 100644
--- a/basctl/inc/makefile.mk
+++ b/basctl/prj/makefile.mk
@@ -1,7 +1,7 @@
#*************************************************************************
#
# 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
@@ -26,22 +26,15 @@
#*************************************************************************
PRJ=..
+TARGET=prj
-PRJNAME=basctl
-TARGET=inc
-
-# --- Settings -----------------------------------------------------
-
-.INCLUDE : settings.mk
-
-# --- Files --------------------------------------------------------
-# --- Targets -------------------------------------------------------
+.INCLUDE : settings.mk
-.INCLUDE : target.mk
+.IF "$(VERBOSE)"!=""
+VERBOSEFLAG :=
+.ELSE
+VERBOSEFLAG := -s
+.ENDIF
-.IF "$(ENABLE_PCH)"!=""
-ALLTAR : \
- $(SLO)$/precompiled.pch \
- $(SLO)$/precompiled_ex.pch
-
-.ENDIF # "$(ENABLE_PCH)"!=""
+all:
+ cd $(PRJ) && $(GNUMAKE) $(VERBOSEFLAG) -r -j$(GMAKE_MODULE_PARALLELISM) $(gb_MAKETARGET) && $(GNUMAKE) $(VERBOSEFLAG) -r deliverlog
diff --git a/basctl/source/basicide/baside2b.cxx b/basctl/source/basicide/baside2b.cxx
index 030a152f3509..ba25596555b8 100644
--- a/basctl/source/basicide/baside2b.cxx
+++ b/basctl/source/basicide/baside2b.cxx
@@ -60,6 +60,7 @@
#include <com/sun/star/script/XLibraryContainer2.hpp>
#include <comphelper/processfactory.hxx>
+#include <comphelper/string.hxx>
using namespace ::com::sun::star;
@@ -268,7 +269,7 @@ void EditorWindow::RequestHelp( const HelpEvent& rHEvt )
TextPaM aCursor = GetEditView()->GetTextEngine()->GetPaM( aDocPos, sal_False );
TextPaM aStartOfWord;
String aWord = GetEditView()->GetTextEngine()->GetWord( aCursor, &aStartOfWord );
- if ( aWord.Len() && !ByteString( aWord, RTL_TEXTENCODING_UTF8 ).IsNumericAscii() )
+ if ( aWord.Len() && !comphelper::string::isAsciiDecimalString(aWord) )
{
sal_uInt16 nLastChar =aWord.Len()-1;
if ( strchr( cSuffixes, aWord.GetChar( nLastChar ) ) )
diff --git a/basctl/source/basicide/basides1.cxx b/basctl/source/basicide/basides1.cxx
index e3dbc568ffd6..4fecf6e79683 100644
--- a/basctl/source/basicide/basides1.cxx
+++ b/basctl/source/basicide/basides1.cxx
@@ -1396,40 +1396,4 @@ void BasicIDEShell::Deactivate( sal_Bool bMDI )
}
}
-
-IMPL_LINK( BasicIDEShell, AccelSelectHdl, Accelerator*, pAccel )
-{
- sal_Bool bDone = sal_True;
- SfxViewFrame* pViewFrame = GetViewFrame();
- SfxDispatcher* pDispatcher = pViewFrame ? pViewFrame->GetDispatcher() : NULL;
- if( !pDispatcher )
- return sal_False;
- switch ( pAccel->GetCurKeyCode().GetCode() )
- {
- case KEY_F5:
- if ( pAccel->GetCurKeyCode().IsShift() )
- pDispatcher->Execute( SID_BASICSTOP, SFX_CALLMODE_SYNCHRON );
- else
- pDispatcher->Execute( SID_BASICRUN, SFX_CALLMODE_SYNCHRON );
- break;
- case KEY_F7:
- pDispatcher->Execute( SID_BASICIDE_ADDWATCH, SFX_CALLMODE_SYNCHRON );
- break;
- case KEY_F8:
- if ( pAccel->GetCurKeyCode().IsShift() )
- pDispatcher->Execute( SID_BASICSTEPOVER, SFX_CALLMODE_SYNCHRON );
- else
- pDispatcher->Execute( SID_BASICSTEPINTO, SFX_CALLMODE_SYNCHRON );
- break;
- case KEY_F9:
- if ( pAccel->GetCurKeyCode().IsShift() )
- pDispatcher->Execute( SID_BASICIDE_TOGGLEBRKPNTENABLED, SFX_CALLMODE_SYNCHRON );
- else
- pDispatcher->Execute( SID_BASICIDE_TOGGLEBRKPNT, SFX_CALLMODE_SYNCHRON );
- break;
- default: bDone = sal_False;
- }
- return bDone;
-}
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/basctl/source/basicide/iderdll.cxx b/basctl/source/basicide/iderdll.cxx
index 455f6306ea01..55d03bcf16b0 100644
--- a/basctl/source/basicide/iderdll.cxx
+++ b/basctl/source/basicide/iderdll.cxx
@@ -116,20 +116,6 @@ void BasicIDEDLL::Init()
PropBrwMgr::RegisterChildWindow();
}
-/*************************************************************************
-|*
-|* Deinitialisierung
-|*
-\************************************************************************/
-void BasicIDEDLL::Exit()
-{
- // the BasicIDEModule must be destroyed
- BasicIDEModule** ppShlPtr = (BasicIDEModule**) GetAppData(SHL_IDE);
- delete (*ppShlPtr);
- (*ppShlPtr) = NULL;
- DELETEZ( pBasicIDEDLL );
-}
-
BasicIDEData* BasicIDEDLL::GetExtraData()
{
if ( !pExtraData )
diff --git a/basctl/source/basicide/makefile.mk b/basctl/source/basicide/makefile.mk
deleted file mode 100644
index 210d0db3df3e..000000000000
--- a/basctl/source/basicide/makefile.mk
+++ /dev/null
@@ -1,99 +0,0 @@
-#*************************************************************************
-#
-# 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.
-#
-#*************************************************************************
-
-PRJ=..$/..
-
-PRJNAME=basctl
-TARGET=basicide
-VISIBILITY_HIDDEN=TRUE
-
-PROJECTPCH4DLL=TRUE
-PROJECTPCH=ide_pch
-PROJECTPCHSOURCE=ide_pch
-
-# --- Settings -----------------------------------------------------------
-
-.INCLUDE : settings.mk
-
-.IF "$(basicdebug)" != "" || "$(BASICDEBUG)" != ""
-CDEFS+=-DBASICDEBUG
-.ENDIF
-
-# --- Allgemein ----------------------------------------------------------
-
-EXCEPTIONSFILES= \
- $(SLO)$/basdoc.obj \
- $(SLO)$/basicbox.obj \
- $(SLO)$/basicrenderable.obj \
- $(SLO)$/baside2.obj \
- $(SLO)$/baside2b.obj \
- $(SLO)$/baside3.obj \
- $(SLO)$/basidectrlr.obj \
- $(SLO)$/basides1.obj \
- $(SLO)$/basides2.obj \
- $(SLO)$/basides3.obj \
- $(SLO)$/basidesh.obj \
- $(SLO)$/basobj2.obj \
- $(SLO)$/basobj3.obj \
- $(SLO)$/bastype2.obj \
- $(SLO)$/bastype3.obj \
- $(SLO)$/bastypes.obj \
- $(SLO)$/brkdlg.obj \
- $(SLO)$/doceventnotifier.obj \
- $(SLO)$/docsignature.obj \
- $(SLO)$/documentenumeration.obj \
- $(SLO)$/iderdll.obj \
- $(SLO)$/localizationmgr.obj \
- $(SLO)$/macrodlg.obj \
- $(SLO)$/moduldl2.obj \
- $(SLO)$/moduldlg.obj \
- $(SLO)$/objdlg.obj \
- $(SLO)$/register.obj \
- $(SLO)$/scriptdocument.obj \
- $(SLO)$/tbxctl.obj \
- $(SLO)$/unomodel.obj
-
-SLOFILES = $(EXCEPTIONSFILES)
-
-SRS1NAME=$(TARGET)
-SRC1FILES= basidesh.src macrodlg.src moptions.src moduldlg.src objdlg.src brkdlg.src basicprint.src
-
-.INCLUDE : target.mk
-
-$(INCCOM)$/dllname.hxx: makefile.mk
-.IF "$(GUI)"=="UNX"
- $(RM) $@
- echo \#define DLL_NAME \"libbasctl$(DLLPOSTFIX)$(DLLPOST)\" >$@
-.ELSE
- echo \#define DLL_NAME \"basctl$(DLLPOSTFIX)$(DLLPOST)\" >$@
-.ENDIF
-
-$(SLO)$/basiclib.obj : $(INCCOM)$/dllname.hxx
-
-$(INCCOM)$/basicide.hrc: basidesh.hrc
- @-$(COPY) basidesh.hrc $@
-
diff --git a/basctl/source/basicide/register.cxx b/basctl/source/basicide/register.cxx
index 2ba82fca818a..1b79a3c6bf99 100644
--- a/basctl/source/basicide/register.cxx
+++ b/basctl/source/basicide/register.cxx
@@ -45,14 +45,6 @@ using namespace ::com::sun::star::lang;
extern "C" {
-SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment(
- const sal_Char** ppEnvironmentTypeName,
- uno_Environment** ppEnvironment )
-{
- (void)ppEnvironment;
- *ppEnvironmentTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME ;
-}
-
SAL_DLLPUBLIC_EXPORT void* SAL_CALL component_getFactory( const sal_Char* pImplementationName,
void* pServiceManager,
void* pRegistryKey )
diff --git a/basctl/source/dlged/dlgedobj.cxx b/basctl/source/dlged/dlgedobj.cxx
index 315b4a4b7c37..cff3e08bd594 100644
--- a/basctl/source/dlged/dlgedobj.cxx
+++ b/basctl/source/dlged/dlgedobj.cxx
@@ -1531,7 +1531,7 @@ void DlgEdForm::PositionAndSizeChange( const beans::PropertyChangeEvent& evt )
nPageHeightIn = aPageSize.Height();
if ( TransformSdrToControlCoordinates( nPageXIn, nPageYIn, nPageWidthIn, nPageHeightIn, nPageX, nPageY, nPageWidth, nPageHeight ) )
{
- for ( aIter = aChildList.begin(); aIter != aChildList.end(); aIter++ )
+ for ( aIter = aChildList.begin(); aIter != aChildList.end(); ++aIter )
{
Reference< beans::XPropertySet > xPSet( (*aIter)->GetUnoControlModel(), UNO_QUERY );
if ( xPSet.is() )
@@ -1578,7 +1578,7 @@ void DlgEdForm::PositionAndSizeChange( const beans::PropertyChangeEvent& evt )
}
}
- for ( aIter = aChildList.begin(); aIter != aChildList.end(); aIter++ )
+ for ( aIter = aChildList.begin(); aIter != aChildList.end(); ++aIter )
{
(*aIter)->SetRectFromProps();
}
@@ -1780,7 +1780,7 @@ void DlgEdForm::NbcMove( const Size& rSize )
// set geometry properties of all childs
::std::vector<DlgEdObj*>::iterator aIter;
- for ( aIter = pChilds.begin() ; aIter != pChilds.end() ; aIter++ )
+ for ( aIter = pChilds.begin() ; aIter != pChilds.end() ; ++aIter )
{
(*aIter)->EndListening(sal_False);
(*aIter)->SetPropsFromRect();
@@ -1804,7 +1804,7 @@ void DlgEdForm::NbcResize(const Point& rRef, const Fraction& xFract, const Fract
// set geometry properties of all childs
::std::vector<DlgEdObj*>::iterator aIter;
- for ( aIter = pChilds.begin() ; aIter != pChilds.end() ; aIter++ )
+ for ( aIter = pChilds.begin() ; aIter != pChilds.end() ; ++aIter )
{
(*aIter)->EndListening(sal_False);
(*aIter)->SetPropsFromRect();
diff --git a/basctl/source/inc/basidesh.hxx b/basctl/source/inc/basidesh.hxx
index 20f2f1543a4c..b7b7c114926d 100644
--- a/basctl/source/inc/basidesh.hxx
+++ b/basctl/source/inc/basidesh.hxx
@@ -122,7 +122,6 @@ friend class ContainerListenerImpl;
void ImplStartListening( StarBASIC* pBasic );
DECL_LINK( TabBarHdl, TabBar* );
- DECL_LINK( AccelSelectHdl, Accelerator* );
DECL_LINK( ObjectDialogCancelHdl, ObjectCatalog * );
DECL_LINK( TabBarSplitHdl, TabBar * );
#endif
diff --git a/basctl/uiconfig/basicide/toolbar/findbar.xml b/basctl/uiconfig/basicide/toolbar/findbar.xml
new file mode 100644
index 000000000000..49e483e178a3
--- /dev/null
+++ b/basctl/uiconfig/basicide/toolbar/findbar.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE toolbar:toolbar PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "toolbar.dtd">
+<toolbar:toolbar xmlns:toolbar="http://openoffice.org/2001/toolbar" xmlns:xlink="http://www.w3.org/1999/xlink" toolbar:id="toolbar">
+ <toolbar:toolbaritem xlink:href=".uno:FindText"/>
+ <toolbar:toolbaritem xlink:href=".uno:DownSearch"/>
+ <toolbar:toolbaritem xlink:href=".uno:UpSearch"/>
+ <toolbar:toolbarseparator/>
+ <toolbar:toolbaritem xlink:href=".uno:SearchDialog"/>
+</toolbar:toolbar>
diff --git a/basctl/util/basctl.map b/basctl/util/basctl.map
deleted file mode 100755
index 83193fe176fa..000000000000
--- a/basctl/util/basctl.map
+++ /dev/null
@@ -1,10 +0,0 @@
-UDK_3_0_0 {
- global:
- basicide_choose_macro;
- basicide_macro_organizer;
- basicide_handle_basic_error;
- component_getImplementationEnvironment;
- component_getFactory;
- local:
- *;
-};
diff --git a/basctl/util/hidother.hrc b/basctl/util/hidother.hrc
deleted file mode 100644
index 68bb57a274b3..000000000000
--- a/basctl/util/hidother.hrc
+++ /dev/null
@@ -1,27 +0,0 @@
-/*************************************************************************
- *
- * 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.
- *
- ************************************************************************/
-#define HID_INTERFACE_BASIDE_VIEWSH 451
diff --git a/basctl/util/hidother.src b/basctl/util/hidother.src
deleted file mode 100644
index ce2607b3296d..000000000000
--- a/basctl/util/hidother.src
+++ /dev/null
@@ -1,44 +0,0 @@
-/*************************************************************************
- *
- * 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.
- *
- ************************************************************************/
-#include "../inc/helpid.hrc" // HID_XXX
-
-hidspecial HID_BASICIDE_PROP_BROWSER_LBOX { HelpID = HID_BASICIDE_PROP_BROWSER_LBOX; };
-hidspecial HID_BASICIDE_PROP_BROWSER { HelpID = HID_BASICIDE_PROP_BROWSER; };
-hidspecial HID_BASICIDE_OBJCAT_SHOW { HelpID = HID_BASICIDE_OBJCAT_SHOW; };
-hidspecial HID_BASICIDE_OBJCAT_PROPS { HelpID = HID_BASICIDE_OBJCAT_PROPS; };
-hidspecial HID_BASICIDE_OBJCAT_HELP { HelpID = HID_BASICIDE_OBJCAT_HELP; };
-hidspecial HID_BASICIDE_MODULWINDOW { HelpID = HID_BASICIDE_MODULWINDOW; };
-hidspecial HID_BASICIDE_DIALOGWINDOW { HelpID = HID_BASICIDE_DIALOGWINDOW; };
-hidspecial HID_BASICIDE_EDITORWINDOW { HelpID = HID_BASICIDE_EDITORWINDOW; };
-hidspecial HID_BASICIDE_BREAKPOINTWINDOW { HelpID = HID_BASICIDE_BREAKPOINTWINDOW; };
-hidspecial HID_BASICIDE_WATCHWINDOW { HelpID = HID_BASICIDE_WATCHWINDOW; };
-hidspecial HID_BASICIDE_STACKWINDOW { HelpID = HID_BASICIDE_STACKWINDOW; };
-hidspecial HID_BASICIDE_TABBAR { HelpID = HID_BASICIDE_TABBAR; };
-hidspecial HID_BASICIDE_WATCHWINDOW_LIST { HelpID = HID_BASICIDE_WATCHWINDOW_LIST; };
-hidspecial HID_BASICIDE_STACKWINDOW_LIST { HelpID = HID_BASICIDE_STACKWINDOW_LIST; };
-hidspecial HID_BASICIDE_ADDNEW_LANGUAGE { HelpID = HID_BASICIDE_ADDNEW_LANGUAGE; };
-
diff --git a/basctl/util/makefile.mk b/basctl/util/makefile.mk
deleted file mode 100644
index 1719a7c9c078..000000000000
--- a/basctl/util/makefile.mk
+++ /dev/null
@@ -1,112 +0,0 @@
-#*************************************************************************
-#
-# 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.
-#
-#*************************************************************************
-
-PRJ=..
-
-PRJNAME=basctl
-TARGET=basctl
-#svx.hid generieren
-GEN_HID=TRUE
-GEN_HID_OTHER=TRUE
-VISIBILITY_HIDDEN=TRUE
-
-# --- Settings -----------------------------------------------------
-
-.INCLUDE : settings.mk
-
-# --- Allgemein ----------------------------------------------------
-
-# --- Basctl - DLL ----------
-
-.IF "$(header)" == ""
-
-HELPIDFILES= ..$/inc$/helpid.hrc
-
-SHL1TARGET= basctl$(DLLPOSTFIX)
-SHL1IMPLIB= basctl
-SHL1BASE = 0x1d800000
-SHL1STDLIBS= \
- $(EDITENGLIB) \
- $(SVXCORELIB) \
- $(SVXLIB) \
- $(SFX2LIB) \
- $(FWELIB) \
- $(BASICLIB) \
- $(SVTOOLLIB) \
- $(TKLIB) \
- $(VCLLIB) \
- $(SVLLIB) \
- $(SOTLIB) \
- $(UNOTOOLSLIB) \
- $(TOOLSLIB) \
- $(XMLSCRIPTLIB) \
- $(COMPHELPERLIB) \
- $(CPPUHELPERLIB) \
- $(UCBHELPERLIB) \
- $(CPPULIB) \
- $(SALLIB)
-
-.IF "$(GUI)"=="WNT"
-SHL1STDLIBS+= $(SHELLLIB)
-.ENDIF # WNT
-
-
-SHL1LIBS= $(SLB)$/basctl.lib
-SHL1DEF= $(MISC)$/$(SHL1TARGET).def
-
-SHL1VERSIONMAP=basctl.map
-
-DEF1NAME =$(SHL1TARGET)
-
-LIB1TARGET =$(SLB)$/basctl.lib
-LIB1FILES = \
- $(LIBPRE) $(SLB)$/basicide.lib \
- $(LIBPRE) $(SLB)$/dlged.lib \
- $(LIBPRE) $(SLB)$/accessibility.lib
-
-SRSFILELIST=\
- $(SRS)$/basicide.srs \
- $(SRS)$/dlged.srs
-
-RESLIB1NAME=basctl
-RESLIB1IMAGES =$(PRJ)$/res
-RESLIB1SRSFILES= $(SRSFILELIST)
-
-# --- Targets -------------------------------------------------------
-
-.INCLUDE : target.mk
-
-.ENDIF # "$(header)" == ""
-
-
-ALLTAR : $(MISC)/basctl.component
-
-$(MISC)/basctl.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
- basctl.component
- $(XSLTPROC) --nonet --stringparam uri \
- '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
- $(SOLARENV)/bin/createcomponent.xslt basctl.component