mirror of
https://github.com/Dasemu/Synapse.git
synced 2026-11-26 23:36:20 +00:00
chore: rebrand remaining Logseq references to Synapse
Describe Synapse's own Markdown dialect, export format and editor behaviour as Synapse's, rename Logseq-named history test identifiers, and set the app label/window titles to Synapse. The importer keeps its Logseq naming. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
c4e9b79fa6
commit
adbbc45a56
24 files changed
+31
-31
No files matched your search
@@ -1,6 +1,6 @@
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<application
|
||||
android:label="synapse"
|
||||
android:label="Synapse"
|
||||
android:name="${applicationName}"
|
||||
android:icon="@mipmap/ic_launcher">
|
||||
<activity
|
||||
|
||||
@@ -96,7 +96,7 @@ final _uuid = RegExp(
|
||||
);
|
||||
final _property = RegExp(r'^([A-Za-z0-9_\-]+):: ?(.*)$');
|
||||
|
||||
/// Renders Logseq-flavoured Markdown of one block into a single [InlineSpan] tree.
|
||||
/// Renders Synapse outline Markdown of one block into a single [InlineSpan] tree.
|
||||
class BlockRenderer {
|
||||
BlockRenderer(this.ctx);
|
||||
|
||||
|
||||
@@ -134,7 +134,7 @@ abstract class SynapseGraph implements RustOpaqueInterface {
|
||||
Future<PageData> openPage({required String title});
|
||||
|
||||
/// Shift-Tab: the block moves right after its parent, adopting its following siblings as
|
||||
/// children so it keeps its visual place (Logseq's default outdenting).
|
||||
/// children so it keeps its visual place (direct outdenting).
|
||||
Future<List<BlockDto>> outdentBlock({required String id});
|
||||
|
||||
/// Current outline of a page.
|
||||
|
||||
@@ -5341,7 +5341,7 @@ class SynapseGraphImpl extends RustOpaque implements SynapseGraph {
|
||||
.crateApiGraphSynapseGraphOpenPage(that: this, title: title);
|
||||
|
||||
/// Shift-Tab: the block moves right after its parent, adopting its following siblings as
|
||||
/// children so it keeps its visual place (Logseq's default outdenting).
|
||||
/// children so it keeps its visual place (direct outdenting).
|
||||
Future<List<BlockDto>> outdentBlock({required String id}) => RustLib
|
||||
.instance
|
||||
.api
|
||||
|
||||
@@ -45,11 +45,11 @@ static void my_application_activate(GApplication* application) {
|
||||
if (use_header_bar) {
|
||||
GtkHeaderBar* header_bar = GTK_HEADER_BAR(gtk_header_bar_new());
|
||||
gtk_widget_show(GTK_WIDGET(header_bar));
|
||||
gtk_header_bar_set_title(header_bar, "synapse");
|
||||
gtk_header_bar_set_title(header_bar, "Synapse");
|
||||
gtk_header_bar_set_show_close_button(header_bar, TRUE);
|
||||
gtk_window_set_titlebar(window, GTK_WIDGET(header_bar));
|
||||
} else {
|
||||
gtk_window_set_title(window, "synapse");
|
||||
gtk_window_set_title(window, "Synapse");
|
||||
}
|
||||
|
||||
gtk_window_set_default_size(window, 1280, 720);
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
name: synapse
|
||||
description: "Synapse: a native, Logseq-like second brain."
|
||||
description: "Synapse: a native second brain: outliner notes with linked pages and journals."
|
||||
publish_to: 'none'
|
||||
version: 0.1.0+1
|
||||
|
||||
|
||||
@@ -169,7 +169,7 @@ void main() {
|
||||
await tester.pump();
|
||||
expect(h.local, [(0, 'a'), (1, 'b'), (1, 'c')]);
|
||||
|
||||
// Outdenting `b` adopts `c` (Logseq's direct outdenting).
|
||||
// Outdenting `b` adopts `c` (direct outdenting).
|
||||
await edit(tester, h, 'b');
|
||||
await withShift(tester, LogicalKeyboardKey.tab);
|
||||
expect(h.local, [(0, 'a'), (0, 'b'), (1, 'c')]);
|
||||
|
||||
@@ -90,12 +90,12 @@ BEGIN
|
||||
BLOCK "040904e4"
|
||||
BEGIN
|
||||
VALUE "CompanyName", "dasemu" "\0"
|
||||
VALUE "FileDescription", "synapse" "\0"
|
||||
VALUE "FileDescription", "Synapse" "\0"
|
||||
VALUE "FileVersion", VERSION_AS_STRING "\0"
|
||||
VALUE "InternalName", "synapse" "\0"
|
||||
VALUE "InternalName", "Synapse" "\0"
|
||||
VALUE "LegalCopyright", "Copyright (C) 2026 dasemu. All rights reserved." "\0"
|
||||
VALUE "OriginalFilename", "synapse.exe" "\0"
|
||||
VALUE "ProductName", "synapse" "\0"
|
||||
VALUE "ProductName", "Synapse" "\0"
|
||||
VALUE "ProductVersion", VERSION_AS_STRING "\0"
|
||||
END
|
||||
END
|
||||
|
||||
@@ -27,7 +27,7 @@ int APIENTRY wWinMain(_In_ HINSTANCE instance, _In_opt_ HINSTANCE prev,
|
||||
FlutterWindow window(project);
|
||||
Win32Window::Point origin(10, 10);
|
||||
Win32Window::Size size(1280, 720);
|
||||
if (!window.Create(L"synapse", origin, size)) {
|
||||
if (!window.Create(L"Synapse", origin, size)) {
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
window.SetQuitOnClose(true);
|
||||
|
||||
Reference in new issue
Block a user