------------------------------------------------------------------------ * Stop / Think * You need to choose either a pure MPLv2 header (from the top), or an MPLv2 on ALv2 header (from the bottom). If the new module you created is based in any way on an existing module, then: a) if that module has an MPLv2 on ALv2 header - please use this option or b) if the module is entirely your own work, and/or based on an existing MPLv2 header - please use that header. Otherwise, use the pure MPLv2 header for new code. For any questions please contact me directly: michael.meeks@collabora.com. Thanks ! ------------------------------------------------------------------------ For all entirely new, original source files created by LibreOffice hackers: ------------------------------------------------------------------------ For C/C++/Java/IDL etc. /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */ /* * 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/. */ ... /* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ For makefiles: # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t; fill-column: 100 -*- # # 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/. # ... # vim: set noet sw=4 ts=4: For Python files: # -*- tab-width: 4; indent-tabs-mode: nil; py-indent-offset: 4 -*- # # 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/. # ... # vim: set shiftwidth=4 softtabstop=4 expandtab: For XML / .component: ------------------------------------------------------------------------ For source files which may contain code from the Apache Software Foundation: ------------------------------------------------------------------------ For C/C++/Java/IDL etc. /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */ /* * 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/. * * This file incorporates work covered by the following license notice: * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed * with this work for additional information regarding copyright * ownership. The ASF licenses this file to you under the Apache * License, Version 2.0 (the "License"); you may not use this file * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ ... /* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ For makefiles, perl, scripts etc. # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t; fill-column: 100 -*- # # 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/. # # This file incorporates work covered by the following license notice: # # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed # with this work for additional information regarding copyright # ownership. The ASF licenses this file to you under the Apache # License, Version 2.0 (the "License"); you may not use this file # except in compliance with the License. You may obtain a copy of # the License at http://www.apache.org/licenses/LICENSE-2.0 . # ... # vim: set noet sw=4 ts=4: For XML / .component: ------------------------------------------------------------------------ For source headers which are part of LibreOffice published API: ------------------------------------------------------------------------ In published API header files, the following notice should be appended after the license header: /* * This file is part of LibreOffice project published API */ ... iba-5.4 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/jvmaccess
AgeCommit message (Expand)Author
2024-07-24Fix typoAndrea Gelmini
2024-07-24Fix typoAndrea Gelmini
2022-05-23clang-tidy modernize-pass-by-value in jvmaccessNoel Grandin
2022-04-13loplugin:stringviewparam whitelist some more functionsNoel Grandin
2022-03-11new loplugin:trivialdestructorNoel Grandin
2021-10-05drop 'using namespace std' in h* i* j*Julien Nabet
2021-04-07Updated README.md files to represent current code / use Markdown formatHossein
2021-03-24Using .md extension/Markdown syntax for modules READMEHossein
2020-11-13tdf#123936 Formatting files in module jvmaccess with clang-formatPhilipp Hofer
2020-07-10replace usage of blacklist with excludelist for IWYUThorsten Behrens
2019-04-26tdf#42949 Fix IWYU warnings in jvmfwk/ & jvmaccess/Gabor Kelemen
2018-05-25Improve re-throwing of UNO exceptionsNoel Grandin
2018-03-25Use for-range loops in some modulesJulien Nabet
2017-10-23loplugin:includeform: jvmaccessStephan Bergmann
2017-08-01loplugin:constparams in variousNoel Grandin
2017-04-21gbuild: Remove MSVC 2013 legacy codeDavid Ostrovsky
2016-04-13loplugin:passstuffbyref in jvmaccessNoel Grandin
2016-04-12cleanup: remove unused com/sun/star/uno includesJochen Nitschke
2015-11-17Don't assume sal_Unicode is unsigned shortStephan Bergmann
2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann
2015-10-27Move member definition back into .cxxStephan Bergmann
2015-10-27loplugin:unusedmethodsNoel Grandin
2015-02-12Remove uses of osl/diagnose.h from jvmaccessStephan Bergmann
2015-02-12jvmaccess doesn't have a stable interface anywayStephan Bergmann