Commit Graph

329 Commits

Author SHA1 Message Date
Joshua Fuhs e9e5a853cc Continue the manual merge. Bar.ahk is merged (pretty much unchanged) 2012-11-26 22:13:38 -05:00
Joshua Fuhs c30a4c3f30 Step 1 of a long manual merge 2012-11-26 18:52:18 -05:00
Joshua Fuhs aaa73c4729 Inidicate when initialization and cleanup are complete 2012-11-26 13:11:16 -05:00
Joshua Fuhs 4b5c74861a Get rid of unnecessary debug statement 2012-11-25 09:08:04 -05:00
Joshua Fuhs af151b93a9 Periodic state save and restore work 2012-11-25 08:56:35 -05:00
joten 747766274e changed documentation directory references 2012-10-20 20:45:44 +02:00
joten aa29e18fa1 renamed directory 'docs' -> 'doc' 2012-10-20 16:55:24 +02:00
joten ae8f325d9f updated the documentation 2012-10-20 16:53:46 +02:00
joten 53b4a83757 fixed bug #18650 'Unexpected monitor focus changes'
fixed bug in 'Manager_setWindowMonitor(d) ' and 'Manager_setViewMonitor(d) '
fixed bug in 'Debug_setLogLevel(d)', if 'Debug_logLevel=0'
2012-10-16 18:09:17 +02:00
joten de1b284f14 standardized the checking of the active window 2012-10-14 23:16:34 +02:00
joten 7ba6efb080 fixed bug, which prevented bug.n from Main_reload, if the number of monitors changed 2012-10-14 17:59:42 +02:00
joten 7882684e74 implemented feature 'view margins' (i. a. for showing a part of the desktop, e. g. a sidebar) 2012-10-07 20:42:12 +02:00
joten 8fc99c95cf implemented feature 'single window action' (i. e. close or maximize) configured by rule 2012-10-07 16:29:45 +02:00
joten 23b4ef559f changed 'Config_shellMsgDelay' related in 'Manager_onShellMessage' 2012-10-07 14:40:14 +02:00
joten 3480edd566 refurbished 'tiledWndIds' 2012-10-07 14:04:27 +02:00
joten 0300514cec fixed bug regarding 'View_splitArea' and gapWidth 2012-10-07 13:47:08 +02:00
joten 0280aabfc7 reorganized 'View_arrange_*'
refurbished 'View.ahk'
2012-10-06 13:16:18 +02:00
joten 0486f91823 refurbished 'View.ahk' some more (tile) 2012-10-05 17:52:49 +02:00
joten 7c23816f29 refurbished 'View.ahk' some more 2012-10-05 15:32:09 +02:00
joten bd4b01f301 re-organized 'View_arrange' (reverted the split of arranging and setting the layout symbol)
re-integrated the floating layout
2012-10-04 21:09:20 +02:00
joten 177019b927 refurbished 'View.ahk', removed some unnecessary functions (one-liners) 2012-10-04 20:05:17 +02:00
joten 2021de2e7b refurbished 'View.ahk' (partly) 2012-10-03 23:18:17 +02:00
joten 8467e925bc refurbished 'Manager.ahk' some more 2012-10-03 22:21:57 +02:00
joten 3f93d70444 removed 'Log.ahk' (finally) 2012-10-03 21:39:33 +02:00
joten 19a6904a44 extended the default rule set 2012-10-03 21:27:09 +02:00
joten 6d65d97a1a refurbished 'Manager.ahk' 2012-10-03 21:05:09 +02:00
joten ed31dec9bf moved the string identifying a hung (ghost) window to the config
The german window title is different from the english one.
2012-10-03 20:21:02 +02:00
joten cd4d2a1b85 fixed bug in 'Debug.ahk' (+ minor changes) 2012-10-03 20:08:13 +02:00
joten 81556d4224 moved Manager_log*-functions to 'Debug.ahk' 2012-10-03 19:27:58 +02:00
joten a1ace64721 refurbished 'Monitor.ahk' 2012-10-02 21:07:09 +02:00
joten eb27dc22dd reviewed the changes from Josh
- reverted 'Monitor_moveWindow' partly to the previous version for floating windows
  - reverted the behaviour of 'Config_syncMonitorViews'
    (possibility to sync less than all monitors)
