src/main.c: Make it possible to pass options to the app under test
[memprof.git] / ChangeLog
blobe58ed3340a2e0f0029c7694cb1b27989cd749bee
1 2008-03-11  Inaki Larranaga Murgoitio  <dooteo@euskalgnu.org>
3         * configure.in: Added 'eu' to ALL_LINGUAS.
5 2007-10-14  Yannig Marchegay  <yannig@marchegay.org>
7         * configure.in: Added 'oc' to ALL_LINGUAS.
9 2007-09-16  Soren Sandmann <sandmann@daimi.au.dk>
11         * main.c: Get rid of TOTAL column. Merge calls to
12         gtk_tree_store_set().
14 2007-09-16  Soren Sandmann <sandmann@daimi.au.dk>
16         * memprof.glade: Rearrange the treeviews. Delete bold labels.
17         
18         * main.c: More descriptive names for treeview columns.
20 2007-09-15  Soren Sandmann <sandmann@daimi.au.dk>
22         Replace symbol resolution code with sysprof code. Remove
23         dependency on libbfd and libiberty.
25         * binparser.[ch], elfparser.[ch], binfile.[ch], demangle.c: New
26         files.
28         * bfdutils.c: delete
30 2007-09-15  Soren Sandmann <sandmann@daimi.au.dk>
32         * memprof.h (struct): Move Symbol struct into process.c
34         * profile.c: Use strings instead of symbol structs
36 2007-09-15  Soren Sandmann <sandmann@daimi.au.dk>
38         * stackstash.c: Replace with the one from Sysprof.
40         * main.c, profile.c: Update to new API
41         
42 2007-09-15  Soren Sandmann <sandmann@daimi.au.dk>
44         * memprof.glade: Remove follow-fork/follow-exec/preferences menu
45         items.
47         * configure.in, Makefile.am, main.c: Remove gconf dependency
49 2007-09-14  Jonathan Pryor  <jpryor@novell.com>
51         * main.c, profile.c: Add support to save the memory profile to a file.
52           Patch reviewed by Michael Meeks.
54 2007-08-11  Soren Sandmann <sandmann@daimi.au.dk>
56         * Makefile.am (install-exec-hook): Install speedprof in
57         DESTDIR. Bug 377176 - patch from Patrick Williams. 
59 2007-08-11  Soren Sandmann <sandmann@daimi.au.dk>
61         * autogen.sh: Run intltoolize in autogen.sh
63 2007-02-19  Soren Sandmann <sandmann@redhat.com>
65         * autogen.sh: Copy this from somewhere else since that makes it
66         work on my system.
68 2006-12-15  Pema Geyleg  <pgeyleg@gmail.com>
70         * configure.in: Added 'dz' to ALL_LINGUAS
72 2006-11-19  Soren Sandmann <sandmann@redhat.com>
74         * configure.in: Remove popt dependency, bump gtk+
75         requirement to 2.6
77         * main.c: Port to GOption
79 2006-11-19  Soren Sandmann <sandmann@redhat.com>
81         * autogen.sh, Makefile.am, configure.in, leakdetect.c, main.c,
82         * memprof.glade, process.c, server.c, tree.c: 
83         Remove dependency on libgnome and libgnomeui. 
84         Improve default window size
85         Break option parsing.
87 2006-11-18  Soren Sandmann <sandmann@redhat.com>
89         * main.c, memprof.glade: Replace GnomeCanvas with GtkDrawingArea
91 Mon Aug  7 19:03:38 2006  Søren Sandmann  <sandmann@redhat.com>
93         * NEWS: Updates
95         * configure.in: Set version number to 0.6
97         * main.c (about_cb): Set "name" to PACKAGE_NAME
99 2006-07-26  Michael Meeks  <michael.meeks@novell.com>
101         * merge sled-fixes.
103         * main.c, treeviewutils.c: fix auto-elipsizing,
104         and column sizing evilness - particularly useful for
105         C++ with -huge- symbol names.
107 2006-07-26  Michael Meeks  <michael.meeks@novell.com>
109         * stack-frame.c (mi_call_with_backtrace): add
110         guard to avoid rtld related deadlock from allocation
111         from inside 'backtrace' itself.
113         * process.c (input_func): blank info before read,
114         add assertions,
116         * memprof.glade: add record button.
118         * main.c: fix treeview selection crashers.
119         (record_button_toggled_cb): add record button so
120         you can stop recording events and read the profile.
121         (string_view_init): set column renderer to be
122         ellipsizing and resizeable.
124         * bfdutils.c (process_map_sections): assume we
125         have a modern libbfd - with bfd_section_size by
126         default.
128         * autogen.sh: require automake 1.8 to play nicely
129         on modern systems.
131         * intercept.c (mi_write_stack): if n_frames is
132         negative (uh-huh) then drop the stack rather than
133         breaking the protocol. Add protocol mi_debug.
135 2005-06-14  Michael Meeks  <michael.meeks@novell.com>
137         * intercept.c (allocate_thread, find_thread):
138         update signatures and re-work for NPTL which gives
139         the same getpid() for each process: fixes all the
140         threading problems.
142         * process.c (input_func): reset the info structure
143         between messages; defensively.
145 2005-06-13  Michael Meeks  <michael.meeks@novell.com>
147         * server.c (ensure_cleanup, mp_server_init),
148         * process.c (process_start_input): use a fuller set
149         of G_IO_ flags for various conditions.
151         * intercept.c (exit_wait, mi_write_stack): use atomic
152         increment for seqno - if we get out of step process.c
153         bombs with an ever-growing sorted GList.
155         * Tag SLED_FIXES_ANCHOR & branch: sled-fixes
157 2006-04-18  Kjartan Maraas  <kmaraas@gnome.org>
159         * configure.in: Remove obsolete entry for no_NO
160         * po/no.po: And the translation.
162 2006-01-24  Ilkka Tuohela  <hile@iki.fi>
164         * configure.in: Added fi to ALL_LINGUAS
166 2005-08-28  Pawan Chitrakar  <pchitrakar@gmail.com>
168         * configure.in: Added ne in ALL_LINGUAS
170 2005-04-01  Steve Murphy  <murf@e-tools.com>
172         * configure.in: Added "rw" to ALL_LINGUAS.
174 2005-03-04  Abel Cheung  <maddog@linuxhall.org>
176         * configure.in: Added "mk" "zh_TW" to ALL_LINGUAS.
178 2004-09-13  John Myers  <jgmyers@localhost.localdomain>
180 2004-09-13  John Gardiner Myers  <jgmyers@proofpoint.com>
182         * process.c (input_func): Process detach makes the input channel
183         unreadable.  (Fixes #64690)
185         * leakdetect.c (process_status): Avoid infinite loop when trying
186         to leak detect a nonexistent process.  (Fixes #93173)
188 2004-09-10  John Gardiner Myers  <jgmyers@proofpoint.com>
190         * process.c (process_duplicate): Don't try to copy NULL block table.
192         * process.c (input_func): Keep processing while buffers still have
193         data.
195         * leakdetect.c (leaks_find, process_data_root, add_stack_root) 
196         (prepare_block): 
197         * process.c (block_unref): 
198         * main.c (generate_leak_cb): 
199         Fix invalid freeing of blocks in the leak detection code.  (Fixes
200         #97756)
201         
202 2004-09-03  John Gardiner Myers  <jgmyers@proofpoint.com>
204         * intercept.c (clone __clone clone_thunk): Add extra arguments to
205         clone intercept functions.  (Fixes #122460)
207         * process.c (process_read_maps): 
208         * leakdetect.c (read_stack_maps): 
209         Parse device numbers as hex.  Fix from Ian McKellar.  (Fixes #120457)
211         * main.c (main): Fix typo.  (Fixes #139682)
213         * intercept.c (memprof_init): Make a copy of the socket path so we
214         don't rely on the profiled program leaving the environment alone.
215         (Fixes #148603)
217         * process.c (process_duplicate): When following fork, create the
218         copy block hash table before trying to insert into it.  (Fixes #148606)
220         * memprof.h:
221         * process.c (process_locate_symbol): Addresses within shared
222         libraries without symbols reported under the name of the shared
223         library.  (Fixes #148616)
224         
225         * process.c (prepare_map): Kludge to support position independent
226         executables.  (Fixes #148622)
228 2004-09-02  Kjartan Maraas  <kmaraas@gnome.org>
230         * configure.in: Add «nb» to ALL_LINGUAS.
232 2004-09-01 Amanpreet Singh Alam  <aalam@redhat.com>
233         
234         * configure.in: Added Punjabi<pa> to ALL_LINGUAS.
236 2004-06-30  Narayana Pattipati  <narayana.pattipati@wipro.com>
238         * main.c (stack_command_entry_focus_out): Return FALSE to enable
239         entry handle the focus out event. Fixes the crash reported in
240         bugzilla bug#145198.
242 2004-05-01  Adam Weinberger  <adamw@gnome.org>
244         * configure.in: Added en_CA to ALL_LINGUAS.
246 2004-04-09  Gareth Owen  <gowen72@yahoo.com>
248         * configure.in: Added en_GB to ALL_LINGUAS
250 2004-02-07  Robert Sedak  <robert.sedak@sk.htnet.hr>
252          * configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
254 Fri Jan 23 12:20:47 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
256         * profile.c (profile_func_create_caller_list): Fix yet another
257         "symbol_equal() instead of ==" bug.
259 Fri Dec 19 16:41:00 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
261         * process.c (prepare_map): Only report symbols in the ".text" segment.
263         * main.c (profile_func_list_goto_symbol): Use symbol_equal()
264         instead of comparing addresses.
266         * profile.c (add_trace_to_tree): Missed one hashtable still using
267         g_direct_hash() instead of symbol_hash()
269         * profile.h: Add comments to some fields in struct ProfileNode.
271 ri Dec 19 00:00:30 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
273         * profile.c: Don't assume that symbols can be compared by
274         comparing their addresses.
275         * memprof.h: declare functions
276         * process.c (symbol_equal, symbol_hash, symbol_copy, symbol_free):
277         new functions
278         (process_locate_symbol): make returned Symbol const
280 Sun Sep 21 11:02:27 2003  Owen Taylor  <otaylor@redhat.com>
282         * main.c: Open the toplevel node in the descendants tree.
284 Sat Sep 20 16:43:42 2003  Owen Taylor  <otaylor@redhat.com>
286         * main.c process.c tree.c: Clean up deprecated usages.
288 Sat Sep 20 16:30:00 2003  Owen Taylor  <otaylor@redhat.com>
290         * treeviewutils.[ch]: Move tree view utilities from main.c to here.
292         * main.c: Fix a bug where all memory values were displayed multiplied by 100.
294         * tree.c: Convert GtkCTree to tree view.
296 Sat Sep 20 13:24:38 2003  Owen Taylor  <otaylor@redhat.com>
298         * main.c: Convert leak clists to tree views; clean up and simplify
299         profile tree views a bit.
301 Sat Sep 20 11:28:43 2003  Owen Taylor  <otaylor@redhat.com>
303         * main.c (process_window_new): Use a helper function to check
304         all calls to glade_xml_get_widget().
306         * main.c memprof.glade: Convert preferences dialog from GtkTreeView
307         to GtkCList.
309 Sat Sep 20 10:52:06 2003  Owen Taylor  <otaylor@redhat.com>
311         * intercept.c): Switch to atexit() as the primary means 
312         of intercepting exiting. It isn't as good as interposing _exit, 
313         but interposing _exit doesn't work with newer versions of
314         GNU libc.
316 Wed Jul  9 22:00:01 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
318         * Lots of new stuff. Highlights:
320                 - Rewritten profiling module, that handles 
321                   recursion better 
322                 - Profle view ported to GtkTreeView
323                 - New leak icon
324                 - New reset button
326 2003-06-17  Guntupalli Karunakar  <karunakar@freedomink.org>
328         * configure.in: Added "ml" to ALL_LINGUAS.
330 2003-05-06  Danilo Šegan  <dsegan@gmx.net>
332         * configure.in: Added "sr" and "sr@Latn" to ALL_LINGUAS.
334 2003-04-24  Abel Cheung  <maddog@linux.org.hk>
336         * configure.in: Fix broken configure.in caused by previous commit.
338 2003-02-20  Dmitry G. Mastrukov  <dmitry@taurussoft.org>
340         * configure.in: Added Belarusian to ALL_LINGUAS.
342 2003-02-03  Daniel Yacob  <locales@geez.org>
344         * configure.ac: Added "am" (Amharic) to ALL_LINGUAS.
346 Fri Jan 24 15:18:24 2003  Owen Taylor  <otaylor@redhat.com>
348         * bfdutils.c (read_bfd): Fix a memory leak.
350 Fri Jan 24 12:31:47 2003  Owen Taylor  <otaylor@redhat.com>
352         * bfdutils.c (find_separate_debug_file): Add support
353         for separate debug info files pointed to be 
354         .gnu.debuglink sections, as supported by current GDB.
356         * configure.in: Add --with-separate-debug-dir.
358         * acinclude.m4: AC_DEFINE_DIR()
360         * acconfig.h: Remove.
362 2002-12-23  Artis Trops  <hornet@navigator.lv>
364         * configure.in: Added Latvian (lv) to ALL_LINGUAS.
366 2002-11-12  Kjartan Maraas  <kmaraas@gnome.org>
368         * main.c (set_white_bg): Don't leak the style.
369         
370 2002-11-09  Fatih Demir <kabalak@gtranslator.org>
372         * configure.in: Added "ta" (Tamil) language to the languages' list.
374 2002-10-01  Stanislav Brabec  <sbrabec@suse.cz>
376         * configure.in: Added cs to ALL_LINGUAS.
378 Thu Sep 19 14:30:31 2002  Owen Taylor  <otaylor@redhat.com>
380         * memintercept-utils.c (mi_atomic_[increment/decrement]): Fix
381         wrong in the non-atomic fallback case. (#93670, 
382         Christian Marillat)
384 2002-09-10  James Henstridge  <james@daa.com.au>
386         * server.c (find_lib_location): variable definitions need to go at
387         the top of the function.
389 Thu Sep  5 14:54:33 2002  Owen Taylor  <otaylor@redhat.com>
391         * Makefile.am server.c: Move libmemintercept.so into
392         /usr/lib/memprof.
394         * Makefile.am main.c server.[ch]: Add options for 
395         turning on and controlling speed profiling, install
396         'speedprof' as a symlink, change behavior when
397         run as speedprof.
398         
399         * memprof.glade main.c: Hide the leak detection
400         UI when in 'speedprof' mode.
402         * memintercept.c intercept.[ch]: Move the intercept-library
403         stuff that is shared between memory and speed profiling
404         into intercept.[ch].
406         * speedintercept.c: Intercept library for speed profiling.
408         * memprof.h process.c: Add a MI_TIME operation.
410         * mi-perfctr.[ch] perfctr.h: Speed profiling via the
411         PIII performance monitoring counters and the perfctr
412         driver.
414         * memprof.spec: Update.
416 Sat Aug 31 22:24:22 2002  Kristian Rietveld  <kris@gtk.org>
418         * Release 0.5.1
420 Wed Aug 21 19:26:24 2002  Kristian Rietveld  <kris@gtk.org>
422         * memprof.glade: simple typo fix
424 Tue Aug 19 02:28:34 2002  Kristian Rietveld  <kris@gtk.org>
426         * main.c (run_cb), (skip_add_cb), (skip_regexes_add_cb): conversion
427         to GtkDialog.
429         * memprof.glade (fileentry1): GnomeFileEntry in the run dialog should
430         be modal, so the file selector there also responds (pointed out
431         by Dennis Smit),
432         (SkipAddDialog, RunDialog, SkipRegexesAddDialog): conversion to
433         GtkDialog and enable has_default again on the appropriate buttons,
434         set activates_default to true on the entries,
435         (Preferences dialog): use stock buttons for add and delete.
437         * process.c (process_find_exec): prepend "./" to non-absolute paths,
438         so running programs in the current directory works without hassle,
439         (process_run): also pass path to program to mp_server_instrument.
441         * server.[ch] (mp_server_instrument): use program value processed by
442         process_find_exec and not args[0].
444 Tue Aug 20 11:03:11 2002  Owen Taylor  <otaylor@redhat.com>
446         * configure.in: Patch from Art Haas to use AC_CONFIG_FILES.
448 Mon Aug 19 14:25:39 2002  Owen Taylor  <otaylor@redhat.com>
450         * memintercept.c: Fix leftover commenting out of code.
452 Mon Aug 19 14:12:28 2002  Owen Taylor  <otaylor@redhat.com>
454         * stackstash.[ch]: Get rid of the "allocate everything
455         in one block" optimization, since that caused problems
456         if we want to be able to keep pointers to interior
457         nodes of the tree.
459         * Makefile.am stack-frame.[ch]: Add John Harper's
460         stack trace code from eazel-tools/prof, since it is
461         cleaner/nicer than what we were using, with some
462         modifications for accurate stack traces from signal
463         handlers.
465         * memintercept.c: Use stack-frame.[ch], deal with
466         differing stack frame depths from different code
467         paths to the place where we make the stack trace.
469 Sat Aug 17 15:33:36 2002  Owen Taylor  <otaylor@redhat.com>
471         * stackstash.c (stack_element_free): Fix accounting
472         error in test statistics.
474 Sat Aug 17 14:54:46 2002  Owen Taylor  <otaylor@redhat.com>
476         * stackstash.[ch] Makefile.am: Data structure for storing
477         stack traces in a tree.
479         * leakdetect.c main.c memprof.h process.[ch] profile.c:
480         Switch MemProf over to using StackStash.
482         * testmemprof.c: Defeat tail-function optimization
483         that was producing confusing stack traces.
485 2002-08-13  Alexander Larsson  <alexl@redhat.com>
487         * memintercept-utils.c (mi_debug):
488         Move va_list variable declaration to top of function.
490 Sat Aug 10 23:38:52 2002  Owen Taylor  <otaylor@redhat.com>
492         * memintercept-utils.[ch] Makefile.am: Split off part of 
493         memintercept.c (the stuff that doesn't really have anything 
494         to do with memory interception) into a separate file.
496         * memintercept.c: Use a trick from libc's memusage
497         to avoid the need for the starter malloc stuff, which
498         should make MemProf work with C++. (Fixes #53991)
500         * memintercept.c: Redo thread creation using 
501         atomic-increment/decrement to allocate from a fixed
502         number of slots 
504         * memintercept.c: Override fork() clone() as well
505         as __fork(), __clone(). (Fixes #66512, Soeren Sandmann)
507         * process.c (process_dump_stack): If the filename/line
508         wasn't found, don't try to print it.
510         * server.c process.c: A couple of debugging enhancements.
512         * server.c (control_func): Remove the 
513         "Unexpected connection from PID" warning - it occurs in
514         in legitimate cases when we aren't following forks.
516         * server.c (mp_server_class_init): Use VOID__OBJECT
517         for the marshaller (#86874, Gustavo Giraldez)
519         * server.c: When "following exec", set the pid on
520         the new process. (#86874, Gustavo Giraldez)
522         * server.c (mp_server_remove_process): Account for
523         the process being overwritten for --follow-exec.
525         * testmemprof.c (main): Remove the sleep; the fact that
526         we catch programs on exit means that it isn't needed.
528 Sun Aug 11 15:29:54 2002  Kristian Rietveld  <kris@gtk.org>
530         * Release 0.5.0
532 Sun Aug 11 15:28:24 2002  Kristian Rietveld  <kris@gtk.org>
534         * NEWS: one last update.
536 Sun Aug 11 15:02:48 2002  Kristian Rietveld  <kris@gtk.org>
538         * Makefile.am: add intltool-{extract,merge,update} to DISTCLEANFILES,
539         get gconf schemas installation rule right.
541         * configure.in: add some lines to detect gconftool-2.
543 Sat Aug 10 14:15:06 2002  Owen Taylor  <otaylor@redhat.com>
545         * memprof.spec.in: Cleanups, one few fixes.
547         * Makefile.am: Remove memprof-strings.c from EXTRA_DIST,
548         add intltool-*.in, make dist-hook depend on memprof.spec,
549         so we get an up-to-date version.
550         
551 Sat Aug 10 20:14:11 2002  Kristian Rietveld  <kris@gtk.org>
553         * NEWS: a few tweaks
555         * memprof.spec.in: an attempt to update it.
557 Sat Aug 10 13:45:18 2002  Owen Taylor  <otaylor@redhat.com>
559         * README: Few tweaks, add a mini-FAQ.
561 Sat Aug 10 19:39:59 2002  Kristian Rietveld  <kris@gtk.org>
563         * README, NEWS: updates for 0.5.0.
565 Tue Aug  6 21:14:00 2002  Owen Taylor  <otaylor@redhat.com>
567         * memintercept.c (debug): Add a mini-printf implementation, use
568         it for debugging messages.
570         * main.c (show_error_response): Fix cast.
572 2002-08-07  Michael Meeks  <michael@ximian.com>
574         * profile.c (profile_create): insert each member of the list,
575         not just the first repeatedly.
577 Tue Jul 16 01:43:30 2002  Kristian Rietveld  <kris@gtk.org>
579         * copyright-header, bfdutils.c, gui.h, inode.c, leakdetect.[ch],
580         main.c, memintercept.[ch], memprof.h, process.[ch], profile.[ch],
581         server.[ch], tree.c: update copyrights
583         * configure.in: version already to 0.5.0.
585         * memprof.glade: update copyrights in about window
587         * AUTHORS: add myself.
589 Tue Jul 16 01:17:10 2002  Kristian Rietveld  <kris@gtk.org>
591         * main.c (about_cb): set version number in about dialog,
592         (show_error_response): new function,
593         (show_error): destroy message dialog after showing it, get message      
594         types right.
596         * memprof.glade: rename "Execute" menu item to "Run Program" to
597         maintain consistency with the toolbar item, don't set the
598         toolbar-style, so it follows the user-defined setting, remove
599         statusbar from main window as it was unused.
601 Tue Jun 11 01:22:30 2002  Kristian Rietveld  <kris@gtk.org>
603         Finished the GNOME2 port.
605         * Makefile.am: install memprof.glade and not memprof.glade2,
606         remove glade file conversion, removed gnome-question.png from
607         EXTRA_DIST
609         * acconfig.h: added line for HAVE_BIND_TEXTDOMAIN_CODESET
611         * configure.in: check for bind_textdomain_codeset, remove check for
612         libglade-convert
614         * main.c (leak_stack_run_commmand), (run_file):
615         fixup call to show_error,
616         (exit_cb), (run_cb), (skip_add_cb), (skip_regexes_add_cb),
617         (show_error), (process_window_maybe_detach),
618         (process_window_maybe_kill): make message dialog use GtkDialog
619         (includes button swap), 
620         (preferences_cb): add nice close stock icon to close button,
621         (about_cb): don't make about dialog modal,
622         (show_error): add parent_window parameter,
623         (process_window_new): give the main window an icon,
624         (main): init using GnomeProgram, load memprof.glade and not     
625         memprof.glade2, fix show_error call
627         * memprof.h: add parent_window parameter to show_error.
628         
629         * leakdetect.c (leaks_print): fixup call to show_error
630         * profile.c (profile_write): ditto
631         * server.c (mp_server_instrument), (find_lib_location): ditto
633         * memprof.glade: loads of small tweaks, added icons, etc. This is
634         now a glade2 file.
636         * po/POTFILES.in: removed memprof-strings.c, added memprof.glade
638         * po/*po: converted to UTF8.
640         * gnome-question.png, memprof-strings.c: removed
642 Fri May 17 01:47:55 2002  Kristian Rietveld  <kris@gtk.org>
644         * memintercept.c (stack_trace): fix typo (patch from Michael Meeks)
646 2002-05-14  Pablo Saratxaga  <pablo@mandrakesoft.com>
648         * configure.in: Added Vietnamese (vi) to ALL_LINGUAS
650 Tue Mar 12 18:59:11 2002  Kristian Rietveld  <kris@gtk.org>
652         Summary: support for gconf
654         * main.c: include gconf/gconf-client.h, remove hardcoded default
655         values (those are now in the schema), uses GSLists instead of
656         chararrays for skip_funcs and skip_regexes, put preferences dialog
657         XML global, change everything to handle the GSLists, changed
658         pref dialog to be an 'instant-apply-dialog'
660         * memprof-strings.c, memprof.glade: updates, remove the PropertyBox,
661         pack it in a GtkWindow
663         * profile.[ch]: change profile_create to use GSList
665         * configure.in: add check for GConf, not required, but for
666         cleanliness, require newer versions
668         * Makefile.am: install schema
670         * memprof.schemas: new file
672 2002-03-07  Stanislav Visnovsky  <visnovsky@nenya.ms.mff.cuni.cz>
674         * configure.in: Added "sk" to ALL_LINGUAS.
676 2002-03-07  Duarte Loreto <happyguy_pt@hotmail.com>
678         * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
680 2002-03-06  Hasbullah Bin Pit <sebol@ikhlas.com>
682         * configure.in: Added Malay (ms)to ALL_LINGUAS.
683         * po/ms.po: Added Malay Translation.
685 2002-03-05  Carlos Perello Marin <carlos@gnome-db.org>
687         * configure.in: Added "es" to ALL_LINGUAS
689 2002-02-19  Anders Carlsson  <andersca@gnu.org>
691         * memprof.png: Update icon.
693 2002-02-02  Seth Nickell  <snickell@stanford.edu>
695         * Makefile.am:
696         * memprof.desktop:
698         Install .desktop file into the GNOME2 location,
699         tweak the Name and Comments fields, add a
700         Categories field.
701         
702 Sat Dec 15 17:38:23 2001  Owen Taylor  <otaylor@redhat.com>
704         * configure.in (ACLOCAL): Remember ACLOCAL_FLAGS.
706         * profile.c (profile_free): Fix memory leak.
707         
708 2001-12-13  Wang Jian  <lark@linux.net.cn>
710         * configure.in(ALL_LINGUAS): Added zh_CN for Simplified Chinese.
712 Tue Dec 11 21:31:57 2001  Owen Taylor  <otaylor@redhat.com>
714         * leakdetect.c (leaks_find): Don't kill -CONT before
715         detaching -- apparently this isn't necessary any
716         more and prevents us from detaching.
718 Tue Dec 11 20:53:52 2001  Owen Taylor  <otaylor@redhat.com>
720         * profile.c (profile_write): Sort child and inherited
721         lists in the output for better 'diff -u' ability.
723 Tue Dec 11 20:40:37 2001  Owen Taylor  <otaylor@redhat.com>
725         * process.c (process_command): Check for duplicate
726         allocations of a same block, since realloc apparently
727         calls malloc in some cases.
729         * main.c server.c memintercept.c: Warning cleanups.
731         * server.c process.c: Use g_object_new(), not g_type_create_instance.
733         * process.c (process_command): Don't access block->size 
734         after unrefing block.
736 Tue Dec 11 00:41:13  Kristian Rietveld  <kris@gtk.org>
738         Port to gnome2 platform.
740         * Makefile.am: remove intl from SUBDIRS, pkgdata_DATA:
741         s/glade/glade2/, add memprof.glade2 build rule, add -export-dynamic
742         as LDFLAG
744         * acconfig.h: add GETTEXT_PACKAGE
746         * autogen.sh: replace with 'gnome2 generic app autogen.sh'
748         * configure.in: require autoconf 2.52, require intltool,
749         require libglade-convert, use pkg-config instead of gnome-config,
750         don't generate intl/Makefile
752         * main.c: change to GObject where needed, ported glade_xml code,
753         various other porting, get NLS support right and read
754         memprof.glade2 instead of memprof.glade
756         * memprof-strings.c: updated by glade
758         * memprof.desktop: add Dutch Name and Comment
760         * memprof.glade: remove invalid UTF-8
762         * process.[ch], server.[ch]: port to new object system
764         * tree.c: small porting action
766 2001-12-01  Soeren Sandmann  <sandmann@daimi.au.dk>
768         * memintercept.c (memalign): Fix typo (name should be memalign(),
769         not memealign())
771 Thu Jul 19 18:19:52 2001  Owen Taylor  <otaylor@redhat.com>
773         * memprof.glade: Fix wrong tooltip on Kill button. (#55413)
774         
775 2001-02-26  Carlos Perelló Marín <carlos@gnome-db.org>
777         * configure.in (ALL_LINGUAS): Added es.
779 Fri Feb  9 14:54:08 2001  Owen Taylor  <otaylor@redhat.com>
781         * configure.in: Another attempt at 0.4.1. 
783         * server.c (create_control_socket): Added #ifdef'd out
784         code for creating entries in /tmp/memprof.UID/server.PID
785         if the warnings about mktemp() disturb you -- they shouldn't.
787         * server.c: Catch SIGTERM/SIGINT to clean up temporary file correctly.
789 Fri Feb  9 11:49:10 2001  Owen Taylor  <otaylor@redhat.com>
791         * configure.in: Release 0.4.1
793         * main.c (pwin_from_widget): Fix segfault with running accelerators
794         on menus that have never been popped up by using
795         gtk_menu_get_attach_widget() instead of ->parent_menu_shell.
797 Fri Feb  9 10:40:31 2001  Owen Taylor  <otaylor@redhat.com>
799         * Makefile.am (dist-hook): Add some magic to make
800         sure spec file always has an entry for the current
801         version.
803 Fri Feb  9 10:13:43 2001  Owen Taylor  <otaylor@redhat.com>
805         * memintercept.c: Handle __fork, __vfork, so that
806         popen() is handled correctly. 
808         * memintercept.c: Unset _MEMPROF_SOCKET when disabling
809         tracing.
811 Sun Feb  4 14:01:45 2001  Owen Taylor  <otaylor@redhat.com>
813         * configure.in (ALL_LINGUAS): Add pt_BR.
815 2001-01-23  Simos Xenitellis  <simos@hellug.gr>
817         * configure.in: Added el to ALL_LINGUAS.
819         * memprof.desktop: Added Greek translation. 
821 2000-11-07 Elliot Lee <sopwith@redhat.com>
823         * process.c: Initialize variable to NULL to avoid some funky crash.
825 2000-10-31  Zbigniew Chyla  <cyba@gnome.pl>
827         * configure.in: Added pl to ALL_LINGUAS.
829 2000-10-18  Christophe Merlet  <christophe@merlet.net>
831         * memprof.desktop: Added French strings.
833 2000-10-14  Almer S. Tigelaar  <almer1@dds.nl>
835         * configure.in: Add 'nl' to ALL_LINGUAS.
837 2000-10-11  Almer S. Tigelaar  <almer1@dds.nl>
839         * memprof.glade: Add history id for the run dialog, this way
840         previously run files will be remembered and don't have to be
841         re-entered everytime.
843         * memprof-strings.c: Fix the typo previously found by Kjartan
844         Maraas on 2000-08-21 in the glade file.
846 2000-09-08  Szabolcs BAN <shooby@gnome.hu>
848         * configure.in,po/hu.po: Added Hungarian translations from 
849         Greg Nagy <greg@gnome.hu>
851 2000-08-21  Kjartan Maraas  <kmaraas@gnome.org>
853         * memprof_strings.c: Fix typo.
854         
855 2000-08-10  Pablo Saratxaga <pablo@mandrakesoft.com>
857         * configure.in,po/ca.po: added Catalan file
859 2000-08-05  Martin Baulig  <baulig@suse.de>
861         * main.c: Added regex-based exclusion of functions.
862         * memprof.glade: Added section where you can edit a list
863         of regexes of functions to be ignored.
865 Sun Jul  9 19:23:21 2000  Owen Taylor  <otaylor@redhat.com>
867         * leakdetect.c: Add <string.h>
869         * memintercept.c: Allow in a small way for frees from
870         starter block - allow last block to be freed, otherwise 
871         ignore the free. Also, better code for debugging problems
872         at startup.
874 Fri Jul  7 16:24:53 2000  Owen Taylor  <otaylor@redhat.com>
876         * configure.in: Release 0.4.0
878         * memprof.spec.in: Some cleanups
880 Fri Jul  7 16:18:31 2000  Owen Taylor  <otaylor@redhat.com>
882         * process.c (input_func): Fix a couple of bugs with
883         process exit.
885         * memintercept.c (_exit): Increment seqno, and close
886         outfds[i] - to deal with case of threading.
888         * server.c (mp_server_get_type): Reindent.
890         * memintercept.c: Make outbuf non-static to avoid 
891         keeping last block around for leak detection to find.
893 Thu Jul  6 10:52:42 2000  Owen Taylor  <otaylor@redhat.com>
895         * leakdetect.c (find_block): Handle case where no
896         blocks at all exist. (Problem pointed out by
897         Christof Petig.)
899 2000-06-27  Yuri Syrota  <rasta@renome.rovno.ua>
901         * configure.in: Add "uk" to ALL_LINGUAS.
903 Mon Jun  5 10:46:32 2000  Owen Taylor  <otaylor@redhat.com>
905         * configure.in: Add de to ALL_LINGUAS.
907 Sun May 28 15:22:51 2000  Fatih Demir   <kabalak@gmx.net>
908         
909         * configure.in: Added tr to ALL_LINGUAS.
911 Fri May 26 12:55:35 2000  Owen Taylor  <otaylor@redhat.com>
913         * bfdutils.c (find_line): For a sufficiently screwed up
914         object file, bfd_find_nearest_line can return TRUE but
915         leave name NULL. Account for this.
917         * bfdutils.c: Reindent.
919         * process.c (process_exec_reset): Fix problem where
920         signal was being emitted on finalize.
922 Wed May 24 23:30:02 2000  Owen Taylor  <otaylor@redhat.com>
924         * process.c (mp_process_finalize): Add a finalize
925         function.
927 Wed May 24 23:18:12 2000  Owen Taylor  <otaylor@redhat.com>
929         * process.c (mp_process_init): 
930         * server.c (mp_server_init):
932         Ref and sink objects to make them strictly reference
933         counted.
935 Wed May 24 05:26:18 2000  Owen Taylor  <otaylor@redhat.com>
937         * tree.c main.c: Always confirm when killing or
938         detaching from a process.
939         
940         * main.c (run_file): When running a new process, and we
941         have an existing process, create a new window for the
942         new process.
944         * main.c: Add a SIGCHLD handler so we don't have to
945         worry about waiting for processes we've detached from.
947 Wed May 24 04:22:28 2000  Owen Taylor  <otaylor@redhat.com>
949         * main.c gui.h (process_window_maybe_kill) process.[ch]
950           (process_kill): Add functions for killing processes.
952         * memprof.glade main.c: Menu reorganization, replace detach
953         toolbar item with kill.
955 Wed Jan 12 10:42:35 2000  Owen Taylor  <otaylor@redhat.com>
957         * configure.in (MEMPROF_LIBS): Link against -lbfd and
958         -liberty statically, since the so's change with every
959         release of binutils.
961         * testmemprof.c: Make a bit more interesting.
963 Tue May 23 20:06:57 2000  Owen Taylor  <otaylor@redhat.com>
965         * process.c main.c memprof.glade: Start of support for detaching from
966         running or exited processes.
968         * tree.c main.c gui.h: Add popup menu to tree for show/hide/detach.
970 Tue May 23 18:47:54 2000  Owen Taylor  <otaylor@redhat.com>
972         * memintercept.c: Avoid overwriting errno.
974 Tue May 23 16:40:17 2000  Owen Taylor  <otaylor@redhat.com>
976         * process.[ch]: Add functions to get the command line and 
977         status of the process.
979         * Makefile.am tree.c gui.h memprof.glade: Add tree window to display
980         all current traced processes.
982 Tue May 23 14:19:44 2000  Owen Taylor  <otaylor@redhat.com>
984         * server.[ch] process.[ch]: Add process and server GtkObject's
985         with signals for process creation, status changes, exit.
987         * memintercept.[ch] process.c: Trap _exit() and wait for a
988         response from the server. Add a MI_EXIT command.
990         * inode.c memprof.h: Separate out the inode-finding code from process.c
991         
992 Tue May 23 05:05:10 2000  Owen Taylor  <otaylor@redhat.com>
994         * main.c process.c memintercept.c: Hook up the follow-fork
995         and follow-exec options.
997         * main.c: Quit when all windows are closed.
999         * main.c: Catch windows being closed from the window manager
1000         and remove timeouts properly.
1002 2000-05-07  Valek Filippov  <frob@df.ru>
1004         * ru.po: Added "ru" to ALL_LINGUAS.
1006 2000-05-03  Kjartan Maraas  <kmaraas@online.no>
1008         * no.po: Added "no" to ALL_LINGUAS.
1009         
1010 2000-02-23  Peter Hawkins       <peterhawkins@ozemail.com.au>
1012         * main.c: Stopped preferences dialog from being opened multiple times at once.
1014 2000-02-21  Lauris Kaplinski  <lauris@ariman.ee>
1016        * configure.in: Added et to ALL_LINGUAS
1017         
1018 Tue Jan  4 02:41:28 2000  Owen Taylor  <otaylor@redhat.com>
1020         * README: Added note telling Debian users about more
1021         splitty little packages they need.
1023         * configure.in (MEMPROF_LIBS): Added check for -lglade-gnome
1025 Sat Nov 20 17:14:40 1999  Owen Taylor  <otaylor@redhat.com>
1027         * bfdutils.c (process_map_sections): Try accessing
1028         section->_cooked_size to deal with bug(?) in older
1029         binutils.
1031         * memintercept.c (STACK_MAX_SIZE): Change PIPE_BUF to
1032         #define constant since we no longer use pipes.
1034 Sat Nov 20 10:40:48 1999  Owen Taylor  <otaylor@redhat.com>
1036         [ Sync CVS with my current tree. This commit destabilizes
1037           things a bit, but adds neat new features like
1038           correct tracing of threaded programs; some options like
1039           turning off following forks not yet implemented ]
1040         
1041         * memintercept.[ch]: Major reworking of the way we handle
1042         intercepting malloc() and friends - the __malloc_hook
1043         functionality is inherently not thread safe. So
1044         directly override the functions in our LD_PRELOAD.
1045         Also, override fork(), clone() and exec() and report these
1046         back to our parent to allow tracing of threads and
1047         forking programs.
1049         * process.c memintercept.c: Change the mechanism for
1050         communicating with subprocesses from a single pipe to
1051         a Unix domain socket with accepts connections for
1052         new subprocesses.
1053         
1054         * process.c: Completely rework handling of getting input
1055         from multiple processes. Add a command-queue to deal
1056         with recieving out-of-order input from multiple threads
1057         within a single process.
1058         
1059         * main.c: Allow multiple process windows, create new
1060         process windows when a fork or exec occurs.
1061         
1062         * Makefile.am: add -ldl to LIBADD for libmemintercept.so,
1063         since we now use DL functions to get original symbols. 
1065         * process.c bfdutils.c memprof.h: Add an exported demangle function,
1066         store symbol names demangled.
1068         * README: Add note for Debian users telling them to
1069         install binutils-dev.
1071 1999-11-17  Elker Cavina <e.cavina@ra.nettuno.it>
1073        * configure.in: Added it to ALL_LINGUAS
1074         
1075 Thu Nov  4 13:14:36 1999  Owen Taylor  <otaylor@redhat.com>
1077         * process.c: Re-indent to Linux style.
1079         * memprof.glade main.c (process_window_destroy): Add ability
1080         to close windows.
1082 1999-11-15  Martin Norbäck  <d95mback@dtek.chalmers.se>
1084         * configure.in: Added sv to ALL_LINGUAS
1086 Thu Oct 28 09:22:42 1999  Owen Taylor  <otaylor@redhat.com>
1088         * process.c (process_find_exec): Fix extra free
1089         in case where executable is not found. 
1090         (Pointed out by Sven Neumann <neumann@simul.biophys.uni-duesseldorf.de>)
1092 Wed Oct 27 20:58:03 1999  George Lebl  <jirka@5z.com>
1094         * main.c: (update_status) if current_process->n_allocations,
1095           don't divide by it and just strdup a "-"
1097 Wed Oct 27 16:22:03 1999  Owen Taylor  <otaylor@redhat.com>
1099         * Released 0.3.0
1101 Wed Oct 27 15:17:08 1999  Owen Taylor  <otaylor@redhat.com>
1103         * process.c (input_func): Remove a bunch of duplicate
1104         code - we don't need separate malloc/realloc/free cases.
1106         * process.c (input_func): Fix stupid unitialized
1107         variable.
1109 Wed Oct 27 12:26:02 1999  Owen Taylor  <otaylor@redhat.com>
1111         * memintercept.c: Reindent to linux style
1113         * memintercept.c (stack_trace): Write out output in
1114         single write() call to ensure atomicity.
1116         * memintercept.c (my_free_hook): Changed hooks
1117         to match glibc-2.1 prototypes
1119         * *.[ch]: Added copyrights to source files.
1121         * main.c process.c process.h: Pass pre-split args
1122         into process_run(), add functions for splitting
1123         args and finding the executable.
1125         * main.c: Add code from Michael Meeks <michael@nuclecu.unam.mx>
1126         for specifying the program to debug from the command
1127         line.
1129 Mon Oct 25 15:17:38 PDT 1999 Manish Singh <yosh@gimp.org>
1131         * configure.in: add a -ldl fallback test for libiberty
1133 Wed Oct 20 19:59:16 1999  Owen Taylor  <otaylor@redhat.com>
1135         * main.c (DEFAULT_STACK_COMMAND): Use emacsclient instead of 
1136         gnudoit because emacsclient is standard.
1138         * process.c (read_inode): Fix mem leak found by MemProf.
1140 Wed Oct 20 18:46:22 1999  Owen Taylor  <otaylor@redhat.com>
1142         * process.c (process_init): Look in libdir, not pkgdatadir
1143         for libmemintercept.so
1145         * process.c (process_init): Look in .libs for libmemintercept.so
1146         so things work in the non-installed case.
1148         * configure.in (MEMPROF_LIBS): Use right -l flags when
1149         checking for -lbfd.