profile
viewpoint
Daniel Trstenjak dan-t Dresden, Germany

dan-t/rusty-tags 283

Create ctags/etags for a cargo project

dan-t/cabal-bounds 63

Set the version bounds of dependencies in a cabal file

dan-t/cabal-cargs 18

Extract the compiler arguments from a cabal file.

dan-t/rusty-release 12

Make a release of a cargo project

dan-t/layers 8

A prototypical 2d platform game

dan-t/cabal-lenses 5

Lenses and traversals for the Cabal library.

dan-t/vim-cpp-include 5

Extend the include list of a C/C++ source file

dan-t/confsolve 3

Generalized file conflict resolving tool.

dan-t/dropsolve 2

A command line tool for resolving dropbox conflicts.

dan-t/Gamgine 2

Some kind of game library or set of utilities

push eventdan-t/rusty-tags

Daniel Trstenjak

commit sha 25e3c3df01bdedd6fff8fab9e28d2e0cb9542bf8

Ensure unique temp dir for tags file

view details

push time in 13 hours

issue commentdan-t/rusty-tags

Too many open files on large project

Can you please test if the current github version fixes your issue.

bodymindarts

comment created time in 13 hours

push eventdan-t/rusty-tags

Daniel Trstenjak

commit sha 600037607ea39d8bec6168dc05108b352a7f1d67

Fix docs

view details

Daniel Trstenjak

commit sha 1ceabdb671d0c42817b3c79456601a437e1bcf17

Reduce num open files at once Instead of using 'NamedTempFile' for 'SourceWithTmpTags', which keeps the file open, now just 'File::create' is used for the creation of the temp file, without keeping it open after the creation.

view details

Daniel Trstenjak

commit sha fc27d144d71ffa7904ae358853240c773b057cde

Remove unneeded 'file' field from 'SourceLock'

view details

Daniel Trstenjak

commit sha 1f858304033c030ee4b61d151eb0ed2191c7bcb7

Unify unique file name for source

view details

Daniel Trstenjak

commit sha 9d8520d8f95b0f0abca2f8d4c00f010e2ceb7748

Fix docs

view details

push time in 13 hours

issue commentdan-t/rusty-tags

Too many open files on large project

Please call rusty-tags with the ˋ—verboseˋ option and add the output here.

bodymindarts

comment created time in 15 hours

issue commentdan-t/rusty-tags

rusty-tags blocks vim ~5 seconds when :w executes in a very large project

On Wed, Jul 01, 2020 at 03:32:46PM +0200, Daniel Trstenjak wrote:

Can you test any other longer running external command with ':!command &', to test if vim behaves in the same way.

There's a 'silent' missing: ':silent !command &'

w93163red

comment created time in 4 days

issue commentdan-t/rusty-tags

rusty-tags blocks vim ~5 seconds when :w executes in a very large project

Can you test any other longer running external command with ':!command &', to test if vim behaves in the same way.

If that's the case, then for whatever reasons the background execution with '&' doesn't work.

w93163red

comment created time in 4 days

push eventdan-t/vim-rtags

Daniel Trstenjak

commit sha 64fdeb0821a111b5334366bcf313b3370632fb4c

Fix sub/super class regex

view details

push time in 4 days

push eventdan-t/vim-rtags

Daniel Trstenjak

commit sha 52cda26f6efc6ca8739d30330d6d6133343d76a7

Fix sub/super class regex

view details

push time in 4 days

issue commentdan-t/rusty-tags

rusty-tags blocks vim ~5 seconds when :w executes in a very large project

Seems strange, I never had issues with executing a command in the background with '&'.

Perhaps it's a issue similar to: https://superuser.com/questions/550035/vim-execute-process-in-background

w93163red

comment created time in 4 days

issue commentdan-t/rusty-tags

rusty-tags blocks vim ~5 seconds when :w executes in a very large project

Thanks for the quick reply. I just copied the autocmd from the README.md.

I‘m not quite sure if the „| redraw!“ at the end might prevent the background execution, so try removing it.

Otherwise how big is the tags file? Perhaps reloading it takes some time. How long does it take to start vim when the tags file is already present?

w93163red

comment created time in 5 days

issue commentdan-t/rusty-tags

rusty-tags blocks vim ~5 seconds when :w executes in a very large project

Hi,

how does the autocomand in the vimrc for executing rusty-tags look? If it ends with a &, then it should be executed in the background.

Greetings, Daniel

w93163red

comment created time in 5 days

created tagdan-t/vim-cpp-include

tagv0.2.0

Extend the include list of a C/C++ source file

created time in 5 days

push eventdan-t/vim-cpp-include

