------------------------------------------------------------------------ * 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: labora/viewer'>distro/collabora/viewer LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/include/sal/log.hxx
AgeCommit message (Expand)Author
2022-06-21use SAL_UNLIKELY to make logging a little more efficientNoel Grandin
2021-11-01Add SAL_DEBUG_IFJan-Marek Glogowski
2021-05-19tdf#142326: Adapt to "libstdc++: Implement LWG 1203 for rvalue iostreams"Stephan Bergmann
2021-05-05Adapt to "libstdc++: Implement LWG 1203 for rvalue iostreams"Stephan Bergmann
2021-04-28Add API to LibreOfficeKit to set arbitrary run-time options in coreTor Lillqvist
2021-02-02tdf#130978 Added comment to all published APImsrijita18
2020-07-07Allow making SAL_LOG based output fatalJan-Marek Glogowski
2018-08-31At least MSVC 19.15.26726 (VS 2017 15.8.1) needs the SAL_STREAM fix tooStephan Bergmann
2018-01-16sal: document more logging optionsThorsten Behrens
2017-10-23loplugin:includeform: UNO API include filesStephan Bergmann
2017-09-19sal: fix numerous doxygen warningsMichael Stahl
2017-09-01Fix typosAndrea Gelmini
2017-02-09Some clean upStephan Bergmann
2017-02-09Fold sal_detail_log_backtrace into sal_detail_logStephan Bergmann
2017-02-09Fix SAL_DEBUG_BACKTRACEStephan Bergmann
2017-02-03tdf#91872: Make SAL_INFO and friends more efficientArnold Dumas
2017-01-10rename SAL_DEBUG_TRACE to SAL_DEBUG_BACKTRACENoel Grandin
2016-08-18If no WARN in SAL_LOG, use the INFO selection for WARNs, tooTor Lillqvist
2016-08-18Add handling of a +RELATIVETIMER flag in the SAL_LOG environment variableTor Lillqvist
2016-08-18Mention what negative or multiply specified flags mean (nothing special)Tor Lillqvist
2016-08-18Add handling of a +TIMESTAMP flag in the SAL_LOG environment variableTor Lillqvist
2015-12-02sal: add SAL_DEBUG_TRACE debugging API for Windows, with UNX stub.Michael Meeks
2015-11-13loplugin:nullptrStephan Bergmann
2015-08-04sal: partially revert a251fe4d48237a4d9c9530dafc7bbdce6028e9cfMichael Stahl
2015-03-19We require MSVC2013 (_MSC_VER == 1800) nowTor Lillqvist
2013-11-09fdo#65108 inter-module includes <> include/salNorbert Thiebaud
2013-05-28Nah, we still need the dynamic_cast in SAL_STREAM for gcc/libstdc++Tor Lillqvist
2013-05-28Make the SAL_STREAM thing compile with clang++ -std=c++11 -stdlib=libc++Tor Lillqvist
2013-05-02Convert from EMFP_DEBUG to SAL_INFOChris Sherlock
2013-04-24move URE headers to include/David Tardon