mariusae

mariusae

Member Since 13 years ago

bay area, california

Experience Points
732
follower
Lessons Completed
66
follow
Lessons Completed
223
stars
Best Reply Awards
65
repos

11 contributions in the last year

Pinned
⚡ Trickle is a userland bandwidth shaper for Unix-like systems.
⚡ production heap profiling for the JVM. compatible with google-perftools.
⚡ no bullshit, minimalistic HTTP load generator
⚡ RF stack for the Animas OneTouch Ping insulin pump
⚡ Gitfiles provides support for browsing Git repositories inside Acme.
⚡ finagle support for thrift 0.5.0
Activity
Jan
11
1 week ago
push

mariusae push mariusae/go

mariusae
mariusae

add remainder of clang-format eligible extensions

commit sha: 3c967206894b9a5d7eaaa2c7ca13a52afc9f191a

push time in 1 week ago
pull request

mariusae pull request 9fans/go

mariusae
mariusae

acmego: add clang-format for .cc, .cpp, .h

Activity icon
created branch

mariusae in mariusae/go create branch main

createdAt 1 week ago
push

mariusae push mariusae/go

mariusae
mariusae

Watch: add -r flag for recursive watch

mariusae
mariusae

draw: add SweepRect, MenuHit, fixes

mariusae
mariusae

draw: add our own Rect, other constructors

image.Rect canonicalizes the bounds, so that image.Rect(1, 1, 0, 0) == image.Rect(0, 0, 1, 1).

In contrast, draw.Rect(1, 1, 0, 0) needs to be Rectangle{{1,1}, {0, 0}}, a rectangle with no pixels.

Still using the types image.Rectangle and image.Point but now via aliases. Perhaps at some point we will need to introduce our own types, but not yet.

Also introduce ZP and ZR so that client code should never need to import "image" directly.

mariusae
mariusae
mariusae
mariusae

draw/drawfcall: add recent messages from plan9port

Also change the definition of Mouse to be compatible with draw.Mouse. This may break direct users of drawfcall.

mariusae
mariusae

draw: document better, clean up names

Add documentation from Plan 9, instead of forcing users to go to the Plan 9 man page and guess at what is relevant. Also add a key for mapping Plan 9 C names to Go names.

Various cleanup as well - will break clients but fixes should be straightforward.

The most common fix will probably be d.DefaultFont -> d.Font.

mariusae
mariusae

draw: add Display.SwitchCursor2

mariusae
mariusae

draw: add Display.SetLabel, Display.Top, Display.Resize

mariusae
mariusae
mariusae
mariusae

plan9/client: add MountServiceAname

mariusae
mariusae

draw/LICENSE: update to new Plan 9 license

Yesterday Nokia Bell Labs transferred the Plan 9 copyrights to the Plan 9 Foundation, which relicensed the code under a standard MIT license.

Update this code to choose that license as well.

mariusae
mariusae

games/4s: make separate LICENSE file, update to MIT

mariusae
mariusae

all: update LICENSE files

This repo contains newly-authored Google code as well as code ported to Go from Plan 9 C. The former was under the top-level LICENSE file (a BSD license) while the latter was under separate per-directory LICENSE files (the Lucent Public License 1.02 until yesterday, and now the MIT license).

Google has agreed to relicense the Google-copyright code in this repo under the MIT license in order to allow me to have a single license for the entire repo.

Delete draw/LICENSE, games/4s/LICENSE; change LICENSE to MIT.

mariusae
mariusae

all: remove stale Makefiles

mariusae
mariusae

plan9/client: fix Dirreadall

mariusae
mariusae

draw/frame: add port of libframe

mariusae
mariusae

cmd/sam: add Go port of sam

mariusae
mariusae

cmd/samterm: add Go port of samterm

commit sha: 392faaeddcc07ad9f8a59a1c80aefee7b0e6aec5

push time in 1 week ago
Jan
5
2 weeks ago
pull request

mariusae pull request fhs/acme-lsp

mariusae
mariusae

Support for the Python Language Server

PYLS has two quirks: first, it requires that window/showStatus is implemented; second, on formatting it replaces the full text, which causes a bad user experience in acme.

This PR addresses both of these by (1) implementing window/showStatus, and (2) breaking up full-replacement texts into a patch that in turn is converted into fine-grained text edit commands.

push

mariusae push mariusae/acme-lsp

mariusae
mariusae

Add support for window/showStatus

Some servers require this to be implemented. We log the status message, and never provide any return actions.

mariusae
mariusae

edit: create patch if the full text is replaced

Replacing the full text causes acme to loose its cursor position, creating a very confusing user experience.

commit sha: 252eb73c624e85f4862c08f5a1f6b68f48765ddf

