1 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
3 * minibuffer.C (peek_event): temporarily reduce the functionality
4 of the minibuffer (to allow args on lfuns)
6 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
7 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
9 * buffer.C (readInset): add compability reading of old float
10 lists, add reading of new style float list.
11 (readInset): avoid reevaluation of inscmd.getCmdName()
14 * MenuBackend.C (MenuItem): implement parsing of
15 md_floatlistinsert and md_floatinsert.
16 (expand::LastFiles): move initalizaton of iterators out of loop,
18 (expand::Documents): introduce typdedef vector<string> Strings,
20 (expand::ExportFormats): introduce typedef vector<Format const *>
22 (expand): implement FloatListInsert and FloatInsert.
24 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
25 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
26 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
28 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
30 (Dispatch::LFUN_FLOAT_LIST): implement
32 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
34 * LaTeX.C (run): Fix problem with --export code.
36 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
38 * BufferView.[Ch] (workarea): removed.
39 (getClipboard) new method; wrapper for workarea()->getClipboard()
41 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
44 * WorkArea.h (width, height, xpos, ypos): These methods all
45 returned the dimensions of the work_area sub-area of WorkArea,
46 resulting in a position error if the WorkArea were resized. Now
47 return the dimensions of the entire WorkArea.
49 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
51 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
53 * LaTeX.C (deplog): correct the syntax of regex reg1
55 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
57 * undo.C: remove !NEW_INSETS cruft
59 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
61 * text2.C: remove !NEW_INSETS cruft
63 * text.C: remove !NEW_INSETS cruft
65 * tabular.C: remove !NEW_INSETS cruft
67 * spellchecker.C: remove !NEW_INSETS cruft
69 * lyxtext.h: remove !NEW_INSETS cruft
71 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
73 * lyxfunc.C: remove !NEW_INSETS cruft
75 * lyxfind.C: remove !NEW_INSETS cruft
77 * lyx_cb.C: remove !NEW_INSETS cruft
79 * figureForm.C: remove !NEW_INSETS cruft
81 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
83 * buffer.[Ch]: remove !NEW_INSETS cruft
85 * ToolbarDefaults.C: remove !NEW_INSETS cruft
87 * CutAndPaste.C: remove !NEW_INSETS cruft
89 * BufferView_pimpl.C: remove !NEW_INSETS cruft
91 * BufferView2.C: remove !NEW_INSETS cruft
93 * BufferView.h: remove !NEW_INSETS cruft
95 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
97 * Lsstream.h: include LString.h before the sstream headers to
98 fix problem with gcc 2.95.3 and lyxstring
100 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
102 * lyx_main.C: add using directives when needed for C functions
103 declared in std:: namespace.
105 2001-04-27 Juergen Vigna <jug@sad.it>
107 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
108 (SetHeightOfRow): comment out the update call should not be needed!
110 2001-04-13 Juergen Vigna <jug@sad.it>
112 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
113 (LyXTabular): tried to minimize operator= operations (and realized
116 2001-04-27 Juergen Vigna <jug@sad.it>
118 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
120 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
122 * lyxfunc.C (Dispatch): hack to make listof algorithm work
124 * buffer.C (readInset): hack to make listof algorithm work
126 * BufferView_pimpl.C: hack to make listof algorithm work
128 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
130 * LyXAction.C: removed all !NEW_INSETS cruft
131 (init): moved lfun_item in method
133 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
135 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
137 * BufferView2.C (theLockingInset): white space.
139 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
141 * minibuffer.C: include <iostream>
143 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
145 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
147 * commandtags.h: add LFUN_TRANSPOSE_CHARS
149 * text.[Ch] (TransposeChars): new method
151 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
153 * call message directly through LyXView instead of through LyXFunc
154 * BufferView2.C: adjust
155 * BufferView_pimpl.C: adjust
156 * FontLoader.C: adjust
158 * bufferview_funcs.C: adjust
159 * converter.C: adjust
160 * figureForm.C: adjust
163 * lyx_gui_misc.C: adjust
167 + more files in subdirs
169 * lyxparagraph.h (size): move up int file
172 * adjust all uses of Assert to lyx::Assert.
174 * BufferView2.C (ChangeCitationsIfUnique): adjust for
175 lyxfunctional in namespace lyx
176 * layout.C (hasLayout): ditto
179 (delete_layout): ditto
180 (NumberOfClass): ditto
181 * converter.C (GetFormat): ditto
186 * bufferlist.C (getFileNames): ditto
187 (emergencyWriteAll): ditto
190 * MenuBackend.C (hasSubmenu): ditto
193 * BufferView_pimpl.C (getInsetByCode): ditto
195 2001-04-18 Juergen Vigna <jug@sad.it>
197 * vspace.C (asLatexString): fixed the 100% problem.
199 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
201 * lyxfunc.C (Dispatch):
203 * minibuffer.h: add a few std:: qualifiers
205 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
207 * minibuffer.[Ch]: reimplement so that commands is initiated and
208 run from lyxfunc, simplified som handling, and made the completion
209 and history code for complete. wip.
211 * lyxfunc.C (processKeySym): call message
212 (miniDispatch): new temporary method
213 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
214 (LFUN_MESSAGE): implement
215 (LFUN_MESSAGE_PUSH): implement
216 (LFUN_MESSAGE_POP): implement
217 (initMiniBuffer): the initial/defualt minibuffer message.
219 * lyxfont.[Ch]: inline some more getters
221 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
223 * lyx_gui_misc.[Ch] (WriteStatus): remove method
225 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
226 (AutoSave): use LFUN_MESSAGE
229 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
231 * figureForm.C: use LFUN_MESSAGE
233 * converter.C (runLaTeX): use LFUN_MESSAGE
235 * bufferview_funcs.C: use LFUN_MESSAGE
239 * bufferparams.h: use boost::
241 * bufferlist.h: inherit privately from noncopyable
243 * bufferlist.C (loadLyXFile): remove some commented code.
245 * buffer.C (runChktex): use LFUN_MESSAGE
247 * ShareContainer.h: inherit privately from noncopyable
249 * ParagraphParameters.[hC] (depth): inline it.
251 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
253 (message): new method
256 (show): init minibuffer
257 (showState): direct call
259 * LaTeX.[Ch]: inherit privately from noncopyable
260 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
261 instead of WriteStatus.
263 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
265 * BufferView_pimpl.C (buffer): don't init minibuffer
266 (workAreaButtonPress): use LFUN_MESSAGE
267 (workAreaButtonRelease): ditto
268 (savePosition): ditto
269 (restorePosition): ditto
270 (MenuInsertLyXFile): ditto
271 (workAreaExpose): don't init minibuffer
272 (update): remove commented code, simplify
274 * BufferView2.C (openStuff): use LFUN_MESSAGE
278 (copyEnvironment): ditto
279 (pasteEnvironment): ditto
284 (updateInset): remove some commented code
286 * lastfiles.h: inherit privately from noncopyable
291 * lyxlex_pimpl.h: ditto
293 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
294 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
295 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
297 * LyXAction.h: inherit privately from noncopyable, add methods
298 func_begin, func_end, returning iterators to the func map.
300 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
301 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
302 (func_begin): new method
303 (func_end): new method
305 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
307 (copySelection): ditto
308 (pasteSelection): ditto
310 * BufferView.C: whitespace change
311 * BufferView.h: inherit privately from noncopyable
313 2001-04-16 Allan Rae <rae@lyx.org>
315 * tabular-old.C (l_getline):
316 * spellchecker.C (sc_check_word):
317 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
318 an unrecognised preprocessor directive. So ensure they're wrapped.
320 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
322 * src/exporter.C (Export): Give an error message when path to file
325 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
327 * LaTeX.C (deplog): Always check that foundfile exists.
329 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
332 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
334 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
336 * tabular.[Ch] (getLabelList): implement new method
338 * minibuffer.h: comment ouf setTiimer
340 * minibuffer.C (ExecutingCB): constify res
341 (peek_event): constify s
342 (Set): constify ntext
343 (Init): constify nicename
345 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
347 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
348 (savePosition): use two params to Minibuffer::Set
349 (restorePosition): ditto
351 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
353 * lyx_main.C: include language.h
355 * Makefile.am (lyx_main.o): add language.h
357 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
363 * CutAndPaste.C: include gettext.h
365 * lyxfont.h: remove old hack with ON and OFF.
368 * lyxfont.h: do not include language.h...
373 * bufferview_funcs.C:
379 * paragraph.C: ... but do it here instead
381 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
383 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
385 * tabular.C: small reformat
387 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
390 (BreakParagraph): ditto
391 (SetOnlyLayout): ditto
394 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
397 * lastfiles.C: removed most using decl, add std:: where needed
399 * buffer.C: ws changes
401 * MenuBackend.C (class compare_format): put into anon namespace
402 (expand): constify label, names, action, action2
405 * text.C (SingleWidth): constify font
406 (IsBoundary): constify rtl2
407 (GetVisibleRow): constify ww
409 * LaTeX.C (deplog): constify logfile
411 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
413 (workAreaExpose): constify widthChange, heightChange
415 * lyxrow.C (par): moved
418 * lyxrow.h: as inlines here
420 * lyxfont.h (shape): moved from lyxfont.C
421 (emph): moved from lyxfont.C
423 * lyxfont.C (LyXFont): use initialization list for all
425 (shape): move to lyxfont.h as inline
426 (emph): move to lyxfont.h as inline
429 2001-04-04 Juergen Vigna <jug@sad.it>
431 * vspace.C: had to include stdio.h for use of sscanf
433 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
436 * BufferView_pimpl.h: remove xforms cruft. Both classes are
437 independent of xforms.
439 2001-04-02 Juergen Vigna <jug@sad.it>
441 * spellchecker.C: fixed namespace placing!
443 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
445 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
446 the LyXParagraph * is 0.
448 2001-03-29 Juergen Vigna <jug@sad.it>
450 * vspace.C: added support for %, c%, p%, l%.
451 (stringFromUnit): added helper function.
452 (asLatexString): changed to give right results for the %-values.
454 * buffer.C: convert the widthp in a width%.
456 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
458 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
461 * figureForm.[Ch]: stripped the FD_from_figure manipulation
462 code out of lux_cb.[Ch], ready for its (imminent?) removal.
464 * lyx_cb.[Ch]: see above.
466 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
470 * lyx.[Ch]: replaced by figure_form.[Ch].
474 * lyxfunc.C: changed headers associated with above changes.
476 2001-03-27 Juergen Vigna <jug@sad.it>
478 * BufferView_pimpl.C: set the temporary cursor right!
480 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
482 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
484 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
486 * LString.h: removed "using std::getline"!
488 * BufferView_pimpl.C (Dispatch): changes due to changes in
489 InsetInclude::Params.
491 * buffer.C (tag_name): removed redundant break statements as they were
492 producing lots of warnings with my compiler.
494 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
496 * LString.h: add "using std::getline" when using the real <string>.
498 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
500 * buffer.C: removed bitset usage.
501 PAR_TAG moved to an anonymous name space.
502 (tag_name): new funtion, also in the anonymous namespace.
503 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
504 (makeDocBookFile): clean code. Completed transition from string arrays
506 (SimpleDocBookOnePar): code clean.
508 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
510 * tabular.C: add some comments.
512 2001-03-22 Juergen Vigna <jug@sad.it>
514 * buffer.C (parseSingleLyXformat2Token): redone the minipage
515 compatibility read a bit and fixed bug with minipage in different
518 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
520 * buffer.C (pop_tag): removed.
522 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
523 array replaced with vector. Added support for CDATA sections.
524 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
526 (makeDocBookFile): XML conformant declaration of CDATA section,
527 fixed bug related to <emphasis> in the first paragraph char.
528 (sgmlOpenTag): exclude empty tags.
529 (sgmlCloseTag): ditto.
531 * buffer.h (pop_tag): removed.
534 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
536 * language.h (Languages): added size_type and size().
538 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
540 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
541 response on compability reading of minipages. One probliem is that
542 the old usage of minipages was «flertydig»
544 * several files here and in subdirs: don't use static at file
545 scope use anon namespaces instead.
547 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
549 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
550 LaTeX output. This is necessary for Literate document
553 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
555 * buffer.C: insert hfill when needed.
557 * tabular.C (l_getline): use string::erase, small whitespace change.
559 * BufferView_pimpl.C: try the anon namespace.
562 2001-03-16 Juergen Vigna <jug@sad.it>
564 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
565 otherwise it won't open options-dialogs.
567 * buffer.C: honor pextraWidth(p) on converting minipages.
569 * tabular.C (l_getline): changed the functions to strip trailing \r.
571 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
573 * BufferView_pimpl.C:
574 * minibuffer..C: added "using SigC::slot" declaration.
576 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
578 * lyxlex_pimpl.h: noncopyable is in namespace boost.
586 * lyxtext.h: NO_PEXTRA
588 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
590 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
591 * ParameterStruct.h: ditto
592 * ParagraphParameters.h: ditto
593 * lyxparagraph.h: ditto
595 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
597 * buffer.C: add compability for minipage alignment.
598 (latexParagraphs): remove unwanted pextra check.
600 * several files: remove CXX_WORKING_NAMESPACES
602 * buffer.C (pop_tag): tie is in namespace boost
604 * BufferView.h: noncopyable is in namespace boost
610 * bufferlist.h: ditto
611 * ShareContainer.h: ditto
616 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
618 * Merging changes from BRANCH_MVC back into HEAD.
620 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
622 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
624 * BufferView_pimpl.C: change from intl.C
628 * Makefile.am: move combox.*
634 * intl.C: remove dialog (covered by prefs)
636 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
638 * lyxfunc.C (Dispatch): removed redundant break statement.
640 2001-03-14 Juergen Vigna <jug@sad.it>
642 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
644 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
646 * buffer.C: add hack to fix compability reading of minipages.
648 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
650 * buffer.C (getLists): Cleanup.
652 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
654 * lyxfont.C (update): don't honor toggleall on font size.
656 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
660 * Makefile.am: moved to frontends/xforms/
664 * BufferView_pimpl.C: changes for moved mathpanel
666 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
668 * gettext.h: fix gettext_init() in --disable-nls
670 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
672 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
674 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
677 * lyx.h: strip external form
679 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
681 * BufferView_pimpl.C: add comment, destroySplash()
683 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
685 * BufferView_pimpl.C:
689 * lyxfunc.C: use re-worked insetinclude
691 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
693 * buffer.C: add using std::stringstream.
695 * lyx_cb.C: readd using std::ios.
697 * buffer.C: add using std::map.
699 * BufferView_pimpl.C: add using std::vector.
701 * ShareContainer.h: add std:: to swap.
703 * buffer.h: add some typedefs
704 * buffer.C (getLists): use them
705 (getLists): renamed from getTocList.
706 add a counter for the different float types and use it in the
708 (getLists): use the same counter for the NEW_INSETS and the "non"
711 * lyx_cb.h: remove unused items, includes, using etc.
713 * ShareContainer.h: remove some commented code, add more comments
716 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
718 * buffer.C (getTocList): make the list also when NEW_INSETS is
721 * buffer.h: remove TocType
723 * buffer.C (getTocList): change to return a map<string,
724 vector<TocItem> >, implement for dynamic number of list.
726 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
727 * text2.C (PasteSelection): adjust
728 * CutAndPaste.C (pasteSelection): adjust
730 * FloatList.C (FloatList): update from the new_insets branch.
731 * Floating.[Ch]: ditto
732 * LaTeXFeatures.C: ditto
734 * lyxlex_pimpl.C: ditto
736 * paragraph.C (Last): remove when NEW_INSETS is defined.
738 * other file: changes because of the above.
740 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
742 * lyxparagraph.h: rename next to next_, previous to previous_,
743 make them private for NEW_INSETS. Rename Next() to next(),
744 Previous() to previous().
746 * other files: changes because of the above.
748 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
751 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
754 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
756 * main.C (main): pass lyx_localedir to gettext_init().
758 * gettext.h: remove locale_init and gettext_init macros
760 * gettext.C (locale_init): new function
761 (gettext_init): new function
763 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
766 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
768 * Moved credits to frontends:
769 * credits.[Ch]: removed
770 * credits_form.[Ch]: removed
771 * lyx_gui_misc.C: remove credits stuff
774 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
776 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
778 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
781 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
782 a standalone pointer again.
784 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
786 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
801 * BufferView_pimpl.C: use new file dialog in GUII
804 * lyx_cb.C: remove LayoutsCB to Toolbar
806 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
808 * ShareContainer.h (get): add std:: qualifier
810 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
812 * ShareContainer.h: define a proper ShareContainer::value_type
813 type (and use typename to please compaq cxx)
815 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
817 * lyxparagraph.h: move serveral local vars to
818 ParameterStruct/ParagraphParameters., use ShareContainer in
819 FontTable., make vars in FontTable private and add getter and
822 * paragraph.C: changes because of the above.
824 * lyxfont.h: remove copy constructor and copy assignment. (the
825 default ones is ok), move number inside FontBits. move inlines to
828 * lyxfont.C: add number to initializaton of statics, move several
829 inlines here. constify several local vars. some whitespace
830 cleanup. Dont hide outerscope variables.
832 * Spacing.h: add two new constructors to match the set methods.
834 * ShareContainer.h: new file, will perhaps be moved to support
836 * ParameterStruct.h: new file
838 * ParagraphParameters.h: new file
840 * ParagraphParameters.C: new file
842 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
843 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
845 * BufferView_pimpl.C: ParagraphParameter changes.
846 * buffer.C: Likewise.
847 * bufferview_funcs.C: Likewise.
851 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
853 * lyxfind.C (LyXReplace): do not redefine default argument in
855 (IsStringInText): ditto
856 (SearchForward): ditto
857 (SearchBackward): ditto
859 2001-03-06 Juergen Vigna <jug@sad.it>
861 * lyxfind.C (IsStringInText): put parentes around expressions.
863 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
865 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
867 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
869 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
871 * stl_string_fwd.h: add comment
873 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
876 * tabular.C: remove unused DocBook methods
882 killed DO_USE_DEFAULT_LANGUAGE
884 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
886 * lyx_gui.C: do not include language.h.
888 * bufferview_funcs.C (ToggleAndShow): do not provide optional
889 arguments in function implementation.
891 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
893 * BufferView_pimpl.C: add <ctime>
895 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
897 * BufferView_pimpl.C: add using std::find_if
899 2001-02-27 José Matos <jamatos@fep.up.pt>
901 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
904 2001-02-11 José Matos <jamatos@fep.up.pt>
906 * buffer.C (makeDocBookFile): command styles now have a parameter as
909 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
911 * layout_forms.[Ch]: removed
912 * lyx_cb.[Ch]: out character
913 * lyx_gui.C: out character
914 * lyx_gui_misc.C: out character
915 * bufferview_funcs.C: : out character,
916 added toggleall as parameter in ToggleAndShow
918 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
920 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
922 * text2.C (SetCurrentFont): Disable number property at boundary.
924 2001-02-26 Juergen Vigna <jug@sad.it>
926 * lyxfunc.C (getStatus): added a string argument override function so
927 that this is correctly called from LyXFunc::Dispatch if it contains a
928 do_not_use_argument which is used!
929 (Dispatch): added check for "custom" export and call appropriate func.
931 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
933 * lyxrc.C: Add language_command_local, language_use_babel and
934 language_global_options.
936 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
938 * buffer.C (makeLaTeXFile): Use language_use_babel and
939 language_global_options.
941 2001-02-23 Juergen Vigna <jug@sad.it>
943 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
944 which works with LyXText and putted it inside BufferView. Here now we
945 only call for that part the BufferView::Dispatch() function.
947 * BufferView.C (Dispatch): added.
949 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
950 functions which needs to use a LyXText over from LyXFunc.
951 (MenuInsertLyXFile): added
952 (getInsetByCode): added
953 (moveCursorUpdate): added
956 2001-02-22 Juergen Vigna <jug@sad.it>
958 * BufferView_pimpl.C (update): call a status update to see if LyXText
961 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
963 * vc-backend.C (revert): implement for CVS
964 (getLog): implement for CVS
966 2001-02-20 Juergen Vigna <jug@sad.it>
968 * text2.C (ClearSelection): added BufferView param for inset_owner call
970 * lyxfunc.C (TEXT): added this function and use it instead of
971 directly owner->view()-text of getLyXText().
973 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
975 * src/layout_forms.C: out preamble
976 * src/layout_forms.h: out preamble
977 * src/lyx_cb.C: out preamble
978 * src/lyx_cb.h: out preamble
979 * src/lyx_gui.C: out preamble
980 * src/lyx_gui_misc.C: out preamble
981 * src/lyxfunc.C: connect with guii preamble
983 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
985 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
987 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
989 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
990 whether to run bibtex.
992 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
994 * Makefile.am (lyx_SOURCES): Remove BackStack.h
996 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
998 * Makefile.am (lyx_SOURCES): removed bibforms.h
1002 * text.C (GetVisibleRow): make several local vars const
1004 * tabular.C: small cleanup.
1006 * lyxserver.C (callback): use compare instead of strncmp
1008 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
1009 inlines to after class or to paragraph.C
1011 * lyxfont.h: remove friend operator!=
1013 * converter.h: move friend bool operator< to non friend and after
1016 * combox.h: small cleanup
1018 * buffer.h: doxygen, remove unused constructor, move inclas inlies
1019 to inlines after class def.
1021 * buffer.C (pop_tag): use string operations instead of strcmp
1023 * bmtable.c: doxygen, small cleanup
1025 * LaTeX.h: remove friend operator==
1027 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
1039 * BufferView_pimpl.C:
1040 * BufferView.[Ch]: remove cruft
1042 2001-02-14 Juergen Vigna <jug@sad.it>
1044 * lyxfunc.C: removed #if 0 unused code
1046 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
1048 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
1050 * text2.C (SetSelection): added a BufferView * parameter
1052 2001-02-13 Juergen Vigna <jug@sad.it>
1054 * lyxfunc.C (Dispatch): fixed protected blank problem.
1055 * BufferView2.C (protectedBlank): added LyxText * parameter.
1057 * tabular.C (AppendRow): forgot to set row_info of newly added row.
1058 (AppendColumn): same as above for column_info.
1060 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
1061 (moveCursorUpdate): use a LyXText param for support of InsetText.
1063 * BufferView_pimpl.C (doubleClick): added support for InsetText.
1064 (tripleClick): ditto
1066 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
1068 * BufferView_pimpl.C (update): added LyXText param to honor insets.
1070 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
1072 * text2.C (SetSelection): set correct update status if inset_owner
1075 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
1077 * tabular.C: remove some commented code.
1079 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
1081 * BufferView_pimpl.C: call hideSplash()
1083 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
1086 * bibforms.h: remove
1089 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
1090 add LFUN_CHILD_CREATE
1092 * counters.h: fix tiny typo
1097 * lyx.C: move splash to frontends/xforms/
1099 * lyx_gui_misc.C: move Include and Bibform to frontends
1101 * lyxvc.h: clarify comment
1103 * vspace.C: tiny housekeeping
1105 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
1107 * text.C (PrepareToPrint): RTL Fix.
1109 * paragraph.C (GetUChar): New method.
1110 (String): Use GetUChar.
1112 * buffer.C (asciiParagraph): Use GetUChar.
1114 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
1116 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
1118 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
1121 * buffer.C: rename to getLogName(), handle
1122 build log / latex log nicely
1124 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1127 * MenuBackend.h: remove support for reference menuitem type.
1129 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
1131 * BufferView_pimpl.C: housekeeping
1132 * BufferView_pimpl.h:
1137 * minibuffer.h: move Timeout GUI-I
1139 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
1141 * lyxrc.C (read): Update converters data-structures.
1143 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
1145 * LaTeX.h (operator!=): add operator != for Aux_Info
1147 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
1149 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
1151 * LaTeXLog.C: deleted, useful code moved to Buffer
1154 * buffer.C: new function getLatexLogName()
1160 * lyxfunc.C: use frontends for LaTeX and VC logs
1162 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1164 * LaTeX.h: yet another std:: that Allan forgot.
1166 * Variables.C (set): renamed from isset(), because this clashes
1167 with some HP-UX macros (grr).
1169 2001-02-06 Allan Rae <rae@lyx.org>
1171 * LaTeX.h: Another bug fix. Missing std:: this time.
1173 2001-02-04 Allan Rae <rae@lyx.org>
1175 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
1176 floats problem. I've left it commented out because it's not quite
1177 correct. It should also test that the current object is a table or
1178 figure inset. But I haven't gotten around to figuring out how to do
1179 that. I *think* it'll be something like: "table" == inset.type()
1181 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
1184 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
1186 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
1187 all the citation/databases/styles in the auxilary file.
1188 (run): Rerun latex if there was a babel language error.
1190 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
1192 * text.C (Backspace): Preserve the font when changing newline char
1194 (BreakParagraph): If the cursor is before a space, delete the space.
1196 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
1198 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
1200 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
1201 new argument (code).
1202 (ChangeCitationsIfUnique): New method.
1204 * paragraph.C (GetPositionOfInset): Handle bibkey.
1206 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1208 * BufferView_pimpl.h: change type of Position::par_pos to
1209 LyXParagraph::size_type.
1211 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
1213 * BufferView_pimpl.C (savePosition, restorePosition): Write
1214 messages to minibuffer.
1216 2001-01-28 José Matos <jamatos@fep.up.pt>
1218 * buffer.C (makeDocBookFile): adds support for document language.
1219 A silly restriction on the name of LatexCommand types where removed.
1220 Added support for CDATA sections, allows to chars unescaped, used
1221 among others in code, to avoid escape < and >.
1223 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
1225 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
1226 saved positions instrad of a stack. Furthermore, a position is
1227 stored using paragraph id/paragraph position.
1229 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
1230 Remove LFUN_REF_BACK.
1232 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
1234 * converter.C (dvipdfm_options): New method.
1236 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
1238 * vspace.C (isValidLength): Fix for empty input string.
1240 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1242 * LyXAction.C (init): change description of LFUN_FIGURE to
1245 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1247 * LaTeX.C: add using directive
1249 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
1251 * MenuBackend.C (expand): Fix the sorting of the formats.
1253 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
1255 * lyx_main.C: tiny error message fix
1257 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1259 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
1260 calling fl_initialize(). This fixes the problem with ',' as
1261 decimal separator in text files.
1263 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
1265 * trans.C (process): Fix the keymap bug.
1267 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
1269 * LaTeX.C (scanAuxFiles): New method. Provides support for
1270 multiple bibliographies (when using the bibtopic/bibunits pacakges).
1271 (scanLogFile) Scan for "run BibTeX" messages.
1273 * buffer.C (makeLaTeXFile): Do not load the ae package when using
1274 OT1 font encoding. Also, load the aecompl package if the ae
1277 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
1279 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1281 * texrow.C (increasePos): turn two error messages into debug
1284 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
1286 * LaTeX.C (scanAux): Handle the \@input macro.
1287 (runBibTeX): Use scanAux().
1289 * language.C (latex_options_): New field.
1291 * LaTeXFeatures.C (getMacros): Add language macros.
1293 * buffer.C (makeLaTeXFile): Small fix.
1295 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1297 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
1299 * text2.C: add a using directive.
1301 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
1306 * lyxfunc.C: kill LyXBell.
1308 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
1310 * text.C (IsBoundary): Remove the error message
1312 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
1314 * lyxrc.C (setDefaults): Correct initialization value for
1317 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
1319 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
1322 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
1325 * src/LyXAction.C: Added reference-next.
1327 * text.C (InsertChar): Use contains instead of strchr.
1329 * lyx_cb.C (MenuInsertLabel): Enable default value code.
1331 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
1333 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
1334 alignment commands (when needed).
1336 * text.C (InsertChar): Add ':' to number separator chars.