Proje Gitea'ya taşındı (Temiz başlangıç)
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||
|
||||
from pisi.actionsapi import pythonmodules
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
shelltools.export("XDG_DATA_HOME", get.workDIR())
|
||||
shelltools.export("XDG_CONFIG_HOME", get.workDIR())
|
||||
shelltools.export("XDG_DATA_DIRS", get.workDIR())
|
||||
|
||||
def build():
|
||||
pythonmodules.compile()
|
||||
|
||||
def install():
|
||||
pythonmodules.install()
|
||||
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
[Desktop Entry]
|
||||
Name=CherryTree
|
||||
Comment=Hierarchical Note Taking
|
||||
Comment[cs]=Hierarchická tvorba poznámek
|
||||
Comment[de]=Hierarchische Notizfunktion
|
||||
Comment[es]=Gestor de notas jerárquico
|
||||
Comment[fr]=Prise de Notes Hiérarchisées
|
||||
Comment[gl]=Xestor de notas xerárquico
|
||||
Comment[it]=Gestore di Appunti Gerarchico
|
||||
Comment[pl]=Strukturalny Notes
|
||||
Comment[ru]=Записная книжка с иерархической структурой
|
||||
Comment[uk]=Записник з ієрархічною структурою
|
||||
Comment[zh_CN]=分层笔记
|
||||
Exec=cherrytree %f
|
||||
Icon=cherrytree
|
||||
MimeType=application/cherrytree-ctd;application/cherrytree-ctz;application/cherrytree-ctb;application/cherrytree-ctx;
|
||||
Terminal=false
|
||||
Type=Application
|
||||
StartupNotify=true
|
||||
Categories=GNOME;GTK;Utility;
|
||||
Keywords=editor;notes;note-taking;
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 9.2 KiB |
@@ -0,0 +1,95 @@
|
||||
diff -r 7c0c3c912f80 modules/pgsc_spellcheck.py
|
||||
--- a/modules/pgsc_spellcheck.py Mon May 26 23:18:46 2014 +0200
|
||||
+++ b/modules/pgsc_spellcheck.py Tue May 27 12:03:10 2014 -0400
|
||||
@@ -42,6 +42,40 @@
|
||||
# public objects
|
||||
__all__ = ['SpellChecker', 'NoDictionariesFound', 'NoGtkBindingFound']
|
||||
|
||||
+# apostrophe workaround from gtkspell3
|
||||
+def gtk_spell_forward_word_end(i):
|
||||
+
|
||||
+ # heuristic:
|
||||
+ # if we're on an singlequote/apostrophe and
|
||||
+ # if the next letter is alphanumeric,
|
||||
+ # this is an apostrophe (either single quote, or U+2019 = 8217.
|
||||
+
|
||||
+ if not i.forward_word_end():
|
||||
+ return False
|
||||
+
|
||||
+ if i.get_char() != '\'' and \
|
||||
+ i.get_char() != 8217:
|
||||
+ return True
|
||||
+
|
||||
+ it = i.copy()
|
||||
+ if it.forward_char() and \
|
||||
+ it.get_char().isalpha():
|
||||
+ return i.forward_word_end()
|
||||
+
|
||||
+ return True
|
||||
+
|
||||
+def gtk_spell_backward_word_start(i):
|
||||
+ if not i.backward_word_start():
|
||||
+ return False
|
||||
+
|
||||
+ it = i.copy()
|
||||
+ if it.get_char().isalpha() and \
|
||||
+ it.backward_char() and \
|
||||
+ (it.get_char() == '\'' or \
|
||||
+ it.get_char() == 8217):
|
||||
+ return i.backward_word_start()
|
||||
+
|
||||
+ return True
|
||||
|
||||
class NoDictionariesFound(Exception):
|
||||
"""
|
||||
@@ -132,10 +166,10 @@
|
||||
def word(self):
|
||||
start = self.iter
|
||||
if not start.starts_word():
|
||||
- start.backward_word_start()
|
||||
+ gtk_spell_backward_word_start(start)
|
||||
end = self.iter
|
||||
if end.inside_word():
|
||||
- end.forward_word_end()
|
||||
+ gtk_spell_forward_word_end(end)
|
||||
return start, end
|
||||
|
||||
def move(self, location):
|
||||
@@ -361,21 +395,21 @@
|
||||
return
|
||||
if start.equal(end):
|
||||
return
|
||||
- if end.inside_word(): end.forward_word_end()
|
||||
+ if end.inside_word(): gtk_spell_forward_word_end(end)
|
||||
if not start.starts_word() and (start.inside_word() or start.ends_word()):
|
||||
- start.backward_word_start()
|
||||
+ gtk_spell_backward_word_start(start)
|
||||
self._buffer.remove_tag(self._misspelled, start, end)
|
||||
cursor = self._buffer.get_iter_at_mark(self._buffer.get_insert())
|
||||
precursor = cursor.copy()
|
||||
precursor.backward_char()
|
||||
highlight = (cursor.has_tag(self._misspelled) or precursor.has_tag(self._misspelled))
|
||||
if not start.get_offset():
|
||||
- start.forward_word_end()
|
||||
- start.backward_word_start()
|
||||
+ gtk_spell_forward_word_end(start)
|
||||
+ gtk_spell_backward_word_start(start)
|
||||
word_start = start.copy()
|
||||
while word_start.compare(end) < 0:
|
||||
word_end = word_start.copy()
|
||||
- word_end.forward_word_end()
|
||||
+ gtk_spell_forward_word_end(word_end)
|
||||
in_word = ((word_start.compare(cursor) < 0) and
|
||||
(cursor.compare(word_end) <= 0))
|
||||
if in_word and not force_all:
|
||||
@@ -386,8 +420,8 @@
|
||||
else:
|
||||
self._check_word(word_start, word_end)
|
||||
self._deferred_check = False
|
||||
- word_end.forward_word_end()
|
||||
- word_end.backward_word_start()
|
||||
+ gtk_spell_forward_word_end(word_end)
|
||||
+ gtk_spell_backward_word_start(word_end)
|
||||
if word_start.equal(word_end):
|
||||
break
|
||||
word_start = word_end.copy()
|
||||
@@ -0,0 +1,68 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>cherrytree</Name>
|
||||
<Homepage>https://www.giuspen.com/cherrytree/</Homepage>
|
||||
<Packager>
|
||||
<Name>Stefan Gronewold</Name>
|
||||
<Email>groni@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>GPLv3+</License>
|
||||
<PartOf>office</PartOf>
|
||||
<IsA>app:gui</IsA>
|
||||
<Summary>Cherrytree A hierarchical note taking application</Summary>
|
||||
<Description>A hierarchical note taking application, featuring rich text and syntax highlighting, storing data in a single xml or sqlite file.</Description>
|
||||
<Archive sha1sum="bc81ae2f6c6566639c5906b3754bf97c6c16b4d4" type="tarxz">http://www.giuspen.com/software/cherrytree-0.38.4.tar.xz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>desktop-file-utils</Dependency>
|
||||
</BuildDependencies>
|
||||
|
||||
</Source>
|
||||
<Package>
|
||||
<Name>cherrytree</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>desktop-file-utils</Dependency>
|
||||
<Dependency>p7zip</Dependency>
|
||||
<Dependency>python-enchant</Dependency>
|
||||
<Dependency>python-gtk</Dependency>
|
||||
<Dependency>python-gtksourceview</Dependency>
|
||||
<Dependency>python-pygobject</Dependency>
|
||||
<Dependency>python3</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="library">/usr/lib/python2.7</Path>
|
||||
<Path fileType="data">/usr/share/cherrytree</Path>
|
||||
<Path fileType="data">/usr/share/mime</Path>
|
||||
<Path fileType="data">/usr/share/mime-info</Path>
|
||||
<Path fileType="data">/usr/share/appdata</Path>
|
||||
<Path fileType="data">/usr/share/application-registry</Path>
|
||||
<Path fileType="icons">/usr/share/icons/hicolor/scalable/apps</Path>
|
||||
<Path fileType="application">/usr/share/applications</Path>
|
||||
<Path fileType="localedata">/usr/share/locale</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
</Files>
|
||||
<AdditionalFiles>
|
||||
<AdditionalFile target="/usr/share/cherrytree/cherrytree.desktop" permission="0644" group="root" owner="root">cherrytree.desktop</AdditionalFile>
|
||||
<AdditionalFile target="/usr/share/cherrytree/cherrytree.sclipgrab.provg" permission="0644" group="root" owner="root">cherrytree.png</AdditionalFile>
|
||||
</AdditionalFiles>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="2">
|
||||
<Date>2018-02-21</Date>
|
||||
<Version>0.38.4</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Stefan Gronewold(groni)</Name>
|
||||
<Email>groni@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2016-06-11</Date>
|
||||
<Version>0.37.6</Version>
|
||||
<Comment>First Release.</Comment>
|
||||
<Name>Stefan Gronewold(groni)</Name>
|
||||
<Email>groni@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,33 @@
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>cherrytree</Name>
|
||||
<Summary xml:lang="tr">Uygulama alarak hiyerarşik not</Summary>
|
||||
<Description xml:lang="tr">Özellikler :
|
||||
|
||||
- Zengin metin ( ön plan rengi , arka plan rengi , kalın , italik , üstü çizili , altı çizili , küçük , h1 , h2 , h3, simge , üst simge , monospace )
|
||||
- Sözdizimi (zengin metingeçerli düğüm devre dışı olduğunda ) vurgulama
|
||||
- Taşıma görüntüler : eklememetin , edit ( döndürmek / yeniden boyutlandırma ) , png dosyayı kaydedin
|
||||
- Taşıma listeleri ( madde işaretli , numaralı , yapılacaklar aralarında ve anahtarı , vardiya ile çok satırlı + enter )
|
||||
- (Düz metin olan hücreler ) işleme basit tablolar , kes / kopyala / yapıştır sıra , ithalat / ihracat csv dosyası olarak
|
||||
- Taşıma codeboxes : otomatik kutuları normal bir zengin metin metin vurgulanır
|
||||
- Metin, resim , tablo ve codeboxes hizalama ( sol / merkez / sağ)
|
||||
- Köprüler ( web sayfalarına bağlantılar , bağlantılar düğümler / düğümleri + çapalar , dosyalara bağlantılar , klasörlere bağlantılar )
|
||||
- Yazım denetimi ( pygtkspellcheck ve pyenchant kullanarak)
|
||||
- Içi uygulama copy / paste : Tek görüntü , tek codeboxes , tek tablolar ve zengin metin , görüntü , codeboxes ve tablolar bir bileşik seçim desteklenen
|
||||
- Çapraz başvuru copy / paste ( OpenOffice ve gmail ile test ) : Tek görüntü, tek codeboxes , tek tablolar ve zengin metin , görüntü , codeboxes ve tablolar bir bileşik seçim desteklenen
|
||||
-Dosya yöneticisi ve cherrytree yapıştırarak dosyaların bir listesini kopyalama dosyaların bağlantıları bir liste oluşturmak , görüntülerimetin tanınan ve eklenen
|
||||
- Seçim / düğüm / düğüm ve alt düğümler pdf dosyası olarak baskı ve kaydetmek /tüm ağaç
|
||||
- Seçim / düğüm / düğüm ve alt düğümler html ihracat /tüm ağaç
|
||||
- Seçim / düğüm / düğüm ve alt düğümler düz metin ihracat /tüm ağaç
|
||||
- Başlıkları H1, H2 ve H3 dayalı bir düğüm / düğüm ve alt düğümler / bütün ağaç için TOC üretimi
|
||||
- Tüm düğümler bulmak , geçerli düğüm bulmak , bir düğümü bulmak
|
||||
- , Düğüm adları yerine geçerli düğüm yerine , tüm düğümleri değiştirin
|
||||
- En sonen son bulmak , yineleme yineleme , yerineson uygulamalı metin biçimlendirme yineleme
|
||||
- Sepet ithalat , Cherrytree , gnote , KeepNote , açış , biliyordun , MemPad , notecase , fatma treepad lite , TuxCards , Zim
|
||||
- Seçim / düğüm / düğüm ve alt düğümler /bütün ağacın dosyayı Cherrytree ihracat
|
||||
- ( Http://www.7-zip.org/ kullanarak) şifre koruması
|
||||
- Ağaç düğümleri sürükle ve bırak</Description>
|
||||
</Source>
|
||||
</PISI>
|
||||
|
||||
<!-- By PiSiDo 2.0.0 -->
|
||||
Reference in New Issue
Block a user