Daniel Trstenjak

commit sha f03b817e4388315f4fab4d0675f2bff97481fdbe

Update README

view details

push time in 5 days

push eventdan-t/vim-cpp-include

Daniel Trstenjak

commit sha 576905a7f9b881e6340a24663b8b8a308587e9ea

Update README

view details

push time in 5 days

push eventdan-t/vim-cpp-include

Daniel Trstenjak

commit sha 026a701781abc3110c62f13185dc68b3f6deea43

Update README

view details

push time in 5 days

push eventdan-t/vim-cpp-include

Daniel Trstenjak

commit sha d5a6ef6211ed17a1c36dec75ca58f499c1c1ed7f

Update README

view details

push time in 5 days

push eventdan-t/vim-cpp-include

Daniel Trstenjak

commit sha 99385c0d44819b71f54959fcf80f2a2c51100ceb

Fix handling of optional 'relative_path' field

view details

Daniel Trstenjak

commit sha fc040c0b1d88ced6a05f0d285166adca71112c3e

Fix adding include at the top of the file:wq

view details

push time in 5 days

created tagdan-t/cpp-typecheck

tagv0.5.0

Type check a C++ source file

created time in 8 days

push eventdan-t/cpp-typecheck

Daniel Trstenjak

commit sha 66d0ccd3243511427df7112628a4b5f7ba31a32b

cpp-typecheck 0.5.0

view details

push time in 8 days

push eventdan-t/cpp-typecheck

Daniel Trstenjak

commit sha 6017d8a500d9edde90a7f017191e1fd37bd86c02

Upgrading dependencies

view details

push time in 8 days

push eventdan-t/rusty-tags

Daniel Trstenjak

commit sha 577ed8917384b9eb314c85591d92f79803c2313d

Update Cargo.lock

view details

push time in 8 days

push eventdan-t/layers

Daniel Trstenjak

commit sha 7b6c546173bae6014f989892f7cfc703f1e68b62

layers-game 0.7.0

view details

push time in 8 days

created tagdan-t/layers

tagv0.7.0

A prototypical 2d platform game

created time in 8 days

created tagdan-t/Gamgine

tagv0.6.0

Some kind of game library or set of utilities

created time in 8 days

push eventdan-t/Gamgine

Daniel Trstenjak

commit sha d64a4cb2ffd70def3c18a00520841eb3dd1fbc05

Gamgine 0.6.0

view details

push time in 8 days

created tagdan-t/cabal-cargs

tagv1.3.0

Extract the compiler arguments from a cabal file.

created time in 8 days

push eventdan-t/cabal-cargs

Daniel Trstenjak

commit sha b2a55a2db309845725b6a4edb87c0f82f8b98373

Support Cabal 3.0

view details

Daniel Trstenjak

commit sha d2bba4366e13f0e40338ff2bbaa87d943630999d

cabal-cargs 1.3.0

view details

push time in 8 days

created tagdan-t/cabal-lenses

tag0.10.1

Lenses and traversals for the Cabal library.

created time in 8 days

push eventdan-t/cabal-lenses

Daniel Trstenjak

commit sha fcd6a07299a35b10a337aadca270a5b0ab22af0c

cabal-lenses 0.10.1

view details

push time in 8 days

push eventdan-t/cabal-lenses

Daniel Trstenjak

commit sha e8d29c670fca87d0d8238d5fee285ad70768ba78

Update CHANGELOG

view details

push time in 8 days

created tagdan-t/cabal-bounds

tagv2.3.0

Set the version bounds of dependencies in a cabal file

created time in 8 days

push eventdan-t/cabal-bounds

Daniel Trstenjak

commit sha c5cb8113ea4e598f1c4a9500c291454e640f2f6f

cabal-bounds 2.3.0

view details

push time in 8 days

pull request commentdan-t/cabal-bounds

Port to Cabal 3, allow lens 4.19, lens-aeson 1.1

Thanks!

sorki

comment created time in 8 days

push eventdan-t/cabal-bounds

Richard Marko

commit sha 2b029a71ceecf1e99dea023a7c2650483cf6603f

Port to Cabal 3, allow lens 4.19, lens-aeson 1.1 Update all golden tests as cabal now re-formats cabal files even more.

view details

Daniel Trstenjak

commit sha 842783637af52f503820f3118b9cbc6b5c8d967e

Merge pull request #13 from sorki/cabal3 Port to Cabal 3, allow lens 4.19, lens-aeson 1.1

view details

push time in 8 days

PR merged dan-t/cabal-bounds

Port to Cabal 3, allow lens 4.19, lens-aeson 1.1

