summaryrefslogtreecommitdiffstats
path: root/perl-install/interactive_http.pm
blob: 18bff77fe5f88388a46cb32755b714e3a09a205e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
@@ -1,3 +1,131 @@
+2005/09/13 David Baudens <baudens at mandriva.com>
+
+ * share/rpmsrate: Fix previous errors
+ Fix previous errors
+ Low ressources setup
+
+2005/09/13 Daouda Lo <daouda at mandriva.com>
+
+ * standalone.pm:
+ - fix typo
+
+2005/09/13 Gwenole Beauchesne <gbeauchesne at mandriva.com>
+
+ * share/rpmsrate: add some 32-bit compat packages (galaxy-kde + j2re)
+
+2005/09/13 Olivier Blin <oblin at mandriva.com>
+
+ * mdk-stage1/network.c: add some log message about interface auto
+ detection
+
+2005/09/13 Pixel <pixel at mandriva.com>
+
+ * install2.pm: it seems we don't need re-ordering steps anymore for
+ upgrading
+ (otherwise we would need to have miscellaneous before doPartitionDisks
+ so that useSupermount is correctly set)
+ when upgrading and the keyboard config is wrong, write the unsafe config
+ really skip setupBootloader in local_install
+
+ * keyboard.pm, standalone/keyboarddrake, Xconfig/default.pm:
+ - keyboard::read() now returns false if the value is not recognised
+ - new function keyboard::read_or_default() which always returns a
+ valid value
+
+ * install_any.pm: migrate fstab when upgrading an alien distro (should be
+ done always?)
+ when taking screenshot during pkgs install, we can be chrooted
+ for now, disable FTP in media_browser since we don't handle it (#16088)
+ for local_install we don't want use_root_part to do anything
+ silently ignore existing X config file if upgrading an alien distro
+
+ * Xconfig/card.pm: allow forcing fbdev even if we don't allowFB
+
+ * Xconfig/parse.pm, Xconfig/xfree.pm: handle DefaultDepth (which is the
+ same as DefaultColorDepth)
+
+ * Xconfig/main.pm: silently ignore existing X config file if upgrading an
+ alien distro
+
+ * bootloader.pm:
+ - drop splashimage if file can't be found (useful when upgrading)
+ - internally splashimage is preferably a file, not a grub file
+ background and foreground are valid menu.lst commands
+ - create cleanup_entries() which remove bad entries (and more
+ verbosely than was done for lilo.conf) and call it for all bootloaders
+ (was only for lilo)
+ - keep removing duplicate labels only for lilo (and use uniq_) (don't
+ do it for grub since duplicate labels are allowed (???))
+
+ * share/rpmsrate: !CAT_ICEWM is dangerous, replace it with CAT_KDE ||
+ CAT_GNOME
+ restore previous indentation and fix a typo (hplip-hpijs)
+
+ * install_steps_gtk.pm: don't have title twice (we already have it in the
+ banner)
+
+ * share/upgrade-map.conectiva.10: remove a lot of unneeded devel packages
+ try to have less devel packages when conectiva's install didn't have
+ them
+ - ensure msec is there
+ - ensure desktop-common-data is there when we have X
+ - more closer map to mandriva tools
+
+ * install_steps.pm: migrate fstab when upgrading an alien distro (should
+ be done always?)
+ better call Xconfig::various::runlevel() directly since it's not always
+ called
+ when upgrading by removing pkgs, ensure we keep the previous runlevel
+ for local_install we don't want use_root_part to do anything
+ - rename readBootloaderConfigBeforeInstall() to
+ read_bootloader_config()
+ - call read_bootloader_config() after installing packages (for the
+ case of grub scripts fixing the configuration, ie creating device.map
+ and install.sh)
+
+ * ugtk2.pm: when taking screenshot during pkgs install, we can be
+ chrooted, in that case the icon is not accessible
+
+2005/09/13 Rafael Garcia-Suarez <rgarciasuarez at mandriva.com>
+
+ * share/po/fr.po: Trim down message so it fits in the window
+
+ * crypto.pm: Update hardcoded mirror list (for FTP suppl media)
+ Need more coffee
+ When selecting mirrors in the mirror list, if we find a mirror with the
+ exact same architecture than the current one, discard all other mirrors.
+ This should avoid listing i586 mirrors when installing on x86_64.
+
+2005/09/13 Thierry Vignaud <tvignaud at mandriva.com>
+
+ * lang.pm: sync japanese package list with rpmsrate
+ vi: remove scim (already selected by scim-m17n)
+ install scim-m17n & scim for vietnamese users
+ use SCIM by default for Vietnamese users since x-unikey is broken
+ - do not set QT_IM_MODDULE to GTK_IM_MODDULE when not supported (eg:
+ fix im-ja)
+ - explicitely set the right QT_IM_MODULE
+ (Yukiko Bando)
+
+ * share/po/eu.po, share/po/bs.po, share/po/es.po, share/po/fi.po,
+ share/po/de.po, share/po/cy.po, share/po/af.po, share/po/eo.po,
+ share/po/ca.po, share/po/da.po, share/po/ga.po: fix extra accelerators
+
+ * share/rpmsrate: install scim-qtimm for vi too
+ vi: remove scim (already selected by scim-m17n)
+ use SCIM (scim-m17n & scim) by default for Vietnamese users since
+ x-unikey is broken
+
+ * drakxtools.spec: 10.3-0.61mdk
+
+2005/09/13 Warly <warly at mandriva.com>
+
+ * share/logo-mandriva.png: new installation banner
+
+2005/09/13 willysr
+
+ * share/po/id.po: Updated
+
2005/09/12 Funda Wang <fundawang at linux.net.cn>
* share/po/zh_CN.po: Updated Simplified Chinese translation
span class="hl str">"<table>\n"; map_index { my $e = $_; print "<tr><td>$e->{label}</td><td>\n"; $e->{type} = 'list' if $e->{type} =~ /(icon|tree)list/; #- combo doesn't exist, fallback to a sensible default $e->{type} = $e->{not_edit} ? 'list' : 'entry' if $e->{type} eq 'combo'; if ($e->{type} eq 'bool') { print $q->checkbox(-name => "w$::i", -checked => ${$e->{val}} && 'on', -label => $e->{text} || " "); } elsif ($e->{type} eq 'button') { print "nobuttonyet"; } elsif ($e->{type} =~ /list/) { my %t; $t{$_} = may_apply($e->{format}, $_) foreach @{$e->{list}}; print $q->scrolling_list(-name => "w$::i", -values => $e->{list}, -default => [ ${$e->{val}} ], -size => 5, -multiple => '', -labels => \%t); } else { print $e->{hidden} ? $q->password_field(-name => "w$::i", -default => ${$e->{val}}) : $q->textfield (-name => "w$::i", -default => ${$e->{val}}); } print "</td></tr>\n"; } @$l; print "</table>\n"; print $q->p(); print $q->submit(-name => 'ok_submit', -value => $common->{ok} || _("Ok")); print $q->submit(-name => 'cancel_submit', -value => $common->{cancel}) if $common->{cancel}; print $q->hidden('state'), $q->hidden('uid'); print $q->end_form, $q->end_html; close STDOUT; # page terminated while (1) { local *F; open F, "<$pipe_r" or die; $q = CGI->new(\*F); $q->param('force_exit_dead_prog') and $o->exit; last if $q->param('uid') == $uid; open_stdout(); # re-open for writing cont_stdout(_("Error")); print $q->h1(_("Error")), $q->p("Sorry, you can't go back"); goto redisplay; } map_index { my $e = $_; my $v = $q->param("w$::i"); if ($e->{type} eq 'bool') { $v = $v eq 'on'; } ${$e->{val}} = $v; } @$l; open_stdout(); # re-open for writing $q->param('ok_submit'); } sub p { print "\n" . CGI::br($_) foreach @_; } sub wait_messageW { my ($o, $title, $messages) = @_; cont_stdout(); print "\n" . CGI::p(); p(@$messages); } sub wait_message_nextW { my ($o, $messages, $w) = @_; p(@$messages); } sub wait_message_endW { my ($o, $w) = @_; p(_("Done")); print "\n" . CGI::p(); } 1;