2012-10-02 20:50:48 +02:00
joten bb6f89a3d8 refurbished 'Bar.ahk' 2012-10-02 12:11:00 +02:00
joten 016f0463b4 fixed bug in the case of 'closing Bar_cmdGui and activating the next to last
window'
2012-10-01 22:31:00 +02:00
joten 39ccce432d fixed bug for the case 'vertical position of Bar_cmdGui and
Config_verticalBarPos=tray and task bar at top of monitor'
2012-10-01 21:48:24 +02:00
joten 65faa0b790 fixed bug for the case 'Main_reload() and Config_verticalBarPos=tray' 2012-10-01 21:20:45 +02:00
joten e8c4795ea9 replaced the explicit listing in 'Bar_cmdGui' with an input field and a
listing configurable in config.ini
2012-10-01 20:06:48 +02:00
joten 97c3ccb389 reviewed changes by Josh
reverted to old version of 'Bar_updateView'
Calculating the percentage with help of the string length is inprecise due to
different the string length of window IDs (at least 5-7).
2012-09-30 22:36:42 +02:00
joten 8a3f890f3e moved the helper functions for the resource monitoring to the analogous library 2012-09-30 21:16:31 +02:00
joten 2c01cb6f8b added the library 'ResourceMonitor.ahk' 2012-09-30 19:52:06 +02:00
joten ea332e413a moved the resource monitoring from 'Config_readinAny' to a library 2012-09-30 19:50:12 +02:00
joten a276043d59 refurbished 'Config.ahk'
removed the describing comments for configuration variables and hotkeys (duplicate regarding the documentation)
removed the rules for Gimp (not necessary for the latest version, 2.8)
2012-09-29 22:07:18 +02:00
joten b68451e9d3 refurbished 'Main.ahk' 2012-09-29 20:30:48 +02:00
joten 590017c0b0 re-written and moved Log.ahk to Debug.ahk (to be extended) 2012-09-28 17:46:17 +02:00
joten aa7ddae698 introduced 'Main_dataDir' as the target for config.ini and log.txt 2012-09-28 16:15:20 +02:00
joten 99b74ad39c moved the images from the sub- to the main root-directory 2012-09-28 15:54:06 +02:00
joten aaa9538f43 removed List.ahk from "#Include"
fixed a bug, which might have occured with the new version of AutoHotkey_L
2012-09-28 15:29:42 +02:00
joten 6c6c00533d removed List.ahk, related files and references (3 in total) 2012-09-28 14:23:34 +02:00
joten 67ab171e40 replaced 1 "Tab" with 2 "Space" (+ adjusting some glitches)
updated the copyright notice at the beginning of each script file
2012-09-27 22:32:27 +02:00
joten 0f6215b162 added feature: Associating names with views, which are shown in the status bar. 2012-09-06 22:53:15 +02:00
Joshua Fuhs 404c91f6ba Fix a bug that I introduced where rotating the stack axis can swap the X and Y master dimensions. 2012-07-20 23:02:09 -04:00
Joshua Fuhs 36432847bc Turn down the debug level on messages for which a bug has been fixed. 2012-07-13 11:23:19 -04:00
Joshua Fuhs 714a0b24c7 Fixed bug that didn't set a window's monitor correctly. 2012-07-13 10:01:37 -04:00
Joshua Fuhs af3dbbadf8 I really should test before committing. The debug calls didn't work 2012-07-12 13:35:58 -04:00
Joshua Fuhs f78c6e9f8e Add debug messages to track down a tricky bug. 2012-07-12 11:31:31 -04:00
Joshua Fuhs 9449b1a93f Can declare a hotkey in Config.ini that exits the app 2012-07-03 20:50:23 -04:00
Joshua Fuhs 1cab61ba16 Can declare a hotkey in Config.ini that exits the app 2012-07-03 20:23:35 -04:00
Joshua Fuhs 29e31ee74d Remove unnecessary log messages 2012-07-01 12:27:47 -04:00
Joshua Fuhs 761b7bbe2d Merge with head of official depot. 2012-07-01 00:48:57 -04:00
Joshua Fuhs e0c16bbe88 Remove new changelog because there's already a place to log changes 2012-06-30 23:55:12 -04:00
Joshua Fuhs e93f12c91e Updated documentation with respect to new multi-dimensional master area. 2012-06-30 15:39:32 -04:00
Joshua Fuhs 8d5d92952d Change _layoutMPri/_layoutMSec to _layoutMX/_layoutMY and update logic accordingly per perliminary review. 2012-06-30 14:27:56 -04:00
Joshua Fuhs fbaab8e3aa Elaborated on the help messages a bit. 2012-06-30 13:38:00 -04:00
Joshua Fuhs 643bf5b5ad Oops, committed without testing. Sure enough, there were bugs. 2012-06-30 13:37:37 -04:00
Joshua Fuhs 4ad41cb813 Update UI with new options. Left logging commented out because it might not be a feature that should be advertised. 2012-06-30 12:57:20 -04:00
Joshua Fuhs 809d91868a Use user data directory for logs. 2012-06-30 12:37:13 -04:00
Joshua Fuhs a6928208f6 Prepare for submission to project repository. 2012-06-30 12:24:48 -04:00
Joshua Fuhs fcc058b397 BID 2012-06-29 22:20:15 -04:00
Joshua Fuhs fbbecc71e8 Fix a bug where some guarded windows commands couldn't get to windows because they were hidden from the SendMessage command. Add more window logging 2012-06-27 23:34:19 -04:00
Joshua Fuhs 937fed87b9 Cycle through windows correctly when there are hung windows 2012-06-27 22:35:52 -04:00
Joshua Fuhs 034c9c007e BID 018641: Prevent a hang of bug.n due to a hang of an underlying window. The layout gets messed up because of the ghost windows, and cycling through the windows doesn't yet work right. 2012-06-27 22:00:32 -04:00
Joshua Fuhs c76742b25d Separate quit keys so they're less likely to be hit 2012-06-27 21:53:02 -04:00
Joshua Fuhs 315b1bfae4 Lots of logging changes 2012-06-26 12:52:44 -04:00
Joshua Fuhs b36b640aad - Keep a reference to each window's expected monitor. Using the screen position can cause windows to switch sides under the right circumstances.
- Some comments to help keep the onShellMessage function straight.
- Repositioned SetWinDelay calls to get better effect for everything.
- Fixed a bug where a windows activation of a window on another monitor would cause weird behavior.
2012-06-25 19:13:52 -04:00
Joshua Fuhs 986669f69a [Bug] Flipping along master axis didn't preserve sizes 2012-06-25 12:08:16 -04:00
Joshua Fuhs a738956012 Added support for a two-dimensional master area 2012-06-25 00:25:18 -04:00
Joshua Fuhs ef47899c5d Initialize monitors a little more intelligently by associating currently opened windows with the monitor on which they appear. 2012-06-24 18:04:41 -04:00
Joshua Fuhs 725b809787 Dump the list to an array 2012-06-24 17:56:16 -04:00
Joshua Fuhs ea230027a0 Bumped debug level for shell messages down one 2012-06-24 16:30:29 -04:00
Joshua Fuhs e4f2915c49 Break down rendering of the layouts into distinct drawing components. 2012-06-24 16:19:53 -04:00
Joshua Fuhs ac727ad742 List implementation to pull the list manipulation logic out of the codebase 2012-06-24 13:27:21 -04:00
Joshua Fuhs fb71e0d7dc Improved logging functionality. Different logs may not be specified and the log may be truncated upon initialization. 2012-06-24 13:26:45 -04:00
Joshua Fuhs 9c4e5dd34e Further separation of concerns. Manager_manage now accepts a 'suggested' monitor and window. This won't override configuration settings. 2012-06-24 13:19:15 -04:00
Joshua Fuhs 0b8a381846 Cleanup and continue to enforce the separation of layout vs. content 2012-06-23 22:38:26 -04:00
Joshua Fuhs 1284147a23 More separation of concerns. Improved the window pickup and redraw performance significantly. 2012-06-23 22:06:31 -04:00
Joshua Fuhs bce40f67e8 Separation of responsibilities. Enforce the 'window manipulation doesn't affect layout definition' mantra 2012-06-23 21:20:12 -04:00
Joshua Fuhs 4bf1aef3e6 Speed up view drawing by turning down the window delay time 2012-06-23 17:53:25 -04:00
Joshua Fuhs e60d23e6be Added a debug log message 2012-06-23 17:52:09 -04:00
Joshua Fuhs e28b5862a7 Debug logging changes. Allow for multiple logging levels 2012-06-23 16:58:29 -04:00
Joshua Fuhs de84ea6ac7 Fixed up layout symbol construction. Added some debug logging to catch a problem. 2012-06-23 14:16:17 -04:00
Joshua Fuhs 5631981e2e More log cleanup. Made switch to enable debug logging. 2012-06-23 14:08:58 -04:00
Joshua Fuhs 15b8fc2c84 Create debug log 2012-06-23 14:04:57 -04:00
Joshua Fuhs 10ab86187d Must hide before show because WinShow does not bring the new window to the top. This results in some odd looking view switches. 2012-06-23 00:43:26 -04:00
Joshua Fuhs 0aa4b31bae Simplify some math. 2012-06-23 00:36:00 -04:00
Joshua Fuhs a935d8d7cc Make gap width behavior match tile layout. 2012-06-22 23:47:59 -04:00
Joshua Fuhs 37b4ea2419 Correct the sign on monocle layout with gap width. 2012-06-22 23:45:09 -04:00
Joshua Fuhs cb1566d440 These changes prevent the user from viewing the resizing of windows from other screens. It may make the interface appear a bit more sluggish, though, since all of the rearranging must happen in the background. 2012-06-22 23:35:32 -04:00
Joshua Fuhs 043d14a569 Restoring the original flow of Monitor_activateView until I understand better how to optimize. 2012-06-22 23:27:54 -04:00
Joshua Fuhs 4e7da85ffc Cleanup and make consistent the redrawing of views and layout symbols 2012-06-22 23:11:52 -04:00
Joshua Fuhs 32e086c35a Allow for a wider layout description 2012-06-22 23:10:09 -04:00
Joshua Fuhs 750a281eac Dump info to the log. 2012-06-22 19:56:46 -04:00
Joshua Fuhs 8c2272bc80 Added logging of windows from a view 2012-06-22 19:56:13 -04:00
Joshua Fuhs 61641abdca Added bare logging 2012-06-22 19:55:33 -04:00
Joshua Fuhs 0666a89c50 Revert previous changeset since it did too much 2012-06-22 19:54:44 -04:00
Joshua Fuhs b263ba0daf Added bare logging capability 2012-06-22 19:45:39 -04:00
Joshua Fuhs e06afcd299 Hotkey correction 2012-06-22 18:09:54 -04:00
Joshua Fuhs 917cf2769d Hotkey consistency 2012-06-22 18:00:55 -04:00
Joshua Fuhs 8e5e42a653 Update the layout of the current view if it is re-activated. 2012-06-21 18:54:00 -04:00
Joshua Fuhs 5276471f49 Spelling corrections and layout consistency 2012-06-21 18:53:03 -04:00
Joshua Fuhs 60267c3338 Cleanup/optimization of view update code 2012-06-21 18:48:37 -04:00
Joshua Fuhs a82d486a35 Added some basic logging 2012-06-17 10:35:57 -04:00
Joshua Fuhs 65090c573c Making some shortcuts more reasonable 2012-06-17 10:35:44 -04:00
joten 65e20770f9 changed hotkeys for View_setGapWidth (compatibility to US-keyboard) 2012-06-17 16:32:48 +02:00
joten 421b18f779 added one more status fields (included in the readinAny-field):
Config_readinNetworkLoad (and the according functions)
2012-06-11 01:21:47 +02:00
joten 582ea2b84e added a comment in Manager.ahk
added the cleanup-code for Bar_getDiskLoad in Main.ahk
added two more status fields (included in the readinAny-field) in Bar.ahk and
        Config.ahk:
        | functions          | configuration variables  |
        |--------------------|--------------------------|
        | Bar_getDiskLoad    | Config_readinDiskLoad    |
        | Bar_getMemoryUsage | Config_readinMemoryUsage |
