repo string | commit string | message string | diff string |
|---|---|---|---|
aereal/dotfiles | 7827f4e2008a2d258754a67d2c48efb77a0d9a6f | fix(zsh): load ~/.rover/env | diff --git a/.zshenv b/.zshenv
index e456014..2571207 100644
--- a/.zshenv
+++ b/.zshenv
@@ -1,93 +1,98 @@
# to avoid overwritten PATH via /usr/libexec/path_helper
# refs. https://github.com/Homebrew/homebrew-core/pull/32074#issuecomment-421381869
unsetopt GLOBAL_RCS
# environment
export LC_ALL=ja_JP.UTF-8
expo... |
aereal/dotfiles | 8db17ed7bb27d0e36a780e7236c5f96ad6815f6c | fix(zsh): fix path order | diff --git a/.zshenv b/.zshenv
index 43bdef9..e456014 100644
--- a/.zshenv
+++ b/.zshenv
@@ -1,93 +1,93 @@
# to avoid overwritten PATH via /usr/libexec/path_helper
# refs. https://github.com/Homebrew/homebrew-core/pull/32074#issuecomment-421381869
unsetopt GLOBAL_RCS
# environment
export LC_ALL=ja_JP.UTF-8
expo... |
aereal/dotfiles | 09881c796abe09eaa5a7817bf96ec98c8403384e | fix(zsh): remove GOPATH | diff --git a/.zshenv b/.zshenv
index 7eafcfe..43bdef9 100644
--- a/.zshenv
+++ b/.zshenv
@@ -1,94 +1,93 @@
# to avoid overwritten PATH via /usr/libexec/path_helper
# refs. https://github.com/Homebrew/homebrew-core/pull/32074#issuecomment-421381869
unsetopt GLOBAL_RCS
# environment
export LC_ALL=ja_JP.UTF-8
expo... |
aereal/dotfiles | 526618017d60cc8f45efe79fea9f35bc78239c6a | fix(git): enable autoSetupRemote | diff --git a/.gitconfig b/.gitconfig
index b79334a..58ff696 100644
--- a/.gitconfig
+++ b/.gitconfig
@@ -1,111 +1,112 @@
[user]
email = aereal@aereal.org
name = aereal
[gui]
encoding = utf-8
[github]
user = aereal
[alias]
abort-rebase = rebase --abort
branch-name = name-rev --name-onl... |
aereal/dotfiles | c599f7fde591d9c243c5dab5d8d70e2e9bfea874 | fix(zsh): configure Homebrew environment variables | diff --git a/.zshenv b/.zshenv
index 58bd654..7eafcfe 100644
--- a/.zshenv
+++ b/.zshenv
@@ -1,86 +1,94 @@
# to avoid overwritten PATH via /usr/libexec/path_helper
# refs. https://github.com/Homebrew/homebrew-core/pull/32074#issuecomment-421381869
unsetopt GLOBAL_RCS
# environment
export LC_ALL=ja_JP.UTF-8
-expo... |
aereal/dotfiles | 7c4c08f9f8073c56233f71e52425fe12c189535b | fix(zsh): avoid to update window name also in VSCode terminal | diff --git a/.zshrc b/.zshrc
index f299351..6e15d44 100644
--- a/.zshrc
+++ b/.zshrc
@@ -1,365 +1,365 @@
bindkey -v
# function load path {{{
typeset -Ua fpath
fpath=(
$HOME/.zsh.d/functions(N-/)
$HOMEBREW_PATH/share/zsh-completions(N-/)
$HOMEBREW_PATH/share/zsh/site-functions(N-/)
$HOMEBREW_PATH/share... |
aereal/dotfiles | 0448db5f5760c6b1534def6aee9d6ddf03ccebf5 | fix(zsh): add MySQL Server 5.6 path | diff --git a/.zshenv b/.zshenv
index 6f9d2b3..58bd654 100644
--- a/.zshenv
+++ b/.zshenv
@@ -1,85 +1,86 @@
# to avoid overwritten PATH via /usr/libexec/path_helper
# refs. https://github.com/Homebrew/homebrew-core/pull/32074#issuecomment-421381869
unsetopt GLOBAL_RCS
# environment
export LC_ALL=ja_JP.UTF-8
expo... |
aereal/dotfiles | d032578cf04be791c19ee4f140c8882309c33c4c | fix(zsh): update Node LTS version to 14 | diff --git a/.zshenv b/.zshenv
index bb77a54..6f9d2b3 100644
--- a/.zshenv
+++ b/.zshenv
@@ -1,85 +1,85 @@
# to avoid overwritten PATH via /usr/libexec/path_helper
# refs. https://github.com/Homebrew/homebrew-core/pull/32074#issuecomment-421381869
unsetopt GLOBAL_RCS
# environment
export LC_ALL=ja_JP.UTF-8
expo... |
aereal/dotfiles | 90907644503836526fd4ba24d6f7ac7b0e81cafb | fix(git): use main branch as default | diff --git a/.gitconfig b/.gitconfig
index 34a29b3..b79334a 100644
--- a/.gitconfig
+++ b/.gitconfig
@@ -1,109 +1,111 @@
[user]
email = aereal@aereal.org
name = aereal
[gui]
encoding = utf-8
[github]
user = aereal
[alias]
abort-rebase = rebase --abort
branch-name = name-rev --name-onl... |
aereal/dotfiles | a4d5f0038e64ed50f1f9139bafac2086fb0fb6de | fix(zsh): add gcloud path | diff --git a/.zshenv b/.zshenv
index 2521501..bb77a54 100644
--- a/.zshenv
+++ b/.zshenv
@@ -1,84 +1,85 @@
# to avoid overwritten PATH via /usr/libexec/path_helper
# refs. https://github.com/Homebrew/homebrew-core/pull/32074#issuecomment-421381869
unsetopt GLOBAL_RCS
# environment
export LC_ALL=ja_JP.UTF-8
expo... |
aereal/dotfiles | 7a505c7077134f0884006841e735730578481a22 | feat(zsh): add cargo path | diff --git a/.zshenv b/.zshenv
index 406b098..2521501 100644
--- a/.zshenv
+++ b/.zshenv
@@ -1,83 +1,84 @@
# to avoid overwritten PATH via /usr/libexec/path_helper
# refs. https://github.com/Homebrew/homebrew-core/pull/32074#issuecomment-421381869
unsetopt GLOBAL_RCS
# environment
export LC_ALL=ja_JP.UTF-8
expo... |
aereal/dotfiles | 579bcf1d13a17dbcb1efe8f69fa6c70efc9ac6dc | fix(zsh): use VS Code as default editor | diff --git a/.zshenv b/.zshenv
index e67dbc6..406b098 100644
--- a/.zshenv
+++ b/.zshenv
@@ -1,79 +1,83 @@
# to avoid overwritten PATH via /usr/libexec/path_helper
# refs. https://github.com/Homebrew/homebrew-core/pull/32074#issuecomment-421381869
unsetopt GLOBAL_RCS
# environment
export LC_ALL=ja_JP.UTF-8
expo... |
aereal/dotfiles | 12957c92fc8cce6170d45ce461c989d34d481fbb | fix(zsh): update Ruby gems path | diff --git a/.zshenv b/.zshenv
index 5b3fb55..e67dbc6 100644
--- a/.zshenv
+++ b/.zshenv
@@ -1,79 +1,79 @@
# to avoid overwritten PATH via /usr/libexec/path_helper
# refs. https://github.com/Homebrew/homebrew-core/pull/32074#issuecomment-421381869
unsetopt GLOBAL_RCS
# environment
export LC_ALL=ja_JP.UTF-8
expo... |
aereal/dotfiles | 43ec46333fde398b0f02b9bd4771e69a5b68159d | feat: add space hotkey | diff --git a/.hammerspoon/init.lua b/.hammerspoon/init.lua
index fa38af7..6a1b05e 100644
--- a/.hammerspoon/init.lua
+++ b/.hammerspoon/init.lua
@@ -1,44 +1,48 @@
hs.window.animationDuration = 0
viKey = hs.hotkey.modal.new('ctrl-cmd', 'delete', 'hammerspoon')
function viKey:entered() hs.alert'Enter' end
function ... |
aereal/dotfiles | 8ca962dd0dfca4edddca4dca9843450684f413dc | feat: add .hammerspoon/init.lua | diff --git a/.hammerspoon/init.lua b/.hammerspoon/init.lua
new file mode 100644
index 0000000..fa38af7
--- /dev/null
+++ b/.hammerspoon/init.lua
@@ -0,0 +1,44 @@
+hs.window.animationDuration = 0
+
+viKey = hs.hotkey.modal.new('ctrl-cmd', 'delete', 'hammerspoon')
+function viKey:entered() hs.alert'Enter' end
+function v... |
aereal/dotfiles | 94b435cbd2148352e0f2dcbb2c87fb66fed5d9c3 | zsh: prefers VSCode as primary editor | diff --git a/.zshenv b/.zshenv
index 7fceac2..5b3fb55 100644
--- a/.zshenv
+++ b/.zshenv
@@ -1,79 +1,79 @@
# to avoid overwritten PATH via /usr/libexec/path_helper
# refs. https://github.com/Homebrew/homebrew-core/pull/32074#issuecomment-421381869
unsetopt GLOBAL_RCS
# environment
export LC_ALL=ja_JP.UTF-8
expo... |
aereal/dotfiles | 2813ab3b27aa8871a4f932644c2be4f8846b4d8b | git: rebase true | diff --git a/.gitconfig b/.gitconfig
index b70be81..34a29b3 100644
--- a/.gitconfig
+++ b/.gitconfig
@@ -1,107 +1,109 @@
[user]
email = aereal@aereal.org
name = aereal
[gui]
encoding = utf-8
[github]
user = aereal
[alias]
abort-rebase = rebase --abort
branch-name = name-rev --name-onl... |
aereal/dotfiles | f32ac60bfe5bd439ab3e3d804600e653c865bfa9 | zsh: add RUBY_CONFIGURE_OPTS | diff --git a/.zshenv b/.zshenv
index 35750a8..7fceac2 100644
--- a/.zshenv
+++ b/.zshenv
@@ -1,67 +1,79 @@
# to avoid overwritten PATH via /usr/libexec/path_helper
# refs. https://github.com/Homebrew/homebrew-core/pull/32074#issuecomment-421381869
unsetopt GLOBAL_RCS
# environment
export LC_ALL=ja_JP.UTF-8
expo... |
aereal/dotfiles | 5456b0503e9726262b78e9518d1aecae98fd2a07 | use node LTS | diff --git a/.zshenv b/.zshenv
index 0fb355a..35750a8 100644
--- a/.zshenv
+++ b/.zshenv
@@ -1,67 +1,67 @@
# to avoid overwritten PATH via /usr/libexec/path_helper
# refs. https://github.com/Homebrew/homebrew-core/pull/32074#issuecomment-421381869
unsetopt GLOBAL_RCS
# environment
export LC_ALL=ja_JP.UTF-8
expo... |
aereal/dotfiles | 8de9afe0427b597edcce90151a11c90411cd9184 | vim: fix source name | diff --git a/.vim/rc/plugins/denite.added.vim b/.vim/rc/plugins/denite.added.vim
index 7216b72..a491961 100644
--- a/.vim/rc/plugins/denite.added.vim
+++ b/.vim/rc/plugins/denite.added.vim
@@ -1,14 +1,14 @@
nnoremap <SID>[denite] <Nop>
nmap gj <SID>[denite]
nmap <SID>[denite]p <SID>(project-files)
nmap <SID>[deni... |
aereal/dotfiles | 6f15a2c082ff14e7ba0ba79906fd5881342335f1 | zsh: add timestamp | diff --git a/.zshrc b/.zshrc
index 321a3e8..f299351 100644
--- a/.zshrc
+++ b/.zshrc
@@ -1,365 +1,365 @@
bindkey -v
# function load path {{{
typeset -Ua fpath
fpath=(
$HOME/.zsh.d/functions(N-/)
$HOMEBREW_PATH/share/zsh-completions(N-/)
$HOMEBREW_PATH/share/zsh/site-functions(N-/)
$HOMEBREW_PATH/share... |
aereal/dotfiles | f8d658c57300b2d01371186c114dc2b837f11ab0 | zsh: check term program | diff --git a/.zshrc b/.zshrc
index ffe4f1e..321a3e8 100644
--- a/.zshrc
+++ b/.zshrc
@@ -1,365 +1,365 @@
bindkey -v
# function load path {{{
typeset -Ua fpath
fpath=(
$HOME/.zsh.d/functions(N-/)
$HOMEBREW_PATH/share/zsh-completions(N-/)
$HOMEBREW_PATH/share/zsh/site-functions(N-/)
$HOMEBREW_PATH/share... |
aereal/dotfiles | dec73ff6d6e8dcf7184ade0a8b43111cb5e17924 | zsh: unsetopt GLOBAL_RCS | diff --git a/.zshenv b/.zshenv
index e419185..0fb355a 100644
--- a/.zshenv
+++ b/.zshenv
@@ -1,63 +1,67 @@
+# to avoid overwritten PATH via /usr/libexec/path_helper
+# refs. https://github.com/Homebrew/homebrew-core/pull/32074#issuecomment-421381869
+unsetopt GLOBAL_RCS
+
# environment
export LC_ALL=ja_JP.UTF-8
expo... |
aereal/dotfiles | cb1e29a5bf42e43107d02289c28685d96432d1e2 | zsh: add perl path | diff --git a/.zshenv b/.zshenv
index 49a3c57..e419185 100644
--- a/.zshenv
+++ b/.zshenv
@@ -1,62 +1,63 @@
# environment
export LC_ALL=ja_JP.UTF-8
export HOMEBREW_PATH=/usr/local
export DEVEL_PATH=$HOME/devel
export GOPATH=$DEVEL_PATH
export EDITOR=vim
path=(
$HOME/bin(N-/)
$DEVEL_PATH/bin(N-/)
$HOME/... |
aereal/dotfiles | a918e02351b2bab0d20b1dbdc22c47b58dbf6800 | zsh: JAVA_HOME | diff --git a/.zshenv b/.zshenv
index bce8bac..49a3c57 100644
--- a/.zshenv
+++ b/.zshenv
@@ -1,58 +1,62 @@
# environment
export LC_ALL=ja_JP.UTF-8
export HOMEBREW_PATH=/usr/local
export DEVEL_PATH=$HOME/devel
export GOPATH=$DEVEL_PATH
export EDITOR=vim
path=(
$HOME/bin(N-/)
$DEVEL_PATH/bin(N-/)
$HOME/... |
aereal/dotfiles | 3e81097cd69b4cce83b38fb90258f59b9d4a67c4 | add google-cloud-sdk completion | diff --git a/.zshrc b/.zshrc
index 6b4552d..ffe4f1e 100644
--- a/.zshrc
+++ b/.zshrc
@@ -1,360 +1,365 @@
bindkey -v
# function load path {{{
typeset -Ua fpath
fpath=(
$HOME/.zsh.d/functions(N-/)
$HOMEBREW_PATH/share/zsh-completions(N-/)
$HOMEBREW_PATH/share/zsh/site-functions(N-/)
$HOMEBREW_PATH/share... |
aereal/dotfiles | 4370f71d566fc0249794f7647ad8cfeca6d5094b | zsh: prefer node 10 | diff --git a/.zshenv b/.zshenv
index 9f7b995..bce8bac 100644
--- a/.zshenv
+++ b/.zshenv
@@ -1,57 +1,58 @@
# environment
export LC_ALL=ja_JP.UTF-8
export HOMEBREW_PATH=/usr/local
export DEVEL_PATH=$HOME/devel
export GOPATH=$DEVEL_PATH
export EDITOR=vim
path=(
$HOME/bin(N-/)
$DEVEL_PATH/bin(N-/)
$HOME/... |
aereal/dotfiles | 9d96ac0dca5b6aafd162ee337f38dd8465b6a3d0 | zsh: specify LC_ALL | diff --git a/.zshenv b/.zshenv
index ae24b00..9f7b995 100644
--- a/.zshenv
+++ b/.zshenv
@@ -1,56 +1,57 @@
# environment
+export LC_ALL=ja_JP.UTF-8
export HOMEBREW_PATH=/usr/local
export DEVEL_PATH=$HOME/devel
export GOPATH=$DEVEL_PATH
export EDITOR=vim
path=(
$HOME/bin(N-/)
$DEVEL_PATH/bin(N-/)
$HOME/... |
aereal/dotfiles | 2188437d645b44a4cf7a051c4c45e8d8afda2cb7 | bundler: install gems globally by default | diff --git a/.bundle/config b/.bundle/config
index 5fd52a0..179ac28 100644
--- a/.bundle/config
+++ b/.bundle/config
@@ -1,5 +1,3 @@
---
-BUNDLE_PATH: vendor/bundle
-BUNDLE_DISABLE_SHARED_GEMS: '1'
BUNDLE_BIN: ".bundle/bin"
BUNDLE_JOBS: '4'
|
aereal/dotfiles | 43ad69a1a57fead43761b671369b0bf943e8e5ea | gemrc: remove deprecated options | diff --git a/.gemrc b/.gemrc
index e643382..676582b 100644
--- a/.gemrc
+++ b/.gemrc
@@ -1,6 +1,6 @@
---
:backtrace: true
:benchmark: false
:verbose: true
-gem: --no-rdoc --no-ri
+gem: -N
search: -r
|
aereal/dotfiles | 4be1a1bae8e50e77203d9ef52f5e39e6bd403340 | zsh: Ruby path | diff --git a/.zshenv b/.zshenv
index b993f8c..ae24b00 100644
--- a/.zshenv
+++ b/.zshenv
@@ -1,54 +1,56 @@
# environment
export HOMEBREW_PATH=/usr/local
export DEVEL_PATH=$HOME/devel
export GOPATH=$DEVEL_PATH
export EDITOR=vim
path=(
$HOME/bin(N-/)
$DEVEL_PATH/bin(N-/)
$HOME/.mysqlenv/bin(N-/)
$HOME... |
aereal/dotfiles | 2f109faf788a089c3c38d8fef6d0c165b2f3fef5 | mysql-client | diff --git a/.zshenv b/.zshenv
index 1550939..b993f8c 100644
--- a/.zshenv
+++ b/.zshenv
@@ -1,53 +1,54 @@
# environment
export HOMEBREW_PATH=/usr/local
export DEVEL_PATH=$HOME/devel
export GOPATH=$DEVEL_PATH
export EDITOR=vim
path=(
$HOME/bin(N-/)
$DEVEL_PATH/bin(N-/)
$HOME/.mysqlenv/bin(N-/)
$HOME... |
aereal/dotfiles | e5c469f9b7e9848c16205712ffb8280bffae1550 | zsh: just change working directory instead of running child shell process | diff --git a/.zshrc b/.zshrc
index ade4208..6b4552d 100644
--- a/.zshrc
+++ b/.zshrc
@@ -1,360 +1,360 @@
bindkey -v
# function load path {{{
typeset -Ua fpath
fpath=(
$HOME/.zsh.d/functions(N-/)
$HOMEBREW_PATH/share/zsh-completions(N-/)
$HOMEBREW_PATH/share/zsh/site-functions(N-/)
$HOMEBREW_PATH/share... |
aereal/dotfiles | 67e0a7a10d10653a633d26dc6158e6c012e95053 | git-medetai: requires PCRE2 | diff --git a/.gitconfig b/.gitconfig
index 3cc6497..b70be81 100644
--- a/.gitconfig
+++ b/.gitconfig
@@ -1,107 +1,107 @@
[user]
email = aereal@aereal.org
name = aereal
[gui]
encoding = utf-8
[github]
user = aereal
[alias]
abort-rebase = rebase --abort
branch-name = name-rev --name-onl... |
aereal/dotfiles | 1ca6f5bd9a3d3b648b8943588ad9e3aa83b6197d | brew.bash: + bat | diff --git a/brew.bash b/brew.bash
index 2ccbf90..58f8302 100644
--- a/brew.bash
+++ b/brew.bash
@@ -1,68 +1,69 @@
#!/bin/bash
set -e
brew_install() {
brew install $@ || :
}
brew update
export HOMEBREW_NO_AUTO_UPDATE=1
# essentials
brew_install awscli
+brew_install bat
brew_install colordiff
brew... |
aereal/dotfiles | 096552d6f2be8361b6a7b7638b102c769fb18d6e | brew.bash: ensure install | diff --git a/brew.bash b/brew.bash
index dc65348..2ccbf90 100644
--- a/brew.bash
+++ b/brew.bash
@@ -1,64 +1,68 @@
#!/bin/bash
set -e
+brew_install() {
+ brew install $@ || :
+}
+
brew update
export HOMEBREW_NO_AUTO_UPDATE=1
# essentials
-brew install awscli
-brew install colordiff
-brew install coreutils... |
aereal/dotfiles | 68671a9b73cb4e88054d8bf8b85a0e64bec71457 | brew.bash: HOMEBREW_NO_AUTO_UPDATE | diff --git a/brew.bash b/brew.bash
index b63668a..dc65348 100644
--- a/brew.bash
+++ b/brew.bash
@@ -1,62 +1,64 @@
#!/bin/bash
set -e
brew update
+export HOMEBREW_NO_AUTO_UPDATE=1
+
# essentials
brew install awscli
brew install colordiff
brew install coreutils
brew install curl
brew install direnv
brew ... |
aereal/dotfiles | cb814f622d508ddb8a081a2651583bedbd739cca | git-run: credit | diff --git a/bin/git-run b/bin/git-run
index e6c65ef..ccf4d08 100755
--- a/bin/git-run
+++ b/bin/git-run
@@ -1,8 +1,10 @@
#!/bin/bash
+# originally written at https://fujimura.hatenablog.com/entry/2018/03/30/181715
+
set -e
git-check-dirty
eval $@
git add -A
git commit --edit --verbose --message "$(echo $@)"
... |
aereal/dotfiles | fa9c0f679f85778b109af92c9b5d7eb7529147f7 | git-check-dirty: fix inversion of the condition | diff --git a/bin/git-check-dirty b/bin/git-check-dirty
index c6ca746..09575d8 100755
--- a/bin/git-check-dirty
+++ b/bin/git-check-dirty
@@ -1,9 +1,9 @@
#!/bin/bash
# refs. https://unix.stackexchange.com/questions/155046/determine-if-git-working-directory-is-clean-from-a-script
if [[ -z "$(git status --short --u... |
aereal/dotfiles | 063adc3dd773267661f3ca2b9fd3e4d3fafff27b | git-run | diff --git a/bin/git-run b/bin/git-run
new file mode 100755
index 0000000..e6c65ef
--- /dev/null
+++ b/bin/git-run
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+set -e
+
+git-check-dirty
+eval $@
+git add -A
+git commit --edit --verbose --message "$(echo $@)"
|
aereal/dotfiles | 909568f11cdb44b48eff7473427e68bd9a24011d | git-check-dirty | diff --git a/bin/git-check-dirty b/bin/git-check-dirty
new file mode 100755
index 0000000..c6ca746
--- /dev/null
+++ b/bin/git-check-dirty
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+# refs. https://unix.stackexchange.com/questions/155046/determine-if-git-working-directory-is-clean-from-a-script
+
+if [[ -z "$(git status --short -... |
aereal/dotfiles | 5333ba582b98eaa08e1ac394449bd8abcc584a5c | brew.bash: + mattr-slate | diff --git a/brew.bash b/brew.bash
index efcf3de..b63668a 100644
--- a/brew.bash
+++ b/brew.bash
@@ -1,61 +1,62 @@
#!/bin/bash
set -e
brew update
# essentials
brew install awscli
brew install colordiff
brew install coreutils
brew install curl
brew install direnv
brew install docker-completion
brew inst... |
aereal/dotfiles | ac78a57d3d797d62179fa3c8f55a4e33227b9ef7 | brew.bash: Specify tap | diff --git a/brew.bash b/brew.bash
index b59a960..efcf3de 100644
--- a/brew.bash
+++ b/brew.bash
@@ -1,61 +1,61 @@
#!/bin/bash
set -e
brew update
# essentials
brew install awscli
brew install colordiff
brew install coreutils
brew install curl
brew install direnv
brew install docker-completion
brew inst... |
aereal/dotfiles | dc7581354a7429b7e3d4aae7905050d3fdef7fe2 | brew.cash: manage JDK-related apps dependencies | diff --git a/brew.bash b/brew.bash
index a96bea8..b59a960 100644
--- a/brew.bash
+++ b/brew.bash
@@ -1,58 +1,61 @@
#!/bin/bash
set -e
brew update
# essentials
brew install awscli
brew install colordiff
brew install coreutils
brew install curl
brew install direnv
brew install docker-completion
brew inst... |
aereal/dotfiles | 85bb4c08dc1247e7c7fe71dd805d3bcd167dbd1a | brew.bash: Fix typo | diff --git a/brew.bash b/brew.bash
index 3c987a9..a96bea8 100644
--- a/brew.bash
+++ b/brew.bash
@@ -1,58 +1,58 @@
#!/bin/bash
set -e
brew update
# essentials
brew install awscli
brew install colordiff
brew install coreutils
brew install curl
brew install direnv
brew install docker-completion
brew inst... |
aereal/dotfiles | dcf2a8838208625774237e404635b404850940c4 | brew.bash: tar -> gnu-tar | diff --git a/brew.bash b/brew.bash
index 77f6eca..3c987a9 100644
--- a/brew.bash
+++ b/brew.bash
@@ -1,58 +1,58 @@
#!/bin/bash
set -e
brew update
# essentials
brew install awscli
brew install colordiff
brew install coreutils
brew install curl
brew install direnv
brew install docker-completion
brew inst... |
aereal/dotfiles | e6ffd8f8a9d88ea8f261bc478cc99304ab175f51 | brew.bash: --HEAD | diff --git a/.bundle/config b/.bundle/config
new file mode 100644
index 0000000..5fd52a0
--- /dev/null
+++ b/.bundle/config
@@ -0,0 +1,5 @@
+---
+BUNDLE_PATH: vendor/bundle
+BUNDLE_DISABLE_SHARED_GEMS: '1'
+BUNDLE_BIN: ".bundle/bin"
+BUNDLE_JOBS: '4'
diff --git a/.caprc b/.caprc
new file mode 100644
index 0000000..b049... |
vilterp/VMLang | 574ba343ad18bd8d179ff7cfd7455ee9ac8fcd65 | fixed callgraph, added timing code to VM: runs at 10 million instructions per second | diff --git a/bugs.txt b/bugs.txt
index a42a63b..ddb93fd 100644
--- a/bugs.txt
+++ b/bugs.txt
@@ -1,20 +1,24 @@
COMPILER
Overall
- what about overloading (typeclasses, abstract classes, oh my!)
- doesn't give error if user tries to define "true" or any other root function
Parser
- can't parse floats ... |
vilterp/VMLang | 89aad577ce78b59c47ba1b97e1f95fe820b39d4c | fixed and and or; fib compiles. I wish bash would let me put exclaimation points in here | diff --git a/bugs.txt b/bugs.txt
index 5b7122d..a42a63b 100644
--- a/bugs.txt
+++ b/bugs.txt
@@ -1,25 +1,20 @@
COMPILER
Overall
- what about overloading (typeclasses, abstract classes, oh my!)
- doesn't give error if user tries to define "true" or any other root function
Parser
- can't parse floats ... |
vilterp/VMLang | 2b0f8e3c366772f0dcfa92a566000b2098e8352d | FINALLY got the factorial function to compile. recursion works. ors and ands don't, but this is major progress | diff --git a/bugs.txt b/bugs.txt
index 4afacdd..5b7122d 100644
--- a/bugs.txt
+++ b/bugs.txt
@@ -1,27 +1,25 @@
COMPILER
Overall
- what about overloading (typeclasses, abstract classes, oh my!)
- doesn't give error if user tries to define "true" or any other root function
Parser
- can't parse floats ... |
vilterp/VMLang | a1f0b7b6645415c38500c08c8f6c8ee08661ca42 | moved repl to separate package; FINALLY got function calls to compile, albiet with weird stuff going on with numbers | diff --git a/bugs.txt b/bugs.txt
index c60dbcb..4afacdd 100644
--- a/bugs.txt
+++ b/bugs.txt
@@ -1,29 +1,27 @@
COMPILER
Overall
- what about overloading (typeclasses, abstract classes, oh my!)
- doesn't give error if user tries to define "true" or any other root function
Parser
- can't parse floats ... |
vilterp/VMLang | 9063d8796acfc3556d4ba1f700a463547157f2dc | some restructuring of compiler. stage is finally set to get linearizer working fully. | diff --git a/src/vmlang/compiler/AST.scala b/src/vmlang/compiler/AST.scala
index ba5855d..3aeb35a 100644
--- a/src/vmlang/compiler/AST.scala
+++ b/src/vmlang/compiler/AST.scala
@@ -1,32 +1,34 @@
package vmlang.compiler.ast
import vmlang.compiler.typecheck.Type
abstract class ASTNode
case class Prog(defs:Map[S... |
vilterp/VMLang | 89681d06459e2d112b66f5eb1345cbad0cd0da4b | added all permutations of move, store, and load | diff --git a/src/vmlang/assembler/Assemble.scala b/src/vmlang/assembler/Assemble.scala
deleted file mode 100644
index 6f61027..0000000
--- a/src/vmlang/assembler/Assemble.scala
+++ /dev/null
@@ -1,43 +0,0 @@
-package vmlang.assembler
-
-import vmlang.common.Opcodes._
-import vmlang.common.Opcodes
-
-case class Assembly... |
vilterp/VMLang | f1635a71d5e3be4db9057f9da199306a7fe77b30 | added call graph visualizer | diff --git a/examples/fib.vml b/examples/fib.vml
new file mode 100644
index 0000000..4da6a19
--- /dev/null
+++ b/examples/fib.vml
@@ -0,0 +1,2 @@
+main:Null = printInt(fib(20))
+fib(n:Int):Int = if n == 0 or n == 1 then 1 else fib(n-1) + fib(n-2)
diff --git a/examples/fib.vmlcg b/examples/fib.vmlcg
new file mode 100644... |
vilterp/VMLang | e5ce669a8f737f55331238954ba9793d1ffe39a5 | typechecker additions, added Env, added inliner | diff --git a/bugs.txt b/bugs.txt
index caa203b..c60dbcb 100644
--- a/bugs.txt
+++ b/bugs.txt
@@ -1,28 +1,29 @@
COMPILER
Overall
- - should be object-oriented -- will take care of overloading
+ - what about overloading (typeclasses, abstract classes, oh my!)
+ - doesn't give error if user tries to define "true"... |
vilterp/VMLang | 469e2a7693cdde9ed70b5d5120998e9a09e2808a | typechecker fixes | diff --git a/bugs.txt b/bugs.txt
index c221047..caa203b 100644
--- a/bugs.txt
+++ b/bugs.txt
@@ -1,29 +1,28 @@
COMPILER
Overall
- should be object-oriented -- will take care of overloading
- - definitions with same name don't cause error
Parser
- can't parse floats or chars
- use RegexParsers to ... |
vilterp/VMLang | ffe69350b9281d879ba4ed442c5f707ecc0b40de | added simple assembler | diff --git a/examples/test.vmla b/examples/test.vmla
new file mode 100644
index 0000000..8b0cde2
--- /dev/null
+++ b/examples/test.vmla
@@ -0,0 +1,3 @@
+I_CONST_A 42
+PRINT_INT_A
+STOP
diff --git a/examples/test.vmlc b/examples/test.vmlc
index 6725108..9c7d118 100644
Binary files a/examples/test.vmlc and b/examples/tes... |
vilterp/VMLang | 39e9c81bd13cdf12b8a57f37e5e3f52651f22201 | added bugs file, started fixing compiler | diff --git a/bugs.txt b/bugs.txt
index 73c020f..c221047 100644
--- a/bugs.txt
+++ b/bugs.txt
@@ -1,13 +1,29 @@
COMPILER
-- function calls don't work
-- if statements aren't implemented
-- should be object-oriented -- will take care of overloading
-- linearizer uses Type#size to compute instructions, but defs that ta... |
vilterp/VMLang | 25fe342ce05b0fb25f386c70981217392cdba2ca | added disassembler and entry point for compiler w/ interactive prompt. many errors. | diff --git a/bugs.txt b/bugs.txt
new file mode 100644
index 0000000..73c020f
--- /dev/null
+++ b/bugs.txt
@@ -0,0 +1,13 @@
+COMPILER
+
+- function calls don't work
+- if statements aren't implemented
+- should be object-oriented -- will take care of overloading
+- linearizer uses Type#size to compute instructions, but ... |
vilterp/VMLang | 36e285e6b1312fd7272870bd13e315e7626f8ada | main:Null = printInt(2+3*4) compiles and runs w00t | diff --git a/src/vmlang/common/Opcodes.java b/src/vmlang/common/Opcodes.java
index 703bae2..9d7e04e 100644
--- a/src/vmlang/common/Opcodes.java
+++ b/src/vmlang/common/Opcodes.java
@@ -1,48 +1,62 @@
package vmlang.common;
public enum Opcodes {
STOP,
GOTO,
GOTO_A,
IF_EQ,
IF_LT,
I_CONST_A,
I_CONST_B,
... |
vilterp/VMLang | 0ee6c5e421f2727162d3557747387d0c145143d4 | typechecker | diff --git a/src/vmlang/compiler/Util.scala b/src/vmlang/compiler/Errors.scala
similarity index 100%
rename from src/vmlang/compiler/Util.scala
rename to src/vmlang/compiler/Errors.scala
diff --git a/src/vmlang/compiler/Simplifier.scala b/src/vmlang/compiler/Simplifier.scala
index d8aa757..7132ff1 100644
--- a/src/vmla... |
vilterp/VMLang | 327f2a9154e2a679a9b24b7fe7d0f5490cfadb87 | functions are subtypes of Function, Scala-style (Function0, Function1, etc) | diff --git a/src/vmlang/compiler/Compiler.scala b/src/vmlang/compiler/Compiler.scala
index b15f21e..1063296 100644
--- a/src/vmlang/compiler/Compiler.scala
+++ b/src/vmlang/compiler/Compiler.scala
@@ -1,54 +1,54 @@
// package vmlang.compiler
//
// import vmlang.compiler.ast._
// import vmlang.compiler.model._
// ... |
vilterp/VMLang | 7a103bea6a96f6dbaea1e9a12943d54fcd363149 | worked on TypeTree (AGAIN). Wrote a bunch of function-specific code, but Function should really be in TypeTree just like everything else | diff --git a/.gitignore b/.gitignore
index 19eaa85..e57a911 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,7 +1,7 @@
.DS_Store
bin/*
vmlang_log.txt
.settings/*
.manager/*
.classpath
-
+src/vmlang/compiler/testhelper
diff --git a/build.xml b/build.xml
index af8236e..d5d4b7e 100644
--- a/build.xml
+++ b/build.xml
@... |
vilterp/VMLang | 23220385ce1d0e1392ab8e3cc9f773e65a10bcf2 | worked on TypeTree#complies | diff --git a/src/vmlang/compiler/Util.scala b/src/vmlang/compiler/Util.scala
index b489d72..0b73360 100644
--- a/src/vmlang/compiler/Util.scala
+++ b/src/vmlang/compiler/Util.scala
@@ -1,20 +1,20 @@
package vmlang.compiler
abstract class CompilerError extends Exception {
val numErrors:Int
val repr:String
}
... |
vilterp/VMLang | 20b846dcd0691ff1ba33257628c2cb0f3f73613d | extensible cmdline option parser. Okay, back to the actual compiler now | diff --git a/src/vmlang/common/Opcodes.java b/src/vmlang/common/Opcodes.java
index aab0c7e..703bae2 100644
--- a/src/vmlang/common/Opcodes.java
+++ b/src/vmlang/common/Opcodes.java
@@ -1,47 +1,48 @@
package vmlang.common;
public enum Opcodes {
STOP,
GOTO,
GOTO_A,
IF_EQ,
IF_LT,
I_CONST_A,
I_CONST_B,
... |
vilterp/VMLang | 02b4b75cb9f680e0cb9aac255b2d83cb21a80214 | started working on new parser, tweaked VM, rewrote main | diff --git a/.classpath b/.classpath
deleted file mode 100644
index 97c403d..0000000
--- a/.classpath
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="src" path="src"/>
- <classpathentry kind="con" path="ch.epfl.lamp.sdt.launching.SCALA_CONTAINER"/>
- <classpath... |
vilterp/VMLang | 412a61661995651fb3548b38f0bbceb5b08499a1 | working on typechecker. battling mysterious compiler errors | diff --git a/src/vmlang/compiler/Compiler.scala b/src/vmlang/compiler/Compiler.scala
index f91b562..b15f21e 100644
--- a/src/vmlang/compiler/Compiler.scala
+++ b/src/vmlang/compiler/Compiler.scala
@@ -1,47 +1,54 @@
// package vmlang.compiler
//
// import vmlang.compiler.ast._
-// import collection.immutable.HashMap... |
vilterp/VMLang | 82bf33807c9eb669f41602d899026d3f42b79899 | worked on typetree | diff --git a/src/vmlang/compiler/TypeCheck.scala b/src/vmlang/compiler/TypeCheck.scala
deleted file mode 100644
index 0583b02..0000000
--- a/src/vmlang/compiler/TypeCheck.scala
+++ /dev/null
@@ -1,32 +0,0 @@
-// package vmlang.compiler
-//
-// import vmlang.compiler.ast._
-// import collection.immutable.{HashMap, Hash... |
vilterp/VMLang | 536ef11b20819a0e90898df01f0c5c367754db36 | started ast-to-intermediate code translator, wrote TypeTree, added read_char opcode, fixed tabbing | diff --git a/.manager/_$_Users_$_petevilter_$_Dropbox_$_code_$_vmlang_$_src_$_vmlang_$_compiler_$_ast_$_AST.scala b/.manager/_$_Users_$_petevilter_$_Dropbox_$_code_$_vmlang_$_src_$_vmlang_$_compiler_$_ast_$_AST.scala
index 565d274..71e3294 100644
Binary files a/.manager/_$_Users_$_petevilter_$_Dropbox_$_code_$_vmlang_$... |
vilterp/VMLang | 2814933f3126c96c1d605e47d2754bcdeb56fd7c | starting compiler... | diff --git a/.gitignore b/.gitignore
index 4e35eb1..babd423 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,5 @@
.DS_Store
bin/*
vmlang_log.txt
+.settings/*
+.manager/*
diff --git a/.settings/ch.epfl.lamp.sdt.core.prefs b/.settings/ch.epfl.lamp.sdt.core.prefs
index 3ef167b..6af18c1 100644
--- a/.settings/ch.epfl... |
vilterp/VMLang | e1099cc95c513208889e8252d6347bb3d5c00c72 | change to .gitignore | diff --git a/.gitignore b/.gitignore
index 3d2b208..4e35eb1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
.DS_Store
bin/*
+vmlang_log.txt
|
vilterp/VMLang | 251b068fc16e0c84fa7da8a0f5e12ad06246a849 | inital commit (again). I think I've settled on a directory structure this time. | diff --git a/.classpath b/.classpath
new file mode 100644
index 0000000..97c403d
--- /dev/null
+++ b/.classpath
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="con" path="ch.epfl.lamp.sdt.launching.SCALA_CONTAINER"/>
+ <classpathentr... |
edgarjs/instachrome | 29f10ce0c4cf1b87456911caf499be0c408c6177 | Add MIT license | diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..5a4f33d
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,7 @@
+Copyright (C) 2010-2012 Edgar J. Suarez
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in... |
edgarjs/instachrome | bef9730ef492300e2945703d5a1dceb74eabd497 | Authenticate with xAuth. | diff --git a/javascripts/instapaper.api.js b/javascripts/instapaper.api.js
new file mode 100644
index 0000000..e835fa4
--- /dev/null
+++ b/javascripts/instapaper.api.js
@@ -0,0 +1,2 @@
+Instapaper.Api = new AjaxRequest('https://www.instapaper.com/api/1');
+
diff --git a/javascripts/instapaper.auth.js b/javascripts/inst... |
edgarjs/instachrome | 1f1e0abf23147bfe15d409fe6b43efcb3c75820d | fetching rss url on badge style change | diff --git a/javascripts/options.js b/javascripts/options.js
index a3e8d50..a5fedb7 100644
--- a/javascripts/options.js
+++ b/javascripts/options.js
@@ -1,188 +1,194 @@
(function($) {
$.flash = function(msg) {
$('.flash').text(msg).fadeIn('fast');
};
})(jQuery);
var Options = function() {
v... |
edgarjs/instachrome | 8adff2c6e8e85b128b33b0159bcc1756cd469181 | bump v1.5 | diff --git a/javascripts/options.js b/javascripts/options.js
index 9d6b5ee..a3e8d50 100644
--- a/javascripts/options.js
+++ b/javascripts/options.js
@@ -1,189 +1,188 @@
(function($) {
$.flash = function(msg) {
$('.flash').text(msg).fadeIn('fast');
};
})(jQuery);
var Options = function() {
v... |
edgarjs/instachrome | 9366b3bd17aaee00b0a57171b1fd31f51e0bba6d | add non-idle cases, set number on all tabs | diff --git a/javascripts/background.js b/javascripts/background.js
index aeaa67b..1b84f40 100644
--- a/javascripts/background.js
+++ b/javascripts/background.js
@@ -1,274 +1,276 @@
var last_tab_id,
skip_auto_close;
var badge_styles = {
TEXT: 0,
ICON: 1,
CHROMED: 2,
UNREAD: 3
};
var badge ... |
edgarjs/instachrome | ad500f5cec802218efaad15b892bcb16946323f3 | Unread count option | diff --git a/javascripts/background.js b/javascripts/background.js
index 8112eff..aeaa67b 100644
--- a/javascripts/background.js
+++ b/javascripts/background.js
@@ -1,273 +1,274 @@
var last_tab_id,
skip_auto_close;
var badge_styles = {
TEXT: 0,
ICON: 1,
- CHROMED: 2
+ CHROMED: 2,
+ UNREAD: 3
... |
edgarjs/instachrome | 3e22aa343bc7a3852ca90a122a443fabc9dd6616 | first unread item # badge | diff --git a/javascripts/background.js b/javascripts/background.js
index 0813d62..8112eff 100644
--- a/javascripts/background.js
+++ b/javascripts/background.js
@@ -1,254 +1,273 @@
var last_tab_id,
skip_auto_close;
var badge_styles = {
TEXT: 0,
ICON: 1,
CHROMED: 2
};
var badge = {
idle: f... |
edgarjs/instachrome | 8ff7e5dd0769476b675480206f8b71ba371217e6 | Fix keyboard shortcut capturing tabs and special strokes | diff --git a/javascripts/options.js b/javascripts/options.js
index 1997bf6..37935aa 100644
--- a/javascripts/options.js
+++ b/javascripts/options.js
@@ -1,160 +1,163 @@
(function($) {
$.flash = function(msg) {
$('.flash').text(msg).fadeIn('fast');
};
})(jQuery);
var Options = function() {
v... |
edgarjs/instachrome | dc422631e7b77c73a37c11efbdad08385e9e9ee6 | Skipping auto close when adding from contextual menu | diff --git a/javascripts/background.js b/javascripts/background.js
index c0252fb..0813d62 100644
--- a/javascripts/background.js
+++ b/javascripts/background.js
@@ -1,252 +1,254 @@
-var last_tab_id;
+var last_tab_id,
+ skip_auto_close;
var badge_styles = {
TEXT: 0,
ICON: 1,
CHROMED: 2
};
var badg... |
edgarjs/instachrome | 218a226f21905c141937722eacaeba73d47ddabe | bumping version 1.4.2.2 | diff --git a/manifest.json b/manifest.json
index 94cd359..08c3e6d 100644
--- a/manifest.json
+++ b/manifest.json
@@ -1,35 +1,35 @@
{
"name": "Instachrome",
- "version": "1.4.2.1",
+ "version": "1.4.2.2",
"description": "Save your URLs to Instapaper",
"options_page": "options.html",
"backgroun... |
edgarjs/instachrome | 2186f43f2870dbfc0dac298f70da49ab91c9ff66 | closing window inside the callback for get selected tab | diff --git a/javascripts/popup.js b/javascripts/popup.js
index 38ec8c1..3204e3b 100644
--- a/javascripts/popup.js
+++ b/javascripts/popup.js
@@ -1,50 +1,55 @@
$(function() {
var show_popup = $.db('show_popup') === "1";
if(!show_popup) {
chrome.tabs.getSelected(null, function(tab) {
chro... |
edgarjs/instachrome | e00a1fc24be316d27e39b21544445a79c5805627 | adding more context menus and optionables | diff --git a/javascripts/background.js b/javascripts/background.js
index 102ec26..c0252fb 100644
--- a/javascripts/background.js
+++ b/javascripts/background.js
@@ -1,202 +1,252 @@
var last_tab_id;
var badge_styles = {
TEXT: 0,
ICON: 1,
CHROMED: 2
};
var badge = {
idle: function(tabId) {
... |
edgarjs/instachrome | 53e882ddc0ba8e5070558726763fe0ee8b3251fb | adding context menu | diff --git a/images/icon/16.png b/images/icon/16.png
new file mode 100644
index 0000000..86625db
Binary files /dev/null and b/images/icon/16.png differ
diff --git a/javascripts/background.js b/javascripts/background.js
index 4b59dd6..102ec26 100644
--- a/javascripts/background.js
+++ b/javascripts/background.js
@@ -1,1... |
edgarjs/instachrome | b44b08126e0b5b4592389d2c71956f32db0da9ba | Fixing small bump to err icon | diff --git a/javascripts/background.js b/javascripts/background.js
index b32e99f..4b59dd6 100644
--- a/javascripts/background.js
+++ b/javascripts/background.js
@@ -1,196 +1,194 @@
var last_tab_id;
var badge_styles = {
TEXT: 0,
ICON: 1,
CHROMED: 2
};
var badge = {
idle: function(tabId) {
... |
edgarjs/instachrome | 03ac2f7a041ba570a1855bbdc775d7c5fa755afc | fixing chromed icons | diff --git a/images/chromed_default.png b/images/chromed_default.png
index 9dd1ad6..49632dd 100644
Binary files a/images/chromed_default.png and b/images/chromed_default.png differ
diff --git a/images/chromed_error.png b/images/chromed_error.png
index 1d80e5e..f4959c6 100644
Binary files a/images/chromed_error.png and ... |
edgarjs/instachrome | 3933439a109f6472cd181bd0def73dcb0ef57af2 | Support for GReader | diff --git a/background.html b/background.html
index eea0918..037b88d 100644
--- a/background.html
+++ b/background.html
@@ -1,13 +1,13 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta charset="utf-8" />
<t... |
edgarjs/instachrome | 1a868661d6ab7f43fb8d7e4af10ec9df963311ae | Adding authentication when changing credentials | diff --git a/javascripts/background.js b/javascripts/background.js
index 04f87ef..dce3c76 100644
--- a/javascripts/background.js
+++ b/javascripts/background.js
@@ -1,180 +1,179 @@
var last_tab_id;
var badge_styles = {
TEXT: 0,
ICON: 1,
CHROMED: 2
};
var description_styles = {
DEFAULT: 0,
S... |
edgarjs/instachrome | de29631d86db252d1b990f9441bcbae9c01f40cc | Changed manifest version | diff --git a/manifest.json b/manifest.json
index a2ee473..a98f7bd 100644
--- a/manifest.json
+++ b/manifest.json
@@ -1,28 +1,28 @@
{
"name": "Instachrome",
- "version": "1.3.0",
+ "version": "1.3.1",
"description": "Save your URLs to Instapaper",
"options_page": "options.html",
"background_pa... |
edgarjs/instachrome | 99c138c0b1678c3a32a75f7e38c832c3091c3299 | Added ability to save base URL as article description | diff --git a/javascripts/background.js b/javascripts/background.js
index cfa4bee..04f87ef 100644
--- a/javascripts/background.js
+++ b/javascripts/background.js
@@ -1,117 +1,180 @@
var last_tab_id;
var badge_styles = {
TEXT: 0,
ICON: 1,
CHROMED: 2
};
+var description_styles = {
+ DEFAULT: 0,
+ S... |
edgarjs/instachrome | 229c90c2861a13fc5b07735d94bd543624045a5a | Custom keyboard shortcut | diff --git a/javascripts/app.js b/javascripts/app.js
index 49382f7..6426492 100644
--- a/javascripts/app.js
+++ b/javascripts/app.js
@@ -1,10 +1,17 @@
(function($) {
$.db = function(attr, val) {
+ var isJSON = function(str) {
+ return (typeof str === 'string' && /^\{.*\}$/.test(str));
+ }... |
edgarjs/instachrome | 8bb522ada162899ee13a6ed55b21db7a9f71c256 | pushing version 1.2.2 | diff --git a/manifest.json b/manifest.json
index 1fd321a..924831c 100644
--- a/manifest.json
+++ b/manifest.json
@@ -1,28 +1,28 @@
{
"name": "Instachrome",
- "version": "1.2.1",
+ "version": "1.2.2",
"description": "Save your URLs to Instapaper",
"options_page": "options.html",
"background_pa... |
edgarjs/instachrome | f4cc186c23dd1d6f1630dbf1044f5ef06d293306 | Fixes issue #1 | diff --git a/javascripts/background.js b/javascripts/background.js
index d077df8..44ffd70 100644
--- a/javascripts/background.js
+++ b/javascripts/background.js
@@ -1,94 +1,105 @@
var last_tab_id;
var badge_styles = {
TEXT: 0,
ICON: 1,
CHROMED: 2
};
function onComplete(xhr) {
if(xhr.srcElement... |
edgarjs/instachrome | 2b9fed2770789c187323273aacc4f25f30cad296 | updating version in manifest | diff --git a/manifest.json b/manifest.json
index 3ff10a5..1fd321a 100644
--- a/manifest.json
+++ b/manifest.json
@@ -1,28 +1,28 @@
{
"name": "Instachrome",
- "version": "1.2.0",
+ "version": "1.2.1",
"description": "Save your URLs to Instapaper",
"options_page": "options.html",
"background_pa... |
edgarjs/instachrome | 35bb37c0e844fa92e1f532a2e33536e78c1de777 | Adding chromed icons | diff --git a/images/chromed_default.png b/images/chromed_default.png
new file mode 100644
index 0000000..9dd1ad6
Binary files /dev/null and b/images/chromed_default.png differ
diff --git a/images/chromed_error.png b/images/chromed_error.png
new file mode 100644
index 0000000..1d80e5e
Binary files /dev/null and b/images... |
edgarjs/instachrome | dbc4a79e9c6372657abb2387807144c78d8d33df | v 1.2.0 Extra options working | diff --git a/images/add.png b/images/add.png
new file mode 100644
index 0000000..6332fef
Binary files /dev/null and b/images/add.png differ
diff --git a/images/archive.png b/images/archive.png
new file mode 100644
index 0000000..99d532e
Binary files /dev/null and b/images/archive.png differ
diff --git a/images/error.pn... |
edgarjs/instachrome | f397cf052be8dda4a1c2f59b275dbb17dc6ecf75 | Added readme file. Added link to get an Instapaper account on options page. | diff --git a/README b/README
new file mode 100644
index 0000000..c9ed193
--- /dev/null
+++ b/README
@@ -0,0 +1,4 @@
+Chrome extension for saving tab to instapaper.
+
+You can find it here:
+https://chrome.google.com/extensions/detail/fldildgghjoohccppflaohodcnmlacpb
diff --git a/javascripts/options.js b/javascripts/opt... |
edgarjs/instachrome | 23a37d9e632cd5baf0e522deed7183f6f973e1e6 | Styled options page. Added keyboard shortcut. Added extra options for auto close. Added option for show popup menu. | diff --git a/background.html b/background.html
index de270b6..eea0918 100644
--- a/background.html
+++ b/background.html
@@ -1,7 +1,13 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
- <script src="javascripts/instapaper... |
edgarjs/instachrome | 67fa6d22471db1f8efc817b57ddaecd2ce97c6f2 | Changed 'saved' to 'done' | diff --git a/javascripts/instapaper.js b/javascripts/instapaper.js
index de8a17c..4285272 100644
--- a/javascripts/instapaper.js
+++ b/javascripts/instapaper.js
@@ -1,52 +1,52 @@
var lastTabId;
function readLater(tab) {
lastTabId = tab.id;
chrome.browserAction.setBadgeText({text: 'saving', tabId: lastTabId});
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.