Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 2.0, 2.0.1, and 2.0.2

stable Merge

Changeset 4bff4f6eeb51

Parents dcffdbc16e16

Parents 50685b25e69c

by Steve Borho

Changes to 2 files · Browse files at 4bff4f6eeb51 Showing diff from parent dcffdbc16e16 50685b25e69c Diff from another changeset...

 
109
110
111
 
112
113
114
 
141
142
143
 
144
145
146
 
147
148
149
 
174
175
176
 
177
178
179
180
181
182
 
183
184
185
 
207
208
209
 
 
 
210
211
212
 
407
408
409
410
 
411
412
413
414
 
415
416
417
 
109
110
111
112
113
114
115
 
142
143
144
145
146
147
148
149
150
151
152
 
177
178
179
180
181
182
183
184
185
 
186
187
188
189
 
211
212
213
214
215
216
217
218
219
 
414
415
416
 
417
418
419
420
421
422
423
424
425
@@ -109,6 +109,7 @@
   class MainWindow:   def __init__(self): + self.pipethread = None   msg_TaskbarRestart = RegisterWindowMessage("TaskbarCreated");   message_map = {   msg_TaskbarRestart: self.OnRestart, @@ -141,9 +142,11 @@
  self.start_pipe_server()     def OnRestart(self, hwnd, msg, wparam, lparam): + logger.msg("MainWindow.OnRestart")   self._DoCreateIcons()     def OnDestroy(self, hwnd, msg, wparam, lparam): + logger.msg("MainWindow.OnDestroy")   nid = (self.hwnd, 0)   try:   Shell_NotifyIcon(NIM_DELETE, nid) @@ -174,12 +177,13 @@
  print "Unknown command -", id     def exit_application(self): + logger.msg("MainWindow.exit_application")   if self.stop_pipe_server():   DestroyWindow(self.hwnd)   logger.msg("Goodbye")     def stop_pipe_server(self): - logger.msg("Stopping pipe server...") + logger.msg("MainWindow.stop_pipe_server")   if not self.pipethread.isAlive():   logger.msg("pipethread is not alive")   return True @@ -207,6 +211,9 @@
  return True     def start_pipe_server(self): + if self.pipethread is not None: + return +   def servepipe():   self.svc = PipeServer(self.hwnd)   self.svc.SvcDoRun() @@ -407,11 +414,12 @@
  self.overlapped.hEvent = win32event.CreateEvent(None,0,0,None)     def SvcStop(self): - logger.msg('PipeServer thread terminating') + logger.msg("PipeServer.SvcStop")   win32event.SetEvent(self.hWaitStop)   requests.put('terminate|')     def SvcDoRun(self): + logger.msg("PipeServer.SvcDoRun")   # We create our named pipe.   pipeName = PIPENAME   openMode = win32pipe.PIPE_ACCESS_DUPLEX | win32file.FILE_FLAG_OVERLAPPED
Change 1 of 1 Show Entire File doc/​ReadMe.txt Stacked
 
4
5
6
7
8
9
 
 
 
10
11
12
 
4
5
6
 
 
 
7
8
9
10
11
12
@@ -4,9 +4,9 @@
 is the python-sphinx package. On Windows your best bet is  easy_install. To build without warnings, you need sphinx 0.6 or later.   -To build PDF files you need latex packages. On Ubuntu this is -texlive-latex-extra and all of it's dependencies. On Windows the best -choice is miktex. +To build PDF files you need latex packages. On Ubuntu these are +texlive-latex-extra, texlive-fonts-recommended and all of their +dependencies. On Windows the best choice is miktex.    Once all of the prerequisites are in place, you can use the makefile to  build targets: html htmlhelp latex