profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/warmwaffles/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.
Matthew Johnston warmwaffles @SearchNurtureTeam Pipe Creek, TX http://www.mattjohnston.co

chrismytton/shoreman 261

:shell: foreman in shell

elixir-sqlite/ecto_sqlite3 89

An Ecto SQLite3 adapter.

elixir-sqlite/exqlite 63

An SQLite3 driver for Elixir

warmwaffles/c-hashing 3

A repository of non-crypto hashing algorithms in C

warmwaffles/gltf-viewer-rs 1

A glTF model viewer written in Rust utilizing the gltf crate

warmwaffles/cglm 0

📽 Highly Optimized Graphics Math (glm) for C

warmwaffles/charger 0

Talks to Chargify's REST API and can calculate MRR

fork warmwaffles/physfs

A portable, flexible file i/o abstraction.

https://icculus.org/physfs/

fork in 2 days

startedicculus/physfs

started time in 2 days

startedreHackable/awesome-reMarkable

started time in 3 days

startedgzm55/hash-garage

started time in 3 days

startedQuarren42/SPIN

started time in 7 days

issue commentelixir-sqlite/exqlite

Add Windows CI

Oh this is awesome.

kevinlang

comment created time in 9 days

issue commentelixir-sqlite/ecto_sqlite3

Ecto expectations for map fields

We probably need to make if function similarly.

rupurt

comment created time in 10 days

issue commentvallentin/glText

Custom fonts?

Would definitely be cool to be able to specify multiple baked fonts.

Something like

gltUseFont(text, blob, blob_size, blob_glyph_count)
8-BIT-DEV

comment created time in 10 days

startedkevinmkchin/TrueTypeAssembler

started time in 10 days

issue commentelixir-sqlite/ecto_sqlite3

Ecto expectations for map fields

I'm curious if this is also an issue with the MySQL adapter. I based a lot of the sqlite3 adapter off of it.

rupurt

comment created time in 11 days

PR closed kuba--/zip

Upgrades to miniz 2.2

This is an attempt at upgrading to miniz 2.2

Closes #144

Some things changed only slightly. One test fails for me locally right now and that is the test_permissions.out

+8505 -6167

3 comments

4 changed files

warmwaffles

pr closed time in 11 days

pull request commentkuba--/zip

Upgrades to miniz 2.2

Regarding permissions, we need to keep the same permissions mode (that's why stat function was used). A file permissions like other attributes are saved in zip dictionary.

In this PR I didn't modify anything around the stat functionality. Because the miniz 1.15 is inlined as a header only, this wrapper is using a "private" function in the official 2.2 release. Thus, just including it as an amalgamated single header file, we've regained access to the stat function.

I'm going to go ahead and close this, feel free to pick any changes if you want.

warmwaffles

comment created time in 11 days

push eventwarmwaffles/zip

Matthew Johnston

commit sha 77297efbe2fb162bd0b0c6aa87ccbf505bc1c4fe

Backport old MZ_MKDIR as zip_mkdir

view details

Matthew Johnston

commit sha 572659c420aa3be88c1520846c8910ea1cb0442e

Flags and compression level have been combined

view details

Matthew Johnston

commit sha 267db92841b61758057c41c826501f2d341f40b5

Fix call to mz_zip_writer_add_to_central_dir Also make it follow a similar insane amount of function parameters to pass.

view details

Matthew Johnston

commit sha af0a2804771623d52b31bb0ee33870bf5af0b5d2

Offset was changed to `mz_uint64` Since we aren't exposing miniz by including this library, it's probably best that we just use `uint64_t` to match what they are type punning.

view details

Matthew Johnston

commit sha c0c1c0df21a14397dbbee07aacb2972531f3a217

Miniz no longer allows custom crc32 method

view details

push time in 13 days

Pull request review commentkuba--/zip

Upgrades to miniz 2.2

 extern ZIP_EXPORT int zip_extract(const char *zipname, const char *dir,                                                           void *arg),                                   void *arg); -/**- * Sets global CRC-32 checksum function.- *- * @param crc32_func crc32 function (init value, buffer, buffer size)- */-extern ZIP_EXPORT void-zip_crc32_func(unsigned long (*crc32_func)(unsigned long crc, const void *buf,

Did you patch it into miniz directly?

warmwaffles

comment created time in 13 days

PullRequestReviewEvent

issue commentkuba--/zip

Upgrade to miniz 2.x ?

@kuba-- this is almost complete. The only thing that is failing is the permission test. Feel free to make edits how you see fit or suggestions.

JCash

comment created time in 14 days

PR opened kuba--/zip

Upgrades to miniz 2.2

This is an attempt at upgrading to miniz 2.2

Closes #144

Some things changed only slightly. One test fails for me locally right now and that is the test_permissions.out

+8505 -6167

0 comment

4 changed files

pr created time in 14 days

create barnchwarmwaffles/zip

branch : miniz22

created branch time in 14 days

fork warmwaffles/zip

A portable, simple zip library written in C

fork in 14 days

issue commentkuba--/zip

Upgrade to miniz 2.x ?

That did it, the errors are much fewer, and easier to deal with. If I get this working, I'll submit a PR

JCash

comment created time in 14 days

issue commentkuba--/zip

Upgrade to miniz 2.x ?

Actually, they offer a BUILD_HEADER_ONLY option that could be utilized and a largish portion of these issues would go away https://github.com/richgel999/miniz/blob/master/CMakeLists.txt#L72-L76

JCash

comment created time in 14 days

issue commentkuba--/zip

Upgrade to miniz 2.x ?

I was attempting to flip in miniz 2.0 hoping the change over would be simple. But simply put, it is not.

Some issues I ran into and don't know how it should be solved.

  • MZ_FILE_STAT_STRUCT is no longer present and there isn't any sort of replacement other than making one.
  • Internal state for mz state is now opaque so a work around will be necessary.
  • MZ_MKDIR is gone, a cross platform definition would need to be made. Not difficult.

Overall the real question is, should there be a larger refactor that takes place in order to make the transition to 2.0 or should I try to just shim in some fixes to get it compiling and functioning? I fear just shimming in fixes, would cause bugs.

JCash

comment created time in 14 days

startedspace-wizards/space-station-14

started time in 15 days

startedspace-wizards/RobustToolbox

started time in 15 days

startedtezc/sc

started time in 21 days

startedpoteto/terraform

started time in 23 days

startedno-defun-allowed/wasm2ps

started time in a month

startedno-defun-allowed/wasm2ps

started time in a month

pull request commentelixir-sqlite/ecto_sqlite3

Quote Entities with Double Quotes

Thanks for the work on this.

Jcambass

comment created time in a month

issue commentelixir-sqlite/ecto_sqlite3

Can't have a field with name "order"

@lawik this has been fixed by @Jcambass in #39 and is now released under 38efd93

lawik

comment created time in a month