1 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
5 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7 * bufferlist.C (emergencyWrite): fix assert() call
9 2001-05-04 Kayvan A. Sylvan <kayvan@camel.internal.sylvan.com>
11 * text.C (InsertChar): Added trivial patch to only send the "you
12 can not do multiple spaces this way" message once during a
15 2001-05-08 Baruch Even <baruch@lyx.org>
17 * Makefile.am: Changed order of libraries to get LyX to link properly
18 with the gnome frontend.
20 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
22 * LaTeXFeatures.h: add a std:: qualifier
24 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
26 * paragraph.C (String): use stringstream
28 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
30 * paragraph.C (writeFile): remove footflag arg
32 * buffer.C (makeLaTeXFile): use stringstream
33 (latexParagraphs): remove footnot gurba
35 * LaTeXFeatures.C (getPackages): use stringstream
37 (getTClassPreamble): likewise
38 (getFloatDefinitions): new method
40 * paragraph.C (writeFile): reindent
43 * WorkArea.h: revert the xpos + etc changes.
45 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
47 * lyxparagraph.[Ch]: add copy constructor, remove Clone
49 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
50 (pasteSelection): likewise
51 * text2.C (CreateUndo): likewise
53 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
55 * minibuffer.C (peek_event): temporarily reduce the functionality
56 of the minibuffer (to allow args on lfuns)
58 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
59 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
61 * buffer.C (readInset): add compability reading of old float
62 lists, add reading of new style float list.
63 (readInset): avoid reevaluation of inscmd.getCmdName()
66 * MenuBackend.C (MenuItem): implement parsing of
67 md_floatlistinsert and md_floatinsert.
68 (expand::LastFiles): move initalizaton of iterators out of loop,
70 (expand::Documents): introduce typdedef vector<string> Strings,
72 (expand::ExportFormats): introduce typedef vector<Format const *>
74 (expand): implement FloatListInsert and FloatInsert.
76 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
77 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
78 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
80 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
82 (Dispatch::LFUN_FLOAT_LIST): implement
84 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
86 * LaTeX.C (run): Fix problem with --export code.
88 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
90 * BufferView.[Ch] (workarea): removed.
91 (getClipboard) new method; wrapper for workarea()->getClipboard()
93 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
96 * WorkArea.h (width, height, xpos, ypos): These methods all
97 returned the dimensions of the work_area sub-area of WorkArea,
98 resulting in a position error if the WorkArea were resized. Now
99 return the dimensions of the entire WorkArea.
101 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
103 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
105 * LaTeX.C (deplog): correct the syntax of regex reg1
107 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
109 * undo.C: remove !NEW_INSETS cruft
111 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
113 * text2.C: remove !NEW_INSETS cruft
115 * text.C: remove !NEW_INSETS cruft
117 * tabular.C: remove !NEW_INSETS cruft
119 * spellchecker.C: remove !NEW_INSETS cruft
121 * lyxtext.h: remove !NEW_INSETS cruft
123 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
125 * lyxfunc.C: remove !NEW_INSETS cruft
127 * lyxfind.C: remove !NEW_INSETS cruft
129 * lyx_cb.C: remove !NEW_INSETS cruft
131 * figureForm.C: remove !NEW_INSETS cruft
133 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
135 * buffer.[Ch]: remove !NEW_INSETS cruft
137 * ToolbarDefaults.C: remove !NEW_INSETS cruft
139 * CutAndPaste.C: remove !NEW_INSETS cruft
141 * BufferView_pimpl.C: remove !NEW_INSETS cruft
143 * BufferView2.C: remove !NEW_INSETS cruft
145 * BufferView.h: remove !NEW_INSETS cruft
147 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
149 * Lsstream.h: include LString.h before the sstream headers to
150 fix problem with gcc 2.95.3 and lyxstring
152 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
154 * lyx_main.C: add using directives when needed for C functions
155 declared in std:: namespace.
157 2001-04-27 Juergen Vigna <jug@sad.it>
159 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
160 (SetHeightOfRow): comment out the update call should not be needed!
162 2001-04-13 Juergen Vigna <jug@sad.it>
164 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
165 (LyXTabular): tried to minimize operator= operations (and realized
168 2001-04-27 Juergen Vigna <jug@sad.it>
170 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
172 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
174 * lyxfunc.C (Dispatch): hack to make listof algorithm work
176 * buffer.C (readInset): hack to make listof algorithm work
178 * BufferView_pimpl.C: hack to make listof algorithm work
180 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
182 * LyXAction.C: removed all !NEW_INSETS cruft
183 (init): moved lfun_item in method
185 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
187 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
189 * BufferView2.C (theLockingInset): white space.
191 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
193 * minibuffer.C: include <iostream>
195 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
197 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
199 * commandtags.h: add LFUN_TRANSPOSE_CHARS
201 * text.[Ch] (TransposeChars): new method
203 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
205 * call message directly through LyXView instead of through LyXFunc
206 * BufferView2.C: adjust
207 * BufferView_pimpl.C: adjust
208 * FontLoader.C: adjust
210 * bufferview_funcs.C: adjust
211 * converter.C: adjust
212 * figureForm.C: adjust
215 * lyx_gui_misc.C: adjust
219 + more files in subdirs
221 * lyxparagraph.h (size): move up int file
224 * adjust all uses of Assert to lyx::Assert.
226 * BufferView2.C (ChangeCitationsIfUnique): adjust for
227 lyxfunctional in namespace lyx
228 * layout.C (hasLayout): ditto
231 (delete_layout): ditto
232 (NumberOfClass): ditto
233 * converter.C (GetFormat): ditto
238 * bufferlist.C (getFileNames): ditto
239 (emergencyWriteAll): ditto
242 * MenuBackend.C (hasSubmenu): ditto
245 * BufferView_pimpl.C (getInsetByCode): ditto
247 2001-04-18 Juergen Vigna <jug@sad.it>
249 * vspace.C (asLatexString): fixed the 100% problem.
251 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
253 * lyxfunc.C (Dispatch):
255 * minibuffer.h: add a few std:: qualifiers
257 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
259 * minibuffer.[Ch]: reimplement so that commands is initiated and
260 run from lyxfunc, simplified som handling, and made the completion
261 and history code for complete. wip.
263 * lyxfunc.C (processKeySym): call message
264 (miniDispatch): new temporary method
265 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
266 (LFUN_MESSAGE): implement
267 (LFUN_MESSAGE_PUSH): implement
268 (LFUN_MESSAGE_POP): implement
269 (initMiniBuffer): the initial/defualt minibuffer message.
271 * lyxfont.[Ch]: inline some more getters
273 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
275 * lyx_gui_misc.[Ch] (WriteStatus): remove method
277 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
278 (AutoSave): use LFUN_MESSAGE
281 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
283 * figureForm.C: use LFUN_MESSAGE
285 * converter.C (runLaTeX): use LFUN_MESSAGE
287 * bufferview_funcs.C: use LFUN_MESSAGE
291 * bufferparams.h: use boost::
293 * bufferlist.h: inherit privately from noncopyable
295 * bufferlist.C (loadLyXFile): remove some commented code.
297 * buffer.C (runChktex): use LFUN_MESSAGE
299 * ShareContainer.h: inherit privately from noncopyable
301 * ParagraphParameters.[hC] (depth): inline it.
303 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
305 (message): new method
308 (show): init minibuffer
309 (showState): direct call
311 * LaTeX.[Ch]: inherit privately from noncopyable
312 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
313 instead of WriteStatus.
315 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
317 * BufferView_pimpl.C (buffer): don't init minibuffer
318 (workAreaButtonPress): use LFUN_MESSAGE
319 (workAreaButtonRelease): ditto
320 (savePosition): ditto
321 (restorePosition): ditto
322 (MenuInsertLyXFile): ditto
323 (workAreaExpose): don't init minibuffer
324 (update): remove commented code, simplify
326 * BufferView2.C (openStuff): use LFUN_MESSAGE
330 (copyEnvironment): ditto
331 (pasteEnvironment): ditto
336 (updateInset): remove some commented code
338 * lastfiles.h: inherit privately from noncopyable
343 * lyxlex_pimpl.h: ditto
345 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
346 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
347 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
349 * LyXAction.h: inherit privately from noncopyable, add methods
350 func_begin, func_end, returning iterators to the func map.
352 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
353 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
354 (func_begin): new method
355 (func_end): new method
357 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
359 (copySelection): ditto
360 (pasteSelection): ditto
362 * BufferView.C: whitespace change
363 * BufferView.h: inherit privately from noncopyable
365 2001-04-16 Allan Rae <rae@lyx.org>
367 * tabular-old.C (l_getline):
368 * spellchecker.C (sc_check_word):
369 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
370 an unrecognised preprocessor directive. So ensure they're wrapped.
372 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
374 * src/exporter.C (Export): Give an error message when path to file
377 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
379 * LaTeX.C (deplog): Always check that foundfile exists.
381 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
384 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
386 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
388 * tabular.[Ch] (getLabelList): implement new method
390 * minibuffer.h: comment ouf setTiimer
392 * minibuffer.C (ExecutingCB): constify res
393 (peek_event): constify s
394 (Set): constify ntext
395 (Init): constify nicename
397 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
399 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
400 (savePosition): use two params to Minibuffer::Set
401 (restorePosition): ditto
403 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
405 * lyx_main.C: include language.h
407 * Makefile.am (lyx_main.o): add language.h
409 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
415 * CutAndPaste.C: include gettext.h
417 * lyxfont.h: remove old hack with ON and OFF.
420 * lyxfont.h: do not include language.h...
425 * bufferview_funcs.C:
431 * paragraph.C: ... but do it here instead
433 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
435 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
437 * tabular.C: small reformat
439 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
442 (BreakParagraph): ditto
443 (SetOnlyLayout): ditto
446 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
449 * lastfiles.C: removed most using decl, add std:: where needed
451 * buffer.C: ws changes
453 * MenuBackend.C (class compare_format): put into anon namespace
454 (expand): constify label, names, action, action2
457 * text.C (SingleWidth): constify font
458 (IsBoundary): constify rtl2
459 (GetVisibleRow): constify ww
461 * LaTeX.C (deplog): constify logfile
463 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
465 (workAreaExpose): constify widthChange, heightChange
467 * lyxrow.C (par): moved
470 * lyxrow.h: as inlines here
472 * lyxfont.h (shape): moved from lyxfont.C
473 (emph): moved from lyxfont.C
475 * lyxfont.C (LyXFont): use initialization list for all
477 (shape): move to lyxfont.h as inline
478 (emph): move to lyxfont.h as inline
481 2001-04-04 Juergen Vigna <jug@sad.it>
483 * vspace.C: had to include stdio.h for use of sscanf
485 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
488 * BufferView_pimpl.h: remove xforms cruft. Both classes are
489 independent of xforms.
491 2001-04-02 Juergen Vigna <jug@sad.it>
493 * spellchecker.C: fixed namespace placing!
495 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
497 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
498 the LyXParagraph * is 0.
500 2001-03-29 Juergen Vigna <jug@sad.it>
502 * vspace.C: added support for %, c%, p%, l%.
503 (stringFromUnit): added helper function.
504 (asLatexString): changed to give right results for the %-values.
506 * buffer.C: convert the widthp in a width%.
508 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
510 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
513 * figureForm.[Ch]: stripped the FD_from_figure manipulation
514 code out of lux_cb.[Ch], ready for its (imminent?) removal.
516 * lyx_cb.[Ch]: see above.
518 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
522 * lyx.[Ch]: replaced by figure_form.[Ch].
526 * lyxfunc.C: changed headers associated with above changes.
528 2001-03-27 Juergen Vigna <jug@sad.it>
530 * BufferView_pimpl.C: set the temporary cursor right!
532 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
534 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
536 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
538 * LString.h: removed "using std::getline"!
540 * BufferView_pimpl.C (Dispatch): changes due to changes in
541 InsetInclude::Params.
543 * buffer.C (tag_name): removed redundant break statements as they were
544 producing lots of warnings with my compiler.
546 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
548 * LString.h: add "using std::getline" when using the real <string>.
550 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
552 * buffer.C: removed bitset usage.
553 PAR_TAG moved to an anonymous name space.
554 (tag_name): new funtion, also in the anonymous namespace.
555 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
556 (makeDocBookFile): clean code. Completed transition from string arrays
558 (SimpleDocBookOnePar): code clean.
560 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
562 * tabular.C: add some comments.
564 2001-03-22 Juergen Vigna <jug@sad.it>
566 * buffer.C (parseSingleLyXformat2Token): redone the minipage
567 compatibility read a bit and fixed bug with minipage in different
570 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
572 * buffer.C (pop_tag): removed.
574 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
575 array replaced with vector. Added support for CDATA sections.
576 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
578 (makeDocBookFile): XML conformant declaration of CDATA section,
579 fixed bug related to <emphasis> in the first paragraph char.
580 (sgmlOpenTag): exclude empty tags.
581 (sgmlCloseTag): ditto.
583 * buffer.h (pop_tag): removed.
586 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
588 * language.h (Languages): added size_type and size().
590 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
592 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
593 response on compability reading of minipages. One probliem is that
594 the old usage of minipages was «flertydig»
596 * several files here and in subdirs: don't use static at file
597 scope use anon namespaces instead.
599 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
601 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
602 LaTeX output. This is necessary for Literate document
605 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
607 * buffer.C: insert hfill when needed.
609 * tabular.C (l_getline): use string::erase, small whitespace change.
611 * BufferView_pimpl.C: try the anon namespace.
614 2001-03-16 Juergen Vigna <jug@sad.it>
616 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
617 otherwise it won't open options-dialogs.
619 * buffer.C: honor pextraWidth(p) on converting minipages.
621 * tabular.C (l_getline): changed the functions to strip trailing \r.
623 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
625 * BufferView_pimpl.C:
626 * minibuffer..C: added "using SigC::slot" declaration.
628 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
630 * lyxlex_pimpl.h: noncopyable is in namespace boost.
638 * lyxtext.h: NO_PEXTRA
640 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
642 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
643 * ParameterStruct.h: ditto
644 * ParagraphParameters.h: ditto
645 * lyxparagraph.h: ditto
647 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
649 * buffer.C: add compability for minipage alignment.
650 (latexParagraphs): remove unwanted pextra check.
652 * several files: remove CXX_WORKING_NAMESPACES
654 * buffer.C (pop_tag): tie is in namespace boost
656 * BufferView.h: noncopyable is in namespace boost
662 * bufferlist.h: ditto
663 * ShareContainer.h: ditto
668 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
670 * Merging changes from BRANCH_MVC back into HEAD.
672 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
674 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
676 * BufferView_pimpl.C: change from intl.C
680 * Makefile.am: move combox.*
686 * intl.C: remove dialog (covered by prefs)
688 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
690 * lyxfunc.C (Dispatch): removed redundant break statement.
692 2001-03-14 Juergen Vigna <jug@sad.it>
694 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
696 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
698 * buffer.C: add hack to fix compability reading of minipages.
700 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
702 * buffer.C (getLists): Cleanup.
704 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
706 * lyxfont.C (update): don't honor toggleall on font size.
708 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
712 * Makefile.am: moved to frontends/xforms/
716 * BufferView_pimpl.C: changes for moved mathpanel
718 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
720 * gettext.h: fix gettext_init() in --disable-nls
722 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
724 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
726 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
729 * lyx.h: strip external form
731 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
733 * BufferView_pimpl.C: add comment, destroySplash()
735 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
737 * BufferView_pimpl.C:
741 * lyxfunc.C: use re-worked insetinclude
743 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
745 * buffer.C: add using std::stringstream.
747 * lyx_cb.C: readd using std::ios.
749 * buffer.C: add using std::map.
751 * BufferView_pimpl.C: add using std::vector.
753 * ShareContainer.h: add std:: to swap.
755 * buffer.h: add some typedefs
756 * buffer.C (getLists): use them
757 (getLists): renamed from getTocList.
758 add a counter for the different float types and use it in the
760 (getLists): use the same counter for the NEW_INSETS and the "non"
763 * lyx_cb.h: remove unused items, includes, using etc.
765 * ShareContainer.h: remove some commented code, add more comments
768 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
770 * buffer.C (getTocList): make the list also when NEW_INSETS is
773 * buffer.h: remove TocType
775 * buffer.C (getTocList): change to return a map<string,
776 vector<TocItem> >, implement for dynamic number of list.
778 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
779 * text2.C (PasteSelection): adjust
780 * CutAndPaste.C (pasteSelection): adjust
782 * FloatList.C (FloatList): update from the new_insets branch.
783 * Floating.[Ch]: ditto
784 * LaTeXFeatures.C: ditto
786 * lyxlex_pimpl.C: ditto
788 * paragraph.C (Last): remove when NEW_INSETS is defined.
790 * other file: changes because of the above.
792 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
794 * lyxparagraph.h: rename next to next_, previous to previous_,
795 make them private for NEW_INSETS. Rename Next() to next(),
796 Previous() to previous().
798 * other files: changes because of the above.
800 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
803 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
806 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
808 * main.C (main): pass lyx_localedir to gettext_init().
810 * gettext.h: remove locale_init and gettext_init macros
812 * gettext.C (locale_init): new function
813 (gettext_init): new function
815 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
818 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
820 * Moved credits to frontends:
821 * credits.[Ch]: removed
822 * credits_form.[Ch]: removed
823 * lyx_gui_misc.C: remove credits stuff
826 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
828 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
830 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
833 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
834 a standalone pointer again.
836 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
838 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
853 * BufferView_pimpl.C: use new file dialog in GUII
856 * lyx_cb.C: remove LayoutsCB to Toolbar
858 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
860 * ShareContainer.h (get): add std:: qualifier
862 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
864 * ShareContainer.h: define a proper ShareContainer::value_type
865 type (and use typename to please compaq cxx)
867 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
869 * lyxparagraph.h: move serveral local vars to
870 ParameterStruct/ParagraphParameters., use ShareContainer in
871 FontTable., make vars in FontTable private and add getter and
874 * paragraph.C: changes because of the above.
876 * lyxfont.h: remove copy constructor and copy assignment. (the
877 default ones is ok), move number inside FontBits. move inlines to
880 * lyxfont.C: add number to initializaton of statics, move several
881 inlines here. constify several local vars. some whitespace
882 cleanup. Dont hide outerscope variables.
884 * Spacing.h: add two new constructors to match the set methods.
886 * ShareContainer.h: new file, will perhaps be moved to support
888 * ParameterStruct.h: new file
890 * ParagraphParameters.h: new file
892 * ParagraphParameters.C: new file
894 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
895 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
897 * BufferView_pimpl.C: ParagraphParameter changes.
898 * buffer.C: Likewise.
899 * bufferview_funcs.C: Likewise.
903 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
905 * lyxfind.C (LyXReplace): do not redefine default argument in
907 (IsStringInText): ditto
908 (SearchForward): ditto
909 (SearchBackward): ditto
911 2001-03-06 Juergen Vigna <jug@sad.it>
913 * lyxfind.C (IsStringInText): put parentes around expressions.
915 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
917 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
919 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
921 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
923 * stl_string_fwd.h: add comment
925 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
928 * tabular.C: remove unused DocBook methods
934 killed DO_USE_DEFAULT_LANGUAGE
936 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
938 * lyx_gui.C: do not include language.h.
940 * bufferview_funcs.C (ToggleAndShow): do not provide optional
941 arguments in function implementation.
943 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
945 * BufferView_pimpl.C: add <ctime>
947 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
949 * BufferView_pimpl.C: add using std::find_if
951 2001-02-27 José Matos <jamatos@fep.up.pt>
953 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
956 2001-02-11 José Matos <jamatos@fep.up.pt>
958 * buffer.C (makeDocBookFile): command styles now have a parameter as
961 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
963 * layout_forms.[Ch]: removed
964 * lyx_cb.[Ch]: out character
965 * lyx_gui.C: out character
966 * lyx_gui_misc.C: out character
967 * bufferview_funcs.C: : out character,
968 added toggleall as parameter in ToggleAndShow
970 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
972 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
974 * text2.C (SetCurrentFont): Disable number property at boundary.
976 2001-02-26 Juergen Vigna <jug@sad.it>
978 * lyxfunc.C (getStatus): added a string argument override function so
979 that this is correctly called from LyXFunc::Dispatch if it contains a
980 do_not_use_argument which is used!
981 (Dispatch): added check for "custom" export and call appropriate func.
983 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
985 * lyxrc.C: Add language_command_local, language_use_babel and
986 language_global_options.
988 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
990 * buffer.C (makeLaTeXFile): Use language_use_babel and
991 language_global_options.
993 2001-02-23 Juergen Vigna <jug@sad.it>
995 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
996 which works with LyXText and putted it inside BufferView. Here now we
997 only call for that part the BufferView::Dispatch() function.
999 * BufferView.C (Dispatch): added.
1001 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
1002 functions which needs to use a LyXText over from LyXFunc.
1003 (MenuInsertLyXFile): added
1004 (getInsetByCode): added
1005 (moveCursorUpdate): added
1006 (static TEXT): added
1008 2001-02-22 Juergen Vigna <jug@sad.it>
1010 * BufferView_pimpl.C (update): call a status update to see if LyXText
1013 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1015 * vc-backend.C (revert): implement for CVS
1016 (getLog): implement for CVS
1018 2001-02-20 Juergen Vigna <jug@sad.it>
1020 * text2.C (ClearSelection): added BufferView param for inset_owner call
1022 * lyxfunc.C (TEXT): added this function and use it instead of
1023 directly owner->view()-text of getLyXText().
1025 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
1027 * src/layout_forms.C: out preamble
1028 * src/layout_forms.h: out preamble
1029 * src/lyx_cb.C: out preamble
1030 * src/lyx_cb.h: out preamble
1031 * src/lyx_gui.C: out preamble
1032 * src/lyx_gui_misc.C: out preamble
1033 * src/lyxfunc.C: connect with guii preamble
1035 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
1037 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
1039 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
1041 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
1042 whether to run bibtex.
1044 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
1046 * Makefile.am (lyx_SOURCES): Remove BackStack.h
1048 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
1050 * Makefile.am (lyx_SOURCES): removed bibforms.h
1054 * text.C (GetVisibleRow): make several local vars const
1056 * tabular.C: small cleanup.
1058 * lyxserver.C (callback): use compare instead of strncmp
1060 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
1061 inlines to after class or to paragraph.C
1063 * lyxfont.h: remove friend operator!=
1065 * converter.h: move friend bool operator< to non friend and after
1068 * combox.h: small cleanup
1070 * buffer.h: doxygen, remove unused constructor, move inclas inlies
1071 to inlines after class def.
1073 * buffer.C (pop_tag): use string operations instead of strcmp
1075 * bmtable.c: doxygen, small cleanup
1077 * LaTeX.h: remove friend operator==
1079 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
1091 * BufferView_pimpl.C:
1092 * BufferView.[Ch]: remove cruft
1094 2001-02-14 Juergen Vigna <jug@sad.it>
1096 * lyxfunc.C: removed #if 0 unused code
1098 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
1100 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
1102 * text2.C (SetSelection): added a BufferView * parameter
1104 2001-02-13 Juergen Vigna <jug@sad.it>
1106 * lyxfunc.C (Dispatch): fixed protected blank problem.
1107 * BufferView2.C (protectedBlank): added LyxText * parameter.
1109 * tabular.C (AppendRow): forgot to set row_info of newly added row.
1110 (AppendColumn): same as above for column_info.
1112 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
1113 (moveCursorUpdate): use a LyXText param for support of InsetText.
1115 * BufferView_pimpl.C (doubleClick): added support for InsetText.
1116 (tripleClick): ditto
1118 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
1120 * BufferView_pimpl.C (update): added LyXText param to honor insets.
1122 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
1124 * text2.C (SetSelection): set correct update status if inset_owner
1127 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
1129 * tabular.C: remove some commented code.
1131 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
1133 * BufferView_pimpl.C: call hideSplash()
1135 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
1138 * bibforms.h: remove
1141 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
1142 add LFUN_CHILD_CREATE
1144 * counters.h: fix tiny typo
1149 * lyx.C: move splash to frontends/xforms/
1151 * lyx_gui_misc.C: move Include and Bibform to frontends
1153 * lyxvc.h: clarify comment
1155 * vspace.C: tiny housekeeping
1157 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
1159 * text.C (PrepareToPrint): RTL Fix.
1161 * paragraph.C (GetUChar): New method.
1162 (String): Use GetUChar.
1164 * buffer.C (asciiParagraph): Use GetUChar.
1166 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
1168 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
1170 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
1173 * buffer.C: rename to getLogName(), handle
1174 build log / latex log nicely
1176 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1179 * MenuBackend.h: remove support for reference menuitem type.
1181 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
1183 * BufferView_pimpl.C: housekeeping
1184 * BufferView_pimpl.h:
1189 * minibuffer.h: move Timeout GUI-I
1191 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
1193 * lyxrc.C (read): Update converters data-structures.
1195 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
1197 * LaTeX.h (operator!=): add operator != for Aux_Info
1199 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
1201 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
1203 * LaTeXLog.C: deleted, useful code moved to Buffer
1206 * buffer.C: new function getLatexLogName()
1212 * lyxfunc.C: use frontends for LaTeX and VC logs
1214 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1216 * LaTeX.h: yet another std:: that Allan forgot.
1218 * Variables.C (set): renamed from isset(), because this clashes
1219 with some HP-UX macros (grr).
1221 2001-02-06 Allan Rae <rae@lyx.org>
1223 * LaTeX.h: Another bug fix. Missing std:: this time.
1225 2001-02-04 Allan Rae <rae@lyx.org>
1227 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
1228 floats problem. I've left it commented out because it's not quite
1229 correct. It should also test that the current object is a table or
1230 figure inset. But I haven't gotten around to figuring out how to do
1231 that. I *think* it'll be something like: "table" == inset.type()
1233 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
1236 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
1238 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
1239 all the citation/databases/styles in the auxilary file.
1240 (run): Rerun latex if there was a babel language error.
1242 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
1244 * text.C (Backspace): Preserve the font when changing newline char
1246 (BreakParagraph): If the cursor is before a space, delete the space.
1248 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
1250 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
1252 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
1253 new argument (code).
1254 (ChangeCitationsIfUnique): New method.
1256 * paragraph.C (GetPositionOfInset): Handle bibkey.
1258 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1260 * BufferView_pimpl.h: change type of Position::par_pos to
1261 LyXParagraph::size_type.
1263 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
1265 * BufferView_pimpl.C (savePosition, restorePosition): Write
1266 messages to minibuffer.
1268 2001-01-28 José Matos <jamatos@fep.up.pt>
1270 * buffer.C (makeDocBookFile): adds support for document language.
1271 A silly restriction on the name of LatexCommand types where removed.
1272 Added support for CDATA sections, allows to chars unescaped, used
1273 among others in code, to avoid escape < and >.
1275 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
1277 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
1278 saved positions instrad of a stack. Furthermore, a position is
1279 stored using paragraph id/paragraph position.
1281 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
1282 Remove LFUN_REF_BACK.
1284 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
1286 * converter.C (dvipdfm_options): New method.
1288 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
1290 * vspace.C (isValidLength): Fix for empty input string.
1292 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1294 * LyXAction.C (init): change description of LFUN_FIGURE to
1297 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1299 * LaTeX.C: add using directive
1301 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
1303 * MenuBackend.C (expand): Fix the sorting of the formats.
1305 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
1307 * lyx_main.C: tiny error message fix
1309 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1311 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
1312 calling fl_initialize(). This fixes the problem with ',' as
1313 decimal separator in text files.
1315 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
1317 * trans.C (process): Fix the keymap bug.
1319 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
1321 * LaTeX.C (scanAuxFiles): New method. Provides support for
1322 multiple bibliographies (when using the bibtopic/bibunits pacakges).
1323 (scanLogFile) Scan for "run BibTeX" messages.
1325 * buffer.C (makeLaTeXFile): Do not load the ae package when using
1326 OT1 font encoding. Also, load the aecompl package if the ae
1329 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
1331 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1333 * texrow.C (increasePos): turn two error messages into debug
1336 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
1338 * LaTeX.C (scanAux): Handle the \@input macro.
1339 (runBibTeX): Use scanAux().
1341 * language.C (latex_options_): New field.
1343 * LaTeXFeatures.C (getMacros): Add language macros.
1345 * buffer.C (makeLaTeXFile): Small fix.
1347 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1349 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
1351 * text2.C: add a using directive.
1353 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
1358 * lyxfunc.C: kill LyXBell.
1360 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
1362 * text.C (IsBoundary): Remove the error message
1364 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
1366 * lyxrc.C (setDefaults): Correct initialization value for
1369 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
1371 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
1374 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
1377 * src/LyXAction.C: Added reference-next.
1379 * text.C (InsertChar): Use contains instead of strchr.
1381 * lyx_cb.C (MenuInsertLabel): Enable default value code.
1383 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
1385 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
1386 alignment commands (when needed).
1388 * text.C (InsertChar): Add ':' to number separator chars.