Commit Graph

20 Commits

Author SHA1 Message Date
cc25479579 Updates
Sat Mar 26 11:26:00 2005  Soeren Sandmann  <sandmann@redhat.com>

	* TODO: Updates

	* sfile.c (add_string): Use g_markup_escape_text() to escape the
	string before adding it to the file.

	* sysprof.c (empty_file_descriptor): New function to make sure
	samples generated before profiling started are ignored.
	(set_busy): New commented out function to set a busy cursor.
2005-03-26 16:34:11 +00:00
0901851c45 Remove "loading and saving"
Fri Mar 25 19:39:24 2005  Søren Sandmann  <sandmann@redhat.com>

	* TODO: Remove "loading and saving"

	* sysprof.glade: Add ellipsises to Open and Save menu items.

	* sysprof.c (overwrite_file): Add this function, cutted-and-pasted
	from evince.

	* sysprof.c (on_save_as_clicked, on_open_clicked): Use
	GtkFileChoosers to pick the names.

	* sysprof.c: Various GUI updates.
2005-03-26 01:19:07 +00:00
50c62b0804 Various GUI updates
Thu Mar 24 19:09:33 2005  Søren Sandmann  <sandmann@redhat.com>

	* sysprof.c: Various GUI updates

	* TODO: update

	* sfile.[ch] (sformat_new_optional): Add some notes about an
	"optional" construction.
2005-03-25 00:12:37 +00:00
2af6447238 Primitive loading and saving.
Wed Mar 23 00:04:07 2005  Soeren Sandmann  <sandmann@redhat.com>

	Primitive loading and saving.

	* sysprof.c (on_open_clicked): Hook up loading.

	* sfile.c: Add a copy of g_file_replace() from glib CVS HEAD.

	* sfile.c (add_string): Escape and quote the string

	* sfile.c (sfile_load): Initialize current_instruction and
	instructions_by_location

	* sfile.c (post_process_instructions_recurse): Handle NULL
	pointers properly.

	* sfile.c (handle_begin_element, handle_end_element, handle_text):
	Move error handling here from state_transition_begin/text/end.

	* sfile.c (handle_text): Discard whitespace-only strings

	* sfile.c (sfile_get_pointer, sfile_get_integer,
	sfile_get_string): expect both begin, value, and end transitions.

	* sfile.c (hook_up_pointers): Only treat instructions as pointer
	values when they are. Handle NULL targets properly.

	* sfile.c (get_number): Fix a few read-freed-data bugs

	* profile.c (profile_load): Call sfile_end_get() for the profile;
	build the nodes_by_objects hash table. Build the call tree.

	* profile.c (create_format): Don't store next pointer, but do
	store total, self and toplevel.

	* profile.c (make_hash_table): New function to build
	nodes_by_object hashtable from loaded data
2005-03-23 05:05:57 +00:00
64a1ac6355 Fix small bug in add_timeout() More descriptive tree labels update
Sat Mar 12 11:05:19 2005  Soeren Sandmann  <sandmann@redhat.com>

	* sysprof-module.c: Fix small bug in add_timeout()
	* sysprof.c (build_gui): More descriptive tree labels
	* TODO: update
2005-03-12 16:05:58 +00:00
d07d245228 CSun Mar 6 22:56:21 2005 Soeren Sandmann <sandmann@redhat.com>
* sfile.c: Generate id's for objects and pointers.
2005-03-07 03:58:04 +00:00
18ca5ed131 Bug fixes. Add actual generation.
Sat Mar  5 01:09:33 2005  Soeren Sandmann  <sandmann@redhat.com>

	* sfile.c: Bug fixes. Add actual generation.
2005-03-05 06:16:47 +00:00
466b093348 Write this function.
Thu Mar  3 23:48:13 2005  Soeren Sandmann  <sandmann@redhat.com>

	* profile.c (profile_load): Write this function.

	* sfile.c: Add support for user defined record and list types.
	Simplify logic a lot.
2005-03-04 04:48:40 +00:00
de4b3c076d Experiment with a file-format-description format.
Wed Mar  2 23:39:50 2005  Soeren Sandmann  <sandmann@redhat.com>

	* profile.[ch], sfile.[ch]: Experiment with a
	file-format-description format.

	* sysprof.c: Add commented out code using /proc/ based
	timeout.
2005-03-03 04:44:28 +00:00
dd900dce1c *** empty log message *** 2004-11-24 23:11:28 +00:00
81a527a31d *** empty log message *** 2004-11-24 18:39:35 +00:00
c5b66034c5 *** empty log message *** 2004-11-23 00:10:55 +00:00
a22bbc8eb0 *** empty log message *** 2004-11-22 21:19:56 +00:00
0e1b62128f *** empty log message *** 2004-11-21 01:54:22 +00:00
9b76cbf1b4 more sfile work 2004-11-21 00:08:14 +00:00
3ac9b691d7 *** empty log message *** 2004-11-20 23:05:12 +00:00
3b6a53efaf *** empty log message *** 2004-11-17 23:37:44 +00:00
38891db079 *** empty log message *** 2004-11-17 23:08:47 +00:00
e148f45f79 *** empty log message *** 2004-11-16 02:54:05 +00:00
b40d94ca41 *** empty log message *** 2004-11-15 23:15:59 +00:00