Commit Graph

6227 Commits

Author SHA1 Message Date
Kevin Sawicki
0aa28cbfac Pre-resolve paths used in task bootstrap 2013-09-20 10:02:20 -07:00
Kevin Sawicki
cc4477185f Resolve bootstrap script to make it absolute 2013-09-20 10:02:20 -07:00
Kevin Sawicki
8fec056895 Remove src from NODE_PATH 2013-09-20 10:02:20 -07:00
Kevin Sawicki
41fc4f7fe6 Use relative require paths in src/ files 2013-09-20 10:02:20 -07:00
Kevin Sawicki
e9db2cfe17 Remove vendor prefix from bootstrap path 2013-09-20 10:02:19 -07:00
Kevin Sawicki
c7a0a4bcd9 Use relative require paths in specs 2013-09-20 10:02:19 -07:00
Kevin Sawicki
9915ba73b8 Remove spec/ from NODE_PATH 2013-09-20 10:02:19 -07:00
Kevin Sawicki
864ebf5c36 Remove vendor/ from NODE_PATH
Add jQuery temporarily to exports to not break packages
2013-09-20 10:02:19 -07:00
Kevin Sawicki
57eaaece9d Set fs extensions to override fs functions 2013-09-20 10:02:19 -07:00
Kevin Sawicki
595bd076bf Export all fs functions through fs-utils 2013-09-20 10:02:19 -07:00
Kevin Sawicki
7e6ee6cc0c Use relative require paths to stylesheets 2013-09-20 10:02:18 -07:00
Kevin Sawicki
4bbc93e806 Remove static from NODE_PATH 2013-09-20 10:02:18 -07:00
Kevin Sawicki
53dadf2d7f Use relative requires to vendored stringscore 2013-09-20 10:02:18 -07:00
Kevin Sawicki
867ab355b0 Use relative requires to vendored specificity 2013-09-20 10:02:18 -07:00
Kevin Sawicki
a7afe7b46f Add underscore, jQuery, and SpacePen to exports 2013-09-20 10:02:18 -07:00
Kevin Sawicki
d322f9a5fa Add exports folder to NODE_PATH
This is where all public classes will be exported through
2013-09-20 10:02:18 -07:00
probablycorey
924bad6e53 Remove keybindings for commands that mini editors don't use 2013-09-19 14:44:12 -07:00
probablycorey
82de7009d5 Allow for case insensitive project.scan searches 2013-09-18 14:41:38 -07:00
Cheng Zhao
e509e23a0f Merge pull request #852 from atom/ime-support
Improve IME support
2013-09-17 23:09:18 -07:00
Kevin Sawicki
f5c5ca0a55 Hide window immediately when closing
Previously the body element would be hidden causing a white flash
before the window was closed.

Now the window is hidden during beforeunload unless it is in the middle
of a restart.
2013-09-17 11:00:58 -07:00
Cheng Zhao
faffc09f7a Merge pull request #844 from atom/custom-resource-loader
Add custom resource loader, fixes #197
2013-09-16 18:44:21 -07:00
Kevin Sawicki
3fee026d04 Don't load keymaps, grammars, or properties for themes
Theme packages are just stylesheets and previously all themes had
their stylesheets loaded even when there weren't being used.
2013-09-16 18:38:46 -07:00
Kevin Sawicki
74e8614653 💄 Use theme as variable name instead of t 2013-09-16 18:34:59 -07:00
Ben Ogle
b1bd387aee Remove parens 2013-09-16 18:09:45 -07:00
Ben Ogle
1ba04cb58a Reverse the loading order of themes.
We want the first/top-most theme's css to be loaded after the others 
so its styles will override styles in the other themes.
2013-09-16 18:09:01 -07:00
Kevin Sawicki
46b0c8087e Remove bootstrap from LESS search path 2013-09-16 16:32:21 -07:00
Kevin Sawicki
9ea1ad7ce9 Use resolvable path to bootstrap stylesheet 2013-09-16 16:31:51 -07:00
Kevin Sawicki
bb479f47d9 Put vendor/bootstrap/less instead of vendor/ on less search path 2013-09-16 16:16:05 -07:00
Kevin Sawicki
02f0bfb0e0 💄 2013-09-16 15:05:54 -07:00
Kevin Sawicki
0d8411dbbb Prebuild LESS cache for common theme configurations 2013-09-16 14:58:25 -07:00
Kevin Sawicki
c8fc7b8400 Delete less cache from partial-clean task 2013-09-16 14:40:39 -07:00
Kevin Sawicki
ad381087dd Cache compiled LESS files 2013-09-16 14:40:39 -07:00
Matt Colyer
134510dfe1 Move old Theme specs and apply them to AtomPackage. 2013-09-16 12:15:09 -07:00
Kevin Sawicki
a234ed96bd Remove themes paths from config
Themes are now co-located with packages
2013-09-16 08:34:03 -07:00
Cheng Zhao
486de96751 Make accented character suggestion work for multiple cursors. 2013-09-16 18:05:44 +08:00
Cheng Zhao
80244a1ae7 Work around of the accented character suggestion feature in OS X.
On OS X, press and hold `c` could show an accent menu to replace `c` with
accented ones like `ć`, there is no corresponding events in W3C, so we
detected it by checking whether the text in input box are selected (this
is how Chrome implemented this feature).

And also note that IME inputs were handled the same way in Chrome, the
compostion text would be marked as selected and got replaced with final
inputs. However the compostion text won't trigger textInput event, so
it's distinguished by checking whether the hiddenInput's value are
changed by Chrome.

Fixes atom/atom-shell#50.
2013-09-16 15:54:25 +08:00
Cheng Zhao
54e25677b6 Restore previous selected text after IME composition is done. 2013-09-16 10:44:15 +08:00
Cheng Zhao
f4e3f7a055 Skip the undo stack when changing composition text. 2013-09-16 10:43:34 +08:00
Cheng Zhao
dee9cce2e3 Select the text while inserting. 2013-09-14 20:20:45 +08:00
Cheng Zhao
a92a65929a Make hiddentInput bigger when inputing with IME.
Some IME's input bubble would have strange behavior when they thought
the target input box is small.
2013-09-14 20:10:36 +08:00
Cheng Zhao
c9d4c761bb Show IME's composition text on screen.
The composition text should only show on screen temporarily and gets
disappered when input is cancelled or done. We simply mark the
composition as selected, so it can not only indicate this is composition
text instead of normal text, but also updates the composition without
adding new interfaces.
2013-09-14 19:52:39 +08:00
Cheng Zhao
0c839f419a Move hidden input to the same position with cursor view.
This is required to make IME's input bubble follow the cursor.
2013-09-14 18:22:34 +08:00
Cheng Zhao
1b4be18dd7 Add ~/.atom/packages to the resource load path. 2013-09-14 11:07:00 +08:00
Cheng Zhao
656793108c Add the "atom://" custom protocol handler. 2013-09-14 11:04:15 +08:00
Matt Colyer
c413f024f2 Make the build green 2013-09-13 16:21:26 -07:00
Matt Colyer
a4fd23b645 Remove unused Theme class 2013-09-13 13:50:25 -07:00
Matt Colyer
1361ec6ec1 Ensure that theme styles are applied after packages 2013-09-13 12:13:32 -07:00
Matt Colyer
708c760c6c Implement index.less/css fallback for themes 2013-09-13 12:13:32 -07:00
Matt Colyer
b1675714e6 Load themes after packages, since we depend on them 2013-09-13 12:13:32 -07:00
Matt Colyer
a4dedeb92d Use packages to load themes 2013-09-13 12:13:32 -07:00