summaryrefslogtreecommitdiff
path: root/debug.pl.in
AgeCommit message (Collapse)AuthorFilesLines
2001-07-16backend:unammx1-0/+11
Sat Jul 14 11:54:50 2001 Arturo Espinosa Aldama <arturo@ximian.com> * report.pl.in (xst_report): New warning "platform_no_table", used now in all backends when no table for the detected dist is available (shouldn't happen, but typos happen). * network.pl.in (xst_network_debian_woody_set_auto): Removed debian-potato compatibility, because noauto is not compatible with auto stanzas. (xst_network_debian_woody_get_auto): same. Fri Jul 13 14:58:00 2001 Arturo Espinosa Aldama <arturo@ximian.com> * general.pl.in (xst_run_directive): Flush debug files after every run directive. * debug.pl.in (xst_debug_close_all): Function to make the debug files close (and so, flush). * network.pl.in (xst_network_interface_set): Maybe I don't understand myself, but don't force interface activation. (xst_network_ensure_loopback_interface): Add update_dns property to default loopback prefs. * xml.pl.in (xst_xml_read_stdin): Last if no more input is available. This fixes the tool waiting for the end of request string when using a file as stdin. (backend --set < in.xml). * network.pl.in (xst_network_set_ppp_options_re): if you found the matching line, last. (xst_network_set_ppp_options_unsup): These functions are hacky. Take the unsupported options and format them one by line. Don't chomp lines: this corrupted the file. src/network: Fri Jul 13 19:10:59 2001 Arturo Espinosa Aldama <arturo@ximian.com> * main.c (update_notebook_complexity): Return trivialy if hosts container has no page, because that could happen if the tool starts in advanced mode. * connection.c (connection_updatedns_supported): Tell if the connection can handle the updatedns tag. (connection_save_to_node): If it has support, then save the updatedns node. (on_connection_ok_clicked): Only connection_config_save if cxn->modified, making OK button not highlight Apply if no changes were made. src/users: Sat Jul 14 12:04:31 2001 Arturo Espinosa Aldama <arturo@ximian.com> * user-account-editor.c (ok_clicked): Only user_account_save if the account's GUI data has been modified. * user_settings.c (user_account_connect_signals): Changed code to a big table. Some widgets are connected to "clicked" or "insert-text" to flag if the gui data has been modified. (user_account_set_modified): Callback that sets this. (user_account_gui_setup): Disable allow_mofify so that the modify flag is not set when filling the dialog in. src/common: Fri Jul 13 19:43:37 2001 Arturo Espinosa Aldama <arturo@ximian.com> * xst-tool.c (xst_tool_kill_backend): Run "end" directive with "Closing tool" sign. (xst_tool_run_get_directive): Now you can set what sign will appear on the report window. (xst_tool_run_set_directive): same. (xst_tool_load): Send the usual label. (xst_tool_save): Same. Thu Jul 12 12:22:56 2001 Arturo Espinosa Aldama <arturo@ximian.com> * xst-ui.c (container_get_label_string): Convenience function. (get_list_item_by_name): Shrinked, improved style. (xst_ui_option_menu_set_selected_string): Avoids warning: Check if the active menu item is the one we want to set. * xst-report-line.c (xst_report_line_new_from_string): Better warning. * xst-tool.c (xst_tool_read_xml_from_backend): After reading the reports, proceed to read the returning XML from the backend, until the end of request string appears. (xst_tool_run_get_directive): Use the above function now. (xst_tool_run_set_directive): Use it too, to consume the end of request string, and now return pointer to parsed XML, if one was delivered by the backend.
2001-05-222001-05-21 Arturo Espinosa Aldama <arturo@ximian.com>unammx1-0/+14
* xml.pl.in (xst_xml_scan): Use new debug_print_log func. * users-conf.in (change_user): Just changed arg order to make it easier to compare it with man page when checking compatibility. * replace.pl.in (xst_replace_sh): Changed behaviour so that shell var will be expunged from file if $value eq "". (xst_replace_sh_join): Implemented. Required by network:suse70 * platform.pl.in (check_lsb): Check through lsb file, which may make our lives easier in the near future. check_*: use $xst_prefix to check platform too. * network.pl.in (xst_network_suse70_active_interfaces_get): Don't list "lo" as an active interface. (xst_network_suse70_ifaces_get_existing): Better code: finds all NETDEV vars in rc.config and takes values from there. (xst_network_suse70_parse_iface_num): Braking the 4 interface barrier here too. SuSE 7.0 scripts are broken, still. (xst_network_suse70_set_ifconfig_arg): Beautified output. (xst_network_suse70_get_file): Completly missed implemening this one. New interfaces weren't getting a NETDEV number. (xst_network_get_file): "suse-7.0" entry added. (xst_network_suse70_interface_delete): Was calling activate _by_dev with wrong value for $dev. (xst_network_suse70_interface_delete): Oops. Use "_" between var type and $dev. (xst_network_ensure_loopback_interface): Those distros that map to "" are not "ensured". (xst_network_get_interfaces_parse_table): Changed from XST_NAME to XST_IFACE_NAME, which is more verbose. (xst_network_get_interface_replace_table): same. * debug.pl.in (xst_debug_print_log_to_file): Seems like print can't handle strings larger than 4096 bytes. This routine is for printing large strings that may contain \n's inside (like in.xml).
2001-05-092001-05-09 Arturo Espinosa Aldama <arturo@ximian.com>unammx1-6/+12
* debug.pl.in (xst_debug_open_output_file): set up a hash here so we cache the opened files. (xst_debug_print_string_to_file): Not closing this files any more.
2001-04-242001-04-23 Arturo Espinosa <arturo@ximian.com>unammx1-1/+1
* debug.pl.in: minor cosmetic change to path. * general.pl.in: require gettext.pl routines and set textdomain to "ximian-setup-tools". * gettext.pl.in: Removed function N_. This is only a C trick to fool the preprocessor. Oh, but this is not C. * report.pl.in: Surround strings to be translated by '_()'.
2001-03-292001-03-29 Hans Petter Jansson <hpj@ximian.com>hansp1-2/+5
* debug.pl.in (xst_debug_print_struct): Print all arguments. (xst_debug_print_struct_r): Indentation correction.
2001-03-282001-03-28 Arturo Espinosa <arturo@ximian.com>unammx1-15/+10
* report.pl.in: New report code, which dumps the use of mayor and minor numbers and uses keys instead. A hash, mapping keys to messages is at the end of this file. Fitted progress report with this scheme. * *.in: use new reporting code. Some other naming and style corrections I found on the way.
2001-03-222001-03-21 Ryan Boren <rboren@fuzzybelly.org>michael1-8/+9
* backends/*: my $var -> my ($var) everywhere * backends/*: @_[n] -> $_[n] everywhere * backends/network-conf.in: Use qw in places. * backends/*: forward -> "forward" etc. * backends/parse.pl.in, backeds/replace.pl.in: replace \n in regexps with $n.
2001-03-132001-03-13 Hans Petter Jansson <hpj@ximian.com>hansp1-0/+5
* debug.pl.in: Fixed bug, debug 9 was not being rotated out.
2001-03-082001-03-08 Hans Petter Jansson <hpj@ximian.com>hansp1-15/+14
* general.pl.in: Add $xst_debug flag. (xst_init): Honour --debug arg and XST_DEBUG env. Also some comments. * debug.pl.in (xst_debug_print_indent): Use xst_debug_print_string(). (xst_debug_print_string): Print to STDERR only if $xst_debug set.
2001-03-082001-03-08 Hans Petter Janssonhansp1-3/+35
* debug.pl.in (xst_debug_open_output_file): Implement. (xst_debug_print_string_to_file): Implement. (xst_debug_print_indent): Print to file. More efficient. (xst_debug_rotate_try): Fix bug that would lead to multiple rotations on one backend invocation. * file.pl.in (xst_open_read_from_names): Use debug funcs. (xst_buffer_save): Use debug funcs. * xml.pl.in (xst_xml_scan): Dump scanned XML to in.xml. (xst_xml_get_pcdata): Use debug funcs.
2001-03-05* debug.pl.in (xst_debug_rotate_try): Implement.hansp1-0/+29
2001-03-01Small header fix.hansp1-1/+1
2001-03-012001-03-01 Hans Petter Jansson <hpj@ximian.com>hansp1-0/+118
* debug.pl.in: Implemented basic debug functions. * Makefile.am: Included debug.pl.in in build and install.