Git Product home page Git Product logo

xfwanglxf / sakura Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sakura-editor/sakura

0.0 0.0 0.0 97.22 MB

SAKURA Editor (Japanese text editor for MS Windows)

Home Page: https://sakura-editor.github.io/

License: Other

JavaScript 0.04% C++ 74.86% Python 0.24% C 1.85% C# 0.63% AutoHotkey 0.01% PowerShell 0.07% CSS 0.10% Makefile 0.14% HTML 20.03% CMake 0.09% Inno Setup 1.13% Batchfile 0.77% Ragel 0.02% RPC 0.01% V 0.01% VBScript 0.02%

sakura's Introduction

Sakura Editor

Build status Github Releases All License: Zlib CodeFactor Build Status build sakura Quality Gate Status Star History

A free Japanese text editor for Windows

Hot topic

Project(カンバン)運用を始めます。

Web Site

開発参加ポリシー

開発ポリシーを以下にまとめていきます。開発にご参加いただける方はこちらご参照ください。
https://github.com/sakura-editor/sakura/wiki

Build Requirements

Sakura Editor をコンパイルするためには、 Community または Professional エディション以上の Visual Studio 2017 または Visual Studio 2019 が必要です。

正式バイナリは Visual Studio Community 2017 でビルドされます。

Visual Studio Install options required

  • Windows 10 SDK

Visual Studio 2019 対応に関して

Visual Studio 2017/2019 の両対応に関しては #866 で対処済みです。
仕組みに関してはこちらを参照

.vsconfig に関して

Sakura Editor のコンパイルに必要なコンポーネントを Visual Studio 2017/2019 にインストールするために .vsconfig という設定ファイルを用意しています。

#1162.vsconfig というファイルを sakura.sln と同じディレクトリに配置しています。

Visual Studio 2017/2019 共通

vs_community__XXXXX.exe でインストールする際に、--config オプションをつけてインストールする。 あるいは構成変更することにより、必要なコンポーネントを自動的にインストールします。

vs_community__XXXXX.exe --config <.vsconfig のファイルパス>

Visual Studio 2019 のみ

sakura.sln と同じディレクトリに .vsconfig が存在するので、 Visual Studio 2019 で sakura.sln を開くと必要なコンポーネントが足りない場合、インストールを促す表示が出るので、インストールをクリックすると自動的にインストールする。

参照

How to build

  • 7Zip のインストールして 7z.exe へのパスを通します。
  • Visual Studio で sakura.sln を開いてビルドします。

詳細情報

詳しくは こちら を参照

CI Buildおよびローカルビルドの環境変数

こちら を参照してください。

PR(Pull Request) を簡単にローカルに取得する方法

CI Build (Azure Pipelines)

ビルドの仕組み (Azure Pipelines)

azure-pipelines.md でビルドの仕組みを説明しています。

CI Build (AppVeyor)

ビルドの仕組み (AppVeyor)

AppVeyor では、 build-all.bat を使用してビルドを行っています。 ビルドに使用されるバッチファイルについては build-batchfiles.md を参照してください。

ビルド成果物を利用する上での注意事項

これ を読んでからご利用ください。

x64 版は alpha 版です。
対応中のため予期せぬ不具合がある可能性があります。

ビルド成果物のダウンロード(バイナリ、インストーラなど)

master の 最新

  1. https://ci.appveyor.com/project/sakuraeditor/sakura/branch/master にアクセスする
  2. 右端にある Jobs をクリックします。
  3. 自分がダウンロードしたいビルド構成 (例: Configuration: Release; Platform: Win32) をクリックします。
  4. 右端にある ARTIFACTS をクリックします。
  5. 自分がダウンロードしたいものをクリックしてダウンロードします。
    • (ユーザー用) 末尾に Exe がついてるのが実行ファイルのセットです。
    • (ユーザー用) 末尾に Installer がついてるのがインストーラのセットです。
    • (すべて欲しい人向け) All がついてるのがバイナリ、インストーラ、ビルドログ、アセンブラ出力のフルセットです。 (#514 の軽減のため無効化中)
    • (開発者用) 末尾に Log がついてるのがビルドログのセットです。
    • (開発者用) 末尾に Asm がついてるのがアセンブラ出力セットです。

master の 最新以外

以下から取得したいビルドを選択後、同様にしてダウンロードできます。
https://ci.appveyor.com/project/sakuraeditor/sakura/history

開発情報

単体テスト

こちら を参照してください。

デバッグ方法

変更履歴

マクロのサンプル

こちらでマクロのサンプルを提供してます。
もしサンプルを作ってもいいよ~という方がおられましたら PR の作成お願いします。

静的コード解析

  • CodeFactor を利用しています。
    • cpplint.py で cpp のスタイルのチェックを行っています。

sakura's People

Contributors

berryzplus avatar m-tmatma avatar beru avatar kobake avatar sanomari avatar suconbu avatar kengoide avatar gentahgr avatar usagisita avatar kenchjp avatar k-takata avatar eldersjavas avatar dep5 avatar takke avatar kageshiron avatar ds14050 avatar 7-rate avatar ocelot1210 avatar yoshinrt avatar takeyamajp avatar eltociear avatar mpaladin avatar rukoto avatar dau6jarl avatar germanaizek avatar sam8979 avatar toduq avatar hiroki-oogakiuchi avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.