seasharp
  • Joined on Dec 20, 2018
Loading Heatmap…

seasharp synced commits to master at seasharp/miniflux_mirror from mirror

  • 6d25fb715b Various CSS tweaks and optimizations Prevent sub and sup from affecting line-height. Set touch-action on .items to prevent browser navigation. Move font-family specific CSS to the appropriate file. Update primary font-family for UI to be even more compatible with various operating systems. Make .entry-content font-weight variable depending on font-family used.
  • 0ddfa5f7d9 Update zh_CN translation for page.api_keys.table.token
  • Compare 2 commits »

10 hours ago

seasharp synced commits to master at seasharp/meson_mirror from mirror

  • dff40ca259 environment: Pass defines to clang based ObjC[++] compilers mypy noticed that we were passing [] (instead of a dict or None) to the ClangCompiler class in objc, which made me noticed that for C and C++ we set the defines, but not for ObjC and ObjC++
  • da4c1945fc compilers/objcpp: add type annotations
  • 05df8320db compilers/objc: Add type annotations
  • 682d22129c compilers: Tell mypy that the compiler mixins are just that We do this by making the mixins inherit the Compiler class only when mypy is examining the code (using some clever inheritance shenanigans). This caught a bunch of issues, and also lets us delete a ton of code.
  • 2c0fbe161d compilers: make is_cross part of the base Compiler class Every class needs to set this, so it should be part of the base. For classes that require is_cross, the positional argument remains in their signature. For those that don't, they just allow the base class to set their value to it's default of False.
  • Compare 27 commits »

2 days ago

seasharp synced commits to master at seasharp/miniflux_mirror from mirror

3 days ago

seasharp synced commits to master at seasharp/miniflux_mirror from mirror

  • eb026ae4ac handle Pacific Daylight Time in addition to Pacific Standard Time

4 days ago

seasharp synced commits to master at seasharp/meson_mirror from mirror

  • 8fa0548e08 pylint: turn on a few more errors
  • f342efd080 pylint: turn on bad-indentation error and fix all of the bad indentation
  • 3b292a04b8 pylint: turn on warnings for abstract classes We're using these now, so having some error checking to make sure we don't have paths were we're trying to instantiate an abstract class would be good.
  • b034f8cf61 pylint: Turn on warnings for incorrect number of args This catches some very real errors. The one in scalapack is pretty silly actually, it's failing to figure out that the exploded list is at least two arguments. However, the code is actually clearer by not using a list and exploding it, so I've done that and pylint is happy too.
  • Compare 4 commits »

4 days ago

seasharp synced commits to master at seasharp/miniflux_mirror from mirror

  • 38d3b28445 Create index to speed up bookmark page

5 days ago

seasharp synced commits to master at seasharp/meson_mirror from mirror

  • 94ea9d97be docs: Clarify what literal strings mean [skip ci] Someone on IRC was confused by this paragraph.

5 days ago

seasharp synced commits to master at seasharp/miniflux_mirror from mirror

  • 0d0395b4e3 Do not try to update a duplicated feed after a refresh
  • e6c6ee441a Use a transaction to refresh and create entries Also includes few database improvements: - Speed up entries clean up with an index and a goroutine - Avoid the accumulation of enclosures for some feeds
  • Compare 2 commits »

6 days ago

seasharp synced commits to master at seasharp/meson_mirror from mirror

  • 13a8e1d26e Improve docs for creating new wraps. [skip ci]

6 days ago

seasharp synced new reference newwrap to seasharp/meson_mirror from mirror

6 days ago

seasharp synced new reference newwrap to seasharp/meson_mirror from mirror

6 days ago