Update all golden tests as cabal now re-formats cabal files even more.

Regarding re-formatting of cabal files we could possibly add support for updating in place via something like https://github.com/expipiplus1/update-nix-fetchgit/blob/master/src/Update/Span.hs if we can get position info from Cabal parser. It looks like there is Distribution.Parsec.Position but it only seems to be used by warnings and errors.

Needs https://github.com/dan-t/cabal-lenses/pull/9

+1181 -993

0 comment

50 changed files

sorki

pr closed time in 8 days

push eventdan-t/cabal-lenses

Daniel Trstenjak

commit sha a6af232170c13d3c07eaa5650ee5dc59d6710748

Add default-language field

view details

push time in 8 days

push eventdan-t/cabal-lenses

Daniel Trstenjak

commit sha bf5d6af76254c6ed93804e9869b4031ca50fabb5

Update cabal-version field

view details

push time in 8 days

created tagdan-t/cabal-lenses

tagv0.10.0

Lenses and traversals for the Cabal library.

created time in 8 days

push eventdan-t/cabal-lenses

Daniel Trstenjak

commit sha 708c6e339ccd1f4feddcfc1578472b8afc002bed

cabal-lenses 0.10.0

view details

push time in 8 days

pull request commentdan-t/cabal-lenses

Support cabal 3, lens 4.19

Thanks!

sorki

comment created time in 8 days

push eventdan-t/cabal-lenses

Richard Marko

commit sha c5967e133bf19b99d1a4e443f26d22fdf55ecea8

Support cabal 3, lens 4.19

view details

Daniel Trstenjak

commit sha 31bca21b98cdbe455d5f8fb1c6bf0712c044cea4

Merge pull request #9 from sorki/cabal3 Support cabal 3, lens 4.19

view details

push time in 8 days

PR merged dan-t/cabal-lenses

Support cabal 3, lens 4.19

Migrated to Cabal 3 which requires (Set LibraryName) for Dependency.

+6 -6

0 comment

2 changed files

sorki

pr closed time in 8 days

PR opened openscenegraph/OpenSceneGraph

Fix camera callbacks of OcclusionQueryNode

The OcclusionQueryNode uses camera callbacks for its implementation. If the camera in the scenegraph already had callbacks set, then it didn't work, because it expected to be the only one setting callbacks.

With this fix the implementation should just work, regardless if callbacks are already set or not.

+69 -11

0 comment

3 changed files

pr created time in a month

create barnchdan-t/OpenSceneGraph

branch : camera_callback_fixes

created branch time in a month

push eventdan-t/rusty-tags

Gianluca Recchia

commit sha b414ad577597c9c2e4ae8879fc471bed0418baf8

Enable Link-Time Optimization for release builds

view details

Daniel Trstenjak

commit sha 4bd34423b5302c78b9075f8076047d0653f5d362

Merge pull request #70 from brainplot/lto Enable Link-Time Optimization for release builds

view details

push time in 2 months

PR merged dan-t/rusty-tags

Enable Link-Time Optimization for release builds

LTO produces slightly smaller binaries and can potentially make it faster as well due to the removal of unused code. It lengthens compilation by a few seconds but that shouldn't be a big issue since it's only performed on release builds.

On my Linux system, it shaves 200kB off the end binary. I didn't benchmark it since rusty-tags is already very fast.

+3 -0

0 comment

1 changed file

brainplot

pr closed time in 2 months

push eventdan-t/rusty-tags

Gianluca Recchia

commit sha 97166505d7ba00ee152d6b734fc7cde1f39af464

Fix warning about implicit dyn being deprecated

view details

Daniel Trstenjak

commit sha 7d7735b02894f2596dfb2c0aeafb2ce43e0ad39e

Merge pull request #69 from brainplot/fix-warning Fix warning about implicit dyn being deprecated

view details

push time in 2 months

PR merged dan-t/rusty-tags

Fix warning about implicit dyn being deprecated

Rust made trait objects with implicit dyn keyword deprecated. This caused a warning during compilation:

warning: trait objects without an explicit `dyn` are deprecated
  --> src/types.rs:60:45
   |
60 |     pub fn all_sources<'a>(&'a self) -> Box<Iterator<Item=&Source> + 'a> {
   |                                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `
dyn Iterator<Item=&Source> + 'a`
   |
   = note: `#[warn(bare_trait_objects)]` on by default

this patch fixes that by adding the dyn keyword

+1 -1

1 comment

1 changed file

brainplot

pr closed time in 2 months

pull request commentdan-t/rusty-tags

Fix warning about implicit dyn being deprecated

Thanks!

brainplot

comment created time in 2 months

more