Changeset 203
- Timestamp:
- 12/26/06 03:38:07 (2 years ago)
- Files:
-
- trunk/src/leds/CompilerBox.d (modified) (4 diffs)
- trunk/src/leds/Project.d (modified) (2 diffs)
- trunk/src/leds/SystemConsole.d (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/leds/CompilerBox.d
r200 r203 110 110 void clearAll() 111 111 { 112 rawTextCommands.getBuffer().setText("");112 // rawTextCommands.getBuffer().setText(""); 113 113 compilerModel.clear(); 114 114 currErrorButton.setSensitive(false); … … 176 176 { 177 177 rawTextCommands.appendText(line); 178 179 // ProjectError error = new ProjectError(180 // project,181 // new String(), //modulePath,182 // 1, //lineNumber,183 // new String(line),184 // ProjErrorType.ERROR185 // );186 // addCompilerError(error);187 178 } 188 179 … … 258 249 } 259 250 260 addButton(StockID. DIALOG_INFO,"Show show raw input/output", &showRawCommands);251 addButton(StockID.OPEN,"Show show raw input/output", &showRawCommands); 261 252 262 253 return toolbar; … … 297 288 void showRawCommands(Button button) 298 289 { 290 class ShowRaw : Window 291 { 292 293 this() 294 { 295 super("Compile output"); 296 setSizeRequest(400, 300); 297 ScrolledWindow sw = new ScrolledWindow(); 298 sw.add(rawTextCommands); 299 add(sw); 300 showAll(); 301 } 302 303 304 305 } 306 307 (new ShowRaw()).showAll(); 299 308 // todo popup a simple text window with all the input and output text 300 309 } trunk/src/leds/Project.d
r200 r203 413 413 { 414 414 ok = false; 415 PopupBox.information(workspace, "Cannot create basic project structure", "Create Project"); 415 416 } 416 417 return ok; … … 642 643 // compilerBox.addCompilerError(projectError); 643 644 // } 645 bool added = false; 644 646 if ( lineNumber > 0 ) 645 647 { 646 648 if ( modulePath.length>0 ) 647 649 { 648 bool added = project.addProjectError(projectError); 649 if ( added && buildConsole !is null ) 650 { 651 buildConsole.append(projectError); 652 } 650 added = project.addProjectError(projectError); 653 651 } 652 } 653 if ( added && buildConsole !is null ) 654 { 655 buildConsole.append(projectError); 656 } 657 else 658 { 659 buildConsole.append(inLine); 654 660 } 655 661 } trunk/src/leds/SystemConsole.d
r200 r203 40 40 private import gtk.Widget; 41 41 42 private import gdk.Gdk; 42 43 private import gdk.Pixbuf; 43 44 private import gtk.gtktypes; … … 411 412 writefln("SystemConsole.childEnd (calling queue) for %s", getTabName()); 412 413 childQueue.push(spawn); 414 415 if ( Leds.leds.getPropValue("beepOnCommandEnd", true) ) 416 { 417 Gdk.beep(); 418 } 413 419 414 420 return false;
