Changeset 11051
- Timestamp:
- 03/10/10 15:00:48 (2 years ago)
- Location:
- trunk/Padre/lib/Padre
- Files:
-
- 3 edited
-
TaskManager.pm (modified) (1 diff)
-
Wx/Dialog/RegexEditor.pm (modified) (1 diff)
-
Wx/Dialog/WhereFrom.pm (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Padre/lib/Padre/TaskManager.pm
r11050 r11051 428 428 429 429 my $loopcount; 430 # Changing the selection seems to solve the endless-loop problem 431 # while ( threads->list(threads::running) >= 2 ) { 430 431 # Changing the selection seems to solve the endless-loop problem 432 # while ( threads->list(threads::running) >= 2 ) { 432 433 while ( threads->list(threads::joinable) >= 2 ) { 433 for ( threads->list(threads::joinable)) {434 for ( threads->list(threads::joinable) ) { 434 435 $_->join; 435 436 } 436 last if $loopcount > 125; # Wait no more than two minutes437 # Pass time slices to the threads for finishing437 last if $loopcount > 125; # Wait no more than two minutes 438 # Pass time slices to the threads for finishing 438 439 sleep 1 if ++$loopcount > 5; 439 440 } -
trunk/Padre/lib/Padre/Wx/Dialog/RegexEditor.pm
r11049 r11051 82 82 value => { 83 83 '00[:alpha:]' => Wx::gettext('Alphabetic characters'), 84 '01[:alnum:]' => Wx::gettext('Alphanumeric characters'),84 '01[:alnum:]' => Wx::gettext('Alphanumeric characters'), 85 85 '02[:ascii:]' => Wx::gettext('7-bit US-ASCII character'), 86 86 '03[:blank:]' => Wx::gettext('Space and tab'), -
trunk/Padre/lib/Padre/Wx/Dialog/WhereFrom.pm
r11042 r11051 4 4 use strict; 5 5 use warnings; 6 use Padre::Wx ();7 use Padre::Wx::Dialog ();6 use Padre::Wx (); 7 use Padre::Wx::Dialog (); 8 8 use Padre::Task::HTTPClient (); 9 9 … … 32 32 ], 33 33 ], 34 [ [ 'Wx::Button', '_ok_', Wx::wxID_OK ],[],34 [ [ 'Wx::Button', '_ok_', Wx::wxID_OK ], [], 35 35 [ 'Wx::Button', '_cancel_', Wx::gettext("Skip feedback") ], 36 36 ], … … 59 59 my $config = Padre->ide->config; 60 60 61 if ( ! $config->feedback_done) {62 $config->set('feedback_done',1);63 $config->write;61 if ( !$config->feedback_done ) { 62 $config->set( 'feedback_done', 1 ); 63 $config->write; 64 64 } 65 65 … … 76 76 $dialog->Destroy; 77 77 78 if ( ! $config->feedback_done) {78 if ( !$config->feedback_done ) { 79 79 80 my $url= 'http://padre.perlide.org/wherefrom.cgi';81 my $args = {from => $data->{_referer_}};82 my $http = Padre::Task::HTTPClient->new(83 URL=> $url,84 query => $args,85 )->run;80 my $url = 'http://padre.perlide.org/wherefrom.cgi'; 81 my $args = { from => $data->{_referer_} }; 82 my $http = Padre::Task::HTTPClient->new( 83 URL => $url, 84 query => $args, 85 )->run; 86 86 87 $config->set('feedback_done',1);88 $config->write;87 $config->set( 'feedback_done', 1 ); 88 $config->write; 89 89 90 90 }
Note: See TracChangeset
for help on using the changeset viewer.
