Commit Graph

90 Commits

Author SHA1 Message Date
Kevin Sawicki
f778345b3a Add support for requiring a platform-specific stylesheet
Add a getPlatform method to the native object that
is used for requiring the platform stylesheet from
within window.coffee after the atom.css is required.

This is used to provide non-native scrollbars on Linux
for an improved look and feel.
2012-08-22 13:43:46 -07:00
Kevin Sawicki
dcd42316aa DRY up how native IO is performed
Introduce a new io_utils class with helpers
2012-08-22 13:05:29 -07:00
Kevin Sawicki
9ef2c3698d Add initial support for Oniguruma regular expressions
Register a v8 extension on initial load that implements
the native API defined in onig-reg-exp-extension.js
2012-08-22 11:40:02 -07:00
Kevin Sawicki
ffa3144023 Copy themes folder in install target 2012-08-22 08:59:14 -07:00
Kevin Sawicki
d28f0b1d7b Remove extra newline 2012-08-21 19:03:13 -07:00
Kevin Sawicki
1455b949ab Use BUFFER_SIZE constant for all buffer lengths 2012-08-21 18:54:58 -07:00
Kevin Sawicki
13eed2f6e6 Add initial oniguruma class 2012-08-21 18:34:54 -07:00
Kevin Sawicki
79d220533d Add oniguruma library to LIBS 2012-08-21 18:12:19 -07:00
Kevin Sawicki
fcd8e6396a Compile require.coffee during install target 2012-08-21 17:53:59 -07:00
Kevin Sawicki
a9e130c867 Copy bundles folder in install target 2012-08-21 17:47:41 -07:00
Kevin Sawicki
1edd9973d2 Add Linux implementation of md5ForPath native call 2012-08-01 11:17:12 -07:00
Kevin Sawicki
f791942af7 De-tab .cpp and .h files 2012-08-01 10:09:59 -07:00
Kevin Sawicki
4bccaac37c Remove unused commented out define 2012-08-01 10:00:40 -07:00
Kevin Sawicki
66913276e4 Remove unused GetLogFile method
Logging is done to standard out and the Developer
Tools Console tab
2012-08-01 10:00:40 -07:00
Kevin Sawicki
1257ba12c9 Remove unused drag start/enter callbacks 2012-08-01 10:00:40 -07:00
Kevin Sawicki
f8bd37c929 Remove unused DOM visitor tracking 2012-08-01 10:00:40 -07:00
Kevin Sawicki
d736062899 Remove unused CefPermissionHandler implementation 2012-08-01 10:00:40 -07:00
Kevin Sawicki
bb73af22e2 Remove console.log from .gitignore file
Errors now go only to standard out and the Developer
Tools Console tab
2012-08-01 10:00:40 -07:00
Kevin Sawicki
d31fb1ad83 Use gthread instead of pthread
Experiment with using the built-in glib support
for threads
2012-08-01 10:00:40 -07:00
Kevin Sawicki
ae2389cff9 Make path watching fields private 2012-08-01 10:00:40 -07:00
Kevin Sawicki
44a028bb95 Add support for watchPath and unwatchPath
Use inotify to read a stream of events to one or more
watched paths on a separate background pthread
2012-08-01 10:00:40 -07:00
Kevin Sawicki
b8cf8355ba Clean up segment processing loop 2012-08-01 10:00:40 -07:00
Kevin Sawicki
5f03bce16f Use single append call to separate messages 2012-08-01 10:00:40 -07:00
Kevin Sawicki
a914b73f15 Consistently name stat output variable 2012-08-01 10:00:40 -07:00
Kevin Sawicki
1b70886143 Combine client_handler_gtk.cpp into client_handler.cpp
No reason to have separate gtk-specific client
handler extension since entire source tree is
Linux specific.
2012-08-01 10:00:40 -07:00
Kevin Sawicki
61d865f369 Add spec-install target
This runs the traditional install but also copies
the spec folder to the install directory.
2012-08-01 10:00:39 -07:00
Kevin Sawicki
d5d7325bc9 Remove unneeded cefclient.h and cefclient.cpp files 2012-08-01 10:00:39 -07:00
Kevin Sawicki
cce9a159b2 Use entry path when deleting file 2012-08-01 10:00:39 -07:00
Kevin Sawicki
3aaaef2cc1 Add support for displaying alerts 2012-08-01 10:00:39 -07:00
Kevin Sawicki
151d2cf8c5 Use relative path when tokenizing segments
Previously the raw path was used which may not have
had a resolved home directory included in it.
2012-08-01 10:00:39 -07:00
Kevin Sawicki
6f368f1be4 Add initial support for removing path 2012-08-01 10:00:39 -07:00
Kevin Sawicki
a8b72d3806 Fully support resolving absolute paths 2012-08-01 10:00:39 -07:00
Kevin Sawicki
7e2eb5414d Use realpath to resolve paths 2012-08-01 10:00:39 -07:00
Kevin Sawicki
2cbe4e7f0d Add support for moving a resource 2012-08-01 10:00:39 -07:00
Kevin Sawicki
b768d55dd2 Add support for creating a directory 2012-08-01 10:00:39 -07:00
Kevin Sawicki
6ac99c458c Add support for asyncList
Modeled after Objective-C implementation
2012-08-01 10:00:39 -07:00
Kevin Sawicki
d04171923e Only recurse for entries that are directories 2012-08-01 10:00:39 -07:00
Kevin Sawicki
57c18e784e Create bootstrap script for atom in single window mode 2012-08-01 10:00:39 -07:00
Kevin Sawicki
d29926304a Use get_current_dir_name to get working directory 2012-08-01 10:00:39 -07:00
Kevin Sawicki
527db661d8 Log console message to standard out 2012-08-01 10:00:39 -07:00
Kevin Sawicki
eaea5ad2d8 Remove unneeded includes 2012-08-01 10:00:39 -07:00
Kevin Sawicki
8e530b85a1 Add missing return statement 2012-08-01 10:00:39 -07:00
Kevin Sawicki
30778b0833 Don't log console messages to file. 2012-08-01 10:00:39 -07:00
Kevin Sawicki
281a8a20cf Remove unused methods 2012-08-01 10:00:39 -07:00
Kevin Sawicki
aaca57ff7b Remove unneeded switches class 2012-08-01 10:00:39 -07:00
Kevin Sawicki
0aeb0b6a56 Don't do the sudo'ing in the Makefile 2012-08-01 10:00:39 -07:00
Kevin Sawicki
b0489810cc Add install target to Makefile
Install atom into /usr/local/atom and adds a 
symlink for /usr/local/bin/atom
2012-08-01 10:00:39 -07:00
Kevin Sawicki
e7a5ff12cf Set default window size to 800x600
This will be the size that the window becomes when
initially unmaximized
2012-08-01 10:00:38 -07:00
Kevin Sawicki
26acc92e86 Sort directory entries alphabetically 2012-08-01 10:00:38 -07:00
Kevin Sawicki
6984bd76e0 Use PNG instead ICO for window icon 2012-08-01 10:00:38 -07:00