/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-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/. * * 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 . */ #ifndef INCLUDED_OSL_CONDITN_H #define INCLUDED_OSL_CONDITN_H #include #include #include #ifdef __cplusplus extern "C" { #endif typedef void* oslCondition; typedef enum { osl_cond_result_ok, /* successful completion */ osl_cond_result_error, /* error occurred, check osl_getLastSocketError() for details */ osl_cond_result_timeout, /* blocking operation timed out */ osl_cond_result_FORCE_EQUAL_SIZE = SAL_MAX_ENUM } oslConditionResult; /** Creates a condition. The condition is in the reset-state. @returns 0 if condition could not be created. */ SAL_DLLPUBLIC oslCondition SAL_CALL osl_createCondition(void); /** Free the memory used by the condition. @param Condition the condition handle. */ SAL_DLLPUBLIC void SAL_CALL osl_destroyCondition(oslCondition Condition); /** Sets condition to True => wait() will not block, check() returns True. NOTE: ALL threads waiting on this condition are unblocked! @param Condition handle to a created condition. @return False if system-call failed. */ SAL_DLLPUBLIC sal_Bool SAL_CALL osl_setCondition(oslCondition Condition); /** Sets condition to False => wait() will block, check() returns False @param Condition handle to a created condition. @return False if system-call failed. */ SAL_DLLPUBLIC sal_Bool SAL_CALL osl_resetCondition(oslCondition Condition); /** Blocks if condition is not set
If condition has been destroyed prematurely, wait() will return with False. @param Condition handle to a created condition. @param pTimeout Timeout value or NULL for infinite waiting @return False if system-call failed. */ SAL_DLLPUBLIC oslConditionResult SAL_CALL osl_waitCondition(oslCondition Condition, const TimeValue* pTimeout); /** Queries the state of the condition without blocking. @param Condition handle to a created condition. @return True: condition is set.
False: condition is not set.
*/ SAL_DLLPUBLIC sal_Bool SAL_CALL osl_checkCondition(oslCondition Condition); #ifdef __cplusplus } #endif #endif // INCLUDED_OSL_CONDITN_H /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ '>distro/collabora/co-24.04.5 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/extras
AgeCommit message (Collapse)Author
2016-01-13update emoji autocorrect files from po-filesChristian Lohmaier
Change-Id: I1844e4fc7fa08ee5526e7b9ff76224572cd4d089
2015-12-15update emoji autocorrect files from po-filesChristian Lohmaier
Change-Id: Id793a73a7dff04e8e088bf0f953f55f9eb441d8e
2015-11-25update emoji autocorrect files from po-filesRobinson Tryon
Change-Id: I1c58da68525ccfe8726a07e40dd8c7db89616580
2015-11-20tdf#95916 Update Alizarin.otpLaurent Balland-Poirier
Modify styles.xml to not use japanese language specification in style for date Change-Id: I0e418c06d5c8d6b04eeaa3e6f6c33c194ee2ef3f Reviewed-on: https://gerrit.libreoffice.org/20063 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-11-17tdf#34882 Adding hex and decimal code searchSteve Hart
Change-Id: I809bac4b28e679c7dad8ed3ad28e36379bce4760
2015-11-10update emoji autocorrect files from po-filesChristian Lohmaier
Change-Id: I84d7bc394532d86d42403efa357ee9f57c968640
2015-10-18update emoji autocorrect files from po-filesRobinson Tryon
Change-Id: I94e04257d2157efa2a01144e42098067bc13a288
2015-09-11tdf#93957 fix Emoji pattern of horizontal ellipsisLászló Németh
Typing :.: (one ASCII dot between colons) will enter the Unicode horizontal ellipsis (U+2026: …) instead of the bad :…: (the requested Unicode character between colons). Note: the pattern :...: (three ASCII dots between colons) was originally intended for the horizontal ellipsis, but that collides with .*... pattern (default in English and in several other languages, meaning: replace word ending three ASCII dots). Change-Id: I97632ff81e04ab9e53026da425b82a2541db0eb1
2015-09-03update emoji autocorrect entries from po-filesChristian Lohmaier
Change-Id: I92b5d2f0c66541735a1c186d3c35c9a8390c91ca
2015-09-02tdf#93233 fix clockface emoji entriesChristian Lohmaier
this fixes the template only - the actual autocorrect entries for en-US will be processed on next translation merge Change-Id: Ib898897e448914ca334d7c34a45e18f787a8aa14
2015-09-01add sfxlo-TemplateLocalView to glade catalogCaolán McNamara
Change-Id: Ia73125ba2e547f87c1f28bdc917333346a01a251
2015-08-28use nonet for xsltprocCaolán McNamara
Change-Id: I47f020722b46b727ad03a937f28f0b33033d61cb
2015-08-22Remove bogus ligatures from OpenSymbol fontKhaled Hosny
http://nabble.documentfoundation.org/Bogus-ligatures-in-OpenSymbol-font-tp4157549.html Change-Id: Ic9da9f9234dfc945324f38407df4094eb91038c8 Reviewed-on: https://gerrit.libreoffice.org/17913 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-08-18tdf#93302: Fix OpenSymbol %phi and %varphi glyphsKhaled Hosny
The glyphs for %phi and %varphi symbols were swapped in commit 81001f2c89e5932a8bfde26aacb9277b59146dff (back in 2009), as part of https://bz.apache.org/ooo/show_bug.cgi?id=105084 (see the document attached there), but no justification was given. Given the shape of the symbols after that change contradicts the ones in the Unicode code charts and other popular math fonts, I simply swapped them back. Change-Id: I0133a3d07df932f144ec5900103e11e27f174a5e Reviewed-on: https://gerrit.libreoffice.org/17822 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-08-12update emoji autocorrect entries from po-filesChristian Lohmaier
Change-Id: I1f6b78d79eed76538bd7999a5a38198ce1e27d57
2015-07-31update emoji autocorrect entries from po-filesChristian Lohmaier
Change-Id: Ia3931f3cac13894ccd51772312110367194e19c6
2015-07-24update emoji autocorrect entries from po-filesChristian Lohmaier
Change-Id: I0d97689ec299dfb4e6400eee40d85b5abea1ab11
2015-07-21add Slovenian Emoji shortcodesLászló Németh
As a po file, Slovenian translation was in git in time, but not in the requested AutoCorrect XML. Change-Id: I6387ff6388963c1f020c7a82e721fd103153bbea
2015-07-16add localized Emoji short namesLászló Németh
Change-Id: I023dc4200f93f61cb58f96931a8073ad3838d3d9
2015-06-07Resolves: tdf#89905 don't copy palettes from shared to userCaolán McNamara
make this a multi-path element with a shared read-only location and a user read/write location and don't copy the presets, instead just keep them in the shared location Now an admin can copy extra palettes into the shared location and they magically appear in the user deployments Change-Id: I7585789c0c59941094f6128368df94b834d3c2a2
2015-06-01Add translation support for short names of Emoji and other symbolsLászló Németh
See also https://wiki.documentfoundation.org/Emoji Change-Id: Ifd534bca1cd0dce017b9e5a9335f4ee52df1c8da
2015-05-22add Greek small letters to the technical spelling dictionaryLászló Németh
Greek upper case letters have already been ignored during spell checking, so there is no reason to avoid the small ones, especially because they are frequently used in scientific and technical writings. Change-Id: I128fe8c51b7e9802c18fc282674998741c8e4fb2
2015-05-20AutoCorrect: Emoji support (hu)László Németh
Change-Id: Ic2ad51b0ce496d28ba94b31302c7abb21a1c59a7
2015-05-20AutoCorrect: Emoji support (en-US)László Németh
Modern graphical operating systems have default Unicode 6 support with several Emojis and other useful special characters. Using their short names within colons (de facto web standard), now it's possible to insert them immediately. For example: :keyboard: -> ⌨ (U+2328) :camera: -> 📷 (U+1F4F7) Change-Id: I189609983281bcfc223cfd39678e92200b826c89
2015-05-07Clipart - PNG files optimized.Andrew
Lossless optimisation of PNG image files in clipart Gallery. Total saving of 887 KB ! Used ImageOptim.com and custom tools ('pngslim'). - Arrows: Saved ~44KB out of 189KB. ~23% per file on average (up to 38%). - Computers: Saved ~17KB out of 242KB. ~7% per file on average (up to 11%). - Education: Saved ~142KB out of 804KB. ~18% per file on average (up to 36%). - Environment: Saved ~197KB out of 1.3MB. ~14% per file on average (up to 23%). - Finance: Saved ~67KB out of 695KB. ~10% per file on average (up to 37%). - People: Saved ~280KB out of 2.7MB. ~10% per file on average (up to 15%). - Transportation: Saved ~141KB out of 1MB. ~14% per file on average (up to 15%). Change-Id: I1812ae84e5672d49a7798dc44f518c1d6cd70ec1 Note: These should ultimately be replaced with original (/improved) SVG vector artwork. Signed-off-by: Andrew <dent.ace@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/15669 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2015-05-05add some missing glade prototypesCaolán McNamara
Change-Id: Iff936ca81c594b588b0dd8b66970fa6135a4c53e
2015-04-22add some default style presets to templatesTomaž Vajngerl
Change-Id: If7051720b09b8472d1866ddecbb547d321539423
2015-04-20Add "eg." and "ie." to the English sentence exception listsLászló Németh
"eg." and "ie." are frequent informal alternatives of "e.g." and "i.e.", (e.g., see http://en.wiktionary.org/wiki/eg), but these word forms weren't in the sentence exception list, resulting unnecessary automatic capitalization of the next words, "eg. Here." Avoiding double trouble, this capitalization is disabled now, like in the case of "i.e." and "e.g.". Change-Id: I86819ae62967de3fe4ea5d032972b3ad30f059f2