push time in 1 week ago
push

mariusae push mariusae/acme-lsp

mariusae
mariusae

README.md: link to Actions on master branch only

mariusae
mariusae

cmd/acme-lsp: add -hidediag flag and HideDiagnostics config

Fixes #27

mariusae
mariusae

.travis.yml: fix gopls installation failure

The legacy path has been removed.

mariusae
mariusae

.github/workflows/test.yml: fix gopls installation

mariusae
mariusae

internal/golang_org_x_tools: copy updates from gopls v0.2.2

mariusae
mariusae

internal/lsp/protocol: copy changes from gopls v0.2.2

mariusae
mariusae

cmd/acme-lsp: add -rpc.trace flag

This helps with debugging LSP servers that don't do tracing.

mariusae
mariusae

Workaround versioned document edits sent by gopls

This fixes Organize Imports code action for gopls version >= 0.3.1.

Fixes #31

mariusae
mariusae

Use github.com/fhs/9fans-go

mariusae
mariusae

Fix window address read on plan9

mariusae
mariusae

Update github.com/fhs/9fans-go to v0.0.0-fhs.20200606

This fixes L fmt and L assist on plan9.

mariusae
mariusae

Fix builds and test on Go 1.14

mariusae
mariusae

Fix build failure on windows due to 8.3 filename

mariusae
mariusae

Make diagnostics window updates faster

All current diagnostics were being written every time we received a new diagnostics update. Instead, we now queue diagnostics and write them every second if the queue changed.

Update #35

mariusae
mariusae

Rename PublishDiagnostics to WriteDiagnostics

mariusae
mariusae

README.md: replace sh script with rc

mariusae
mariusae

Update github code action packages

mariusae
mariusae

Add LanguageID configuration

Update #37

mariusae
mariusae

Add support of specifying language id in -server and -dial flags

Fixes #37

mariusae
mariusae

README.md: add a link to a ccls/darwin how-to for acme-lsp

commit sha: eaa8785daa4596a94c699e2e5843eee5e408ac37

push time in 1 week ago
Jan
1
2 weeks ago
push

mariusae push mariusae/plan9port

mariusae
mariusae

bin/9c, bin/9l: Re-enable optimization on AIX.

mariusae
mariusae

libdraw: Fix GUI programs on AIX (#398)

mariusae
mariusae

9term: Skip unnecessary ioctl call on AIX.

mariusae
mariusae

.gitignore: Ignore some more things that get created during compile.

mariusae
mariusae
mariusae
mariusae

lib9p: Fix compile error

commit 385a6d5877258cee0cac6151e6359c9206006b01 removed src/lib9p/_post.c from the code base, but overlooked removing a reference to the _post.o object file from the src/lib9p/mkfile.

This results in lib9p failing to compile:

  • Running on Darwin...
  • Compiler version: Apple clang version 12.0.5 (clang-1205.0.22.11)
  • Building mk...
  • Building everything (be patient)...

mk: don't know how to make '/Users/sasha/plan9port_fork/lib/lib9p.a(_post.o)' in /Users/sasha/plan9port_fork/src/lib9p mk: for i in ... : exit status=exit(1)

Remove _post.o from the list of dependent object files from src/lib9p/mkfile to have lib9p compile.

Fixes: 385a6d587725 ("lib9p: Remove postmountsrv (#505)")

mariusae
mariusae
mariusae
mariusae

sam: fix spurious overwrite message

Fixes:

% sam -d -. w foo foo: (new file) #0 w foo ?warning: write might change good version of `foo'

mariusae
mariusae

mk: provide a mechanism to default to rc

For cross-compiling plan9 from Unix, provide a way to force mk to use rc instead of sh without setting MKSHELL in individual mkfiles.

If the environment variable FORCERCFORMK is set, mk will default to using rc, not sh.

Signed-off-by: Dan Cross [email protected]

mariusae
mariusae

cmd/auxstats: improve wireless interface name matcher in Linux

mariusae
mariusae

cmd/auxstats: improve network device name matcher in Linux

mariusae
mariusae

src/cmd/acme: provide info on presense or absence of undo history (#528)

It's sometimes useful to know whether there's been editing activity in a window. This PR adds that information to the ctl file.

Change-Id: I21a342ac636dd5c7701b3ed560e3526867329c2c

mariusae
mariusae

Merge remote-tracking branch 'upstream/master' into marius

mariusae
mariusae

devdraw: old selection style

commit sha: 465230f71c974f0a24dc17143c87100d72c8749e

push time in 2 weeks ago
Dec
25
3 weeks ago
Dec
22
4 weeks ago
Nov
5
2 months ago
Activity icon
commit_comment

grailbio/reflow