# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- # # This file is part of the LibreOffice project. # # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. # # class Pyuno # # Handles creation and delivery of Python UNO components. # # Provides one filelist, called Pyuno/. $(dir $(call gb_Pyuno_get_target,%)).dir : $(if $(wildcard $(dir $@)),,mkdir -p $(dir $@)) $(dir $(call gb_Pyuno_get_target,%))%/.dir : $(if $(wildcard $(dir $@)),,mkdir -p $(dir $@)) $(call gb_Pyuno_get_target,%) : $(call gb_Output_announce,$*,$(true),PYU,3) touch $@ $(call gb_Pyuno_get_final_target,%) : touch $@ .PHONY : $(call gb_Pyuno_get_clean_target,%) $(call gb_Pyuno_get_clean_target,%) : $(call gb_Output_announce,$*,$(false),PYU,3) rm -f $(call gb_Pyuno_get_target,$*) $(call gb_Pyuno_get_final_target,$*) gb_Pyuno_get_packagename = Pyuno/$(1) # gb_Pyuno_Pyuno component define gb_Pyuno_Pyuno $(call gb_Package_Package_internal,$(call gb_Pyuno_get_packagename,$(1)),$(2)) $(call gb_Pyuno_get_final_target,$(1)) : $(call gb_Pyuno_get_target,$(1)) $(call gb_Pyuno_get_target,$(1)) : $(call gb_Package_get_target,$(call gb_Pyuno_get_packagename,$(1))) $(call gb_Pyuno_get_target,$(1)) :| $(dir $(call gb_Pyuno_get_target,$(1))).dir $(call gb_Pyuno_get_clean_target,$(1)) : $(call gb_Package_get_clean_target,$(call gb_Pyuno_get_packagename,$(1))) $$(eval $$(call gb_Module_register_target,$(call gb_Pyuno_get_final_target,$(1)),$(call gb_Pyuno_get_clean_target,$(1)))) $(call gb_Helper_make_userfriendly_targets,$(1),Pyuno,$(call gb_Pyuno_get_final_target,$(1))) endef # gb_Pyuno_add_file component destination source define gb_Pyuno_add_file $(call gb_Package_add_file,$(call gb_Pyuno_get_packagename,$(1)),$(LIBO_LIB_PYUNO_FOLDER)/$(2),$(3)) endef # gb_Pyuno_add_files component destdir source define gb_Pyuno_add_files $(foreach file,$(3),$(call gb_Pyuno_add_file,$(1),$(if $(strip $(2)),$(strip $(2))/)$(file),$(file))) endef gb_Pyuno__COMPONENTPREFIX := vnd.openoffice.pymodule: define gb_Pyuno_set_componentfile_full $(call gb_ComponentTarget_ComponentTarget,$(2),$(3),$(4)) $(call gb_Pyuno_get_final_target,$(1)) : $(call gb_ComponentTarget_get_target,$(2)) $(call gb_ComponentTarget_get_target,$(2)) : $(call gb_Pyuno_get_target,$(1)) $(call gb_Pyuno_get_clean_target,$(1)) : $(call gb_ComponentTarget_get_clean_target,$(2)) endef # Set .component file for the component. define gb_Pyuno_set_componentfile $(call gb_Pyuno_set_componentfile_full,$(1),$(2),$(gb_Pyuno__COMPONENTPREFIX),$(1)) endef # vim:set shiftwidth=4 tabstop=4 noexpandtab: ed> 01b49802c7cda7fd4d5ba71263cef7bc95234b89 Change-Id: I01e11fa956a249974e77dce9deebe79311f098d0
Change-Id: I01e11fa956a249974e77dce9deebe79311f098d0
bin/rename-sw-abbreviations.sh 2015-05-20T11:05:49+00:00 Christian Lohmaier lohmaier+LibreOffice@googlemail.com 2015-05-20T11:05:49+00:00 ab465b90f6c6da5595393a0ba73f33a1e71a2b65 renames the most annoying abbreviations in Writer (and partially in the shared code too). Change-Id: I9a62759138126c1537cc5c985ba05cf54d6132d9
renames the most annoying abbreviations in Writer (and partially
in the shared code too).

Change-Id: I9a62759138126c1537cc5c985ba05cf54d6132d9
sw: make sure that these headers are self-contained 2015-02-08T17:10:50+00:00 Miklos Vajna vmiklos@collabora.co.uk 2015-02-08T17:10:34+00:00 9614183bbbba33ec9cd658870755645ed64ae221 Change-Id: Ifdfe85abe57b5873ab4641d3a592c4cf8d2e4e01
Change-Id: Ifdfe85abe57b5873ab4641d3a592c4cf8d2e4e01
sw: fix indentation in rtfstringbuffer 2014-05-07T19:47:14+00:00 Miklos Vajna vmiklos@collabora.co.uk 2014-05-07T19:37:38+00:00 ea1a038fe31217b43723b517facc5ac51d6b6959 Change-Id: Ie1029a03e614aceaeda10a762183cb06e93c1639
Change-Id: Ie1029a03e614aceaeda10a762183cb06e93c1639
re-write SvStream operator<< to non-overloaded methods 2014-01-10T13:26:24+00:00 Noel Grandin noel@peralex.com 2014-01-08T06:48:26+00:00 b69864f3f8c9be2e1f28f4b422074d2040b084a0 This is the actual re-write. Use a clang rewriter to rewrite SvStream::operator<< to methods like WriteuInt32. Note that the rewriter is not perfect, and I hand-tweaked the output. In particular, I had to adjust places doing things like (*this) << 1; Change-Id: I5923eda3f4ebaa8b452b6ef109e726e116235a2a Reviewed-on: https://gerrit.libreoffice.org/7342 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
This is the actual re-write.

Use a clang rewriter to rewrite SvStream::operator<< to methods
like WriteuInt32.
Note that the rewriter is not perfect, and I hand-tweaked the output.
In particular, I had to adjust places doing things like
  (*this) << 1;

Change-Id: I5923eda3f4ebaa8b452b6ef109e726e116235a2a
Reviewed-on: https://gerrit.libreoffice.org/7342
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>