2012-06-08 23:29:08 +02:00
joten 8a4bd53b4a replaced the function Bar_getInteger with NumGet
minor changes
2012-06-08 22:14:08 +02:00
joten 95b66c4255 added feature: set the position for a new window on the view especially in tiled
layout (not only "first in the master area, but also last in the
               master, first or last in the stack area): Config_newWndPostition
2012-06-08 12:00:02 +02:00
joten ad0c3bcaa2 added feature: re-use WIN+L as a hotkey in bug.n by using the function Manager_lockWorkStation() 2012-06-06 21:14:40 +02:00
joten c6ad84087f added gaps for the "tile" layout (Config_layoutGapWidth and View_setGapWidth(d)) 2012-06-01 14:22:45 +02:00
joten 09676ce755 fixed bug: Set the background color of the status bar (title and clock) 2012-05-31 20:24:03 +02:00
joten 1dec51a91b removed the internal, manual revision number (subversion and last change date)
updated version number: 8.3.0
2012-05-31 17:44:05 +02:00
joten 8d8dfa6390 updated version number: 8.2.2.01
fixed bug: setting the active window of a view
2012-01-12 21:54:03 +01:00
joten d7700a8100 updated documentation (added features from earlier commitments)
updated list of changes for release 8.2.1
2012-01-08 19:12:49 +01:00
joten 01e5239b25 updated version: 8.2.1.02
fix bug        #018431: Immediate run-time errors running bug.n built from source
workaround bug #018364: Evernote: new note
feature        #005446: Reload function
2011-12-05 22:20:38 +01:00
joten 0a193919bb updated Manager_getWindow* functions to allow copying of the text to the clipboard 2011-09-21 13:33:06 +02:00
joten 923a5ba471 fixed bug: Save another AutoHotkeyGUI as the active window of a view. 2011-09-18 17:01:44 +02:00
joten 9ff5ef80bf updated docs: generalized header and footer for html and txt
fixed   docs: links
fixed    bug: #18356 (Missing bar elements on Windows XP.)
updated     : version to 8.2.1
2011-09-14 20:30:17 +02:00
joten 963951ff6a updated documentation (formatting errors) 2011-09-03 00:16:14 +02:00
joten c64ce96ec1 updated version (8.2.0.03)
release 8.2.0
2011-09-02 19:46:07 +02:00
joten aeaa677f95 initial committal (8.2.0.03) 2011-07-27 19:43:34 +02:00