pkgsrc/devel/anjuta/patches/patch-bc
rillig b366697976 Updated anjuta to 2.0.2.
Anjuta 2.0.2 (15 May 2006) -- Naba Kumar

New: GtkSourceView based editor
New: Project configuration
New: Valgrind plugin
New: Tab drag&drop in Editor
Updated: Manual and FAQ

Improved: global tags can now be updated after installation
Improved: Remember toolbars on restart
Improved: Tag manager now knows about classes/namespaces which
should make C++ programming much more easy (IComplete)
Improved: Devhelp plugin improved but we still have linking problems
Improved: Scintilla is now up-to-date 1.68

Known issues:
- Glade plugin crashes because of namespace conflict with libglade (#341073)
- Devhelp plugin cannot be loaded without setting the correct LD_PATH (#341170)

Bug fixes:
#171314		Anjuta crash when trying to do "stream comment"
#311420 	Crash on terminal deactivation
#317454 	Anjuta crash when array lenght is incorrect
#332084 	Anjuta crashes, when Ctrl+c is pressed.
#170467 	crash when changing fonts and color in the preferences di...
#172442 	inserting empty box comment
#172666 	cvs diff does not always obtain full diff
#300231 	Find pane non-functional
#304495 	Project saved as fullscreen
#304641 	Can't type the "-character
#305082 	anjuta 2.0.0: crash in debugger / watch / inspect memory
#305301 	In menu tree "Settings"->"Customize shortcuts" there are ...
#305587 	gtkmm project compile crash
#306790 	doble click in a message, doesn't find the file.
#306966 	Search tool on the tool bar don't work correctly
#306970 	The order of the command buttons "Close" - "Search" - "St...
#307800 	Crashes when project directory removed from command line.
#307810 	Can't configure a project after creating with new project...
#307872 	Remember Configure and autogen options for the next time
#307879 	Crashed when exiting
#308870 	Glade Plugin Won't open Glade file.
#309153 	code cleanup use glib/gi18n.h
#309348 	Anjuta 2.0.1, Anjuta application crash upon build (F9)
#309526 	Help->ReportBugs points to removed bug tracking system
#309688 	When committing a file that is loaded, I get a file-modif...
#311710 	freeze in __lll_mutex_lock_wait () after crash?
#312566 	Patch that will fix another make -j 10 problem
#312666 	Return "F3" to execute project
#314069 	Window gets hidden when using glade3 plugin
#315188 	Project Wizard Problems
#315218 	anjuta 2.0 freeze on opening my project
#315521 	Failed to compile HEAD-hourly-2005-09-05-18
#316731 	Can not add new encodings
#320338 	Colors of tab menu labels
#320341 	Critical error in debugger "locals" window.
#321090 	Wrong array/struct/union var type display in locals windows
#321455 	Ask for root password when installing
#322634 	anjuta_ui_add_action_group_entries : Anjuta Developers Re...
#322744 	New anjuta plugin project configured incorrectly
#324572 	anjuta crashes on open
#328209 	Crash when opening a file while an unsaved new file is open
#332161 	Test editor not opening
#333601 	GPL headers are first to c-header template.
#333606 	Macro contain hyphen
#334663 	Allow to set a parent class to new GObject class
#335142 	crash when opeing a second file
#336389 	Should check for libwnck
#107510 	Excessive messages marked for translation in anjuta
#304650 	make -j CPUS doesn't always work for anjuta2
#334546		No more lookup widget
#312319 	Opening files when Anjuta is already open
#339296		Wizard can't cope with insufficient permissions in project target directory

Anjuta 2.0.1 (26 Jun 2005) -- Naba Kumar

New: Group and target properties (for automake based projects)
New: Improvements in class heirarchy. Added members view.
New: Tools plugin improvements and scripts as tools.
New: Prepare-ChangeLog tool.
New: Find-Fixmes tool.
New: Project translation status tool.
New: Save and restore editor current line positions.
New: Added configure flags to enable/disable optional plugins.
New: Message saving from menu.
New: Message manager context menu.
New: Remember plugins profile for project sessions.
Mew: Progress bar implementation.
New: Better progress bar in splash.
New: General preferences page.
New: "Add to project" in file wizard and class wizard implemented.
New: glade plugin improvements.
Updated: RPM spec file
Bug fix: Fixed lots of project import bugs.
Bug fix: Group and target removal.
Bug fix: Fixed Message tab position preferece.
Bug fix: Scroll messages on next/previous.
Bug fix: Fixed crash on project Import
Bug fix: Fixed crash on terminal dockings.
Bug fix: Fixed crash on exit (after using save-as dialog once).
Bug fix: Fixed crash on exit.
Bug fix: Fixed mime installation screw-up
Bug fix: Fixed installation paths.
Bug fix: Fixed 64bit arch build problems
Bug fix: Fixed Autoformat/indent problems.
Bug fix: Fixed Keyboard shortcuts for message navigation.
Bug fix: Fixed graphviz build problems.
Bug fix: Start gdb even if the program does	not exists. Fixes bug #305074
Bug fix: Fixed default font names and sizes.
Bug fix: Fixed errors in opening zero sized files.
Bug fix: Fixed buttons order in open dialog.

Anjuta 2.0.0 (15 May 2005) -- Naba Kumar

Architecture and code base:
New: New plugin architecture and all IDE components ported to this framework.
New: Complex docking shell that allows arbitrary docking of IDE widgets.
New: Dynamic plugin activation and deactivation.
New: Extensible architecture.
New: Plugins can interact with other plugins through interface.
New: Plugins can install dynamic UIs (menus/toolbars), including installing
	 context menus in other plugins.
New: Shell and Plugin API documentation.

Integration:
New: Integrated help system with Devhelp.
New: Integrated glade UI designer (incomplete).

Editor plugin:
New: Scope memeber autocompletion (e.g ., -> and :: autocompletion).
New: Editor split views.
New: Automatic indentation with tabbing.
New: More syntax highlighting lexers
New: Split multiple views of document
New: Remote editing (full gnome-vfs support)
New: Real-time file modification monitor.

Project management and build plugin:
New: Multiple parallel builds and independent debugging and execution.
New: Synchronous project management (simultaneous manual and automatic management)
New: Mime based filemanager and desktop integration.

Other plugins:
New: Task Manager.
New: Macro plugin allows inserting predefined and user defined texts (macros).
New: Easily extensible template based project wizards (based on autogen).
New: Symbol search plugin.
New: C++ and GObject based class wizard.
New: Class inheritance diagram plugin.
New: Subversion plugin (incomplete)
New: Session management framework.
Updated: Debuger uses GDB machine-interface.
Updated: CVS plugin
Updated: Pretty much everyting.
2007-01-04 11:29:07 +00:00

170 lines
5.5 KiB
Text

$NetBSD: patch-bc,v 1.1 2007/01/04 11:29:07 rillig Exp $
Tags: for-upstream
Please check the code with -Wformat=2.
--- plugins/sourceview/anjuta-document-saver.c.orig 2006-03-03 14:53:04.000000000 +0100
+++ plugins/sourceview/anjuta-document-saver.c 2007-01-04 05:23:01.000000000 +0100
@@ -274,7 +274,7 @@ write_document_contents (gint
g_set_error (error,
ANJUTA_DOCUMENT_ERROR,
result,
- gnome_vfs_result_to_string (result));
+ "%s", gnome_vfs_result_to_string (result));
}
return res;
@@ -376,7 +376,7 @@ copy_file_data (gint sfd,
g_set_error (&err,
ANJUTA_DOCUMENT_ERROR,
result,
- gnome_vfs_result_to_string (result));
+ "%s", gnome_vfs_result_to_string (result));
ret = FALSE;
@@ -396,7 +396,7 @@ copy_file_data (gint sfd,
g_set_error (&err,
ANJUTA_DOCUMENT_ERROR,
result,
- gnome_vfs_result_to_string (result));
+ "%s", gnome_vfs_result_to_string (result));
ret = FALSE;
@@ -460,7 +460,7 @@ save_existing_local_file (AnjutaDocument
g_set_error (&saver->priv->error,
ANJUTA_DOCUMENT_ERROR,
result,
- gnome_vfs_result_to_string (result));
+ "%s", gnome_vfs_result_to_string (result));
goto out;
}
@@ -473,7 +473,7 @@ save_existing_local_file (AnjutaDocument
g_set_error (&saver->priv->error,
ANJUTA_DOCUMENT_ERROR,
GNOME_VFS_ERROR_IS_DIRECTORY,
- gnome_vfs_result_to_string (GNOME_VFS_ERROR_IS_DIRECTORY));
+ "%s", gnome_vfs_result_to_string (GNOME_VFS_ERROR_IS_DIRECTORY));
}
else
{
@@ -492,7 +492,7 @@ save_existing_local_file (AnjutaDocument
g_set_error (&saver->priv->error,
ANJUTA_DOCUMENT_ERROR,
GNOME_VFS_ERROR_READ_ONLY,
- gnome_vfs_result_to_string (GNOME_VFS_ERROR_READ_ONLY));
+ "%s", gnome_vfs_result_to_string (GNOME_VFS_ERROR_READ_ONLY));
goto out;
}
@@ -523,7 +523,7 @@ save_existing_local_file (AnjutaDocument
g_set_error (&saver->priv->error,
ANJUTA_DOCUMENT_ERROR,
GNOME_VFS_ERROR_GENERIC,
- gnome_vfs_result_to_string (GNOME_VFS_ERROR_GENERIC));
+ "%s", gnome_vfs_result_to_string (GNOME_VFS_ERROR_GENERIC));
goto out;
}
@@ -594,7 +594,7 @@ save_existing_local_file (AnjutaDocument
g_set_error (&saver->priv->error,
ANJUTA_DOCUMENT_ERROR,
result,
- gnome_vfs_result_to_string (result));
+ "%s", gnome_vfs_result_to_string (result));
close (tmpfd);
unlink (tmp_filename);
@@ -610,7 +610,7 @@ save_existing_local_file (AnjutaDocument
g_set_error (&saver->priv->error,
ANJUTA_DOCUMENT_ERROR,
result,
- gnome_vfs_result_to_string (result));
+ "%s", gnome_vfs_result_to_string (result));
/* try to restore... no error checking */
rename (backup_filename, saver->priv->local_path);
@@ -631,7 +631,7 @@ save_existing_local_file (AnjutaDocument
g_set_error (&saver->priv->error,
ANJUTA_DOCUMENT_ERROR,
result,
- gnome_vfs_result_to_string (result));
+ "%s", gnome_vfs_result_to_string (result));
close (tmpfd);
goto out;
@@ -748,7 +748,7 @@ save_existing_local_file (AnjutaDocument
g_set_error (&saver->priv->error,
ANJUTA_DOCUMENT_ERROR,
result,
- gnome_vfs_result_to_string (result));
+ "%s", gnome_vfs_result_to_string (result));
goto out;
}
@@ -794,7 +794,7 @@ save_new_local_file (AnjutaDocumentSaver
g_set_error (&saver->priv->error,
ANJUTA_DOCUMENT_ERROR,
result,
- gnome_vfs_result_to_string (result));
+ "%s", gnome_vfs_result_to_string (result));
goto out;
}
@@ -867,7 +867,7 @@ save_local_file (AnjutaDocumentSaver *sa
g_set_error (&saver->priv->error,
ANJUTA_DOCUMENT_ERROR,
result,
- gnome_vfs_result_to_string (result));
+ "%s", gnome_vfs_result_to_string (result));
next_phase = (GSourceFunc) open_local_failed;
@@ -910,7 +910,7 @@ remote_get_info_cb (GnomeVFSAsyncHandle
g_set_error (&saver->priv->error,
ANJUTA_DOCUMENT_ERROR,
info_result->result,
- gnome_vfs_result_to_string (info_result->result));
+ "%s", gnome_vfs_result_to_string (info_result->result));
remote_save_completed_or_failed (saver);
@@ -965,7 +965,7 @@ async_xfer_ok (GnomeVFSXferProgressInfo
g_set_error (&saver->priv->error,
ANJUTA_DOCUMENT_ERROR,
res,
- gnome_vfs_result_to_string (res));
+ "%s", gnome_vfs_result_to_string (res));
/* abort xfer */
return 0;
@@ -1076,7 +1076,7 @@ async_xfer_error (GnomeVFSXferProgressIn
g_set_error (&saver->priv->error,
ANJUTA_DOCUMENT_ERROR,
progress_info->vfs_status,
- gnome_vfs_result_to_string (progress_info->vfs_status));
+ "%s", gnome_vfs_result_to_string (progress_info->vfs_status));
remote_save_completed_or_failed (saver);
@@ -1137,7 +1137,7 @@ save_remote_file_real (AnjutaDocumentSav
g_set_error (&saver->priv->error,
ANJUTA_DOCUMENT_ERROR,
result,
- gnome_vfs_result_to_string (result));
+ "%s", gnome_vfs_result_to_string (result));
/* in this case no need to close the tmp file */
save_completed_or_failed (saver);
@@ -1188,7 +1188,7 @@ save_remote_file_real (AnjutaDocumentSav
g_set_error (&saver->priv->error,
ANJUTA_DOCUMENT_ERROR,
result,
- gnome_vfs_result_to_string (result));
+ "%s", gnome_vfs_result_to_string (result));
goto error;
}