Commit Graph

66 Commits

Author SHA1 Message Date
fenze
552ee15c5f fix of indexes 2022-05-16 17:10:18 +02:00
fenze
78a46bd5b5 initial tabs 2022-05-16 15:47:41 +02:00
bellrise
99d16fa506 config: Restore config.def.h file 2022-05-16 11:04:41 +02:00
fenze
45757d0fb1 fixup! Merge branch 'master' of github.com:mini-rose/rose 2022-05-16 11:02:50 +02:00
fenze
556da06eff makefile: fix conflict 2022-05-16 10:55:45 +02:00
fenze
cebd950c66 Merge branch 'master' of github.com:mini-rose/rose 2022-05-16 10:53:15 +02:00
bellrise
1d622de797 makefile: Fix PHONY targets
Previously, `rose` could not be called if it was already compiled
because it wasn't a PHONY target, so the source files had to be
changed.
2022-05-16 10:48:06 +02:00
bellrise
58932060cc rose+window: Fix warnings & global variables 2022-05-16 10:46:42 +02:00
bellrise
63f277ae46 code: Remove G_BEGIN_DECLS & G_END_DECLS
We're always compiling for C, so we don't need to C++ compiler cruft.
2022-05-16 09:55:39 +02:00
fenze
48c90cdee4 makefile: remove options to enable gtkdebug variable 2022-05-16 09:55:12 +02:00
bellrise
be0d500024 code: Remove global variables from rose.h
Global variables in headers may not work the way you think, so it's
safer to make a static local one.
2022-05-16 09:54:39 +02:00
fenze
a4ed45d7b7 Removed inline for nonfunction in config 2022-05-16 09:49:06 +02:00
fenze
76e48c89f9 cleaned some tabs, add debug option to makefile 2022-05-15 22:59:53 +02:00
fenze
5c0533dc69
Merge pull request #10 from devenblake/patch-1
Fix some indentation in rose.c
2022-05-15 12:11:04 +02:00
Deven Blake
d3c4e68444
Fix indentation 2022-05-15 05:13:45 -04:00
bellrise
c3a9319a40
makefile: Fix invalid flags which should define
Two arguments were missing the -D option, which some compilers treated as errors and stopped the compilation.
2022-05-14 23:17:56 +02:00
fenze
6a2b061a70
Merge pull request #4 from Phundrak/fix/gitignore
Add gitignore
2022-05-14 20:47:03 +02:00
fenze
7b7542d08a
Merge branch 'master' into fix/gitignore 2022-05-14 20:46:47 +02:00
fenze
1139278772
Merge pull request #5 from Phundrak/fix/editorconfig
Add editorconfig
2022-05-14 20:46:04 +02:00
fenze
dfaf7ff111
Merge pull request #6 from Phundrak/hotfix/makefile
Use environment variables for CC and PREFIX
2022-05-14 20:45:51 +02:00
fenze
aa2b368a23
Merge branch 'master' into hotfix/makefile 2022-05-14 20:45:43 +02:00
fenze
29996de7fe
Merge pull request #7 from Phundrak/feature/config.def.h
Use config.def.h instead of config.h
2022-05-14 20:44:46 +02:00
Lucien Cartier-Tilet
40aeb6bc59
Use config.def.h instead of config.h
Since config.h is destined to be modified by the end-user, I think it
is better to adopt what suckless usually does and move config.h to
config.def.h. This file is sort of a template from which the end-user
can build their own config.h that won’t be tracked by git.

If config.h doesn’t exist at compile-time, the makefile will
automatically copy it from the template.
2022-05-14 20:26:27 +02:00
Lucien Cartier-Tilet
d69bb7d05a
Use environment variables for CC and PREFIX
Pull request #3 can break the compilation process. In my case, cc
points to gcc which cannot handle the `-G_DISABLE_DEPRECATED` and the
`-GDK_PIXBUF_DISABLE_DEPRECATED` command-line options whereas clang
works like a charm.

This commit allows the user to use whichever compiler they want
through environment variables such as:
    CC=clang make all

It also allows the user to define their preferred prefix with
environment variables:
    PREFIX=$HOME/.local/bin make install
2022-05-14 20:16:26 +02:00
Lucien Cartier-Tilet
7e49c4d73d
Add editorconfig
This ensures all text editors and IDEs share the same basic config
when editing the source code of Rose.

Addition of a clang-format file should also be considered.
2022-05-14 19:41:34 +02:00
Lucien Cartier-Tilet
ce3f71e7c4
Add gitignore
This gitignore ignores the compiled `rose` binary. It also ignores the
`compile_commands.json` and `.cache/` directory created for and by
LSP.
2022-05-14 18:38:35 +02:00
fenze
e66bc2d5ab
Merge pull request #3 from slightly-seasoned/patch-1
Changes to `makefile`.
2022-05-14 18:31:48 +02:00
Slightly Seasoned
bd707dc17c
Changes to makefile.
* Altered the compiler to `cc` for convenience since most *NIX systems ship with it.
* Added a `PREFIX` variable to easily change where you want to install `rose`.
* Added an `uninstall` target to easily uninstall `rose`.
* Added `.PHONY` flag telling `make` that the following targets are not file targets.

That’s it, hope you have a bright future developing `rose`!
2022-05-14 13:38:24 -02:30
fenze
f51b12d90f
Update issue templates 2022-05-14 17:43:51 +02:00
fenze
9eae62683f
Merge pull request #1 from CatsSky/master
fix history file open
2022-05-14 17:29:55 +02:00
fenze
799b49a07e Merge branch 'master' of github.com:mini-rose/rose 2022-05-14 15:54:45 +02:00
fenze
067f4d050c move readme to .github 2022-05-14 15:54:27 +02:00
CatsSky
66e271245d
fix history file open 2022-05-14 21:32:22 +08:00
fenze
8b5260dbc1
Update readme.md 2022-05-14 15:19:38 +02:00
fenze
adb08db2b5
Update readme.md 2022-05-14 15:18:53 +02:00
fenze
8567b0943c
Update and rename readme to readme.md 2022-05-14 15:07:37 +02:00
fenze
2d1f4dfdac
Update readme 2022-05-14 12:36:55 +02:00
fenze
66bdb5266b add screenshots 2022-05-14 12:14:04 +02:00
fenze
2ca2e8a002 Merge branch 'master' of github.com:mini-rose/rose 2022-05-14 12:04:59 +02:00
fenze
38dae3a9d3 add gotop and gobottom functions 2022-05-14 12:04:26 +02:00
fenze
9c1242effb
Update readme 2022-05-13 20:41:39 +02:00
fenze
88efc15704 add history support 2022-05-13 20:37:50 +02:00
fenze
7e0ec6d195 Merge branch 'master' of github.com:mini-rose/rose 2022-05-13 18:42:47 +02:00
fenze
9660d8f46f refreshed config look 2022-05-13 18:41:48 +02:00
fenze
6caaeb0459
Update readme 2022-05-13 16:12:31 +02:00
fenze
0bf51a097a add download support 2022-05-13 16:10:56 +02:00
fenze
fb5df91cad fix default search engine when target isnt a bookmark 2022-05-13 14:41:24 +02:00
fenze
8161461da7 add script to install target 2022-05-13 14:21:05 +02:00
fenze
1d015d7f25 add dmenu script for url bar and find 2022-05-13 14:17:16 +02:00
fenze
2088e156df fix parsing blank url by xatom 2022-05-13 14:14:19 +02:00