Allan Odgaard
cc446d98e5
Don’t let HTML output window itself keep track of open windows
2014-03-10 12:40:18 +07:00
Allan Odgaard
ee405e740f
Refactor HTMLOutputWindow: Use properties and argument free init
2014-03-09 10:01:52 +07:00
Allan Odgaard
aa9b2a4b06
Use (custom) block based API for showing sheet
2014-03-09 10:01:52 +07:00
Allan Odgaard
09e5d88437
Refactor OakHTMLOutputView
2014-03-09 10:01:51 +07:00
Allan Odgaard
1e11a30a53
Remove redundant storage keywords for @property
...
These were required prior to the new 64 bit run-time.
2014-03-05 16:39:54 +07:00
Allan Odgaard
7287fc7359
Indicate that Find and HTML output are auxiliary windows
...
This doesn’t seem to change anything wrt. behavior, but perhaps it will in the future.
2014-02-09 23:09:21 +07:00
Allan Odgaard
e4a5db0f3b
Only first call to window.close() would have an effect
...
This is a workaround for https://bugs.webkit.org/show_bug.cgi?id=121232
2013-09-12 23:46:04 +02:00
Allan Odgaard
f251c0b7d3
Do not re-use closed HTML output windows
2013-09-12 23:46:04 +02:00
Allan Odgaard
2f72f84ae5
Add leak watcher and some debug output
2013-09-12 23:46:04 +02:00
Allan Odgaard
1c308c810d
Use map::emplace instead of inserting std::pair (C++11)
2013-09-05 20:59:11 +02:00
Allan Odgaard
6d1c334785
Add ability to close HTML output window on ⌃⌥⌘H
2013-08-21 13:44:17 +02:00
Allan Odgaard
ffb900deb1
Add missing include
2013-05-16 21:36:49 +07:00
Allan Odgaard
e1ff0ceaff
Move already open find/HTML windows to active space
...
This is only when invoking the “order front” action and the window is already showing on another space.
2013-04-28 11:46:35 +07:00
Allan Odgaard
2c6504b82f
Use symbolic constants for binding properties
2013-03-03 15:53:05 +01:00
Allan Odgaard
8ef92c29f9
Set bottom border for HTML window
2013-02-12 15:49:53 +01:00
Allan Odgaard
5c1eb0ae3e
Use command name as title for output windows
...
The command can set a custom title so this is only for commands that doesn’t do that.
2013-01-25 13:15:36 +01:00
Allan Odgaard
4590a77a71
Switch HTML output window back to NSWindow
...
The motivation for using a panel was to avoid the window from becoming main (so key equivalents would be sent to the document window, if not handled by the HTML output window). Unfortunately window ordering ignores non-main windows when a window is closed meaning that bringing up the Find dialog from an HTML output window and then closing it, would bring the current main window to front, eclipsing the HTML output window.
2013-01-22 10:15:29 +01:00
Allan Odgaard
e325e26df5
fixup! Make HTML output window a panel
2013-01-10 06:40:03 +01:00
Allan Odgaard
03cf1fefb0
Make HTML output window a panel
...
This allows the main (document) window to handle menu keys (which are not handled by the HTML output window controller).
2013-01-08 22:48:08 +01:00
Allan Odgaard
987b12f694
Public API to make HTML output windows reusable
2013-01-08 22:48:08 +01:00
Allan Odgaard
934ec2de5c
Set window delegate to nil before we disappear
...
There are places where we iterate through the delegates of NSApp’s ordered windows. Since the window may stay around longer than it’s (NSWindowController) delegate, we should be sure to set NSWindow’s delegate property to nil.
2013-01-03 06:43:46 +01:00
Allan Odgaard
71be61cbbb
Enable ARC by default
...
We now explicitly disable it for targets that hasn’t yet been upgraded to ARC. This way, it’s easier to get an overview of which targets hasn’t yet been upgraded and ensures new targets has ARC enabled.
2012-12-19 19:42:36 +01:00
Allan Odgaard
962bf5149b
ARC: Update HTMLOutputWindow framework
2012-09-24 20:58:43 +02:00
Jacob Bandes-Storch
dfdde3283f
Use 64-bit: explicit visibility where required
2012-08-28 21:32:47 +02:00
Allan Odgaard
9894969e67
Initial commit
2012-08-09 16:25:56 +02:00