2005-11-15 David A Knight * screem-file-browser.c: fixed screem_file_browser_scan_iter() 2005-11-12 David A Knight * features.xml: added coldfusion and asp.net to markup and dynamic * mime/screem.xml.in: added aspx and asax as application/x-aspx * screem-application.c: backport setting of ~/ on the fake site after creation as it is no longer done on site construction free up cache from screem_get_mime_type() when finalizing * screem-ctags-model.c, screem-editor.c, screem-linkview.c, screem-page.c, screem-tagfile.c. screem-tagtree.c: change for screem_get_mime_type() returning a const string. * screem-file-browser.c: use a GStringChunk for caching mime types. * screem-macro-manager.c: make sure column titles are translated. * screem-markup.c: prevent lockup when reading attributes avoid descending into script elements when fixing links correctly deal with uris containing %20 etc. when fixing links * screem-page-model.c: added <% %> to the tags that we auto set as not being allowed close tags * screem-site-model.c: backport fix for virtual roots the const string from the signal as the mime type in the model. * screem-site.c: don't scan ~/ on creation, only scan when a pathname is set, doing ~/ if NULL is passed as the pathname (for fake site) * support.c: screem_get_mime_type() and screem_get_mime_type_override() now return const strings. screem_get_mime_type_override() caches mime types in a GStringChunk 2005-10-28 David A Knight * screem-spell.c: don't desensitize the notebook, just the table, so the config tab can still be used 2005-10-24 David A Knight * screem-tag-inspector.c: fixed potential lockup in build_style_entries() * support.c: use g_strndup() in screem_support_charset_convert() when duping the original string 2005-10-22 David A Knight * screem-window-menus.c: added shift+ctrl+v for paste encoded 2005-10-21 David A Knight * screem-dtd.c: free up parameter entities after parsing is complete. 2005-10-20 David A Knight * screem.schemas.in: enable right_margin and highlight_current_line by default 2005-10-17 David A Knight * screem-application.c: use gnome_vfs_make_uri_from_shell_arg() for start_files args instead of the messy code we had before. * pageUI.c, screem-site-ui.c: use gnome_vfs_make_uri_from_input() instead of the messy code we had before * screem-editor.c: added support for inserting via drag/drop for css files * sitestore.c: cleanup warnings 2005-10-16 David A Knight * screem-helper-manager.c: use a GSList instead of GList for the list of helpers 2005-10-14 David A Knight * screem-view.c: changed SET_ACTION macro to see if we have a page rather than getting the current sensitivity status 2005-10-12 David A Knight * screem-editor.c: check for xml doc when inserting via drag/drop support inserting text/javascript files as a tag via drag/drop 2005-10-11 David A Knight * screem-markup.c: display warning if we get a page without a dtd in screem_markup_fix_html_links() handle no dtd in process_attrs() by checking for specific attr names like in screem_markup_get_links(). (src, data, href, url) * screem-site.c: modified screem_site_file_change() to use screem_site_get_pages(), ref all pages while processing and unref when done, instead of screem_site_foreach_page(). 2005-10-10 David A Knight * support.c: removed screem_get_glade_path(), now just use GLADE_PATH"/screem.glade" everywhere we used to call this. * object-wizard.c: use gtk_file_chooser_set_current_folder_uri() rather than gtk_file_chooser_set_current_folder() as the site pathname will be a uri. * readtags.c: include config.h * screem-dbus.c: use DBUS_VERSION > 33000 for dbus_connection_close / dbus_connection_disconnect - patch from Giandomenico De Tullio * screem-debug-console.c: fix crash on close. 2005-09-28 David A Knight * screem-markup.c: fixed bug with in screem_markup_next_tag() not returning a tag if the ]]> isn't found. 2005-09-27 David A Knight * funcref_php.tagtree, funcref_python.tagtree: removed the tags that bluefish uses but screem doesn't. 2005-09-25 David A Knight * screem-dtd-db.c: don't use g_new0() in screem_dtd_load_catalog. Just declare as arrays of BUFSIZ. * screem-dtd.c: changed screem_dtd_sort_element_list() to screem_dtd_reverse_sort_element_list() to avoid doing a g_slist_reverse() when copying it and using g_slist_prepend(). general optimisation * screem-editor.c: fixed potential leak of priv->pword when finalizing. * screem-mdi.c: don't leak GtkTooltips object when removing a tab. * screem-site-view.c, screem-window.c: don't leak GtkTooltips objects. * screem-page.c: fixed leak. * screem-tagfile.c: improved parsing speed 2005-09-24 David A Knight * screem-file-progress-dialog.c: no need to keep the GladeXML object around, so unref after init. 2005-09-22 David A Knight * screem-site.c: fixed bug in screem_site_set_pathname() underflowing a buffer. * screem-macro-manager.c: free up GMarkupParserContext after parsing clear up Macro objects when finalizing * screem-helper.c: fixed leaks in screem_helper_new_from_file() * screem-application.c: fix another leak in screem_application_init_tag_styles() 2005-09-20 David A Knight * screem-tagfile.c: change back to old GMarkup based parsing instead of xmlDoc / XPath. This results in using far less memory. 12.6 meg heap compared to 33.6 previously. (amd64 ubuntu breezy figures) don't set success flag to TRUE if we failed to parse. fixes a crash. * data/mime/screem.xml.in: removed text/x-php entry, it was a hack as the proper type wasn't in gtksourceview, but it causes problems. changed text/x-php-source to application/x-php-source * support.c: mime override for .phps only add mime types to the mime type store if they have a description * screem-tagtree.c: support autocomplete if the tag file mime type is a parent of the requested type. 2005-09-16 David A Knight * screem-dtd.c: use a GStringChunk for storing element and attribute names so we only have 1 copy of the names in memory. * screem-plugin.pc.in: added a pkg-config file for standalone screem plugin development * screem-application.c: fixed mem leaks in screem_application_init_tag_styles * screem-hint.c: removed the list of ScreemHint objects, we only ever have one. don't keep the GladeXML object around after construction, we can access the ScreemHint object from whatever widget the callback gives by walking up the widget tree till we hit the top, which will be the ScreemHint 2005-09-04 David A Knight * screem-xml-model.c: don't allow user specified columns make it work * screem-xml-model-test.c: test app for ScreemXmlModel 2005-08-28 David A Knight * screem-page.c: changed error highlighting tag to use an underline (PANGO_UNDERLINE_ERROR) rather than the bright yellow background. 2005-08-26 David A Knight * screem-window.c: added screem_window_get_view() to obtain the current ScreemView * screem-window-menus.c: added Insert Command menu item + dialog, which creates a temporary helper for running a command line. * screem-helper.c: implement SCREEM_HELPER_STDOUT_INSERT using screem_window_get_view() / screem_view_insert() read using a do/while in child_stdout() and child_stderr() to make sure we get all the data available 2005-08-23 David A Knight * support.c: added .php to screem_get_mime_type_override() to avoid php files being incorrectly identified as html files. 2005-08-13 David A Knight * gdl-dock-layout.c, gdl-dock-master.c, gdl-dock-object.c, gdl-dock-placeholder.c: update from gnome cvs 2005-08-13 David A Knight * screem-markup.c: fix screem_markup_is_attribute() so it doesn't crash if an attribute isn't closed properly 2005-08-11 David A Knight * screem-tagfile.c: precompile xpath expressions 2005-08-10 David A Knight * screem-search.c: support use of \1 \2 etc. in replace string for replacing with submatches in a regexp and use of \r \n \t in both cases. * screem-file.c: added screem_file_get_size() as we can't rely on strlen as the data may contain embeded nil bytes, e.g. with utf-16 encoding. 2005-08-04 David A Knight * screem-file-browser.c: cleanup scan_directory() a bit, moving specific code to screem_file_browser_scan_directory() and screem_file_browser_scan_iter() to avoid needless checks. * screem-site-view.c: store a list of GtkTreePaths for each collapse / expand we want otherwise the iters become invalid when we are dealing with a fake site and expand a node. limit restoring session status to non fake sites for now. 2005-07-29 David A Knight * vfsdriver.c: fixed stupid error in vfs_mkdir(), wasn't dereferencing the result point when checking for GNOME_VFS_OK 2005-07-26 David A Knight * screem-site.c: removed auto_open stuff, it hasn't been used for ages 2005-07-25 David A Knight * screem-dbus.c: added NetworkManager support for controlling offline status * screem-tag-inspector.c: call load_file() for stylesheets where the page isn't in the site rather than letting libcroco attempt to load the file. fixes inability to load remote css files * screem-search.c: use load_file() rather then screem_page_load() when searching all files in a site and the file isn't loaded, this avoids the gtksourcebuffer highlighting memory overheads no longer escape url in screem_search_change_file() * general cleanup of signedness warnings 2005-07-22 David A Knight * screem-dbus.c: added. * screem-application.c: moved all dbus related code to screem-dbus.c 2005-07-21 David A Knight * uploadWizard.c: don't wait for the user to click upload, automatically start upload when opening the dialog. always keep going if creating directories fails instead of having the checkbox reworked dialog to match the one used by nautilus. auto close when finished uploading 2005-07-19 David A Knight * screem-markup.c: rewritten screem_markup_is_attribute() it was horribly broken. * screem-window-menus.c: implemented NextAttribute and PrevAttribute action callbacks using screem-markup.c functions rather than using the model as it doesn't provide the needed info at the moment. * screem-editor.c: fixed screem_editor_unindent() to work with spaces instead of tabs + unindent either, no matter what mode we are in. 2005-07-18 David A Knight * screem-file-browser.c: make use of FILE_BROWSER_SHOW_COL instead of using a visible_func on the filter model. * screem-site-model.c: added util functions for adding virtual roots, e.g. images etc. + adding their child nodes. * screem-application.c: call gtk_clipboard_store() when closing the last window, fixes crash on exit * fileops.c: changed load_file() to return a gchar * rather than a GString * * screem-window-menus.c, screem-dtd-db.c, screem-page-druid.c: removed use of default_dtd gconf key, use the newer doctype/mime mapping. * screem-dtd-db.c: made screem_dtd_db_lookup_mime_type() public * screem-window-menus.c: fixed close all when there aren't any changes * screem-site.c: check priv->loading in screem_site_write_project_file() and return TRUE without saving if we are in the middle of loading the site, fixes excludes/ignores being lost when loading if the site contains todo items. 2005-07-11 David A Knight * libegg/toolbar-editor: moved editable toolbar code to libegg directory, synced up with latest code. * libegg/recent-files: merged latest libegg version. 2005-07-09 David A Knight * screem-helper-manager.c: added screem_helper_manger_get_browsers() to get the external browser helpers * screem-window-menus.c: added external browsers to a ScreemDropdownAction, this replaces all the external browser toolbar buttons Call screem_window_create_browsers() in an idle handler so the GtkActions for the browser helpers will already be added. 2005-07-07 David A Knight * screem-site.c: modified screem_site_set_pathname() to store an unescaped version of the path. 2005-07-06 David A Knight * screem-helper.c: keep a list of ScreemHelperData, which stores the running status / variables for a helper, this is a change from before where this was stored in ScreemHelperPrivate and is needed so multiple instances of a helper can execute at once. added %p to helper properties, so the url a site can be viewed at can be passed to a helper * screem-preferences.c: disabled external browser config, browsers are now handled via helpers * screem-window-menus.c, screem-window.c: disabled external browser actions 2005-07-04 David A Knight * screem-icon-cache.c: odd bug appeared under breezy, we aren't getting the requested icon size, scale to the requested size if it is wrong. 2005-07-01 David A Knight * screem-spell.c: support using enchant to perform spellchecking instead of the pipe to ispell. configure with --enable-enchant use g_utf8_next_char etc. when getting words. support ignoring all uppercase words, and words with numbers 2005-06-24 David A Knight * screem-mdi.c: added mime type / doctype to the tab tooltip 2005-06-22 David A Knight * screem-page.c: added screem_page_get_title_name() which returns the filename/path in the format for the window title bar. * screem-window.c: changed screem_window_set_title() to take only the window and the page + use screem_page_get_title_name(); * screem-mdi.c: use screem_page_get_title_name() for the manage documents dialog filename column. * screem-site-model.c: don't do the gtktreemodelfilter hack we were doing. 2005-06-18 David A Knight * screem-dtd-db.c: fixed screem_dtd_db_get_conflicts(), was fetching the comparison root element from the wrong public id * screem-page-model.c: store root element in use as priv->curroot when we encounter it in build_step. pass priv->curroot to screem_dtd_db_get_default_dtd() call screem_page_model_dtd_set() in an idle handler when we are missing a . claim gdk lock when calling screem_dtd_db_get_default_dtd() in screem_page_model_dtd_set() as the loading dialog may appear. modify build_step to make sure we are using the correct dtd 2005-06-14 David A Knight * screem-dtd-db.c: screem_dtd_db_lookup_mime_type() now correctly picks out the doctype with matching root element even if one that doesn't match the root is found first. 2005-06-13 David A Knight * support.c: added screem_strip_extra_space() for compressing multiple space chars down to 1. tabs / newlines are replaced with 1 space character * screem-tag-inspector.c: use screem_strip_extra_space() for element descriptions. * screem-window-menus.c: added confirmation for saving for Close All. 2005-06-08 David A Knight * screem-tagtree.c: allow labels to wrap/be selectable in the tagtree info dialog. * cfml.xml.in: start of a ColdFusion tagtree 2005-06-06 David A Knight * screem-dtd-db.c: screem_dtd_db_get_default_conflicts() added to find conflicts of default doctypes. implemented screem_dtd_db_lookup_mime_type() * screem-doctype-manager.c: check for conflicts before allowing defaults to be set, showing a confirmation dialog if needed. 2005-06-04 David A Knight * pageUI.c: make screem_page_save_as() take a ScreemApplication. added screem_page_save_pages_confirmation() + screem_page_save_page_confirmation() utility for confirming single pages. screem_page_save_confirmation() should now only be used for saving docs before running external apps on them, not saving. * screem-site-ui.c: use screem_page_save_pages_confirmation() when closing a site * gedit-close-confirmation-dialog.c: pinched from gedit. 2005-06-03 David A Knight * fileops.c: added a quick hack to remember the current dir in the file selector, doesn't work with file chooser buttons yet, or when working on a site. 2005-06-02 David A Knight * screem-cvs.c: don't try to add message text in screem_cvs_add() * screem-doctype-manager.c: split out doctype preference code into its own file for easier maintenance. * screem-dtd-db.c: added functions to obtain the mime type a specific publicid should be applied to + if the root element should match as well as the mime type * screem-window.c: copy gedit style title bar, which follows the HIG better than we were doing added screem_window_set_title() so we have 1 place which formats the title bar text. * screem-mdi.c: use screem_window_set_title(), not gtk_window_set_title() * screem-page.c: class documents who's parent type is text/plain as a page. 2005-06-01 David A Knight * screem-dtd-db.c: added an active column which shows if the doctype should be hidden or not default all doctypes to be hidden unless overriden renamed override file to doctypes.xml + install a systemwide one by default. This can be edited by editing which are visible as a normal user of screem, then copying ~/.screem/doctypes.xml to $prefix/share/screem/ * screem-preferences.c, screem-window-menus.c: filter dtd list store on the active column + provide a show all toggle button in doctypes preferences / insert doctype dialog. * screem-page-druid.c: filter dtd list store on active column. unlike preferences/insert dialog don't have a show all as it doesn't fit in well with the combo box style * screem-page-model.c: when we have no doctype set, and there is no doctype tag found, perform a check for mime type / root element mapping to a default doctype. * screem-preferences.c: removed publicid column in properties frame of doctype tag. it is already displayed in the list store as the selected item. Removed default doctype entry in the misc page. setup apply for combo box in doctypes tab, doesn't set anything yet. * screem-application.c: added screem_application_get_features() to obtain the features hash table, passing NULL as the type will obtain the main table, non NULL will obtain the table matching that feature. 2005-05-30 David A Knight * screem-view-iface.c: removed, bad idea, didn't work out * screem-view.c: revert to previous style with ScreemView, keeping all the screem_view_*() functions we moved over from screem-editor.c though. set sensitivity on actions with corresponding view methods. 2005-05-29 David A Knight * screem-apps-model.c: support 2.10.x versions of libgnome-menu as well as newer versions * screem-editor.c, screem-window.c, screem-window-menus.c, screem-tagtree.c, screem-search.c, screem-plugin.c, screem-macro-manager.c: use screem_view_* rather than screem_editor_* where appropriate, screem_editor_* versions now private to ScreemEditor. * screem-editor.c, screem-linkview.c, screem-preview.c, screem-tree-view.c: use ScreemViewIface * screem-view-iface.c: ScreemViewIface interface for use by all views * screem-view.c: class now called ScreemViewDefault, which implements ScreemViewIface to provide a default base class for views that need access to the window properties etc. Only implements screem_view_show_message() and screem_view_show_error(). other methods should be handled by derived classes adding a ScreemViewIface. 2005-05-25 David A Knight * configure.in: rename to configure.ac up libgnome-menu requirement to 2.11.1 * screem-site-model.c: add fix from screem-stable for screem_site_model_removed() 2005-05-20 David A Knight * general cleanup: removed screem-macros.h, use G_DEFINE_TYPE instead. 2005-05-13 David A Knight * support.c: call gtk_file_chooser_set_action() on the button in screem_create_gtk_file_chooser_button() to work around http://bugzilla.gnome.org/show_bug.cgi?id=303987 2005-05-12 David A Knight * screem-application.c: fix dbus usage so we can support 0.30+ as well as 0.22 * configure.in: check which dbus version we are using * pl.po: update from Jacek 2005-05-08 David A Knight * screem-window-menus.c: change screem-editable-toolbars.xml to screem-editable-toolbars2.xml in ~/.screem so undo/redo buttons will appear. 2005-05-07 David A Knight * screem-cvs.c: ensure base dir ends with G_DIR_SEPARATOR * screem-helper.c: add special case with SCREEM_IS_CVS to overide directory to spawn in * screem-icon-cache.h: added SCREEM_ICON_CACHE_DEFAULT_SIZE which is our default icon size for the filebrowser, symbol browser, tag tree etc. * screem-ctags-model.c, screem-file-browser.c, screem-site-model.c, screem-site-view.c, screem-tagfile.c: use SCREEM_ICON_CACHE_DEFAULT_SIZE instead of hardcoding to 16, icons will be bigger as the default size has been set to 20 for greater consistancy with nautilus. 2005-05-06 David A Knight * screem-editor.c: release gdk lock when calling gnome_print_dialog_construct() as it seems to try and claim it leading to a deadlock. * screem-window-menus.c: fixed egg_toolbars_model_set_flags() calls to have position/flags the correct way round. updated address for free software foundation in the license text for the about dialog * all .c files: updated address for free software foundation in header comment. * screem-ctags-model.c: g_hash_table_destroy() priv->cache and priv->mime, not g_object_unref 2005-05-04 David A Knight * screem-helper-manager.c: fixed bug with refreshing helper details, where the name/command was previously lost. fixed critical warning on adding a helper caused by the filter visibility function not checking to see if the row has values set yet. 2005-05-03 David A Knight * docs/C/screem.xml: added keyboard shortcut tables added donations appendix * screem-helper.c: default to helpers existing, change exists status if the command changes * screem-page-model.c: don't call g_object_set() on the related ScreemPage when the dtd is set on a ScreemPageModel, the dtd property on a ScreemPage is just a proxy for the ScreemPageModel setting. 2005-05-02 David A Knight * screem-helper.c: take notice of the TryExec field in helper desktop files. If there is no TryExec field then parse the command args to get the executable name. If the exec fails set the sensitivity on the helper action to false. * screem-file-browser.c: added filtered and sorted models to the base tree model with g_object_set_data() * screem-site-model.c: hack around gtk crash by clearing the filter model on the file browser tree model before we set values. * support.c: removed screem_gtk_widget_destroy_idle() hack. * screem-editor.c: stop using the ugly destroy idle hack, just return TRUE properly whenever we destroy the autocomplete popup 2005-04-30 David A Knight * screem-window.c: allow dropping of directories on a window to open a site, instead of trying to open it as a page. * screem-helper-manager.c: make use of a GtkTreeModelFilter to hide system helpers so the user can't remove them, only helpers they have added themselves * screem-helper.c: store the filename we load a helper from 2005-04-29 David A Knight * screem-site-model.c: pass ScreemSite as the first arguement to screem_site_model_calc_stats() so we can use screem_site_is_excluded(). Do not include files which are excluded in the statistics. 2005-04-22 David A Knight * screem-ctags-model.c: store full path in the model for the file, to avoid building it up when we want to use it clear file->icon cache when the theme changes, and rebuild it * screem-tagfile.c: store strlen( prefix ) in ScreemTagFilePrivate so we can avoid calling it for every node in the tag file * screem-editor.c: only check for autocompletions if the previous check on the same word prefix gave us results 2005-04-21 David A Knight * screem-ctags-model.c: added autocompletion functions * screem-editor.c: add ctags autocompletion as well as tag tree autocompletion * screem-window.c: added the ScreemCtagsModel as an object property * screem-tagfile.c: g_strdup() autocompletion string for non tip text 2005-04-20 David A Knight * screem-site.c: screem_site_set_remote_path() now appends a "/" character if the path doesn't end with one, * screem-window-menus.c: correctly replace %s in external browser command for dynamic pages. 2005-04-19 David A Knight * screem-window-menus.c: fixed External Preview to use the dynamic/static settings specified for the site. * screem-search.c: if a page wasn't loaded when we are searching all files in a site, and we find no match, set the page as unloaded and free up the buffer to avoid using up needless memory * screem-page.c: added screem_page_unload() which will erase the text buffer contents and flag the object as unloaded 2005-04-18 David A Knight * screem-search.c: screem_search_set_from() now takes a third arguement, indicating if the search should be reset with the change. * screem-window-menus.c: edit_menu_search_callback() now doesn't reset the search for find again * support.c: added screem_gtk_widget_destroy_idle() * screem-editor.c: use screem_gtk_widget_destroy_idle() in the autocomplete popup code for destroying the popup window. fixes crash when pasting with the popup still displayed. * screem-application.c: call gdk_notify_startup_complete() when we open a document in an already running instance of screem. 2005-04-17 David A Knight * screem-helper.c: pulse the progress bar when we are running a helper allow helpers to run without a page if they don't read from stdin, and only output to the messages window * screem-window.c: scroll messages / errors text views to the end after adding new messages. * screem-window-menu.xml: add show hidden / backup files to the main view menu added Site Statistics item to the site menu * screem-cvs.c: use -z3 * screem-site-ui.c: moved site stats out of the settings dialog and into its own standalone one. * screem-helper-manager.c: fixed response callback to correctly obtain the ScreemHelperManager * uploadWizard.c: fixed crash with screem_site_get_sync_status() 2005-04-16 David A Knight * screem-site.c: fix setting of import status on a site when we open a directory which doesn't contain a screem project file * gdl-dock-paned.c: use version from monodevelop, which has sane resize semantics 2005-04-12 David A Knight * screem-search.c: return FALSE from on_focus_out events like we should have been doing. 2005-04-06 David A Knight * screem-dtd.c: return TRUE/FALSE from screem_dtd_parse() to signify successful parsing or not support parsing of , doesn't do anything with it yet though. stop parsing if we hit a tag we don't expect, e.g. not ELEMENT, ATTLIST, ENTITY, NOTATION * screem-dtd-db.c: throw away ScreemDTD objects that failed to parse their dtd 2005-04-04 David A Knight * screem-page-druid.c: changed how we obtain the filename, now use a GtkEntry for the name, and a GtkFileChooserButton to choose the directory to create it in. * screem-site-druid.c: changed how we obtain the pathname for the site. use the site name and create that folder in the folder that is chosen by the GtkFileChooserButton 2005-03-25 David A Knight * screem-site-view.c: fix crash with the popup menu when clicking on a row in the fake site. 2005-03-24 David A Knight * screem-file-browser.c: hack around the problems with GtkTreeModelFilter by clearing the filters cache when we set new values on the underlying tree store * screem-page-model.c: fixed parsing of