~typeless

Recent activity

[gio v2] app/internal/log: add logger for Windows DebugView 9 days ago

From mural to ~eliasnaur/gio-patches

Signed-off-by: mural <mural@ctli.io>
---
Please take a look.

 app/internal/log/log_windows.go | 34 +++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)
 create mode 100644 app/internal/log/log_windows.go

diff --git a/app/internal/log/log_windows.go b/app/internal/log/log_windows.go
new file mode 100644
index 0000000..13c5fe4
--- /dev/null
+++ b/app/internal/log/log_windows.go
@@ -0,0 +1,34 @@
[message trimmed]

[gio v1] app/internal/log: add logger for Windows DebugView 9 days ago

From mural to ~eliasnaur/gio-patches

Signed-off-by: mural <mural@ctli.io>
---
According to
https://docs.microsoft.com/en-us/windows/console/getstdhandle,
GetStdHandle would return NULL if there is no associated standard handles.
So we chack 0 as well.

 app/internal/log/log_windows.go | 34 +++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)
 create mode 100644 app/internal/log/log_windows.go

diff --git a/app/internal/log/log_windows.go b/app/internal/log/log_windows.go
new file mode 100644
index 0000000..0642919
[message trimmed]

[PATCH v2] Update 9 days ago

From mural to ~sircmpwn/email-test-drive

---
 mural | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mural b/mural
index 66cb3d4..aed6bbe 100644
--- a/mural
+++ b/mural
@@ -1 +1 @@
I have successfully used git send-email!
I want to test in-reply-to!
-- 
2.24.1

[PATCH v2] Demonstrate that I can use git send-email! 10 days ago

From mural to ~sircmpwn/email-test-drive

From: "mural@ctli.io" <mural@ctli.io>

---
 mural | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 mural

diff --git a/mural b/mural
new file mode 100644
index 0000000..66cb3d4
--- /dev/null
+++ b/mural
@@ -0,0 +1 @@
I have successfully used git send-email!
[message trimmed]

[PATCH] Demonstrate that I can use git send-email! 10 days ago

From mural to ~sircmpwn/email-test-drive

From: "mural@ctli.io" <mural@ctli.io>

---
 mural | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 mural

diff --git a/mural b/mural
new file mode 100644
index 0000000..b4380e4
--- /dev/null
+++ b/mural
@@ -0,0 +1 @@
I'm about to try git send-email!
[message trimmed]

[PATCH] Demonstrate that I can use git send-email! 12 days ago

From mural to ~sircmpwn/email-test-drive

---
 mural | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 mural

diff --git a/mural b/mural
new file mode 100644
index 0000000..b4380e4
--- /dev/null
+++ b/mural
@@ -0,0 +1 @@
I'm about to try git send-email!
-- 
2.24.1
[message trimmed]

Re: [gio] app/internal/log: add logger for Windows DebugView 12 days ago

From mural to ~eliasnaur/gio-patches

It's strange that I was struggling with git-send-email and
still couldn't figure out how to make it work on macOS before going to bed. 
I thought no emails were sent successfully. (I managed to use the web interface of sr.ht before this one)

On Sat, Jan 11, 2020, at 1:10 AM, Elias Naur wrote:
> On Fri Jan 10, 2020 at 22:45, mural wrote:
> > Signed-off-by: mural <mural@ctli.io>
> > ---
> >  app/internal/log/log_windows.go | 41 +++++++++++++++++++++++++++++++++
> >  1 file changed, 41 insertions(+)
> >  create mode 100644 app/internal/log/log_windows.go
> >
> > diff --git a/app/internal/log/log_windows.go b/app/internal/log/log_windows.go
> > new file mode 100644

[gio] app/internal/log: add logger for Windows DebugView 12 days ago

From mural to ~eliasnaur/gio-patches

Signed-off-by: mural <mural@ctli.io>
---
 app/internal/log/log_windows.go | 41 +++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)
 create mode 100644 app/internal/log/log_windows.go

diff --git a/app/internal/log/log_windows.go b/app/internal/log/log_windows.go
new file mode 100644
index 0000000..2019bcd
--- /dev/null
+++ b/app/internal/log/log_windows.go
@@ -0,0 +1,41 @@
// SPDX-License-Identifier: Unlicense OR MIT

[message trimmed]

Re: [PATCH gio] app/internal/log: add logger for Windows DebugView 13 days ago

From mural to ~eliasnaur/gio-patches

Sorry for spamming the list.
I  did some things wrong when trying to fix the patch. 
I am not familiar with the email-based workflow and I don't know how to delete those embarrassing mistakes. 

This patch should be the latest change.

Re: [PATCH gio 1/1] app/internal/log: add logger for Windows DbgView 14 days ago

From Mura Li to ~eliasnaur/gio-patches

On Thu, Jan 9, 2020, at 4:52 PM, Elias Naur wrote:
> Thank you. Can you say something about where the debugging output end
> up (I don't have much Windows development experience)? How will the
> change affect programs that are not built with `-H windowsgui`?

There is a tool named DebugView.exe that collects the log messages, which serves a similar role as logcat on Android. You can get it from the SysInternals: https://docs.microsoft.com/en-us/sysinternals/downloads/sysinternals-suite

As I tested it, if the program is built without '-H windowsgui', log.Printf will outputs to DebugView.exe but not to stdout.


> 
> On Thu Jan 9, 2020 at 3:43 PM, ~typeless wrote:
> > From: mural <mural@ctli.io>