seasharp synced commits to master at seasharp/meson_mirror from mirror

  • 007ece4659 pylint: Turn on a few more good warnings
  • cb0265a6b2 pylint: Catch cases of `if len(container)` which should be replaced by `if container` Unfortunately this doesn't catch other abuses of len(continauer) like, `len(container) <comparator> 0`, see: https://github.com/PyCQA/pylint/issues/3751
  • 35a5a69355 Some fixes for CompCert 1. Like with gcc's `ld`, also use the `group_start` code to create a `--start-group`/`--end-group` 2. xc16 tricked into believing the 'link_whole' was about `--*-group`, but it should use gcc's `--whole-archive` instead. 3. Not clear what the get_lib_prefix should really do, but for picolibc it seems I want just `''`. The problem with picolibc was that the `-l` would be prefixed to a lib like `picolib/libm/libm.a`. Though of course the `-l` would be necessary for just a plain `m` (that's what I assumed this would be used for). I think this might need some clarification from the meson devs ;-)
  • Compare 3 commits »

1 week ago

seasharp synced commits to master at seasharp/meson_mirror from mirror

  • 9d8906363e Support identifying msvc dependency prefix with a path starting with a backslash
  • 17f07a53d0 msubprojects: Fix unit tests on Windows
  • da72e6284e msubprojects: Revert back to rev-parse instead of --show-current It is undocumented in manpage, but --show-current is new in git 2.22 which is too recent for distros we want to support like Ubuntu 18.04.
  • e0cd54a322 msubprojects: Stop trying to guess subproject type It was done to include them in `meson subprojects foreach` without --types argument, but it's better to special case missing --types and include wraps that have type=None too. It was a bad idea because that was messing them in `meson subprojects update`, now they are ignored by that command.
  • c203e2f92b msubprojects: Add basic unit tests
  • Compare 13 commits »

1 week ago

seasharp synced commits to master at seasharp/meson_mirror from mirror

  • ea46daa7bc Revert "windows: reduce chance of going over path limit in backend/vs" This reverts commit 807f88739ebfa002c9a0b9acd3e24c9610fb02a2.

1 week ago

seasharp synced commits to master at seasharp/meson_mirror from mirror

  • e9fea0fecf unittests: mock os.environ before mucking with it
  • 80ec7ec681 tests: Make monkey patching smarter There are two problems here. The first is that we're doing manual monkey patching which is fragile and verbose, when unittest.mock is designed specifically to solve this exact problem. The second is that we're monkey patching os.environ at two different levels with the same information. So let's only do it once.
  • 807f88739e windows: reduce chance of going over path limit in backend/vs When building with vs2019 (not ninja), a path length error will be thrown if the path to a resource file is even remotely deep within the tree. This is largely because the target name includes the string "Windows resource for file 'full path'", which is then expanded twice (once for the .vcxproj itself, and once for IntDir) and added to the full path. When combined with the tiny path limits on Windows, it is easy to exceed path limits. This error is largely avoided by the ninja back-end. Unlike the vs back-end, the ninja back-end does not use target.get_id() as part of the project file path, nor does it use target.get_id() as part of get_target_private_dir(). Example error: error MSB4184: The expression "[MSBuild]::NormalizePath( C:\src\mesonbuild\Misc\FreeRDP-master\client\X11\xfreerdp\xfreerdp, f3f7317@@Windows resource for file 'Misc_FreeRDP-master_client_X11_xfreerdp_xfreerdp_xfreerdp.rc'@cus\, f3f7317@@Windows resource for file 'Misc_FreeRDP-master_client_X11_xfreerdp_xfreerdp_xfreerdp.rc'@cus. vcxproj.CopyComplete)" cannot be evaluated. Path: C:\src\mesonbuild\Misc\FreeRDP-master\client\X11\xfreerdp\xfreerdp\f3f7317 @@Windows resource for file 'Misc_FreeRDP-master_client_X11_xfreerdp_xfreerdp_xfreerdp.rc'@cus\f3f7317 @@Windows resource for file 'Misc_FreeRDP-master_client_X11_xfreerdp_xfreerdp_xfreerdp.rc'@cus. vcxproj.CopyComplete exceeds the OS max path limit. The fully qualified file name must be less than 260 characters.
  • deb1d7caba Canonicalize target architectures aarch64/armv* into arm64/arm for MSVC tools If the architectures are taken from the output of "clang-cl --version", we need to convert these names into names that the MSVC tools accept as the -machine: parameter.
  • 93b1d31af9 Fixed MacOS dylib custom targets not marked as linkable
  • Compare 5 commits »

1 week ago

seasharp synced commits to master at seasharp/meson_mirror from mirror

  • 3526b36a77 linkers: fully type annotate and fix mypy issues This makes GnuDynamicLinker not suitable for instantiation, so the tests need to be changed to use the BFD class.
  • 4401668c9a linkers/compilers: Move an emscripten method to the compiler This needed an attribute the linker doesn't have.
  • 67ab2880dd linkers: Make id a class variable for DynamicLinkers Originally I had this idea that you'd be able to pass the id in to be able to deduplicate some cases (like ld.gold and ld.bfd). That went away because it ended up being really un-dry, but this id per instance remained. Getting rid of it allows us to get rid of a bunch of otherwise useless super calls, which makes adding type annotations easier.
  • fc86df3d2c linkers: Fix argument error The name of the argument passed was not the name of the argument used.
  • Compare 4 commits »

1 week ago

seasharp synced commits to master at seasharp/meson_mirror from mirror

  • a4a53237f1 envconfig: fix return type of get_env_var_pair It doesn't return (None, None), it returns just None.

1 week ago

seasharp synced commits to master at seasharp/meson_mirror from mirror

  • a24fde6fde Add support for the CompCert C Compiler * Add preliminary support for the CompCert C Compiler The intention is to use this with the picolibc, so some GCC flags are automatically filtered. Since CompCert uses GCC is for linking, those GCC-linker flags which are used by picolibc, are automatically prefixed with '-WUl', so that they're passed to GCC. Squashed commit of the following: commit 4e0ad66dca9de301d2e41e74aea4142afbd1da7d Author: Sebastian Meyer <meyer@absint.com> Date: Mon Aug 31 14:20:39 2020 +0200 remove '-fall' from default arguments, also filter -ftls-model=.* commit 41afa3ccc62ae72824eb319cb8b34b7e6693cb67 Author: Sebastian Meyer <meyer@absint.com> Date: Mon Aug 31 14:13:55 2020 +0200 use regex for filtering ccomp args commit d68d242d0ad22f8bf53923ce849da9b86b696a75 Author: Sebastian Meyer <meyer@absint.com> Date: Mon Aug 31 13:54:36 2020 +0200 filter some gcc arguments commit 982a01756266bddbbd211c54e8dbfa2f43dec38f Author: Sebastian Meyer <meyer@absint.com> Date: Fri Aug 28 15:03:14 2020 +0200 fix ccomp meson configuration commit dce0bea00b1caa094b1ed0c6c77cf6c12f0f58d9 Author: Sebastian Meyer <meyer@absint.com> Date: Thu Aug 27 13:02:19 2020 +0200 add CompCert to meson (does not fully work, yet) * remove unused import and s/cls/self/ fixes the two obvious LGTM warnings * CompCert: Do not ignore unsupported GCC flags Some are safe to ignore, however, as per https://github.com/mesonbuild/meson/pull/7674, they should not be ignored by meson itself. Instead the meson.build should take care to select only those which are actually supported by the compiler. * remove unused variable * Only add arguments once. * Apply suggestions from code review Co-authored-by: Dylan Baker <dylan@pnwbakers.com> * Remove erroneous ' ' from '-o {}'.format() As noticed by @dcbaker * added release note snippet for compcert * properly split parameters As suggested by @dcbaker, these parameters should be properly split into multiple strings. Co-authored-by: Dylan Baker <dylan@pnwbakers.com> * Update add_compcert_compiler.md Added a sentence about the state of the implementation (experimental); use proper markdown * properly separate arguments Co-authored-by: Dylan Baker <dylan@pnwbakers.com>

1 week ago

seasharp synced commits to master at seasharp/miniflux_mirror from mirror

1 week ago

seasharp synced commits to master at seasharp/meson_mirror from mirror

  • 67c0ec1640 InternalDependency: Add as_link_whole() method
  • b872eea27f CI: don't update MSYS2 [skip ci] This should use the package database from the installer, from the release choco provides and result in fewer potential changes overall.
  • 60f78e7981 CODEOWNERS: add dcbaker for compilers and linkers [skip ci] I probably know more about that code than anyone else, so I'm probably the right person to be reviewing stuff in there.
  • Compare 3 commits »

1 week ago