Commit Graph

36 Commits

Author SHA1 Message Date
Corey Johnson & Nathan Sobo
27d2d14414 Carry CEF1 directories over to CEF3 2012-08-31 10:43:21 -07:00
Nathan Sobo
c2c8724ad0 Initial commit 2012-08-10 13:32:19 -06:00
Kevin Sawicki
b010570ec4 Remove old native method registration 2012-08-23 11:40:50 -07:00
Corey Johnson
168bcee096 Merge pull request #36 from github/native-handler.js
Move native function declarations to js file
2012-08-23 10:47:51 -07:00
Kevin Sawicki
29b0b9c10c Implement lastModified in Linux native handler 2012-08-22 15:56:08 -07:00
Kevin Sawicki
b3200a944f Move native function declarations to js file
This allows multiple native handlers to load it
as an extension without duplicating all the expected
native function calls names internally.
2012-08-22 15:10:37 -07:00
Kevin Sawicki
d665b39db7 Rename myfile variable to file 2012-08-22 14:10:57 -07:00
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
1455b949ab Use BUFFER_SIZE constant for all buffer lengths 2012-08-21 18:54:58 -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
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
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
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
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
26acc92e86 Sort directory entries alphabetically 2012-08-01 10:00:38 -07:00
Kevin Sawicki
4add3932c9 Store clipboard so it is available after atom quits 2012-08-01 09:56:39 -07:00
Kevin Sawicki
c28b93c51b Add support for reading from clipboard 2012-08-01 09:56:39 -07:00
Kevin Sawicki
0cf96c97b0 Add support for copying to clipboard 2012-08-01 09:56:39 -07:00
Kevin Sawicki
0ac5696836 Add support for writing files 2012-08-01 09:56:39 -07:00
Kevin Sawicki
e3e296b885 Add support for recursive directory listing 2012-08-01 09:56:39 -07:00
Kevin Sawicki
f1b6bf152d Support opening files from dialog 2012-08-01 09:56:38 -07:00
Kevin Sawicki
2c050bfb75 Set selected filename to retval 2012-08-01 09:56:38 -07:00
Kevin Sawicki
b2b81815e6 Add initial stubbed openDialog implementation 2012-08-01 09:56:38 -07:00
Kevin Sawicki
a393f02d5a Initial work towards a Linux build 2012-08-01 09:54:32 -07:00