replaced 1 "Tab" with 2 "Space" (+ adjusting some glitches)
updated the copyright notice at the beginning of each script file
This commit is contained in:
parent
0f6215b162
commit
67ab171e40
7 changed files with 2728 additions and 2734 deletions
|
@ -1,3 +1,4 @@
|
||||||
syntax: glob
|
syntax: glob
|
||||||
src/Config.ini
|
src/Config.ini
|
||||||
src/Config_test.ini
|
src/Config_test.ini
|
||||||
|
01_administration.org
|
||||||
|
|
38
src/Bar.ahk
38
src/Bar.ahk
|
@ -1,22 +1,22 @@
|
||||||
/**
|
/*
|
||||||
* bug.n - tiling window management
|
bug.n -- tiling window management
|
||||||
* Copyright (c) 2010-2012 joten
|
Copyright (c) 2010-2012 Joshua Fuhs, joten
|
||||||
*
|
|
||||||
* This program is free software: you can redistribute it and/or modify
|
This program is free software: you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
* the Free Software Foundation, either version 3 of the License, or
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
* (at your option) any later version.
|
(at your option) any later version.
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
This program is distributed in the hope that it will be useful,
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
* GNU General Public License for more details.
|
GNU General Public License for more details.
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*
|
|
||||||
* @version 8.3.0
|
@version 8.3.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
Bar_init(m) {
|
Bar_init(m) {
|
||||||
Local appBarMsg, GuiN, h1, h2, i, text, titleWidth, trayWndId, w, wndId, wndTitle, wndWidth, x1, x2, y1, y2
|
Local appBarMsg, GuiN, h1, h2, i, text, titleWidth, trayWndId, w, wndId, wndTitle, wndWidth, x1, x2, y1, y2
|
||||||
|
|
|
@ -1,22 +1,22 @@
|
||||||
/**
|
/*
|
||||||
* bug.n - tiling window management
|
bug.n -- tiling window management
|
||||||
* Copyright (c) 2010-2012 joten
|
Copyright (c) 2010-2012 Joshua Fuhs, joten
|
||||||
*
|
|
||||||
* This program is free software: you can redistribute it and/or modify
|
This program is free software: you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
* the Free Software Foundation, either version 3 of the License, or
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
* (at your option) any later version.
|
(at your option) any later version.
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
This program is distributed in the hope that it will be useful,
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
* GNU General Public License for more details.
|
GNU General Public License for more details.
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*
|
|
||||||
* @version 8.3.0
|
@version 8.3.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
Config_init() {
|
Config_init() {
|
||||||
Local i, key, layout0, layout1, layout2, vNames0, vNames1, vNames2, vNames3, vNames4, vNames5, vNames6, vNames7, vNames8, vNames9
|
Local i, key, layout0, layout1, layout2, vNames0, vNames1, vNames2, vNames3, vNames4, vNames5, vNames6, vNames7, vNames8, vNames9
|
||||||
|
|
41
src/Main.ahk
41
src/Main.ahk
|
@ -1,22 +1,22 @@
|
||||||
/**
|
/*
|
||||||
* bug.n - tiling window management
|
bug.n -- tiling window management
|
||||||
* Copyright (c) 2010-2012 joten
|
Copyright (c) 2010-2012 Joshua Fuhs, joten
|
||||||
*
|
|
||||||
* This program is free software: you can redistribute it and/or modify
|
This program is free software: you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
* the Free Software Foundation, either version 3 of the License, or
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
* (at your option) any later version.
|
(at your option) any later version.
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
This program is distributed in the hope that it will be useful,
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
* GNU General Public License for more details.
|
GNU General Public License for more details.
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*
|
|
||||||
* @version 8.3.0
|
@version 8.3.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
NAME := "bug.n"
|
NAME := "bug.n"
|
||||||
VERSION := "8.3.0"
|
VERSION := "8.3.0"
|
||||||
|
@ -32,8 +32,6 @@ SetWinDelay, 10
|
||||||
#WinActivateForce
|
#WinActivateForce
|
||||||
|
|
||||||
; pseudo main function
|
; pseudo main function
|
||||||
|
|
||||||
|
|
||||||
EnvGet, appDir, APPDATA
|
EnvGet, appDir, APPDATA
|
||||||
bugnDir := appDir . "\bug.n"
|
bugnDir := appDir . "\bug.n"
|
||||||
IfNotExist, %bugnDir%
|
IfNotExist, %bugnDir%
|
||||||
|
@ -47,7 +45,6 @@ SetWinDelay, 10
|
||||||
logFile := bugnDir . "\bugn_log.txt"
|
logFile := bugnDir . "\bugn_log.txt"
|
||||||
Log_init(logFile, False)
|
Log_init(logFile, False)
|
||||||
|
|
||||||
|
|
||||||
Log_msg("====== Initializing ======")
|
Log_msg("====== Initializing ======")
|
||||||
If 0 = 1
|
If 0 = 1
|
||||||
Config_filePath = %1%
|
Config_filePath = %1%
|
||||||
|
|
|
@ -1,22 +1,22 @@
|
||||||
/**
|
/*
|
||||||
* bug.n - tiling window management
|
bug.n -- tiling window management
|
||||||
* Copyright (c) 2010-2012 joten
|
Copyright (c) 2010-2012 Joshua Fuhs, joten
|
||||||
*
|
|
||||||
* This program is free software: you can redistribute it and/or modify
|
This program is free software: you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
* the Free Software Foundation, either version 3 of the License, or
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
* (at your option) any later version.
|
(at your option) any later version.
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
This program is distributed in the hope that it will be useful,
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
* GNU General Public License for more details.
|
GNU General Public License for more details.
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*
|
|
||||||
* @version 8.3.0
|
@version 8.3.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
Manager_init() {
|
Manager_init() {
|
||||||
Local ncm, ncmSize
|
Local ncm, ncmSize
|
||||||
|
@ -857,7 +857,6 @@ Manager_winMove(wndId, x, y, width, height) {
|
||||||
}
|
}
|
||||||
|
|
||||||
Manager_winHide(wndId) {
|
Manager_winHide(wndId) {
|
||||||
|
|
||||||
If Manager_isHung(wndId) {
|
If Manager_isHung(wndId) {
|
||||||
Log_dbg_msg(2, "Manager_winHide: Potentially hung window " . wndId)
|
Log_dbg_msg(2, "Manager_winHide: Potentially hung window " . wndId)
|
||||||
Return 1
|
Return 1
|
||||||
|
@ -869,7 +868,6 @@ Manager_winHide(wndId) {
|
||||||
}
|
}
|
||||||
|
|
||||||
Manager_winShow(wndId) {
|
Manager_winShow(wndId) {
|
||||||
|
|
||||||
If Manager_isHung(wndId) {
|
If Manager_isHung(wndId) {
|
||||||
Log_dbg_msg(2, "Manager_winShow: Potentially hung window " . wndId)
|
Log_dbg_msg(2, "Manager_winShow: Potentially hung window " . wndId)
|
||||||
Return 1
|
Return 1
|
||||||
|
@ -881,7 +879,6 @@ Manager_winShow(wndId) {
|
||||||
}
|
}
|
||||||
|
|
||||||
Manager_winClose(wndId) {
|
Manager_winClose(wndId) {
|
||||||
|
|
||||||
If Manager_isHung(wndId) {
|
If Manager_isHung(wndId) {
|
||||||
Log_dbg_msg(2, "Manager_winClose: Potentially hung window " . wndId)
|
Log_dbg_msg(2, "Manager_winClose: Potentially hung window " . wndId)
|
||||||
Return 1
|
Return 1
|
||||||
|
@ -893,7 +890,6 @@ Manager_winClose(wndId) {
|
||||||
}
|
}
|
||||||
|
|
||||||
Manager_winSet(type, value, wndId) {
|
Manager_winSet(type, value, wndId) {
|
||||||
|
|
||||||
If Manager_isHung(wndId) {
|
If Manager_isHung(wndId) {
|
||||||
Log_dbg_msg(2, "Manager_winSet: Potentially hung window " . wndId)
|
Log_dbg_msg(2, "Manager_winSet: Potentially hung window " . wndId)
|
||||||
Return 1
|
Return 1
|
||||||
|
|
|
@ -1,22 +1,22 @@
|
||||||
/**
|
/*
|
||||||
* bug.n - tiling window management
|
bug.n -- tiling window management
|
||||||
* Copyright (c) 2010-2012 joten
|
Copyright (c) 2010-2012 Joshua Fuhs, joten
|
||||||
*
|
|
||||||
* This program is free software: you can redistribute it and/or modify
|
This program is free software: you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
* the Free Software Foundation, either version 3 of the License, or
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
* (at your option) any later version.
|
(at your option) any later version.
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
This program is distributed in the hope that it will be useful,
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
* GNU General Public License for more details.
|
GNU General Public License for more details.
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*
|
|
||||||
* @version 8.3.0
|
@version 8.3.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
Monitor_init(m) {
|
Monitor_init(m) {
|
||||||
Global
|
Global
|
||||||
|
|
38
src/View.ahk
38
src/View.ahk
|
@ -1,22 +1,22 @@
|
||||||
/**
|
/*
|
||||||
* bug.n - tiling window management
|
bug.n -- tiling window management
|
||||||
* Copyright (c) 2010-2012 joten
|
Copyright (c) 2010-2012 Joshua Fuhs, joten
|
||||||
*
|
|
||||||
* This program is free software: you can redistribute it and/or modify
|
This program is free software: you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
* the Free Software Foundation, either version 3 of the License, or
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
* (at your option) any later version.
|
(at your option) any later version.
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
This program is distributed in the hope that it will be useful,
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
* GNU General Public License for more details.
|
GNU General Public License for more details.
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*
|
|
||||||
* @version 8.3.0
|
@version 8.3.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
View_init(m, v) {
|
View_init(m, v) {
|
||||||
Global
|
Global
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue