Cheng Zhao 
								
							 
						 
						
							
							
								
							
							
	13c0a05fdd  
						 
						
							
							
								
								
								Add popup method for Menu.  
							
							
							
						 
						
							2013-05-14 16:50:56 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Cheng Zhao 
								
							 
						 
						
							
							
								
							
							
	85e22c0709  
						 
						
							
							
								
								
								Expose dialog.showMessageBox API.  
							
							
							
						 
						
							2013-05-10 21:19:13 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Cheng Zhao 
								
							 
						 
						
							
							
								
							
							
	34e9132b68  
						 
						
							
							
								
								
								Modify Window API to be more consistent.  
							
							... 
							
							
							
							* '_' becomes '-'
* removes 'position' field
* adds 'center' method. 
							
						 
						
							2013-05-10 20:34:05 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Cheng Zhao 
								
							 
						 
						
							
							
								
							
							
	e6a9add691  
						 
						
							
							
								
								
								Rename atom module to atom_delegate to avoid conflicts with Atom.  
							
							
							
						 
						
							2013-05-07 20:33:50 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Cheng Zhao 
								
							 
						 
						
							
							
								
							
							
	ffc0d4f516  
						 
						
							
							
								
								
								Fix whitespace/line_length warnings of cpplint.  
							
							
							
						 
						
							2013-05-07 11:43:21 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Cheng Zhao 
								
							 
						 
						
							
							
								
							
							
	dae98fa43f  
						 
						
							
							
								
								
								Expose MenuModel's methods in js.  
							
							
							
						 
						
							2013-05-07 00:03:34 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Cheng Zhao 
								
							 
						 
						
							
							
								
							
							
	7cc04035c4  
						 
						
							
							
								
								
								Add Menu API. (WIP)  
							
							
							
						 
						
							2013-05-06 20:27:09 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Cheng Zhao 
								
							 
						 
						
							
							
								
							
							
	5915591592  
						 
						
							
							
								
								
								Pass the native window object directly in native dialog API.  
							
							
							
						 
						
							2013-05-05 20:36:46 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Cheng Zhao 
								
							 
						 
						
							
							
								
							
							
	67f998357c  
						 
						
							
							
								
								
								Make the CallbacksRegistry a separate module, though rather small.  
							
							
							
						 
						
							2013-05-05 20:30:38 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Cheng Zhao 
								
							 
						 
						
							
							
								
							
							
	f725927c44  
						 
						
							
							
								
								
								Use cross-platform callbacks in the dialog API.  
							
							
							
						 
						
							2013-05-05 20:24:20 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Cheng Zhao 
								
							 
						 
						
							
							
								
							
							
	ec43f740a7  
						 
						
							
							
								
								
								Add the generialized showMessageBox API.  
							
							
							
						 
						
							2013-05-03 21:03:26 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Cheng Zhao 
								
							 
						 
						
							
							
								
							
							
	4aeb5e1388  
						 
						
							
							
								
								
								Add dialog API.  
							
							... 
							
							
							
							Supported APIs:
* openFile
* openMultiFiles
* openFolder
* saveAs
Each API is asynchronous and accepts a callback. 
							
						 
						
							2013-05-03 19:31:24 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Cheng Zhao 
								
							 
						 
						
							
							
								
							
							
	42f10a15d5  
						 
						
							
							
								
								
								URL => Url, ID => Id in coffee script.  
							
							
							
						 
						
							2013-05-03 15:36:25 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Cheng Zhao 
								
							 
						 
						
							
							
								
							
							
	9b75019898  
						 
						
							
							
								
								
								Add 'quit' and 'window-all-closed' events for app module.  
							
							
							
						 
						
							2013-05-03 10:53:54 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Cheng Zhao 
								
							 
						 
						
							
							
								
							
							
	66404b5f15  
						 
						
							
							
								
								
								Add the 'app' built-in module.  
							
							
							
						 
						
							2013-05-03 00:05:09 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Cheng Zhao 
								
							 
						 
						
							
							
								
							
							
	21df63fc9b  
						 
						
							
							
								
								
								Add 'closed' and 'destroyed' event for Window.  
							
							
							
						 
						
							2013-05-02 18:19:07 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Cheng Zhao 
								
							 
						 
						
							
							
								
							
							
	afe07521c5  
						 
						
							
							
								
								
								Correctly handle window's lifetime when it's closed.  
							
							
							
						 
						
							2013-05-01 23:28:01 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Cheng Zhao 
								
							 
						 
						
							
							
								
							
							
	6c21121001  
						 
						
							
							
								
								
								Avoid using destoryed native objects in js API.  
							
							
							
						 
						
							2013-04-29 19:38:18 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Cheng Zhao 
								
							 
						 
						
							
							
								
							
							
	948e50285d  
						 
						
							
							
								
								
								Use camelCase not under_score, I forgot it's coffee script.  
							
							
							
						 
						
							2013-04-27 19:13:24 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Cheng Zhao 
								
							 
						 
						
							
							
								
							
							
	cc921fed1e  
						 
						
							
							
								
								
								Add remote.getObject API to get object in browser by it's ID.  
							
							
							
						 
						
							2013-04-26 22:25:30 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Cheng Zhao 
								
							 
						 
						
							
							
								
							
							
	bcfec7c8cd  
						 
						
							
							
								
								
								Notify creation and destruction of native objects.  
							
							
							
						 
						
							2013-04-25 20:23:00 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Cheng Zhao 
								
							 
						 
						
							
							
								
							
							
	0692776020  
						 
						
							
							
								
								
								No more C++ RecordedObject and ObjectsRegistry code.  
							
							... 
							
							
							
							All RPC API will be implemented in pure javascript. 
							
						 
						
							2013-04-25 15:02:58 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Cheng Zhao 
								
							 
						 
						
							
							
								
							
							
	d723173bc7  
						 
						
							
							
								
								
								Initial RPC API implementation.  
							
							... 
							
							
							
							Basic usage is:
remote = require 'remote'
Window = remote.require 'window'
w = new Window { width: 800, height: 600 }
Still need to do:
* Beter support for Array type.
* Remote objects should cheat devtools.
* Support cross-process callbacks. 
							
						 
						
							2013-04-24 16:43:01 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Cheng Zhao 
								
							 
						 
						
							
							
								
							
							
	1b87a31940  
						 
						
							
							
								
								
								Add ipc.sendSync in renderer.  
							
							
							
						 
						
							2013-04-23 21:52:19 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Cheng Zhao 
								
							 
						 
						
							
							
								
							
							
	8f0b2b6363  
						 
						
							
							
								
								
								small tune of IPC interface.  
							
							
							
						 
						
							2013-04-23 20:57:14 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Cheng Zhao 
								
							 
						 
						
							
							
								
							
							
	d28f51fb9c  
						 
						
							
							
								
								
								Add getRoutingID and getProcessID for window API.  
							
							
							
						 
						
							2013-04-23 17:21:34 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Cheng Zhao 
								
							 
						 
						
							
							
								
							
							
	16244e42e0  
						 
						
							
							
								
								
								Use require('ipc').send to communicate between browser and renderer.  
							
							
							
						 
						
							2013-04-23 12:18:07 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Cheng Zhao 
								
							 
						 
						
							
							
								
							
							
	c22d927b6f  
						 
						
							
							
								
								
								Messages from renderer will be emitted to the process object in browser.  
							
							
							
						 
						
							2013-04-22 22:24:02 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Cheng Zhao 
								
							 
						 
						
							
							
								
							
							
	66a0abe799  
						 
						
							
							
								
								
								Renderer can now use process.send to send messages to browser.  
							
							
							
						 
						
							2013-04-22 21:32:48 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Cheng Zhao 
								
							 
						 
						
							
							
								
							
							
	db0717851d  
						 
						
							
							
								
								
								Simpler way of inheriting EventEmitter.  
							
							
							
						 
						
							2013-04-22 16:11:56 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Cheng Zhao 
								
							 
						 
						
							
							
								
							
							
	ebf5bf2d19  
						 
						
							
							
								
								
								Remove recorded object from registry in desturctor.  
							
							
							
						 
						
							2013-04-21 16:27:30 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Cheng Zhao 
								
							 
						 
						
							
							
								
							
							
	5948bff23f  
						 
						
							
							
								
								
								Share same native bindings code on both renderer and browser.  
							
							
							
						 
						
							2013-04-21 14:53:26 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Cheng Zhao 
								
							 
						 
						
							
							
								
							
							
	993cf1cc61  
						 
						
							
							
								
								
								Add API messages for IPC.  
							
							
							
						 
						
							2013-04-21 11:01:04 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Cheng Zhao 
								
							 
						 
						
							
							
								
							
							
	683087fbc4  
						 
						
							
							
								
								
								Record all objects created by API in browser.  
							
							
							
						 
						
							2013-04-20 21:52:46 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Cheng Zhao 
								
							 
						 
						
							
							
								
							
							
	5fb5ce2251  
						 
						
							
							
								
								
								Enable creating window with existing web contents.  
							
							
							
						 
						
							2013-04-20 13:42:39 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Cheng Zhao 
								
							 
						 
						
							
							
								
							
							
	53dd742632  
						 
						
							
							
								
								
								Add Window.url API.  
							
							
							
						 
						
							2013-04-19 00:06:10 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Cheng Zhao 
								
							 
						 
						
							
							
								
							
							
	d3e4db7ba3  
						 
						
							
							
								
								
								Emit 'page-title-updated' as javascript event for window.  
							
							
							
						 
						
							2013-04-18 23:50:47 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Cheng Zhao 
								
							 
						 
						
							
							
								
							
							
	1309d04ca7  
						 
						
							
							
								
								
								Emulate DOM's Event class.  
							
							
							
						 
						
							2013-04-18 21:42:20 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Cheng Zhao 
								
							 
						 
						
							
							
								
							
							
	d508f711c6  
						 
						
							
							
								
								
								Add convenient accessors for Window API.  
							
							
							
						 
						
							2013-04-18 15:57:53 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Cheng Zhao 
								
							 
						 
						
							
							
								
							
							
	100c4a426b  
						 
						
							
							
								
								
								Complete a few APIs for getters.  
							
							
							
						 
						
							2013-04-18 15:38:04 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Cheng Zhao 
								
							 
						 
						
							
							
								
							
							
	d06472b092  
						 
						
							
							
								
								
								Add partial APIs for WebContents and NavigationController.  
							
							
							
						 
						
							2013-04-18 15:09:53 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Cheng Zhao 
								
							 
						 
						
							
							
								
							
							
	257e439efb  
						 
						
							
							
								
								
								Add GetTitle for window API.  
							
							
							
						 
						
							2013-04-18 14:30:05 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Cheng Zhao 
								
							 
						 
						
							
							
								
							
							
	df50cc08d6  
						 
						
							
							
								
								
								Expose interface of NativeWindow in javascript.  
							
							
							
						 
						
							2013-04-17 22:49:49 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Cheng Zhao 
								
							 
						 
						
							
							
								
							
							
	60528e53ee  
						 
						
							
							
								
								
								Use JavaScript to open the main window.  
							
							
							
						 
						
							2013-04-17 20:05:43 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Cheng Zhao 
								
							 
						 
						
							
							
								
							
							
	7da34e65f7  
						 
						
							
							
								
								
								Initial empty window javascript binding.  
							
							
							
						 
						
							2013-04-16 00:25:08 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Cheng Zhao 
								
							 
						 
						
							
							
								
							
							
	488d72e41b  
						 
						
							
							
								
								
								Internal built-in module code should be wrapped under api namespace.  
							
							
							
						 
						
							2013-04-15 23:01:12 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Cheng Zhao 
								
							 
						 
						
							
							
								
							
							
	ef2056c3f5  
						 
						
							
							
								
								
								Initial javascript startup code.  
							
							
							
						 
						
							2013-04-15 15:39:54 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Cheng Zhao 
								
							 
						 
						
							
							
								
							
							
	0d8c4dde97  
						 
						
							
							
								
								
								💄  for cpplint.  
							
							
							
						 
						
							2013-04-14 17:33:44 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Cheng Zhao 
								
							 
						 
						
							
							
								
							
							
	0f6ece2d27  
						 
						
							
							
								
								
								Add our own built-in native module system.  
							
							
							
						 
						
							2013-04-14 15:36:48 +08:00