]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
b3e2e373e0bde2a74211f5a630954f49f3699141
[lyx.git] / src / ChangeLog
1 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2
3         * converter.C (move): don't lie in the error message
4         * converter.h (isReachable, move): document
5
6 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
7
8         * buffer.C: remove unused using lyx::support::atoi
9         * paragraph_funcs.C: ditto
10
11 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
12
13         * bufferlist.C (exists): use bind and equal_to instead of
14         compare_memfun
15         (getBuffer): ditto
16         * lyxtextclasslist.C (NumberOfClass): ditto
17
18         * cursor.C (insert): use for_each instead of explicit for loop
19
20         * bufferlist.C (getFileNames): use std::transform and
21         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
22
23         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
24         for loop
25
26         * buffer.C (changeLanguage): use for_each instead of explicit for
27         loop
28         (hasParWithID): implement using getParFromID
29
30         * LaTeXFeatures.C: ws change only
31
32         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
33         to cleanup a bit.
34
35         * BufferView_pimpl.C (trackChanges): use for_each instead of
36         expilicit for loop
37
38 2004-11-04  André Pönitz  <poenitz@gmx.net>
39
40         * undo.h:
41         * undo.C (textUndoOrRedo): fix crash when creating undo information.
42
43         * dociterator.C (asDocIterator): use hard assert again.
44
45 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
46
47         * lyxlength.C (asLatexString): rewrite so that it does not use
48         snprintf anymore
49
50 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
51
52         * text3.C (specialChar, dispatch): make sure cursor moves to the
53         right after inserting an inset
54
55 2004-11-02  José Matos  <jamatos@lyx.org>
56
57         * output_docbook.C (docbook):
58         * paragraph.C (getID):
59         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
60         garantee that the output is always legal.
61
62         * tabular.C (docbook):
63         * outputprams.[Ch]: remove mixed contents.
64
65 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
66
67         * text2.C (setCounter): prevent endless loop
68
69 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
70
71         * exporter.C (copyFile): use the mover instead of support::copy()
72         * exporter.C (Export): pass format and latex name to copyFile()
73         * exporter.h (addExternalFile): document
74         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
75
76 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
77
78         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
79
80 2004-10-30  José Matos  <jamatos@lyx.org>
81
82         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
83         text and no inset or font change. This allows to use CDATA
84         sections just for the whole paragraph.
85
86 2004-10-30  José Matos  <jamatos@lyx.org>
87
88         * paragraph.C (getFirstWord): remove unused variable.
89
90 2004-10-30  José Matos  <jamatos@lyx.org>
91
92         * paragraph.C (getFirstWord): the content should always be escaped
93         there.
94         (simpleDocBookOnePar):
95         * output_docbook.C (makeEnvironment): replace reference to CDATA
96         to style pass_thru.
97
98 2004-10-30  José Matos  <jamatos@lyx.org>
99
100         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
101
102 2004-10-30  José Matos  <jamatos@lyx.org>
103
104         * output_docbook.C (makeParagraphs):
105         * paragraph.[Ch] (emptyTag): for docbook and company, if the
106         standard paragraph has only a given type of content drop the wrapper.
107
108 2004-10-29  José Matos  <jamatos@lyx.org>
109
110         * output_docbook.C (makeEnvironment):
111         * sgml.C (openTag):
112         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
113
114 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
115
116         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
117         (cleanID): sanitize any id.
118
119 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
120
121         * buffer.C, lyxlex_pimpl.C:
122         * lyxlex_pimpl.C (setFile):
123         s/getExtFromContents/getFormatFromContents/
124
125 2004-10-28  José Matos  <jamatos@lyx.org>
126
127         * output_docbook.C (makeEnvironment): move id to broadest possible
128         scope.
129
130         * sgml.C (openTag): apply substitution of <> for all attributes.
131
132 2004-10-28  José Matos  <jamatos@lyx.org>
133
134         * buffer.C (makeLinuxDocFile, makeDocBookFile):
135         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
136         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
137
138         * sgml.[Ch]: new version for open and closeTag for paragraph and
139         for strings. Now they handle the ids of paragraphs.
140
141 2004-10-26  Angus Leeming  <leeming@lyx.org>
142
143         * Makefile.am: add mover.[Ch].
144
145         * converter.C (convert, move): use the new Movers to move external
146         files to the temp directory.
147
148         * lyx_main.C (init): ensure that the global system_movers data
149         is initialised.
150
151         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
152         preferences file.
153
154         * mover.[Ch]: new files, defining a Mover as a utility to move an
155         external file between directories and, if necessary, manipulate this
156         file using a helper script.
157
158 2004-10-25  José Matos  <jamatos@lyx.org>
159
160         * output_docbook.C (makeCommand): merge two if's that tested the
161         same condition.
162
163 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
164
165         * sgml.C (escapeString): fix warning in a better way
166
167 2004-10-25  José Matos  <jamatos@lyx.org>
168
169         * sgml.C (escapeString): import the require boosts header file for
170         tie, and avoid a signed unsigned comparison.
171
172 2004-10-25  José Matos  <jamatos@lyx.org>
173
174         * sgml.h: add #include <string>
175
176 2004-10-25  José Matos  <jamatos@lyx.org>
177
178         * sgml.[Ch] (escapeString): new function to escape all the string.
179
180 2004-10-24  José Matos  <jamatos@lyx.org>
181
182         * paragraph.[Ch] (getFirstWord): new function to get the first
183         word. Useful for description.
184         (simpleDocBookOnePar): remove depth argument, add another that
185         says where to start the paragraph.
186
187         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
188         use the new functions to fix cleanly the support for descriptions.
189
190 2004-10-24  José Matos  <jamatos@lyx.org>
191
192         * buffer.C (makeLinuxDocFile, makeDocBookFile):
193         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
194         * output_linuxdoc.C (linuxdocParagraphs):
195         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
196         add buffer as argument.
197
198 2004-10-24  José Matos  <jamatos@lyx.org>
199
200         * output_docbook.C (makeEnvironment, searchEnvironment): place
201         CDATA inside paragraphs and fix scope for listitems.
202
203 2004-10-24  José Matos  <jamatos@lyx.org>
204
205         * output_docbook.C: remove using statement for stack.
206
207 2004-10-23  José Matos  <jamatos@lyx.org>
208
209         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
210         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
211         docbook. The new scheme is recursive and makes use of iterators, the
212         same as latex export works.
213         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
214         directly with the paragraph contents. This code was moved up to
215         output_docbook.C (docbookParagraphs).
216         * sgml.C (openTag, closeTag): removed unneeded newlines.
217         (closeEnvTags) removed.
218
219 2004-10-23  André Pönitz  <poenitz@gmx.net>
220
221         * undo.C (textUndoOrRedo):
222         * dociterator.C (asDocIterator): work around crash
223
224         * cursor.C (getStatus): replace ASSERT by more verbose error message
225           and manual correction of the problem. Should increase stability
226           while providing more sensible information.
227
228 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
229
230         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
231
232         * bufferlist.C (previous, next): new methods
233
234         * lfuns.h:
235         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
236
237 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
238
239         * buffer.C (makeDocBookFile): add dsssl stylesheet control
240         entities to preamble.
241
242 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
243
244         * messages.C (Pimpl): strip off translation context information
245
246 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
247
248         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
249         the cursor is correct (bug 1694)
250
251 2004-10-13  José Matos  <jamatos@lyx.org>
252
253         * output_docbook.C (docbookParagraphs): fix closing tags in the
254         end of the document.
255
256 2004-10-09  José Matos  <jamatos@lyx.org>
257
258         * buffer.C: format up to 237.
259         * bufferparams.C (write): use tostr to convert booleans to strings.
260
261 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
262
263         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
264
265 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
266
267         * LaTeX.C: implement use of babel language in xindy.
268
269 2004-10-05  José Matos  <jamatos@lyx.org>
270
271         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
272         Add new translators to help reading and writing the lyx file.
273
274 2004-10-05  José Matos  <jamatos@lyx.org>
275
276         * ParagraphParameters.C (read):
277         * text.C (readParToken): replace nexToken by more appropriate lex
278         methods.
279
280 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
281
282         * LaTeX.C (runMakeIndex):
283         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
284         (usually 'makeindex') configurable.
285
286         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
287         with a variable rather than with a number.
288
289 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
290
291         * output_latex.C (TeXOnePar): make sure font setting is the first
292         thing that gets output (and the last at the end). Should fix bug
293         1404.
294
295 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
296
297         * pch.h: use proper signal include
298
299         * LaTeX.h: Use preferred calling of Boost.Signal
300         * buffer.h: ditto
301
302 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
303
304         * pch.h: dont include <boost/function/function0.hpp>
305
306         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
307
308         * paragraph_pimpl.h: remove usage of ShareContainer
309
310         * paragraph_pimpl.C: remove initialization of ShareContainer.
311
312 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
313
314         Fix bug #1666
315
316         * BufferView.C (putSelectionAt): change the semantics when
317         backwards == true: now, this just swaps cursor and anchor wrt the
318         forward case
319
320         * BufferView.h (putSelectionAt): add some documentation
321
322         * lyxfind.C (findBackwards): rewrite using while(). In particular,
323         make sure backwardChar is done at least once (to avoid getting
324         stuck)
325         (findNextChange): use putSelectionAt in the forward direction
326         (operator()): use Paragraph::isWord
327
328 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
329
330         * Spacing.C (set): c_str fix
331
332 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
333
334         * lyx_cb.C (Reconfigure): quote the name of configure script in
335         case it contains spaces
336
337 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
338
339         * client: new dir
340
341         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
342         (BOOST_LIBS): use top_buildir when looking for the file
343
344 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
345
346         * pch.h: do not use include boost/format.hpp, multiple symbols
347                 will result (gcc bug)
348
349
350 2004-08-23  José Matos  <jamatos@lyx.org>
351
352         * bufferparams.C (readToken): fix reading of the author field.
353
354 2004-08-20  José Matos  <jamatos@lyx.org>
355
356         * lyxrc.C: remove support/translator.h inclusion since it is not used.
357
358 2004-08-20  José Matos  <jamatos@lyx.org>
359
360         * lyxlex.[Ch] (findToken): remove function.
361
362         * ParagraphParameters.C (findToken):
363         * bufferparams.C (findToken): replace call for previous function
364         with local copy. This local function has one more argument, the
365         read string argument.
366
367 2004-08-16  José Matos  <jamatos@lyx.org>
368
369         * ParagraphParameters.C (write):
370         * Spacing.C (writeFile):
371         * bufferparams.C (writeLaTeX):
372         * lyx_cb.C (Reconfigure):
373         * paragraph.C (write):
374         * tabular.C (write): remove unnecessary space at end of line.
375
376
377 2004-08-16  José Matos  <jamatos@lyx.org>
378
379         * text.C (readParagraph): remove debug message.
380
381 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
382
383         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
384         crash
385
386         * output_plaintext.C (asciiParagraph): set depth correctly
387
388         * outputparams.h: add member depth
389
390         * paragraph_funcs.C (ownerPar): remove.
391
392         * text2.C (setCounter): remove first_pit; comment out some
393         non-working code that uses ownerPar
394
395         * BufferView.C (getParentLanguage): remove. Not used anymore, and
396         uses ownerPar
397
398 2004-08-16  José Matos  <jamatos@lyx.org>
399
400         * text.C (readParToken, readParagraph, read): report all unknown tokens.
401         For the same level of importance use the same chanel to report problems.
402         (read): add code to deal with \begin_body and \end_body.
403
404
405 2004-08-15  José Matos  <jamatos@lyx.org>
406
407         * lyxlex.C (getString): fix comment, buffer::readBody is now
408         buffer:readDocument.
409
410         * tex-strings.C (string_papersize): Default -> default,
411         Custom -> custom, for consistency with other options.
412
413 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
414
415         * pch.h: new file
416
417         * Makefile.am: support pch
418
419 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
420
421         * text.C (readParToken): remove the static LyXFont variable and
422         pass it as a parameter instead. This fixes a nasty bug where an
423         inset will be inserted with a bad font in some situations
424         (readParagraph): adapt
425
426         * text2.C (setCounter): reduce number of calls to pars_[pit]
427
428         * text.C (singleWidth): add an assert, fix a test
429
430         * rowpainter.C (paintText): reduce number of calls to singleWidth
431
432         * paragraph.C (isHfill):
433         (isNewline): ws only
434
435 2004-08-14  André Pönitz  <poenitz@gmx.net>
436
437         * text.C:
438         * text2.C:
439         * rowpainter.C:
440         * lyxtext.h (several functions): use a Paragraph & argument
441         instead of par_type
442
443 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
444
445         * metricsinfo.h: add a new field ltr_pos to PainterInfo
446
447         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
448
449         * text.C (singleWidth): remove useless test
450
451 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
452
453         * tabular.h: remove bogus comments
454
455         * tabular.C (getDescentOfRow):
456         (isPartOfMultiColumn): add assertions
457
458         * lyxlength.C (inPixels): remove #warning
459
460 2004-08-14  André Pönitz  <poenitz@gmx.net>
461
462         * paragraph.h: inline getChar()
463
464         * BufferView.h: remove unused declarations
465
466 2004-08-14  José Matos  <jamatos@lyx.org>
467
468         * Buffer.[Ch] (readDocument): new name for old readBody.
469         * Buffer.C: new file format, new keywords: \begin_document,
470         \begin_header, \begin_body, \end_body.
471
472         * bufferparams.C (readToken): replace all calls to lex.nextToken
473         by lex.next(). Do the same to eatLine except where really needed.
474
475         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
476         line when writing to the lyx file.
477
478         * output_plaintext.C (asciiParagraph): fix Bibliography style
479         handling.
480
481         * text.C (read): fix end of file handling.
482
483 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
484
485         * MenuBackend.C (Menu::operator[]): new method to access
486         individual menu items
487         (Menu::hasFunc): new method. search for an item that corresponds
488         to a given func
489         (MenuBackend::specialMenu): new method
490         (MenuBackend::expand): if a special menu has been set, skip
491         entries whose func() appears in this menu
492
493 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
494
495         * text3.C: use Debug::DEBUG a bit more
496
497         * text.C (leftMargin): try to simplify a tiny bit change var x to
498         l_margin. Dont output the wide margins always.
499         (rightMargin): no margin in inner texts
500
501         * rowpainter.h (nestMargin): new func
502         (changebarMargin): new func
503         (rightMargin): new func
504
505         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
506         now functions.
507         (paintLast): ditto
508
509         * factory.C (createInset): modify setDrawFrame
510
511         * cursor.C: use Debug::DEBUG a bit more
512
513 2004-08-14  André Pönitz  <poenitz@gmx.net>
514
515         * coordcache.[Ch]:
516         * Makefile.am: new files to accomodate an 'external' (x,y)-position
517         cache for all insets in (at least partially) visible (top-level)
518         paragraphs.
519
520         * BufferView_pimpl.C: reset external coord cache before every update.
521         This means the coord cache only contains valid entries.
522
523 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
524
525         bug 1096
526         * BufferView_pimpl.C (getInsetByCode): move function out of class
527         and change in to a template in anon namespace. Also fix to do what
528         suits us better.
529
530 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
531
532         bug 1305
533         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
534         of char
535         (breakParagraph): rename par to par_offset and use a local
536         reference. Add code to keep the language over a rebreak.
537         (breakParagraphConservative): rename par to par_offset, use a
538         local reference
539         (mergeParagraph): ditto
540         (outerHook): ditto
541         (isFirstInSequence): ditto
542         (outerFont): rename pit to par_offset
543
544         * paragraph.C: ws change
545         * paragraph.h: ditto
546         * text3.C: ditto
547         * text.C: ditto
548
549 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
550
551         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
552         treatment for ']'
553
554         * paragraph.C (simpleTeXOnePar): when we have a \item with
555         optional argument, enclose the argument with curly brackets (in
556         case it contains a closing square bracket)
557
558         * text2.C (editXY):
559         * text2.C (editXY):
560         * text3.C (checkInsetHit): constify
561
562 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
563
564         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
565         documents (bug 1629)
566
567 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
568
569         Fix toggling of collapsable insets with the mouse (bug 1558)
570
571         * lyxfunc.C (dispatch): adapt to LCursor changes
572
573         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
574         make sure that dispatch is not invoked twice
575
576         * cursor.C (needsUpdate): new method
577         (dispatch): return void
578         (result): new method, to access the DispatchResult of the cursor.
579
580 2004-08-13  José Matos  <jamatos@lyx.org>
581
582         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
583
584 2004-08-13  André Pönitz  <poenitz@gmx.net>
585
586         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
587
588         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
589           multiple cells
590
591 2004-08-12  André Pönitz  <poenitz@gmx.net>
592
593         * text3.C: take out the 'cursor right' form insertInset and only
594         do it in those places when it is really needed. Fixes crash on
595         C-m...
596
597 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
598
599         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
600
601         * BufferView_pimpl.C (setBuffer): initialize the current font of
602         the underlying LyXText
603
604 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
605
606         * kbsequence.C (print): use UI native formatting for menu
607         shortcuts
608
609         * text.C (insertChar): call Paragraph::insertChar with a font
610         argument (cosmetic)
611
612         * paragraph.C (insertInset, insertChar): the version that takes a
613         LyXFont argument is now a wrapper around the other one (the
614         opposite used to be true).
615
616         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
617         argument. Font setting is done in Paragraph now.
618
619 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
620
621         * outputparams.h: add new members intitle and lang.
622
623         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
624         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
625
626 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
627
628         * text3.C (dispatch): remove special handling of button 4 and 5,
629         it is now taken care of in the frontend code.
630
631 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
632
633         * Spacing.h: add <string> (STLPort compile fix)
634
635 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
636
637         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
638
639 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
640
641         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
642         to bool.
643
644         * converter.C (showMessage): inherit from unary_function, make
645         operator() const.
646
647         * buffer.C (writeFile): initialize retval
648
649         * InsetList.h: rename private variable list to list_
650         * InsetList.[Ch]: adjust accordingly.
651
652 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
653
654         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
655         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
656         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
657         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
658         * ParagraphParameters.C, LaTeXFeatures.C: replace
659         "support/std_sstream.h" with <sstream>
660
661 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
662
663         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
664         * lyxsocket.C (LyXServerSocket): ditto
665         (serverCallback): ditto
666
667 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
668
669         * LaTeXFeatures.C: check release date when loading jurabib.
670
671 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
672
673         * lyxserver.C (startPipe): call register_socket_callback
674         (endPipe): call unregister_socket_callback
675
676 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
677
678         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
679         (LyXServerSocket): register the callback
680         (LyXServerSocket): unregister the callback
681         (fd): delete function
682         (serverCallback): improve error checking and setup the callbacks.
683         (dataCallback): change arg to fd.
684         (writeln): new func (copied fro the client socket) used for server
685         write to client.
686         (LyXDataSocket): simplify
687         (~LyXDataSocket): close ann unregiser callback
688         (server): delete function
689         (fd): delete function
690         (readln): small changes, improve some std::string usage
691         (writeln): constify a bit
692
693 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
694
695         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
696         Qt frontend
697
698 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
699
700         * BufferView_pimpl.C (setBuffer): set the layout combox value only
701         after it has been populated
702
703 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
704
705         * text2.C (insertInset): move cursor when inserting inset.
706
707 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
708
709         * kbmap.C (findbindings): a couple of new methods. returns a
710         container of kb_sequence objects. The real work is done by the
711         private recursive version
712         (printbindings): uses findbindings to print out a bracketed list
713         of bindings (renamed from findbinding).
714
715         * MenuBackend.C (binding): use kb_keymap::findbindings
716
717         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
718
719 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
720
721         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
722
723 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
724
725         * paragraph.C (isWord): return true on insets that report
726         isLetter().
727
728         * text.C (getWord): use Paragraph::isWord to decide what is in a
729         word and what is not; fix bug 1609.
730
731 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
732
733         * tex-strings.C: add "none" to string_paperpackages[], fixes
734         off-by-one-error in the paperpackage selection.
735
736         * lyxlex.[Ch]:
737         * tex-strings.[Ch]: char const * string[n]
738         -> char const * const string[]
739
740 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
741
742         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
743         command, return early.
744
745 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
746
747         * debug.h: add DEBUG to enum and fix size of ANY.
748
749         * debug.C: add support for Debug::DEBUG
750         (showTags): cast errorTags.level to unsigned int
751
752         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
753         (redoCurrentBuffer): ditto
754         (updateScrollbar): ditto
755         * cursor.C (dispatch): ditto
756         * text2.C (setLayout): ditto
757         (setFont): ditto
758         (updateCounters): ditto
759         (editXY): ditto
760         (deleteEmptyParagraphMechanism): ditto
761
762 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
763
764         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
765         annotations to cleanup the Makefile slightly.
766
767 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
768
769         * lyxrc.C: do not set user_email to a default value but use empty
770         instead. The entry used to be translated, which does not work
771         since at the point where lyxrc is constructed there is no
772         translation service available
773
774         * messages.C (getLocaleDir): remove and use directly
775         lyx_localedir() instead
776
777 2004-06-02  Angus Leeming  <leeming@lyx.org>
778
779         Fix crash caused by dereferencing null pointer 'exportdata' in
780         OutputParams by creating a new ExportData variable on the heap,
781         storing it in a boost::shared_ptr.
782         The crash was triggered when generating an Instant Preview
783         of an external inset.
784
785         * Makefile.am: add outputparams.C
786
787         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
788         (c-tor): allocate memory to it.
789
790         * exporter.C (c-tor): associated changes.
791
792 2004-06-01  Angus Leeming  <leeming@lyx.org>
793
794         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
795         contains data before calling isInset(0). (Bug 1513.)
796
797 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
798
799         * exporter.C (checkOverwrite): new method
800         * exporter.C (copyFile): new method
801         * exporter.C (Export): copy referenced files to the document dir
802         * exporter.[Ch]: new class ExportedFile
803         * exporter.[Ch]: new class ExportData. Contains currently the
804         names of referenced external files
805         * outputparams.h: add exportdata member.
806
807 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
808
809         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
810         version.C-tmp
811
812 2004-05-19  Angus Leeming  <leeming@lyx.org>
813
814         * LaTeXFeatures.C:
815         * ToolbarBackend.C:
816         * bufferparams.C:
817         * lyxfunc.C: small changes due to the introduction of namespace
818         lyx::frontend and the moving of namespace biblio to lyx::biblio.
819
820 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
821
822         * text3.C (dispatch): supress update when only moving the cursor
823         * cursor.C (selHandle): remove commented code
824
825 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
826
827         * paragraph.C (startTeXParParams): correct column count
828         * CutAndPaste.C (pasteSelection): remove const_cast
829         * output_docbook.C (docbookParagraphs): remove const_cast
830         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
831         const_cast and return ParagraphList::const_iterator
832         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
833         * output_plaintext.C (writeFileAscii): remove const_cast
834         * paragraph.[Ch] (simpleTeXOnePar): make const
835         * paragraph_funcs.C (outerPar): use const iterators
836         * paragraph_pimpl.C (validate): use const iterators
837         * text.C (setHeightOfRow): use const iterators
838
839 2004-05-17  Angus Leeming  <leeming@lyx.org>
840
841         * lfuns.h:
842         * LyXAction.C (init): new LFUN_INSET_REFRESH.
843
844         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
845         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
846         if the citation engine has changed.
847
848 2004-05-14  José Matos  <jamatos@lyx.org>
849
850         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
851         if the textclass does not provide it. Have it different for sgml and
852         xml.
853         support the language of document.
854         * output_docbook.C (docbookParagraphs):
855         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
856         first anchor as the id of the paragraph, remove special case code.
857         * sgml.C (escapeChar): escape only < & >.
858
859 2004-05-14  Angus Leeming  <leeming@lyx.org>
860
861         * bufferparams.h: move biblio::CiteEngine enum here to minimize
862         dependencies on src/frontends/controllers/biblio.h. Define a
863         CiteEngine_enum wrapper class to enable the enum to be forward
864         declared.
865
866 2004-05-12  Angus Leeming  <leeming@lyx.org>
867
868         * buffer.C: up LYX_FORMAT to 234.
869         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
870         use_numerical_citations with a single biblio::CiteEngine cite_engine
871         variable.
872         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
873
874 2004-05-13  José Matos  <jamatos@lyx.org>
875
876         * converter.h:
877         * converter.C (Converter, readFlags): add xml member.
878         * outputparams.h: add XML flavor.
879         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
880
881 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
882
883         * lyxfunc.C (dispatch):
884         (getStatus): fix handling of LFUN_SEQUENCE
885
886 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
887
888         * debug.C (showLevel): do not forget the end-of-line marker
889
890 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
891
892         * kbmap.C (read): do not stop parsing a bind file when an error
893         occurs (bug 1575)
894
895 2004-04-29  Angus Leeming  <leeming@lyx.org>
896
897         * cursor.C:
898         * factory.C:
899         * pariterator.C:
900         * text2.C: wrap a bunch of #warning statements
901         inside #ifdef WITH_WARNINGS blocks.
902
903 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
904
905         * buffer.C: increment format to 233.
906
907 2004-04-28  Angus Leeming  <leeming@lyx.org>
908
909         * BufferView_pimpl.C:
910         * lyxfunc.C:
911         * text3.C:
912         s/updateToolbar()/updateToolbars()/
913         s/Toolbar.h/Toolbars.h/
914
915 2004-04-28  Angus Leeming  <leeming@lyx.org>
916
917         * BufferView.[Ch] (c-tor):
918         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
919         No longer passes these data to the WorkArea generator.
920
921 2004-04-28  Angus Leeming  <leeming@lyx.org>
922
923         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
924
925 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
926
927         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
928
929 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
930
931         * output_latex.C (TeXEnvironment): make sure that there is a line
932         break before \end{foo} for the last paragraph of a document
933         (TeXOnePar): if the paragraph is at the end of the document (or
934         inset) and the language has to be reset, then make sure that the
935         line break is _before_ the language command, not after (fixes bug
936         1225); also make sure that the language reset command is the first
937         thing after the paragraph (to ensure proper nesting of
938         environments and thus fix bug 1404)
939
940 2004-04-21  John Levon  <levon@movementarian.org>
941
942         * ToolbarBackend.h:
943         * ToolbarBackend.C: make "name" be a programmatic name
944         and a gui_name field.
945
946         * lyxfunc.C: display the minibuffer on M-x
947
948 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
949
950         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
951         (bug 1526)
952
953 2004-04-19  Angus Leeming  <leeming@lyx.org>
954
955         * BufferView_pimpl.C (setBuffer): changed preview interface.
956
957         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
958         possible values.
959
960 2004-04-19  John Levon  <levon@movementarian.org>
961
962         * BufferView_pimpl.C:
963         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
964
965 2004-04-05  Angus Leeming  <leeming@lyx.org>
966
967         * text.C (redoParagraphs): add call to updateCounters(), thereby
968         fixing the missing "Figure #:" label from the caption of a
969         figure float.
970
971 2004-04-13  Angus Leeming  <leeming@lyx.org>
972
973         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
974         cursor is clicked out of an inset.
975
976 2004-04-13  Angus Leeming  <leeming@lyx.org>
977
978         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
979         than an InsetOld one.
980
981 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
982
983         * format.[Ch]: add editor to Format
984         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
985         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
986
987 2004-04-08  André Pönitz  <poenitz@gmx.net>
988
989         * metricsinfo.h: remove PainterInfo::width member
990
991 2004-04-08  Angus Leeming  <leeming@lyx.org>
992
993         * lyx_sty.C (boldsymbol_def): modify so that it outputs
994         "\providecommand" rather than "\newcommand", thereby preventing
995         clashes with packages that define "\boldsymbol" themselves.
996         Eg, beamer.
997
998 2004-04-08  Angus Leeming  <leeming@lyx.org>
999
1000         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1001         thereby squashing an unnecessary warning.
1002
1003 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1004
1005         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1006         setBuffer()
1007
1008 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
1009
1010         * BufferView.C (setCursor): call redoParagraph (some insets could
1011         have been opened)
1012         (putSelectionAt): remove the 'double update' trick
1013
1014         * BufferView_pimpl.C (fitCursor): call refreshPar
1015         (workAreaDispatch): remove an uneeded update call
1016         (dispatch): remove some manual update calls
1017
1018         * cursor.[Ch]: remove cached_y_, updatePos
1019         (selHandle): set noUpdate when appropriate
1020
1021         * lyxfunc.C (dispatch): track if we need an update
1022
1023         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1024
1025         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1026         (paintSelection): cheap optimization, do not call cursorX when not
1027         needed
1028         (paintPars): change signature
1029         (refreshPar): add
1030         (paintText): adjust
1031         (paintTextInset): adjust
1032
1033         * text.C: adjust
1034
1035 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1036
1037         * lengthcommon.C: compilation fix: remove explicit array size from
1038         unit_name[] and friends
1039
1040 2004-04-05  Angus Leeming  <leeming@lyx.org>
1041
1042         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1043
1044         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1045         present only for the preferences dialog.
1046         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1047
1048 2004-04-05  Angus Leeming  <leeming@lyx.org>
1049
1050         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1051         to enable the frontends to export changes to lyxrc correctly.
1052
1053         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1054
1055 2004-04-07  André Pönitz  <poenitz@gmx.net>
1056
1057         * cursor.[Ch] (selClear, adjust): remove math
1058
1059         * cursor_slice.C: more agressive assert
1060
1061         * lyxfunc.C:
1062         * BufferView_pimpl.C: rework mouse event dispatch
1063
1064         * dociterator.C:
1065         * paragraph.C:
1066         * text2.C:
1067         * text3.C: adjust
1068
1069 2004-04-05  André Pönitz  <poenitz@gmx.net>
1070
1071         * cursor.[Ch] (valign, halign...): remove unneeded functions
1072
1073 2004-04-05  Angus Leeming  <leeming@lyx.org>
1074
1075         * lyxlength.[Ch] (unit_name et al.): const-correct.
1076
1077 2004-04-05  Angus Leeming  <leeming@lyx.org>
1078
1079         * BufferView_pimpl.C:
1080         * buffer.C:
1081         * counters.C:
1082         * cursor.C:
1083         * lyxfunc.C
1084         * paragraph.C:
1085         * pariterator.C:
1086         * text.C:
1087         * text2.C:
1088         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1089
1090 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1091
1092         * text3.C (getStatus): add LFUN_BEGINNINGBUF
1093
1094 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1095
1096         * lyxfind.C: add a couple of inTexted() tests + other small fixes
1097         * BufferView_pimpl.[Ch] (getStatus)
1098         * BufferView.[Ch] (getStatus): add
1099         * lyxfunc.C (getStatus): move lfuns handled in
1100         BufferView::dispatch to te function above
1101         * Cursor.C (setSelection): set selection() = true
1102
1103 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1104
1105         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1106
1107 2004-03-31  Angus Leeming  <leeming@lyx.org>
1108
1109         * lyxfunc.C (dispatch): Fall through to the generic
1110         Dialogs::show("preamble").
1111
1112 2004-03-31  Angus Leeming  <leeming@lyx.org>
1113
1114         * lyxfunc.C (dispatch): Fall through to the generic
1115         Dialogs::show("spellchecker").
1116
1117 2004-03-31  Angus Leeming  <leeming@lyx.org>
1118
1119         * lyxfunc.C (getStatus, dispatch): changed invocation of the
1120         preferences dialog.
1121
1122 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1123
1124         * BufferView.C
1125         * cursor.[Ch]
1126         * dociterator.[Ch]:
1127         * insetiterator.[Ch]:
1128         * lyxfind.C:
1129         * lyxfunc.C:
1130         * pariterator.[Ch]:
1131         * text2.C:
1132         * undo.[Ch]: s/DocumentIterator/DocIterator/g
1133
1134 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1135
1136         * BufferView.C (setCursor, putSelectionAt): call edit to open the
1137         insets where we are putting the cursor.
1138
1139 2004-03-31  Angus Leeming  <leeming@lyx.org>
1140
1141         * lfuns.h:
1142         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1143
1144         * lyxrc.[Ch] (read, write): overloaded member functions taking
1145         a std::[io]stream arguments.
1146
1147         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1148
1149 2004-03-31  Angus Leeming  <leeming@lyx.org>
1150
1151         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1152         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1153
1154         * lyxtextclass.C (load): if the text class couldn't be loaded, then
1155         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1156
1157 2004-03-31  Angus Leeming  <leeming@lyx.org>
1158
1159         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1160         the LFUN_ALL_INSETS_TOGGLE code.
1161
1162 2004-03-30  Angus Leeming  <leeming@lyx.org>
1163
1164         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1165         has died. Fall through to the generic Dialogs::show("document").
1166
1167 2004-03-30  Angus Leeming  <leeming@lyx.org>
1168
1169         * lfuns.h:
1170         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1171         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1172
1173         * lyxfunc.C (getStatus, dispatch): define the actions for these
1174         lfuns. Little more than a cut and pste job from ControlDocument.C
1175
1176         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1177
1178 2004-03-30  Angus Leeming  <leeming@lyx.org>
1179
1180         * lfuns.h:
1181         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1182         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1183
1184         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1185         open/closed state of ollapsable insets. Usage:
1186
1187         all-inset-toggle <state> <name>, where
1188         <state> == "open" || "closed" || "toggle" and
1189         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1190
1191         * lyxtext.h, text2.C (toggleInset): removed.
1192
1193         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1194         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1195         now passes LFUN_INSET_TOGGLE to the found inset.
1196
1197         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1198         is now invoked as "all-insets-toggle toggle branch".
1199
1200 2004-03-30  Angus Leeming  <leeming@lyx.org>
1201
1202         * dociterator.C:
1203         * insetiterator.C:
1204         * pariterator.[Ch]: added/corrected header blurb.
1205
1206 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
1207
1208         * dociterator.[Ch]: add an inset_ member
1209         (backwardPos): implemented
1210         (backwardPos, forwardPos): use inset_ when the stack is empty.
1211         (doc_iterator_begin, doc_iterator_end): implemented
1212         * pariterator.[Ch]: adjust, add begin, end
1213         * insetiterator.[Ch]: adjust, add begin, end
1214         * cursor.C:
1215         * document.C:
1216         * BufferView.C:
1217         * BufferView_pimpl.C:
1218         * CutAndPaste.C: adjust
1219
1220 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1221
1222         * buffer.C: increment file format to 232.
1223         * LaTeXFeatures.C: add bibtopic package.
1224         * bufferparams.[Ch]: param \use_bibtopic.
1225
1226         * lyxrc.[Ch]: add lyxrc bibtex_command
1227         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1228
1229         * buffer.C: increment file format to 231.
1230
1231 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1232
1233         * dociterator.C: implement forwardPar
1234         * iterators.[Ch]: remove, replaced by
1235         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1236         * BufferView.C:
1237         * BufferView_pimpl.C:
1238         * CutAndPaste.C:
1239         * buffer.C:
1240         * bufferview_funcs.C:
1241         * cursor.C:
1242         * lyxfind.C
1243         * lyxfunc.C
1244         * paragraph_funcs.C
1245         * toc.C:
1246         * Makefile.am: adjust
1247
1248 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1249
1250         * CutAndPaste.C (pasteSelection): fix 2 crashes
1251         (eraseSelection): fix a crash
1252         * paragraph_funcs.C: remove a warning
1253
1254 2004-03-28  Angus Leeming  <leeming@lyx.org>
1255
1256         * lfuns.h:
1257         * LyXAction.C (init): new LFUN_PRINT.
1258
1259         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1260
1261 2004-03-27  Angus Leeming  <leeming@lyx.org>
1262
1263         * lfuns.h:
1264         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1265
1266         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1267
1268 2004-03-27  Angus Leeming  <leeming@lyx.org>
1269
1270         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1271         insetlist always contains non-null pointers to insets.
1272
1273 2004-03-26  Angus Leeming  <leeming@lyx.org>
1274
1275         * src/BufferView_pimpl.C:
1276         * src/CutAndPaste.C:
1277         * src/buffer.C:
1278         * src/iterators.C:
1279         * src/output_plaintext.C:
1280         * src/outputparams.h:
1281         * src/paragraph_funcs.C:
1282         * src/rowpainter.C:
1283         * src/text.C:
1284         * src/text2.C:
1285         * src/frontends/controllers/ControlErrorList.C:
1286         * src/frontends/gtk/FileDialogPrivate.C:
1287         * src/frontends/gtk/GPainter.C:
1288         * src/frontends/gtk/GToolbar.C:
1289         * src/frontends/qt2/QRef.C:
1290         * src/mathed/math_scriptinset.C: squash compiler warnings.
1291
1292 2004-03-26  Angus Leeming  <leeming@lyx.org>
1293
1294         * ispell.C (LaunchIspell::start):
1295         * lyx_cb.C (AutoSaveBuffer::start):
1296         invoke run(DontWait) rather than runNonBlocking().
1297
1298 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
1299
1300         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1301
1302 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1303
1304         * kbsequence.C (print): adjust
1305
1306         * kbmap.C (printKeySym): rename and change signature
1307         (printKey): use LyXKeySym::print()
1308
1309 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
1310
1311         * undo.C: add using std::advance to compile for stlport
1312
1313 2004-03-24  Angus Leeming  <leeming@lyx.org>
1314
1315         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1316         it leads to a crash when no buffer is present.
1317
1318 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1319             Martin Vermeer  <martin.vermeer@hut.fi>
1320
1321         * lyxfunc.C (dispatch):
1322         * bufferparams.C (readToken): use the new LColor::setColor
1323
1324         * LColor.[Ch] (setColor): new version that takes two strings as
1325         argument and creates a new color entry if necessary
1326
1327 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1328
1329         * buffer.C (makeLaTeXFile): if the main latex file that is
1330         processed is usually a subdocument of some master, then pretend
1331         for a while that it is actually the master
1332
1333 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1334
1335         * buffer.C (getLabelList):
1336         (getBibkeyList): use getMasterBuffer()
1337         (getMasterBuffer): new method. Returns the main document in the
1338         case where one is using included documents.
1339
1340 2004-03-25  André Pönitz  <poenitz@gmx.net>
1341
1342         * Makefile.am:
1343         * iterators.[Ch]:
1344         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1345
1346         * ParagraphList_fwd.h: change ParagraphList to a std::vector
1347
1348         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1349         text*.C over here. Rename namespace CutAndPaste to lyx::cap
1350
1351         * ParameterStruct.h: merge with ParagraphParameters
1352
1353         * lyxtext.h: remove LyXText::parOffset() and getPar()
1354
1355         * text3.C: Remove all 'manual' update calls. We do now one per user
1356         interaction which is completely sufficient.
1357
1358         * Bidi.C:
1359         * BufferView.[Ch]:
1360         * BufferView_pimpl.C:
1361         * FontIterator.[Ch]:
1362         * MenuBackend.C:
1363         * ParagraphParameters.[Ch]:
1364         * buffer.C:
1365         * buffer.h:
1366         * bufferlist.C:
1367         * cursor.[Ch]:
1368         * cursor_slice.[Ch]:
1369         * dociterator.[Ch]:
1370         * errorlist.[Ch]:
1371         * factory.C:
1372         * lfuns.h:
1373         * lyxfind.C:
1374         * lyxfunc.C:
1375         * output_docbook.[Ch]:
1376         * output_latex.[Ch]:
1377         * output_linuxdoc.[Ch]:
1378         * output_plaintext.[Ch]:
1379         * paragraph.[Ch]:
1380         * paragraph_funcs.[Ch]:
1381         * paragraph_pimpl.[Ch]:
1382         * rowpainter.C:
1383         * tabular.[Ch]:
1384         * text.C:
1385         * text2.C:
1386         * toc.C:
1387         * undo.[Ch]: adjust
1388
1389         * frontends/controllers/ControlDocument.C:
1390         * frontends/controllers/ControlErrorList.C:
1391         * frontends/controllers/ControlSpellchecker.C:
1392         * insets/inset.C:
1393         * insets/inset.h:
1394         * insets/insetbase.h:
1395         * insets/insetbibitem.C:
1396         * insets/insetbox.C:
1397         * insets/insetbranch.C:
1398         * insets/insetcaption.C:
1399         * insets/insetcharstyle.C:
1400         * insets/insetcharstyle.h:
1401         * insets/insetcollapsable.C:
1402         * insets/insetcollapsable.h:
1403         * insets/insetert.C:
1404         * insets/insetfloat.C:
1405         * insets/insetfoot.C:
1406         * insets/insetmarginal.C:
1407         * insets/insetnote.C:
1408         * insets/insetoptarg.C:
1409         * insets/insettabular.C:
1410         * insets/insettext.C:
1411         * insets/insettext.h:
1412         * insets/insetwrap.C:
1413         * mathed/math_mboxinset.C:
1414         * mathed/math_nestinset.C:
1415         * mathed/math_scriptinset.C:
1416         * mathed/math_scriptinset.h:
1417         * support/types.h:
1418
1419 2004-03-24  Angus Leeming  <leeming@lyx.org>
1420
1421         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1422         deal with any child processes that have finished but are waiting to
1423         communicate this fact to the rest of LyX.
1424
1425 2004-03-24  Angus Leeming  <leeming@lyx.org>
1426
1427         64-bit compile fixes.
1428
1429         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1430         (c-tor): pass lyx::pos_types rather than ints.
1431
1432         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1433         lyx::pos_type.
1434
1435         * text.C (Delete): compile fix.
1436         (getPar): ensure that function declaration is the same as that in
1437         the header file.
1438
1439 2004-03-23  Angus Leeming  <leeming@lyx.org>
1440
1441         * ispell.C (LaunchIspell):
1442         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1443         a boost::shred_ptr rather than a std::auto_ptr.
1444
1445 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1446
1447         * lyxfunc.C (getStatus): handle read-only buffers correctly;
1448         handle LFUN_FILE_INSERT_*
1449
1450         * lyxrc.C (setDefaults, getDescription, output, read):
1451         * lyxrc.h: remove ps_command
1452
1453 2004-03-22  Angus Leeming  <leeming@lyx.org>
1454
1455         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1456         Ensure that error_handler is processed once only and that all data
1457         is saved before attempting to output any warning messages.
1458
1459         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1460
1461 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
1462
1463         * tabular.C (TeXRow): crash fix (from Kayvan and André)
1464
1465 2004-03-19  André Pönitz  <poenitz@gmx.net>
1466
1467         * cursor.[Ch] (reset): take main text inset as argument
1468
1469         * BufferView: adjust
1470         * BufferView_pimpl.C: adjust
1471
1472         * paragraph.[Ch]: fix completely broken operator=()
1473
1474 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1475
1476         * LColor.C (getFromLyXName): make sure that the color name is used
1477         as lowercase.
1478
1479 2004-03-17  Angus Leeming  <leeming@lyx.org>
1480
1481         * lfuns.h:
1482         * LyXAction.C (init): remove LFUN_FORKS_KILL.
1483
1484         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1485         dialog and to kill a forked process.
1486
1487 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1488
1489         * text2.C (setCursorFromCoordinates): fix font problem
1490
1491 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1492
1493         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1494         bogus "rebuild cursor" code
1495
1496 2004-03-11  André Pönitz  <poenitz@gmx.net>
1497
1498         * buffer.[Ch]: use InsetText instead of LyXText as container for
1499         the main lyx text.
1500
1501         * dociterator.[Ch]: drop the BufferView * member which is not needed
1502         anymore after the change to buffer.C
1503
1504         * paragraph_funcs.C:
1505         * text.C:
1506         * text2.C:
1507         * BufferView.[Ch]:
1508         * BufferView_pimpl.[Ch]:
1509         * cursor.[Ch]:
1510         * cursor_slice.[Ch]: adjust
1511
1512         * text3.C: fix bug in mathDispatch
1513
1514 2004-03-08  André Pönitz  <poenitz@gmx.net>
1515
1516         * undo.[Ch]: use 'StableDocumentIterator' as base for
1517         the Undo struct.
1518
1519 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1520
1521         * LaTeXFeatures.C:
1522         * bufferparams.[Ch]: add jurabib support and param.
1523
1524         * LaTeX.C: add FIXME/comment.
1525
1526 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1527
1528         * buffer.C: increment file format to 230.
1529
1530 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
1531
1532         * cursor.C (dispatch): avoid infinite loops
1533
1534 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1535
1536         * rowpainter.C (paintSelection): fix x coordinates
1537
1538 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1539
1540         * text.C (rowBreakPoint): fix breaking before displayed insets
1541
1542 2004-03-01  André Pönitz  <poenitz@gmx.net>
1543
1544         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1545
1546         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1547
1548         * Makefile.am:
1549         * BufferView.C:
1550         * BufferView_pimpl.C:
1551         * buffer.C:
1552         * lyxfind.C:
1553         * lyxfunc.C:
1554         * text.C:
1555         * text2.C:
1556         * text3.C: adjust
1557
1558 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1559
1560         * lyxtext.h:
1561         * text.C:
1562         * text2.C:
1563         * rowpainter.C:
1564         * BufferView_pimpl.C: rename textwidth -> maxwidth,
1565         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1566
1567 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1568
1569         * Bidi.[Ch] (computeTables): const correctness
1570         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1571         fill_hfill, fill_label_hfill and x from Row
1572         * lyxtext.h: prepareToPrint returns a RowMetrics
1573         * rowPainter.C: adjust
1574         * text.C (prepareToPrint): use width, not textWidth. adjust
1575         (redoParagraphInternal, cursorX): adjust
1576         * text2.C (getColumnNearX): adjust
1577         (init): put a default value to the top LyXText::width
1578
1579 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1580
1581         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1582
1583 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1584
1585         * lyxtext.h: add FontIterator class
1586
1587         * text.C (FontIterator, operator*, operator->, operator++): add
1588         (rowBreakPoint, setRowWidth): adjust (fixing a
1589         rebreaking bug)
1590
1591 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1592
1593         * BufferView_pimpl.C (workAreaDispatch): allow also
1594         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1595
1596 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
1597
1598         * text.C (rowBreakPoint): fix a bug showing with very large insets
1599
1600 2004-02-25  André Pönitz  <poenitz@gmx.net>
1601
1602         * text3.C:
1603         * cursor.[Ch]: move some mathed specific code to mathed
1604
1605 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1606
1607         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1608         use_tempdir in preferences
1609         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1610         tempfile creation
1611         * lyx_main.C: ensure that tempdir is valid
1612         * lyxlex.h: correct typo
1613         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1614         * paragraph.[Ch] (isMultiLingual): make const
1615         * cursor.[Ch] (openable): make const
1616
1617 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1618
1619         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1620
1621 2004-02-20  André Pönitz  <poenitz@gmx.net>
1622
1623         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1624
1625         * cursor.[Ch]: prepare for localized getStatus()
1626
1627         * lyxtext.h:
1628         * tabular.C:
1629         * text.C:
1630         * text2.C:
1631         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
1632
1633 2004-02-20  André Pönitz  <poenitz@gmx.net>
1634
1635         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1636
1637 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1638
1639         * text2.C (setCursorFromCoordinates): switch to absolute coords
1640         (cursorUp): adjust
1641         (cursorDown): adjust
1642         * text3.C (dispatch): adjust
1643
1644 2004-02-16  André Pönitz  <poenitz@gmx.net>
1645
1646         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1647           insets/ChangeLog)
1648
1649         * cursor_slice.[Ch]: remove unneeded acessor function
1650
1651         * lyxtext.h: rename rtl() to isRTL()
1652
1653         * rowpainter.C:
1654         * tabular.C:
1655         * text.C:
1656         * text2.C:
1657         * text3.C: adjust
1658
1659 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1660
1661         * rowpainter.C (paintSelection): coord fix
1662
1663 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
1664
1665         * Spacing.C: compile fix
1666
1667 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1668
1669         * cursor.C (dispatch): restore current_ before returning
1670
1671 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1672
1673         * text2.C (cursorUp, cursorDown): fix coords
1674         (moveUp): fix crash
1675
1676 2004-02-12  André Pönitz  <poenitz@gmx.net>
1677
1678         * lyxtext.h:
1679         * text.C:
1680         * text2.C:
1681         * text3.C: add LCursor & parameter to most cursor movement functions
1682           remove usage of LyXText::cursorRow() and cursorPar()
1683
1684         * cursor.[Ch]: add textRow() needed members
1685
1686         * BufferView.C:
1687         * BufferView_pimpl.C:
1688         * paragraph.[Ch]:
1689         * BufferView.C:
1690         * BufferView_pimpl.C: adjust
1691
1692 2004-02-11  André Pönitz  <poenitz@gmx.net>
1693
1694         * lyxfunc.C:
1695         * BufferView.[Ch]:
1696         * BufferView_pimpl.C: shift undo/redo handling
1697
1698         * cursor.[Ch]: fix mathed crash
1699
1700         * lyxfind.C:
1701         * lyxtext.h: move selectionAsText to LCursor
1702
1703         * output_latex.C:
1704         * paragraph.C:
1705         * text.C:
1706         * text2.C:
1707         * text3.C: adjust
1708
1709         * rowpainter.C: fix excessive drawing
1710
1711 2004-02-06  André Pönitz  <poenitz@gmx.net>
1712
1713         * BufferView.[Ch]:
1714         * BufferView_pimpl.[Ch]:
1715         * text3.C: move some text specific LFUN handling
1716
1717 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
1718
1719         * text3.C (checkInsetHit): adjust coords
1720         * text2.C (getColumnNearX): adjust coords
1721         (edit): adjust coords
1722         * text.C (getRowNearY): add two asserts
1723
1724 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
1725
1726         * converter.C:
1727         * format.C: add using std::distance to compile on gcc 2.95/stlport
1728
1729 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
1730
1731         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1732
1733 2004-02-04  André Pönitz  <poenitz@gmx.net>
1734
1735         * BufferView.[Ch] (insertInset):
1736         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1737
1738         * text2.C:
1739         * text3.C: adjust
1740
1741 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1742
1743         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1744         on the default clause of the switch
1745         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1746         wasn't catched by LCursor::dispatch
1747
1748 2004-02-03  André Pönitz  <poenitz@gmx.net>
1749
1750         * BufferView.C:
1751         * cursor.[Ch]: some additional asserts
1752
1753         * undo.[Ch]: remove LyXText dependency in interface
1754
1755         * lyxfunc.C: adjust
1756
1757         * lyxtext.h (firstPar, lastPar): remove dead functions
1758
1759         * text.C:
1760         * text2.C:
1761         * text3.C:
1762         * paragraph.[Ch]: adjust
1763
1764 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1765
1766         * lyxfind.C (find): fix argument order in call to ::find
1767
1768 2004-02-02  André Pönitz  <poenitz@gmx.net>
1769
1770         * cursor.[Ch]: remove direct access to anchor
1771
1772         * text.C: remove findText() hack
1773
1774 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1775
1776         * iterators.[Ch] (lockPath): remove in favour of...
1777         * BufferView.[Ch] (setCursor): this addition
1778         * BufferView.C (putSelectionAt): adjust
1779         * undo.C (performUndoOrRedo): adjust
1780         * lyxfunc.C (dispatch): adjust
1781
1782 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1783
1784         * iterators.C (lockPath): add a missing slice
1785         * undo.C (performUndoOrRedo): remove redundant positioning code
1786
1787 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1788
1789         * vc-backend.C (scanMaster): ";" -> ';'
1790
1791 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
1792
1793         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1794         std::binary_function
1795
1796         * lyxtextclass.C (compare_name): rename to...
1797         (LayoutNamesEqual): ...this
1798
1799         * lyxlex_pimpl.C (compare_tags): inherit from
1800         std::binary_function, put back into anon namespace
1801
1802         * lyxfind.C (MatchString): inherig from std::binary_function
1803         (findChange): use empty() istead of !size()
1804
1805         * format.C (FormatNamesEqual): new functor
1806         (getFormat): use it
1807         (getNumber): use it
1808         (add): use it
1809         (erase): use it
1810         (setViewer): use it
1811
1812         * converter.C (compare_Converter): rename to...
1813         (ConverterEqual): ...this, and fixup a bit.
1814         (getConverter): use it, and make function const
1815         (getNumber): use it, and make function const
1816         (add): use it
1817         (erase): use it:
1818
1819         * bufferlist.C: add using boost::bind
1820
1821         * MenuBackend.C (MenuNamesEqual): new functor
1822         (hasMenu): use it, and make function const
1823         (hasSubmenu): use nested bind to get rid of compare_memfun.
1824
1825 2004-01-30  André Pönitz  <poenitz@gmx.net>
1826
1827         * BufferView_pimpl.C:
1828         * cursor.C:
1829         * cursor.h:
1830         * cursor_slice.[Ch]:
1831         * lyxfunc.C:
1832         * lyxtext.h:
1833         * paragraph_funcs.C:
1834         * paragraph_funcs.h:
1835         * rowpainter.C:
1836         * text.C:
1837         * text2.C:
1838         * text3.C: move some of the edit(x,y) handling to the insets
1839         some coordinate changes.
1840
1841 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1842
1843         * text.C: add using statements for std::advance and std::distance
1844
1845         * paragraph.C: add using statement for std::distance
1846
1847         * lyxfind.C: add using statement for std::advance
1848
1849         * cursor.C (region): remove std:: from swap
1850         (openable): use nucleus in stead of operator->
1851
1852         * BufferView.C: add using statements for std::distance and std::swap
1853
1854 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
1855
1856         * iterators.C: Remove the pimple, move the needed structures to
1857         the header file. Create accessor for the positions stack.
1858         (asPosIterator): remove function
1859
1860         * PosIterator.C (PosIterator): move constructors to top of file
1861         (PosIterator): reimplement the constructor taking a ParIterator in
1862         terms of setFrom.
1863         (setFrom): new function
1864         (operator!=): inline it
1865
1866 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1867
1868         * lyxfind.C (replaceAll): use std::advance
1869
1870         * iterators.h: inherit from std::iterator.
1871
1872         * PosIterator.C (advance, distance): remove
1873         * PosIterator.h: interit from std::iterator.
1874
1875 2004-01-26  André Pönitz  <poenitz@gmx.net>
1876
1877         * BufferView.[Ch]:
1878         * BufferView_pimpl.[Ch]:
1879         * InsetList.[Ch]:
1880         * PosIterator.[Ch]:
1881         * buffer.h:
1882         * bufferview_funcs.C:
1883         * cursor.[Ch]:
1884         * cursor_slice.h:
1885         * factory.[Ch]:
1886         * iterators.[Ch]:
1887         * lyxfind.C:
1888         * lyxfunc.C:
1889         * lyxtext.h:
1890         * output_docbook.C:
1891         * output_latex.C:
1892         * output_linuxdoc.C:
1893         * output_plaintext.C:
1894         * paragraph.[Ch]:
1895         * paragraph_funcs.[Ch]:
1896         * paragraph_pimpl.[Ch]:
1897         * rowpainter.C:
1898         * tabular.C:
1899         * tabular.h:
1900         * text.C:
1901         * text2.C:
1902         * text3.C: more IU:  dumps most of the rest of the mathcursor
1903     implementation into cursor.[Ch]; "globalize" a bit of it.
1904
1905 2004-01-25  Angus Leeming  <leeming@lyx.org>
1906
1907         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1908
1909 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1910
1911         * LaTeXFeatures.h: add nice_ and nice() const
1912         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1913
1914 2004-01-20  André Pönitz  <poenitz@gmx.net>
1915
1916         * BufferView.[Ch]:
1917         * BufferView_pimpl.C:
1918         * PosIterator.C:
1919         * bufferview_funcs.C:
1920         * cursor.[Ch]:
1921         * cursor_slice.[Ch]:
1922         * factory.C:
1923         * iterators.C:
1924         * lyx_cb.C:
1925         * lyxfind.C:
1926         * lyxfunc.C:
1927         * lyxtext.h:
1928         * rowpainter.C:
1929         * text.C:
1930         * text2.C:
1931         * text3.C:
1932         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1933           LCursor and mathcursor parts to LCursor and InsetBase.
1934
1935 2004-01-15  André Pönitz  <poenitz@gmx.net>
1936
1937         * cursor_slice.[Ch]: add a few covienience functions
1938
1939         * funcrequest.[Ch]: remove BufferView * member
1940
1941         * BufferView_pimpl.C:
1942         * cursor.C:
1943         * factory.[Ch]:
1944         * lyxfind.[Ch]:
1945         * lyxfunc.C:
1946         * lyxtext.h:
1947         * text3.C:
1948         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1949
1950 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
1951
1952         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1953         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1954
1955 2004-01-13  André Pönitz  <poenitz@gmx.net>
1956
1957         * textcursor.[Ch]:
1958         * lyxtext.h: hide cursor and selection anchor behind accessor function
1959
1960         * BufferView.C:
1961         * BufferView_pimpl.[Ch]:
1962         * PosIterator.C:
1963         * bufferview_funcs.C:
1964         * cursor.h:
1965         * lyxfind.C:
1966         * lyxfunc.C:
1967         * text.C:
1968         * text2.C:
1969         * text3.C:
1970         * undo.C: adjust
1971
1972         * cursor.h:
1973         * cursor_slice.[Ch]: some integer type changes for inset unification
1974
1975         * lyxcursor.[hC]: remove, it's CursorSlice now.
1976
1977         * Makefile.am:
1978         * BufferView_pimpl.[Ch]:
1979         * bufferview_funcs.C:
1980         * cursor_slice.C:
1981         * lyxtext.h:
1982         * text.C:
1983         * text2.C:
1984         * text3.C:
1985         * textcursor.[Ch]: adjust
1986
1987 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
1988
1989         * text2.C (undoSpan): add and use
1990         * text.C (breakParagraph): use undoSpan (fix bug 578)
1991         * lyxtext.h: adjust
1992
1993 2004-01-08  Angus Leeming  <leeming@lyx.org>
1994
1995         * BufferView_pimpl.C (MenuInsertLyXFile):
1996         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1997         * lyxfunc.C (menuNew, open, doImport):
1998         FileFilterList change to the FileDialog open and save functions.
1999
2000 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
2001
2002         * ShareContainer.h: make isEqual and isUnique adaptable
2003
2004         * CutAndPaste.C: make resetOwnerAndChanges adaptable
2005
2006 2004-01-07  Angus Leeming  <leeming@lyx.org>
2007
2008         * LyXAction.C:
2009         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2010
2011         * BufferView_pimpl.C (dispatch): act on these LFUNs.
2012
2013         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2014         functions replacing find, replace and replaceAll.
2015
2016         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2017         LFUN_WORDFIND(FORWARD|BACKWARD).
2018
2019 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2020
2021         * text.C (breakParagraph): remove an outdated #warning
2022
2023 2004-01-07  André Pönitz  <poenitz@gmx.net>
2024
2025         * lyxfind.C: somewhat clearer logic
2026
2027         * text.C: prevent crash in cursorX on unitialized row cache
2028
2029 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2030
2031         * lyxcursor.[Ch] (operator>): add
2032         * textcursor.C (selStart, selEnd): use std::min and std::max
2033
2034 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
2035
2036         * Chktex.C: include boost/format.hpp
2037
2038 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
2039
2040         * InsetList.C: replace functor MathcIt with adaptable functor
2041         InsetTablePosLess
2042         (insetIterator): modify accordingly
2043
2044         * BranchList.h: move the BranchNamesEqual functor here from...
2045         * BranchList.C: ... to here
2046
2047         * BranchList.C: new BranchListEqual fuctor, use it. Remove
2048         SameName and match.
2049         (add): replace a finding loop with std::find_if.
2050
2051 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
2052
2053         * output_docbook.C: moving LatexParam functionality into
2054         .layout files
2055
2056 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2057
2058         * buffer.C: increment format to 229.
2059
2060 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
2061
2062         * LaTeXFeatures.C:
2063         * lyx_sty.[Ch]: remove minipageindent_def
2064
2065         * LyXAction.C:
2066         * factory.C:
2067         * lfuns.h:
2068         * lyxfunc.C:
2069         * text3.C: remove LFUN_INSET_MINIPAGE
2070
2071 2003-12-28  Angus Leeming  <leeming@lyx.org>
2072
2073         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2074
2075 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
2076
2077         * text2.C (setParagraph): fix off-by-one crash
2078
2079 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
2080
2081         * output_docbook.C: header stuff for AGU
2082
2083 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2084
2085         * text2.C (redoCursor): remove
2086         * text.C:
2087         * text3.C:
2088         * BufferView_pimpl.C: remove calls to redoCursor and
2089         setCursor(cursor.par(), cursor.pos()) all around
2090
2091 2003-12-15  Angus Leeming  <leeming@lyx.org>
2092
2093         * buffer.C: up the format to 228.
2094
2095 2003-12-15  André Pönitz  <poenitz@gmx.net>
2096
2097         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2098         slices
2099
2100         * Makefile.am:
2101
2102         * BufferView_pimpl.C:
2103         * cursor.[Ch]:
2104         * lyxcursor.[Ch]:
2105         * rowpainter.[Ch]:
2106         * lyxtext.h:
2107         * text.C:
2108         * text2.C:
2109         * text3.C: adjust
2110
2111 2003-12-15  Angus Leeming  <leeming@lyx.org>
2112
2113         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2114         than getFromGUIName to manipulate the color.
2115
2116 2003-12-14  Angus Leeming  <leeming@lyx.org>
2117
2118         * BranchList.[Ch]: minimize the API.
2119         (Branch::getBranch, getColor): now return a 'const &'.
2120         (Branch::setSelected) now returns a bool set to true if the
2121         selection status changes.
2122         (BranchList::clear, size, getColor, setColor, setSelected,
2123         allBranches, allSelected, separator): removed.
2124         (BranchList::find): new functions, returning the Branch with
2125         the given name.
2126         (BranchList::add, remove): return a bool indicating that
2127         the operation was successful.
2128
2129         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2130         new InsetBranch::isBranchSlected member function.
2131
2132         * LColor.[Ch]: mimimize the API.
2133         (fill): renamed as addColor and made private.
2134         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2135         versions of these functions taking a string arg have been removed.
2136
2137         * bufferparams.C (readToken):
2138         * lyxfunc.C (dispatch):
2139         * lyxrc.C (read): changes due to the altered BranchList and
2140         LColor APIs.
2141
2142         * factory.C (createInset, readInset): changes due to altered
2143         InsetBranch c-tor.
2144
2145 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2146
2147         * factory.C:
2148         * lyxfunc.C: remove insetminipage. "minipage-insert"
2149         now produces a frameless minipage box inset.
2150
2151 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2152
2153         * textcursor.[Ch] (selStart,selEnd): add new methods
2154         remove selection::start, end, use LyXCursor::operator<
2155         * lyxcursor.[Ch] (operator<): add
2156         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2157         * BufferView.[Ch] (unsetXSel): add
2158         * text2.C (clearSelection): use unsetXSel,adjust
2159         * text.C: adjust
2160         * text3.C: adjust
2161         * rowpainter.C: adjust
2162         * bufferview_funcs.C (put_selection_at): adjust
2163
2164 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2165
2166         * BufferView_pimpl.C: small coord. correction
2167
2168 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2169
2170         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2171         dragging over the splash screen.
2172
2173 2003-12-11  Angus Leeming  <leeming@lyx.org>
2174
2175         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2176         as it is now handled in LyXText::dispatch.
2177
2178         * text3.C (doInsertInset): remove a level of nesting.
2179
2180 2003-12-11  Angus Leeming  <leeming@lyx.org>
2181
2182         * factory.C (createInset): changes due to the changed interface to
2183         InsetCommandMailer::string2params.
2184
2185 2003-12-10  Angus Leeming  <leeming@lyx.org>
2186
2187         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2188         'dialog-show-new-inset <inset name>'
2189
2190 2003-12-10  Angus Leeming  <leeming@lyx.org>
2191
2192         * buffer.C: up the format to 227.
2193
2194         * factory.C: the box inset is now identified simply by 'Box'.
2195
2196 2003-12-10  Angus Leeming  <leeming@lyx.org>
2197
2198         * buffer.C: up the format to 226.
2199
2200         * factory.C: the note inset is now identified simply by 'Note'.
2201
2202 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
2203
2204         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2205         when a pit is enough. Standarize a couple of loops.
2206
2207 2003-12-05  Angus Leeming  <leeming@lyx.org>
2208
2209         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2210         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2211         data to the re-worked "log" dialog.
2212
2213 2003-12-03  André Pönitz  <poenitz@gmx.net>
2214
2215         * PosIterator.C:
2216         * iterators.C:
2217         * lyxtext.h:
2218         * output_latex.C:
2219         * paragraph_funcs.C:
2220         * text.C:
2221         * text2.C: use Inset::getText instead of Inset::getParagraph
2222
2223 2003-12-03  André Pönitz  <poenitz@gmx.net>
2224
2225         * buffer.[Ch]:
2226         * lyxtext.h:
2227         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2228         InsetText::read() as LyXText::read()
2229
2230 2003-12-02  Angus Leeming  <leeming@lyx.org>
2231
2232         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2233         type. Add a comment in the implementation that the function uses
2234         the stream's bad() function rather than fail() as the std::streams
2235         would do.
2236
2237 2003-12-02  André Pönitz  <poenitz@gmx.net>
2238
2239         * lyxlex.[Ch]: make interface more similar to std::stream
2240
2241         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2242
2243 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
2244
2245         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2246
2247 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
2248
2249         * vspace.[Ch]: remove VSpace::NONE
2250
2251 2003-12-01  André Pönitz  <poenitz@gmx.net>
2252
2253         * buffer.[Ch]:
2254         * lyxtext.h: move ParagraphList member to LyXText
2255         rename LyXText::ownerParagraphs to LyXText::paragraph
2256
2257         * CutAndPaste.C:
2258         * bufferview_funcs.C:
2259         * iterators.[Ch]:
2260         * lyx_cb.C:
2261         * paragraph.C:
2262         * rowpainter.C:
2263         * tabular.C:
2264         * text.C:
2265         * text2.C:
2266         * text3.C: adjust
2267
2268         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2269
2270         * undo.C: fix cursor positioning
2271
2272 2003-12-01  John Levon  <levon@movementarian.org>
2273
2274         * BufferView_pimpl.C: fix a crash on exit with
2275         a buffer open
2276
2277 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
2278
2279         * BranchList.C: fix setSelected() method.
2280
2281 2003-11-28  André Pönitz  <poenitz@gmx.net>
2282
2283         * ParagraphParameters.[Ch]:
2284         * ParameterStruct.h: remove space above/below from Paragraph to
2285          InsetVSpace
2286
2287         * BufferView_pimpl.C:
2288         * factory.C:
2289         * lyxfunc.C:
2290         * lyxtext.h:
2291         * output_latex.C:
2292         * paragraph.C:
2293         * paragraph_funcs.C:
2294         * rowpainter.[Ch]:
2295         * text.C:
2296         * text2.C:
2297         * text3.C: adjust
2298
2299 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
2300
2301         * factory.C: Syntax change for CharStyles
2302
2303 2003-11-28  André Pönitz  <poenitz@gmx.net>
2304
2305         * BufferView.[Ch]:
2306         * BufferView.[Ch]:
2307         * buffer.[Ch]:
2308         * buffer.[Ch]: move LyXText member
2309
2310 2003-11-28  André Pönitz  <poenitz@gmx.net>
2311
2312         * BufferView.[Ch]: make LyXText * text a private member
2313
2314         * BufferView_pimpl.C:
2315         * cursor.C:
2316         * iterators.C:
2317         * lyx_cb.C:
2318         * lyxfind.C:
2319         * lyxtext.h:
2320         * rowpainter.[Ch]:
2321         * text.C:
2322         * text2.C:
2323         * undo.C: adjust
2324
2325         * output_plaintext.C: cleanup
2326
2327 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2328
2329         * buffer.C:
2330         * lyxtextclass.[Ch]: parametrize SGML document header
2331
2332 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2333
2334         * converter.[Ch]:
2335         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2336         getFlavor().
2337
2338 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
2339
2340         * text2.C (setFont): rework using PosIterator (no more recursive)
2341         (setCharFont): no more needed
2342         (setLayout): no more selection cursors fiddling (done by redoCursor)
2343         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2344         destroy remaining ones)
2345
2346 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
2347
2348         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2349         * lyxtext.h: ditto
2350         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2351         selection cursors
2352         * lyxfunc.C: adjust
2353         * text3.C: adjust + re-allow multi par depth changes
2354         * textcursor.C: simplify a bit
2355
2356 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
2357
2358         * src/buffer.C:
2359         * src/lyxlayout.C:
2360         * src/lyxlayout.h:
2361         * src/lyxtext.h:
2362         * src/output_docbook.C:
2363         * src/output_latex.C:
2364         * src/paragraph.C:
2365         * src/paragraph.h:
2366         * src/sgml.C:
2367         * src/sgml.h:
2368         * src/text2.C: Introducing a number of tags parametrizing various
2369         XML formats that we may want to support
2370
2371 2003-11-25  André Pönitz  <poenitz@gmx.net>
2372
2373         * InsetList.[Ch] (begein, end): inline as suggested by profiler
2374
2375         * lyxtext.h (leftMargin/rightMargin): simplify interface
2376
2377         * rowpainter.C:
2378         * text.C:
2379         * text2.C:
2380         * text3.C: adjust
2381
2382 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2383
2384         * lyxfunc.C (dispatch): propogate the bibtex databases from the
2385         master file to any child files. Fixes bug 546.
2386
2387 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2388
2389         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2390
2391 2003-11-24  André Pönitz  <poenitz@gmx.net>
2392
2393         * rowpainter.C: simplification
2394
2395         * text2.C (updateCounters): remove call to redoParagraph on
2396         changed labels as this is far too expensive.
2397
2398 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2399
2400         * converter.C (convert): fix a crash: this function gets
2401         called with buffer == 0 from importer code.
2402
2403 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2404
2405         * text3.C (cursorPrevious): make sure that we do not compare
2406         iterators form different containers.
2407         (cursorNext): ditto
2408
2409         * rowpainter.C (paintSelection): make sure that we do not compare
2410         iterators from different containers.
2411
2412         * text3.C (dispatch): [PRIOR] make sure that we do not compare
2413         iterators from different ParagraphList containers.
2414         [NEXT] ditto
2415
2416         * text2.C (LyXText): change order of initialization slightly
2417         (operator=): new function. copy all variables except cache_par_
2418         (moveUp): make sure that we do not compare iterators from
2419         different ParagraphList constainers.
2420         (moveDown): ditto
2421
2422         * text.C (firstPar): new function
2423         (lastPar): new function
2424         (endPar): new function
2425
2426         * lyxtext.h: move things around and group public functions, public
2427         variables, private functions, private variables
2428
2429 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
2430
2431         * factory.C: change call to InsetERT constructor to avoid
2432         additional invocation of method status
2433         * text2.C (toggleInset): remove redundant update() call
2434         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2435         instead of a Bufferview pointer
2436
2437 2003-11-21  André Pönitz  <poenitz@gmx.net>
2438
2439         * rowpainter.C: simplification
2440
2441 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2442
2443         * text3.C (dispatch): make possible to extend a word/row selection
2444         with the mouse
2445
2446 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2447
2448         * lyxtext.h: x0_,y0_ -> xo_,yo_
2449         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2450         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2451         * rowpainter.C (paintRows): paint full paragraphs
2452
2453 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2454
2455         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2456         screen coordinates)
2457
2458 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2459
2460         * lyxtext.h: add x0_, y0_
2461         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2462         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2463
2464 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
2465
2466         * text2.C (setCursorIntern): move the x_target update here *
2467         * text3.C: change some bv() to true/false in calls to
2468         cursorUp/Down/Right/Left
2469         * cursor.C: use helper function.
2470
2471 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2472
2473         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2474         * paragraph_funcs.[Ch]: correct comment
2475         * rowpainter.C: do not paint selections away from bv->cursor()
2476         Fix a long standing selection painting bug.
2477         * text3.C: generalize mouse-selection code to LyXTexts other that
2478         top one
2479         * textcursor.C: do not use y coords if we can use par offsets
2480
2481 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2482
2483         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2484         cursor position after e.g. inset insert)
2485
2486 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
2487
2488         * lyxfind.C (replace): adjust to locking removal + some
2489         code simplification
2490
2491 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
2492
2493         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2494         of the path
2495
2496 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
2497
2498         * lyxlayout.[Ch]:
2499         * output_docbook.C: XML sanitation: new layout
2500         parameters InnerTag and CommandDepth
2501
2502 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
2503
2504         * BufferView_pimpl.C:
2505         * factory.C:
2506         * text3.C: Fix the insertion and modification of button-style
2507         insets
2508
2509 2003-11-13  André Pönitz  <poenitz@gmx.net>
2510
2511         * InsetList.[Ch]: remove deleteLyXText
2512
2513         * paragraph.[Ch]: cache beginOfBody position
2514
2515         * Bidi.C:
2516         * text.C:
2517         * text2.C:
2518         * text3.C: remove superfluous update() calls
2519
2520         * vspace.C: cleanup
2521
2522 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
2523
2524         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2525         * BufferView.C (fitLockedInsetCursor): remove
2526         * cursor.[Ch] (getDim): add
2527         * text.C (getRowNearY): add faster version
2528         * text3.C: remove some update calls
2529
2530 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
2531
2532         * LaTeXFeatures.C:
2533         * LyXAction.C:
2534         * MenuBackend.C:
2535         * MenuBackend.h:
2536         * dispatchresult.h:
2537         * factory.C:
2538         * lfuns.h:
2539         * lyxfunc.C:
2540         * lyxtextclass.C:
2541         * lyxtextclass.h:
2542         * text3.C: The Character Style /XML short element patch.
2543
2544 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
2545
2546         * text3.C:
2547         * factory.C: Small step to solving 'unable to insert some insets'
2548         problem
2549
2550 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2551
2552         * cursor.[Ch] (updatePos): new function for updating the y
2553         position of the tip inset
2554         * bufferview_funcs.C (put_selection_at):
2555         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2556
2557 2003-11-11  André Pönitz  <poenitz@gmx.net>
2558
2559         * text.C: remove big comment on invalid Paragraph pointers as it is
2560         not valid anymore
2561
2562 2003-11-11  André Pönitz  <poenitz@gmx.net>
2563
2564         * text_funcs.[Ch]: merge with ...
2565
2566         * text.C: ... this
2567
2568         * lyxtext.h:
2569         * text2.C:
2570         * text3.C: adjust
2571
2572         * Makefile.am: remove text_funcs.[Ch]
2573
2574 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
2575
2576         * cursor.C (getPos): return absolute cached y coord
2577
2578         * BufferView_pimpl.C (fitCursor): new simplistic code
2579         (workAreaDispatch): add a fitCursor call
2580
2581 2003-11-10  André Pönitz  <poenitz@gmx.net>
2582
2583         * BufferView.[Ch]:
2584         * BufferView_pimpl.[Ch]: merge update() and updateInset()
2585
2586 2003-11-10  André Pönitz  <poenitz@gmx.net>
2587
2588         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2589         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2590         indicate that the cursor needs to leave an inset
2591
2592         * lyxtext.h: remove inset locking
2593
2594         * cursor.[Ch]: re-implement functionality provided by inset locking
2595
2596         * BufferView.[Ch]:
2597         * BufferView_pimpl.[Ch]:
2598         * LyXAction.C:
2599         * bufferview_funcs.[Ch]:
2600         * factory.C:
2601         * funcrequest.[Ch]:
2602         * iterators.C:
2603         * lyx_cb.C:
2604         * lyxfind.C:
2605         * lyxfunc.C:
2606         * text.C:
2607         * text2.C:
2608         * text3.C:
2609         * undo.C: adjust
2610
2611 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
2612
2613         * PosIterator.[Ch]: replace the stack with a vector, add inset
2614         accesor
2615         * iterators.[C]: adjust
2616
2617 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2618
2619         * lyxfind.C (replaceAll): mark the buffer dirty if something was
2620         replaced
2621         * paragraph_funcs.C (readParToken): put the correct id in the
2622         error item, not the id of the top paragraph
2623
2624 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2625
2626         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2627         * bufferview_funcs.C (put_selection_at): use the above
2628
2629 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2630
2631         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2632
2633 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2634
2635         * output_linuxdoc.h:
2636         * output_plaintext.h:
2637         * output.h:
2638         * output_docbook.h: add #include statements
2639
2640 2003-11-05  José Matos  <jamatos@lyx.org>
2641
2642         * output_docbook.[Ch]:
2643         * output_latex.[Ch]:
2644         * output_linuxdoc.[Ch]:
2645         * output_plaintext.[Ch]: New files for output formats.
2646         * output.[Ch]: New file for helper functions.
2647
2648         * buffer.[Ch]:
2649         * paragraph_funcs.[Ch]: output functions moved to new files.
2650
2651         * outputparams.h: rename of latexrunparams.h
2652
2653         * LaTeX.[Ch]:
2654         * buffer.[Ch]:
2655         * bufferlist.[Ch]:
2656         * converter.[Ch]:
2657         * exporter.C:
2658         * paragraph.[Ch]:
2659         * paragraph_funcs.[Ch]:
2660         * paragraph_pimpl.[Ch]:
2661         * tabular.[Ch]: rename ascii to plaintext
2662         and LatexRunParams to OutputParams.
2663
2664 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2665
2666         * iterators.[Ch] (text): require bv argument
2667         * undo.C (recordUndo):
2668         * lyxfunc.C (dispatch):
2669         * bufferview_funcs.C (put_selection_at): adjust
2670
2671 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
2672
2673         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2674
2675 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2676
2677         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2678         nestings
2679
2680 2003-11-04  André Pönitz  <poenitz@gmx.net>
2681
2682         * cursor.[Ch]: restructure
2683
2684         * BufferView.[Ch]:
2685         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2686
2687         * iterators.[Ch] (asCursor): remove
2688
2689         * lfuns.h: remove LFUN_INSET_EDIT
2690
2691         * lyxfunc.C:
2692         * tabular.C:
2693         * text.C:
2694         * text2.C:
2695         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2696
2697 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2698
2699         * lyxfind.[Ch]: complete overhaul
2700         * BufferView_pimpl.C:
2701         * lyxfunc.C: adjust
2702         * paragraph.[Ch] (insert): add
2703
2704 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2705
2706         * BufferView.[Ch]:
2707         * lyxtext.h:
2708         * text.C: remove dead spellcheck code
2709
2710 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2711
2712         * dispatchresult.h: add a val setter
2713
2714         * cursor.C (dispatch): use a tempvar for data_[i]
2715
2716 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2717
2718         * PosIterator.[Ch]: compile fix
2719
2720 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2721
2722         * text.C (cursorPar): deactivate the cursor cache
2723
2724 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2725
2726         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2727
2728 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2729
2730         * text3.C (dispatch): adjust for new DisptchResult semantics.
2731
2732         * lyxfunc.C (dispatch): handle update when return from
2733         Cursor::dispatch, adjust for new DispatchResult semantics.
2734
2735         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2736         DispatchResult(true) mean to not update. Add class functions for
2737         setting dispatched and update, as well as reading.
2738
2739         * cursor.C (dispatch): don't handle update here
2740
2741 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2742
2743         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2744         * trans_mgr.C: adjust
2745
2746         * paragraph_funcs.C (readParToken): exception safety
2747
2748         * lyxvc.h: store the vcs pointer in a scoped_ptr
2749         * lyxvc.C: adjust
2750
2751         * lyxsocket.C (serverCallback): exception safety
2752
2753         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2754
2755         * ispell.C (clone): make it return a auto_ptr
2756
2757         * factory.C (createInset): exception safety
2758         (readInset): exception safety
2759
2760         * bufferlist.C (newBuffer): exception safety
2761
2762         * Thesaurus.C (Thesaurus): use initialization for aik_
2763
2764         * MenuBackend.C (expandToc): exception safety.
2765
2766 2003-11-03  André Pönitz  <poenitz@gmx.net>
2767
2768         * buffer.C:
2769         * buffer.h:
2770         * bufferview_funcs.C: remove getInsetFromId()
2771
2772         * lyxcursor.[Ch]:
2773         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2774
2775         * lyxfunc.C:
2776         * text2.C:
2777         * text3.C: adjust
2778
2779 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2780
2781         * PosIterator.C (distance, advance): new
2782         * bufferview_funcs.[Ch] (put_selection_at): new
2783         * iterators.[Ch] (lockPath): new
2784
2785 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
2786
2787         * iterators.[Ch] (asPosIterator): added
2788         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2789         * PosIterator.[Ch]: added
2790
2791 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2792
2793         * text3.C:
2794         * lyxfunc.C:
2795         * cursor.C (dispatch):
2796         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2797
2798         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2799         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2800         contructor, add a class function dispatched. Remove operator>=
2801
2802 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2803
2804         * debug.C: only use the default constructor for debugstream
2805         (lyxerr) here.
2806
2807         * main.C (main): include debug.h and setup the lyxerr streambuf
2808         here.
2809
2810 2003-10-31  José Matos  <jamatos@lyx.org>
2811
2812         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2813
2814         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2815         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2816         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2817         * paragraph_pimpl.C (simpleTeXSpecialC):
2818         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2819         add LatexRunParams argument.
2820
2821         * exporter.C (Export): change call accordingly.
2822
2823         * latexrunparams.h: add new member to take care of the other backends.
2824 2003-10-30  José Matos  <jamatos@lyx.org>
2825
2826         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2827         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2828         factorise code for paragraph output.
2829         * buffer.[Ch]:
2830         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2831         move functions.
2832
2833 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2834
2835         * text3.C (dispatch):
2836         * lyxfunc.C (dispatch):
2837         * cursor.C (dispatch):
2838         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2839
2840         * dispatchresult.h: make the dispatch_result_t ctor explicit
2841
2842 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
2843
2844         * sgml.[Ch]:
2845         * buffer.C: small refactoring of docbook stuff
2846
2847 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2848
2849         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2850         meaning.
2851
2852 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2853
2854         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2855         operator dispatch_result_t, and operators for == != and >=
2856
2857         * cursor.C (dispatch): adjust for operator dispatch_result_t
2858         removal. comment out call to update
2859
2860         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2861
2862 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2863
2864         * text3.C:
2865         * text2.C:
2866         * text.C:
2867         * lyxtext.h:
2868         * lyxfunc.C:
2869         * cursor.C:
2870         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2871         (dispatch):
2872
2873         * dispatchresult.h: new file, DispatchResult broken out of
2874         insets/insetbase.h
2875
2876         * Makefile.am (lyx_SOURCES): add dispatchresult.h
2877
2878 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2879
2880         * text.C (rowBreakPoint): put a hack inside #if 0
2881
2882 2003-10-28  André Pönitz  <poenitz@gmx.net>
2883
2884         * lyxtext.h:
2885         * metricsinfo.C:
2886         * paragraph_funcs.C:
2887         * rowpainter.C:
2888         * text.C:
2889         * text2.C: general cleanup (lots of small stuff)
2890
2891 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2892
2893         * text2.C (cursorEnd): simple fix to the "end key goes to one
2894         before the end on last row" bug
2895
2896 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2897
2898         * text.C (backspace): fix the "zombie characters"
2899
2900 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2901
2902         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2903
2904 2003-10-27  André Pönitz  <poenitz@gmx.net>
2905
2906         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2907
2908         * factory.C: handle new InsetPagebreak, InsetLine
2909
2910         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2911         and move handling into new InsetPagebreak, InsetLine
2912
2913         * BufferView_pimpl.C:
2914         * LyXAction.C:
2915         * ParagraphParameters.C:
2916         * ParameterStruct.h:
2917         * lyxfunc.C:
2918         * lyxtext.h:
2919         * paragraph.C:
2920         * paragraph.h:
2921         * paragraph_funcs.C:
2922         * paragraph_pimpl.C:
2923         * rowpainter.C:
2924         * text.C:
2925         * text2.C:
2926         * text3.C: adjust
2927
2928 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2929
2930         * text.C:
2931         * lyxrow_funcs.[Ch]:
2932         * Bidi.C:
2933         * paragraph.C:
2934         * lyxtext.h:
2935         * rowpainter.C:
2936         * text2.C:
2937         * text3.C: remove lastPos uses in favour of Row::endpos
2938
2939 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2940
2941         * undo.C (performUndoOrRedo): fix two crashes by setting a
2942         cursor by hand and reordering some calls. Use bv->lockInset instead
2943         of inset->edit because the latter loses cursor information
2944
2945 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
2946
2947         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2948         by Martin
2949         (rowBreakPoint): fix width. change point to point + 1.
2950         Add a missing check.
2951
2952 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
2953
2954         * MenuBackend.C:
2955         * lyxfunc.C: fix (at least partly) the problems
2956         with the Nav menu and headers inside branch insets
2957         reported by Kayvan
2958
2959 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
2960
2961         * paragraph.C (getChar): add strong asserts
2962
2963         * lyxrow_funcs.C (lastPos): remove hideous hack
2964
2965         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2966         (fill): adjust to that (avoid an infinite loop)
2967
2968 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2969
2970         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2971
2972 2003-10-23  André Pönitz  <poenitz@gmx.net>
2973
2974         * RowList_fwd.h: change list<> to vector<> to gain speed
2975         after suggestion from Alfredo
2976
2977 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2978
2979         * lyxtext.h: move the bidi stuff from here...
2980         * text.C: and here
2981         * text2.C: and here
2982         * Bidi.[Ch]: ... to here
2983
2984 2003-10-23  André Pönitz  <poenitz@gmx.net>
2985
2986         * lyxtext.h:
2987         * text.C (isLastRow, isFirstRow): new functions
2988
2989         * paragraph.h: new width cache member
2990
2991         * rowpainter.C: replace RowList::iterator with Row & where possible
2992
2993         * lyxfunc.C: replace several view()->text with a single call
2994
2995         * toc.C: fix 'unused' warning
2996
2997 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2998
2999         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3000         when woring with stream::pos_type
3001         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3002
3003 2003-10-22  André Pönitz  <poenitz@gmx.net>
3004
3005         * lyxtext.h:
3006         * text.C: use Row & instead of RowList::iterator
3007
3008         * lyxrow.h: rename end() to endpos()
3009
3010         * rowpainter.C:
3011         * text.C:
3012         * text2.C: adjust
3013
3014 2003-10-22  Angus Leeming  <leeming@lyx.org>
3015
3016         * buffer.[Ch] (fully_loaded): new member function, returning true
3017         only when the file has been loaded fully.
3018         Used to prevent the premature generation of previews and by the
3019         citation inset to prevent computation of the natbib-style label.
3020
3021         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3022         templates are all set up.
3023
3024         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3025
3026 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
3027
3028         * text.C: fixed an "oops" in the "is a bit silly"
3029         bug fix
3030
3031 2003-10-21  André Pönitz  <poenitz@gmx.net>
3032
3033         * FuncStatus.[Ch]: small stuff, whitespace
3034
3035         * lyxfont.[Ch]: operator<<() for debug reasons
3036
3037         * lyxfunc.C:
3038         * lyxrow_funcs.C:
3039         * lyxtext.h: whitespace, spelling
3040
3041         * paragraph.C: naming of variables
3042
3043         * text.C:
3044         * text2.C: small stuff
3045
3046
3047 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
3048
3049         * text.C: (1) finish off the inset display() work;
3050         (2) fix the "is a bit silly" bug (accessing char
3051         past end of par).
3052
3053 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
3054
3055         * text.C: re-introduce display() for insets, fixing the
3056         various bugs (stretch of line above, math inset
3057         positioning, ...)
3058
3059 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3060
3061         * text.C (rightMargin): remove spurious semicolon
3062
3063         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3064         1415)
3065
3066 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
3067
3068         * text3.C: fix one crash due to wrong cursor def
3069
3070 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3071
3072         * vc-backend.C (scanMaster): make the regex static
3073
3074         * LaTeX.C (scanAuxFile): make the regexs static
3075
3076         * text3.C (doInsertInset, dispatch, dispatch):
3077         * text2.C (cursorUp, cursorDown):
3078         * text.C (selectNextWordToSpellcheck):
3079         * BufferView_pimpl.C (dispatch):
3080         * lyxfunc.C (dispatch):  localDispatch -> dispatch
3081
3082 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3083
3084         * lyxsocket.C: include <cerrno>
3085
3086 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3087
3088         * lyxfunc.C (dispatch): remove textcache stuff
3089
3090         * bufferlist.C (release): remove textcache stuff
3091         (closeAll): ditto
3092
3093         * TextCache.C: delete file
3094         * TextCache.h: delete file
3095
3096         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3097
3098         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3099         delete of the bv_->text.
3100         (resizeCurrentBuffer): remove texcache stuff
3101         (workAreaResize): ditto
3102
3103 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3104
3105         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3106         action.
3107
3108 2003-10-16  André Pönitz  <poenitz@gmx.net>
3109
3110         * lyxrow.[Ch]:
3111         * paragraph.h:
3112         * rowpainter.C:
3113         * text.C:
3114         * text2.C:
3115         * text3.C: speed up by storing y positions per paragraph plus per-row
3116         offset instead of having a 'full' y position in the row.
3117
3118 2003-10-15  André Pönitz  <poenitz@gmx.net>
3119
3120         * iterators.[Ch]:
3121         * iterators.[Ch]:
3122         * undo.[Ch]: make undo aware of inner insets
3123
3124 2003-10-14  Angus Leeming  <leeming@lyx.org>
3125
3126         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3127         static member functions LyX::ref() and LyX::cref.
3128         (lastfiles): new accessor functions for the new lastfiles_ member var.
3129         (addLyXView, views_): add a new LyXView to the list of views_.
3130         (updateInset): loop over all LyXViews to call their own updateInset
3131         member function, returning a pointer to the Buffer owning the inset.
3132
3133         * BufferView_pimpl.C (loadLyXFile):
3134         * MenuBackend.C (expandLastfiles):
3135         * bufferlist.C (MenuWrite, QuitLyX):
3136         lastfiles is no longer a global variable.
3137         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3138
3139         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3140         static function. Access through LyX::cref().emergencyCleanup().
3141
3142 2003-10-14  André Pönitz  <poenitz@gmx.net>
3143
3144         * iterators.[Ch]: new direct access to innermost LyXText and Inset
3145
3146         * undo.[Ch]: restoring part of 'undo in insets'
3147
3148         * Makefile.am:
3149         * undo_funcs.[Ch]: merge with undo.[Ch]
3150
3151         * tabular.C: small cleansing stuff
3152
3153 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
3154
3155         * paragraph_funcs.C (readParToken): report unknown insets as error
3156         boxes. Use the outer paragraph as location (also for unknown
3157         tokens).
3158
3159         * factory.C (readInset): do not abort on reading an unknown inset.
3160         Eat it and return 0.
3161
3162 2003-10-13  Angus Leeming  <leeming@lyx.org>
3163
3164         * lyx_main.C (LyX): remove call to setDisplayTranslator().
3165
3166         * lyxrc.C: displayTranslator is now a function,
3167         declared in GraphicsTypes.h.
3168
3169 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3170
3171         * format.C: new placeholder $$a to pass the socket address.
3172
3173         * bufferlist.[Ch]: new function getBufferFromTmp.
3174
3175         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3176           files in the temporary dir.
3177
3178 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3179
3180         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3181
3182         * Makefile.am: add lyxsocket.[Ch].
3183
3184         * lyx_main.C (error_handler): handle SIGPIPE.
3185
3186 2003-10-13  André Pönitz  <poenitz@gmx.net>
3187
3188         * BufferView_pimpl.C:
3189         * lyxtext.h:
3190         * text.C:
3191         * text2.C:
3192         * text3.C:
3193         * undo_funcs.[Ch]: use paroffset_type instead of
3194           ParagraphList::iterators to prevent multiple conversion
3195           (and get a more robust interface)
3196
3197 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3198
3199         * lyxfunc.C (dispatch): RESULT -> dispatch_result
3200         * lyxtext.h: ditto
3201         * text3.C (dispatch): ditto
3202
3203 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3204
3205         * LaTeX.C (handleFoundFile): move the static to smaller scope,
3206         move the onlyfile, use onlyfile instead of foundfile in a couple
3207         of places.
3208
3209         * DepTable.C (update): flush the error stream a bit more
3210
3211 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3212
3213         * lyxserver.C (callback): adjust
3214
3215         * lyxfunc.C (getStatus): add a missing brace in commented code
3216         (ensureBufferClean): reindent
3217         (dispatch): delete version taking a string
3218
3219 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3220
3221         * LaTeX.C (deplog): move found file handlig from here...
3222         (handleFoundFile): .. to new function here.
3223         (deplog): make sure to discover several files mentioned on the
3224         same log line.
3225
3226 2003-10-10  André Pönitz  <poenitz@gmx.net>
3227
3228         * lyxfunc.C:
3229         * lyxtext.h:
3230         * tabular.C:
3231         * text.C:
3232         * text2.C:
3233         * text3.C: fix some of the tabular crashes
3234
3235 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3236
3237         * MenuBackend.C (binding): put debug message into Debug::KBMAP
3238
3239         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3240
3241 2003-10-09  André Pönitz  <poenitz@gmx.net>
3242
3243         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3244
3245         * BufferView.C:
3246         * BufferView_pimpl.C:
3247         * bufferview_funcs.C:
3248         * lyx_cb.C:
3249         * lyxcursor.C:
3250         * lyxfind.C:
3251         * lyxfunc.C:
3252         * lyxtext.h:
3253         * text.C:
3254         * text2.C:
3255         * text3.C:
3256         * text_funcs.[Ch]:
3257         * textcursor.[Ch]:
3258         * undo_funcs.C: adjust
3259
3260 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3261
3262         * text2.C (incrementItemDepth): new function, use a backtracking
3263         algorithm to discover the correct item depth.
3264         (resetEnumCounterIfNeeded): new function, use a backtracking
3265         algorithm to discover if counter reset is needed.
3266         (setCounter): use them. Simplify a bit. Add different labels for
3267         different item depths for itemize.
3268
3269         * paragraph.C (Paragraph): remove initialization of enumdepth
3270         (operator=): ditto
3271
3272         * paragraph.h: get rid of enumdepth, and use itemdepth both for
3273         enumerate and itemize. Change the type of itemdepth to signed char.
3274
3275 2003-10-08  André Pönitz  <poenitz@gmx.net>
3276
3277         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3278           thing assignable.
3279         * text.C:
3280         * text2.C: adjust
3281
3282         * tabular.[Ch]: fix crash after 'row-insert'
3283
3284 2003-10-08  Angus Leeming  <leeming@lyx.org>
3285
3286         Fix doxygen warnings.
3287
3288         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3289         Remove CutAndPaste:: prefix from header file declaration.
3290
3291         * LColor.h (fill): remove LColor:: prefix from declaration.
3292
3293         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3294         use lyx::depth_type rather than Paragraph::depth_type so that
3295         header file and .C file match.
3296
3297         * converter.h (intToFormat): remove Converters:: prefix from declaration.
3298
3299         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3300         * aspell.C: \file aspell_local.C -> \file aspell.C
3301         * gettext.C: \file gettext.C -> \file src/gettext.C
3302         * gettext.h: \file gettext.h -> \file src/gettext.h
3303         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3304         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3305         * text.C: \file text.C -> \file src/text.C
3306
3307         * toc.C: move comment so that doxygen is not confused.
3308
3309 2003-10-07  Angus Leeming  <leeming@lyx.org>
3310
3311         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3312
3313 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3314
3315         * aspell.C:
3316         * aspell_local.h: add forgotten std::string's.
3317
3318 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3319
3320         * LaTeXFeatures.C:
3321         * LyXAction.C:
3322         * factory.C:
3323         * lfuns.h:
3324         * lyxfunc.C:
3325         * text3.C: The Box patch. Fancybox support, minipage, parbox
3326
3327 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3328
3329         * CutAndPaste.h:
3330         * DepTable.h:
3331         * FloatList.h:
3332         * LaTeXFeatures.h:
3333         * ParagraphParameters.h:
3334         * TextCache.h:
3335         * Thesaurus.h:
3336         * bufferlist.h:
3337         * exporter.h:
3338         * importer.h:
3339         * lastfiles.h:
3340         * lyxfind.h:
3341         * lyxfont.h:
3342         * lyxlex.h:
3343         * lyxtextclasslist.h:
3344         * messages.h:
3345         * paragraph.h:
3346         * paragraph_pimpl.C:
3347         * textcursor.h: add <string> and other small fixes to make Lars'
3348         std::string patch compile with STLport.
3349
3350 2003-10-06  Angus Leeming  <leeming@lyx.org>
3351
3352         * LColor.h: Add missing #include <string>.
3353
3354 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3355
3356         * All most all file in all subdirs: Make <string> be the prefered
3357         way of getting to std::string, add using declarations.
3358
3359 2003-10-06  André Pönitz  <poenitz@gmx.net>
3360
3361         * metricsinfo.C: initialize LyXFont before changing attribute.
3362         (fixes the 'math in \emph is upright' bug)
3363
3364 2003-10-06  André Pönitz  <poenitz@gmx.net>
3365
3366         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3367
3368 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
3369
3370         * graph.C:
3371         * paragraph_pimpl.C: Small fixes to build using STLport
3372
3373 2003-10-02  André Pönitz  <poenitz@gmx.net>
3374
3375         * lyxfunc.C:
3376         * text3.C: move handling of LFUN_DEPTH *; fix #1360
3377
3378 2003-10-01  André Pönitz  <poenitz@gmx.net>
3379
3380         * factory.C: assert early
3381
3382 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3383
3384         * lyx_main.C: remove the global debug object
3385
3386         * debug.h: adjust for new debugstream
3387
3388         * debug.C: adjust for new debugstream and keep the global debug
3389         object here.
3390
3391 2003-09-22  Angus Leeming  <leeming@lyx.org>
3392
3393         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3394         of g++ which otherwise complain that the scoped_ptr destructor can't delete
3395         an incomplete class LyXFont.
3396
3397 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
3398
3399         * factory.C: bug fix in branches
3400
3401 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3402
3403         * lyxfunc.C (processKeySym): adjust
3404         (dispatch): adjust
3405         (dispatch): change arg name from ev to func, adjust
3406         (sendDispatchMessage): ditto
3407
3408         * lyx_main.C (defaultKeyBindings): adjust keybindings
3409         (deadKeyBindings): ditto
3410
3411         * kbsequence.C (addkey): return a FuncRequest
3412
3413         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3414
3415         * kbmap.C (bind): take a FuncRequest as arg, adjust
3416         (read): adjust
3417         (lookup): adjust
3418         (defkey): change to take a FuncRequest as arg, adjust
3419         (findbinding): take a FuncRequest as arg, adjust.
3420
3421         * funcrequest.h (operator=): added
3422
3423         * funcrequest.C (FuncRequest): default kb_action changed from
3424         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3425
3426         * buffer.C (dispatch): simplify
3427         (dispatch): adjust to take a FuncRequest as arg, adjust
3428
3429         * boost.C (assertion_failed): change assertion message slightly
3430
3431         * ToolbarBackend.C (read): simplify
3432
3433         * MenuBackend.C (binding): adjust call to findbinding, add a
3434         message if no binding is found.
3435         (read): simplify
3436         (expandToc): correct by adding a empty FuncRequest
3437
3438         * LyXAction.C: include <boost/assert.hpp>
3439         (isPseudoAction): delete function
3440         (LookupFunc): change name to...
3441         (lookupFunc): this. change return type to FuncRequest.
3442         (getActionName): take kb_action as arg, simplify
3443         (funcHasFlag): add an assert, simplify.
3444
3445 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3446
3447         * toc.C (action): return a FuncRequest, simplify
3448
3449         * lyxfunc.C (processKeySym): adjust
3450         (getStatus): delete version that takes an int.
3451         (getStatus): adjust
3452         (dispatch): delete version that takes action as int
3453         (dispatch): adjust
3454         (sendDispatchMessage): simplify and adjust
3455
3456         * funcrequest.C (getArg): take unsigned int as arg
3457
3458         * ToolbarBackend.C (read): adjust
3459         (add): delete version that takes func as a string.
3460         (getIton): take a FuncRequest as arg
3461
3462         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3463         action.
3464
3465         * MenuBackend.C (MenuItem): add a new construct that only takes a
3466         Kind, simplify the constructor use for submenus.
3467         (add): adjust
3468         (expandLastfiles): adjust
3469         (expandDocuments): adjust
3470         (expandFormats): adjust
3471         (expandFloatListInsert): adjust
3472         (expandFloatInsert): adjust
3473         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3474
3475         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3476         Remove class variables lyx_pseudo_map and lyx_arg_map
3477
3478         * LyXAction.C (searchActionArg): delete function
3479         (getPseudoAction): delete function
3480         (retrieveActionArg): delete function
3481         (LookupFunc): make it return kb_action, simplify.
3482         (getActionName): simplify
3483
3484         * factory.C (createInset): fix new bug
3485
3486 2003-09-19  Angus Leeming  <leeming@lyx.org>
3487
3488         * CutAndPaste.C (pasteSelection): remove fudge used to set the
3489         masterFilename_ parameter in the include inset.
3490
3491         * factory.C (createInset): changes due to the changes to InsetInclude.
3492
3493 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3494
3495         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3496
3497 2003-09-18  Angus Leeming  <leeming@lyx.org>
3498
3499         * buffer.C:
3500         * BufferView.C: pass the buffer when calling Inset::getLabelList,
3501         Inset::fillWithBibKeys.
3502         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3503
3504 2003-09-18  Angus Leeming  <leeming@lyx.org>
3505
3506         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3507         variables.
3508         (ctor): pass and store a 'Buffer const &'
3509         (buffer): new member function.
3510
3511         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3512         '*this' to the LaTeXFeatures ctor.
3513
3514 2003-09-18  Angus Leeming  <leeming@lyx.org>
3515
3516         * LColor.h:
3517         * lyxfont.C:
3518         * lyxfont.h:
3519         * lyxtext.h:
3520         * text.C: rename EnumLColor as LColor_color.
3521
3522 2003-09-18  Angus Leeming  <leeming@lyx.org>
3523
3524         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3525         remove #include "insets/insetbase.h" from cursor.h.
3526
3527 2003-09-18  Angus Leeming  <leeming@lyx.org>
3528
3529         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3530         InsetOld_code to remove #include "inset.h".
3531
3532         * iterators.C: add #include "insets/inset.h"
3533
3534 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
3535
3536         * BufferView.C: remove more locking stuff that apparently doesn't
3537         do anything sensible.
3538
3539 2003-09-16  André Pönitz  <poenitz@gmx.net>
3540
3541         * paragraph.[Ch]:
3542         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3543           performance boost.
3544
3545 2003-09-16  Angus Leeming  <leeming@lyx.org>
3546
3547         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3548
3549         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3550         arg/return type.
3551
3552         * paragraph.h: remove #include "lyxfont.h". Forward declare
3553         LyXFont_size.
3554
3555 2003-09-16  Angus Leeming  <leeming@lyx.org>
3556
3557         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3558         of support/textutils.h.
3559         (isWord): move the contents of support/textutils.h's IsWordChar here.
3560
3561         * buffer.C:
3562         * lyxfind.C:
3563         * rowpainter.C:
3564         * text.C:
3565         * text2.C: add #include "paragraph.h".
3566
3567         * rowpainter.C:
3568         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3569
3570 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3571
3572         * main.C:
3573         * lyx_main.C:
3574         * lyx_cb.C:
3575         * buffer.C:
3576         * LaTeX.C: use namespace alias for lyx::support::os
3577
3578 2003-09-16  Angus Leeming  <leeming@lyx.org>
3579
3580         * bufferparams.C:
3581         * bufferview_funcs.C:
3582         * factory.C:
3583         * lyxfunc.C:
3584         * paragraph_pimpl.C:
3585         * rowpainter.C:
3586         * text.C: add #include "LColor.h".
3587
3588 2003-09-16  Angus Leeming  <leeming@lyx.org>
3589
3590         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3591         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3592         return LyXFont &.
3593         Store the FontBits::color variable as an int rather than as an
3594         LColor::colorso that we can move LColor.h out of the lyxfont.h header
3595         file.
3596
3597         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3598         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3599         string calls together.
3600
3601         * lyxrc.C: add #include "LColor.h".
3602
3603 2003-09-15  Angus Leeming  <leeming@lyx.org>
3604
3605         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3606         a cow_ptr.
3607
3608 2003-09-15  Angus Leeming  <leeming@lyx.org>
3609
3610         * LColor.h: add an EnumLColor wrapper for LColor::color.
3611
3612         * lyxfont.[Ch] (color, setColor, realColor):
3613         * lyxtext.h, text.C (backgroundColor):
3614         pass EnumLColor args to/from the functions, rather than LColor::color
3615         ones.
3616
3617         * lyxfont.h:
3618         * lyxtext.h: forward declare EnumLColor.
3619
3620         * lyx_main.C: add #include "LColor.h".
3621
3622 2003-09-15  Angus Leeming  <leeming@lyx.org>
3623
3624         * .cvsignore: add lyx-gtk.
3625
3626 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3627
3628         * Chktex.C
3629         * LaTeX.C
3630         * LaTeXFeatures.C
3631         * ParagraphParameters.C
3632         * Spacing.C
3633         * buffer.C
3634         * bufferparams.C
3635         * bufferview_funcs.C
3636         * chset.C
3637         * counters.C
3638         * funcrequest.C
3639         * lyxfont.C
3640         * lyxgluelength.C
3641         * lyxlength.C
3642         * paragraph.C
3643         * paragraph_funcs.C
3644         * text3.C
3645         * vc-backend.C: remove usage of STRCONV
3646
3647 2003-09-15  Angus Leeming  <leeming@lyx.org>
3648
3649         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3650         explicitly define the color passed to the painter.
3651
3652 2003-09-15  Angus Leeming  <leeming@lyx.org>
3653
3654         * bufferparams.C (BufferParams): reorder member initializers to avoid
3655         compiler warning.
3656
3657 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
3658
3659         * CutAndPaste.C (pasteSelection): remove an outdated #warning
3660         * text.C (updateRowPositions): remove an unusual nop
3661
3662 2003-09-12  André Pönitz  <poenitz@gmx.net>
3663
3664         * BufferView_pimpl.C:
3665         * Bullet.C:
3666         * layout.h:
3667         * lyxfunc.C:
3668         * lyxlayout.[Ch]:
3669         * lyxtextclass.C:
3670         * rowpainter.C:
3671         * text.C:
3672         * text2.C:
3673         * Counters.[Ch]: finish the 'automatic counters' job
3674
3675 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3676
3677         * aspell.C: include <boost/assert.cpp> (compile fix)
3678
3679 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
3680
3681         * boost.C (assertion_failed): use lyx::support::abort instead of
3682         assert.
3683
3684 2003-09-10  Angus Leeming  <leeming@lyx.org>
3685
3686         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3687         with their _fwd progeny.
3688
3689 2003-09-09  Angus Leeming  <leeming@lyx.org>
3690
3691         134 files throughtout the source tree: replace 'using namespace abc;'
3692         directives with the appropriate 'using abc::xyz;' declarations.
3693
3694 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3695
3696         * boost.C (emergencyCleanup): moved here from LAssert.c
3697         (assertion_failed): new function, called by BOOST_ASSERT
3698
3699         * several files: change Assert to BOOST_ASSERT
3700
3701 2003-09-09  Angus Leeming  <leeming@lyx.org>
3702
3703         * buffer.[Ch]: Add an Impl class and move Buffer's member
3704         variables into it. As a result move several header files out of
3705         buffer.h.
3706
3707         Add header files to lots of .C files all over the tree as a result.
3708
3709 2003-09-09  Angus Leeming  <leeming@lyx.org>
3710
3711         * buffer.[Ch]: make Buffer's member variables private. Add
3712         accessor functions.
3713
3714         Lots of changes all over the tree as a result.
3715
3716 2003-09-08  Angus Leeming  <leeming@lyx.org>
3717
3718         * graph.C: #include <config.h>.
3719
3720 2003-09-08  Angus Leeming  <leeming@lyx.org>
3721
3722         * BranchList.C:
3723         * BufferView.C:
3724         * BufferView_pimpl.C:
3725         * CutAndPaste.C:
3726         * DepTable.C:
3727         * LaTeX.C:
3728         * LaTeXFeatures.C:
3729         * LyXAction.C:
3730         * MenuBackend.C:
3731         * TextCache.C:
3732         * aspell.C:
3733         * buffer.C:
3734         * bufferlist.C:
3735         * changes.C:
3736         * chset.C:
3737         * converter.C:
3738         * counters.C:
3739         * debug.C:
3740         * graph.C:
3741         * ispell.C:
3742         * lyx_cb.C:
3743         * lyxfind.C:
3744         * lyxfunc.C:
3745         * lyxlex_pimpl.C:
3746         * lyxrc.C:
3747         * lyxrow.C:
3748         * paragraph.C:
3749         * rowpainter.C:
3750         * texrow.C:
3751         * text.C:
3752         * text2.C:
3753         * toc.C: remove redundant using directives.
3754
3755 2003-09-07  Angus Leeming  <leeming@lyx.org>
3756
3757         * LaTeXFeatures.h: remove #include "support/types.h".
3758         * ToolbarBackend.h: remove #include <algorithm>.
3759         * changes.h: remove #include <ctime>.
3760         * debug.h: remove #include <iosfwd>.
3761         * graph.h: remove #include "support/std_string.h".
3762         * lyx_main.h: remove #include <csignal>.
3763         * lyxlex_pimpl.h: remove #include <fstream>.
3764         * sgml.h: remove #include <algorithm>, <utility>.
3765         * toc.h: remove #include "support/std_ostream.h".
3766         Add #include <iosfwd>.
3767
3768 2003-09-07  Angus Leeming  <leeming@lyx.org>
3769
3770         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3771
3772         * converter.h: forward declare LatexRunParams.
3773         * encoding.h: remove #include "lyxrc.h".
3774         * lyxtext.h: remove #include "LColor.h".
3775         * lyxtextclass.h: remove #include "support/types.h".
3776         * trans.h: remove #include "tex-accent.h".
3777         * trans_mgr.h: remove #include "tex-accent.h".
3778         * insets/inset.h: remove #include "support/types.h", <vector>.
3779         * insets/insetcollapsable.h: remove #include "LColor.h".
3780         * insets/insetinclude.h: remove #include "dimension.h".
3781         * insets/insetlatexaccent.h: remove #include "dimension.h".
3782         * insets/insetoptarg.h:: remove #include "insettext.h".
3783         * insets/insettext.h: remove #include "dimension.h",
3784         <boost/shared_ptr.hpp>
3785
3786         * insets/renderers.h: add #include "dimension.h".
3787         * insets/updatableinset.h: add #include "support/types.h".
3788
3789         * many .C files: Associated changes.
3790
3791 2003-09-06  Angus Leeming  <leeming@lyx.org>
3792
3793         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3794         one, inside testInvariant.
3795
3796         * PrinterParams.C: new file.
3797         * PrinterParams.[Ch]: move the function bodies out of line.
3798
3799 2003-09-06  Angus Leeming  <leeming@lyx.org>
3800
3801         * ParagraphParameters.h: forward declare ParameterStruct rather than
3802         including its header file.
3803         (depth): moved out-of-line.
3804
3805 2003-09-06  Angus Leeming  <leeming@lyx.org>
3806
3807         * BufferView_pimpl.h:
3808         * kbmap.h:
3809         * kbsequence.h:
3810         * lyxfunc.h: forward declare LyXKeySym rather than
3811         #include "frontends/LyXKeySym.h".
3812
3813         * BufferView_pimpl.C:
3814         * kbmap.C:
3815         * kbsequence.C:
3816         * lyxfunc.C: associated changes.
3817
3818 2003-09-06  Angus Leeming  <leeming@lyx.org>
3819
3820         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3821         As a result, can remove the #include "insets/inset.h" from BufferView.h
3822
3823 2003-09-06  Angus Leeming  <leeming@lyx.org>
3824
3825         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3826         As a result, can remove the #include "insets/inset.h" from BufferView.h
3827
3828 2003-09-06  Angus Leeming  <leeming@lyx.org>
3829
3830         * buffer_funcs.C:
3831         * buffer.h:
3832         * bufferlist.C:
3833         * BufferView.C:
3834         * bufferview_funcs.C:
3835         * BufferView_pimpl.C:
3836         * CutAndPaste.C:
3837         * lyx_cb.C:
3838         * lyxfunc.C:
3839         * paragraph.h:
3840         * ParagraphParameters.C:
3841         * tabular.C:
3842         * text3.C:
3843         * toc.C:
3844         * undo_funcs.C:
3845         * frontends/controllers/ControlDocument.C:
3846         * insets/insetcaption.C: rearrange the #includes into some sort of
3847         coherent order.
3848
3849         * buffer.h: remove #includes ErrorList.h, undo.h
3850
3851 2003-09-06  Angus Leeming  <leeming@lyx.org>
3852
3853         * support/types.h: add a 'depth_type' typedef, used to store the
3854         nesting depth of a paragraph.
3855
3856         * paragraph.h:
3857         * ParameterStruct.h: use this lyx::depth_type typedef rather than
3858         defining explicitly.
3859
3860         * buffer.h:
3861         * paragraph_funcs.h:
3862         * ParagraphParameters.h:
3863         * sgml.h: use lyx::depth_type rather than Paragraph or
3864         ParameterStruct's depth_type.
3865
3866         * buffer.h
3867         * paragraph_funcs.h: no need to #include paragraph.h anymore.
3868
3869         * BufferView.C:
3870         * BufferView_pimpl.C:
3871         * CutAndPaste.C:
3872         * ParagraphParameters.C:
3873         * buffer_funcs.C:
3874         * bufferlist.C:
3875         * bufferview_funcs.C:
3876         * lyx_cb.C:
3877         * lyxfunc.C:
3878         * tabular.C:
3879         * text3.C:
3880         * toc.C:
3881         * undo_funcs.C:
3882         * frontends/LyXView.C:
3883         * frontends/controllers/ControlDocument.C:
3884         * frontends/controllers/ControlErrorList.C:
3885         * insets/insetbibitem.C:
3886         * insets/insetbranch.C:
3887         * insets/insetcaption.C:
3888         * insets/insetcollapsable.C:
3889         * insets/insetenv.C:
3890         * insets/insetert.C:
3891         * insets/insetfloat.C:
3892         * insets/insetfoot.C:
3893         * insets/insetfootlike.C:
3894         * insets/insetnewline.C:
3895         * insets/insetquotes.C:
3896         * insets/insettabular.C:
3897         * insets/insettext.C:
3898         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3899
3900         * frontends/controllers/ControlChanges.C: #include "changes.h".
3901
3902 2003-09-06  Angus Leeming  <leeming@lyx.org>
3903
3904         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3905         than #including paragraph.h.
3906
3907         * ParagraphList.h:
3908         * RowList.h: deleted. Superfluous.
3909
3910         * CutAndPaste.h:
3911         * iterators.h:
3912         * lyxcursor.h:
3913         * lyxtext.h:
3914         * text_funcs.h:
3915         * undo.h:
3916         * undo_funcs.h:
3917         * insets/inset.h:
3918         * insets/insettext.h: use ParagraphList_fwd.h rather than
3919         ParagraphList.h.
3920
3921         * paragraph.h: don't forward declare ParagraphList.
3922
3923         * buffer.h:
3924         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3925         rather than ParagraphList.h. paragraph.h is still needed for the
3926         Paragraph::depth_type parameters.
3927
3928         * textcursor.h: enable it to compile stand-alone in light of the
3929         above changes.
3930
3931         * bufferview_funcs.C:
3932         * iterators.C:
3933         * lyxfunc.C:
3934         * lyxrow_funcs.C:
3935         * paragraph.C:
3936         * rowpainter.C:
3937         * text.C:
3938         * text2.C:
3939         * text3.C:
3940         * text_funcs.C:
3941         * textcursor.C:
3942         * undo.C:
3943         * frontends/controllers/ControlParagraph.C:
3944         * frontends/controllers/ControlTabular.C:
3945         * insets/insetmarginal.C:
3946         * insets/insetminipage.C:
3947         * insets/insetnote.C:
3948         * insets/insetoptarg.C: add header files needed to compile again.
3949
3950 2003-09-06  Angus Leeming  <leeming@lyx.org>
3951
3952         * RowList_fwd.h: new file, forward-declaring Row rather than
3953         #including lyxrow.h.
3954
3955         * lyxrow_funcs.h:
3956         * lyxtext.h:
3957         * paragraph.h:
3958         * insets/insettext.h: use it instead of RowList.h
3959
3960         * bufferview_funcs.C:
3961         * lyxfunc.C:
3962         * lyxrow_funcs.C:
3963         * paragraph.C:
3964         * rowpainter.C:
3965         * text.C:
3966         * text2.C:
3967         * text3.C: #include "RowList.h".
3968
3969 2003-09-05  Angus Leeming  <leeming@lyx.org>
3970
3971         * factory.C (createInset):
3972         * vspace.C (c-tor): replace sscanf call with an istringstream.
3973         * ispell.C: re-add missing HP/UX headers.
3974         * lyxserver.C: re-add missing  os2 headers.
3975
3976 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
3977
3978         * BranchList.C:
3979         * graph.C:
3980         * ispell.C:
3981         * lastfiles.C:
3982         * lyx_cb.C:
3983         * lyxserver.C:
3984         * texrow.C:
3985         * text3.C: re-add missing system headers, needed for 2.95.2.
3986
3987 2003-09-05  Angus Leeming  <leeming@lyx.org>
3988
3989         Changes most place everywhere due to the removal of using directives
3990         from support/std_sstream.h.
3991
3992 2003-09-05  Angus Leeming  <leeming@lyx.org>
3993
3994         Replace LString.h with support/std_string.h,
3995         Lsstream.h with support/std_sstream.h,
3996         support/LIstream.h with support/std_istream.h,
3997         support/LOstream.h with support/std_ostream.h.
3998
3999         Changes resulting throughout the tree.
4000
4001 2003-09-05  Angus Leeming  <leeming@lyx.org>
4002
4003         * sgml.h: ensure that the header file can be compiled stand-alone.
4004         * *.C: strip out redundant #includes. (320 in total.)
4005
4006 2003-09-04  Angus Leeming  <leeming@lyx.org>
4007
4008         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4009         here (from getPackages).
4010
4011         * debug.[Ch]: add a new EXTERNAL tag.
4012
4013 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4014
4015         * text2.C (cursorEnd): simplify
4016         (setCursor): adjust
4017         (getColumnNearX): adjust
4018
4019         * text.C (computeBidiTables): adjust
4020         (fill): adjust
4021
4022         * rowpainter.C (paintChars): adjust
4023         (paintSelection): adjust
4024         (paintChangeBar): adjust
4025         (paintText): adjust
4026
4027         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4028         lastPos instead.
4029         (numberOfSeparators): adjust
4030
4031 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4032
4033         * LyXAction.C:
4034         * box.[Ch]:
4035         * lfuns.h:
4036         * lyxfunc.C:
4037         * text3.C: Restricts the mouse click functionality
4038         of insets like bibtex, include, toc and floatlist to the visible
4039         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4040         up the dialogs. Cursor has to be in front of the inset (i.e.
4041         start of row) for this to function.
4042
4043 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4044
4045         * bufferview_funcs.C (currentState): output row information
4046
4047 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4048
4049         * bufferview_funcs.C (currentState): output paragraph position
4050
4051 2003-09-04  Angus Leeming  <leeming@lyx.org>
4052
4053         * FloatList.h: move out #include "Floating.h".
4054         * LaTeX.h: move out #include "DepTable.h".
4055         * LyXAction.h: move out #include "funcrequest.h".
4056         * buffer.h: move out #include "author.h", "iterators.h".
4057         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4058         * lyx_main.h: move out #include "errorlist.h".
4059         * lyxfunc.h: move out #include "FuncStatus.h".
4060         * lyxtext: move out #include "lyxcursor.h".
4061         * paragraph_pimpl.h: move out #include "counters.h".
4062
4063 2003-09-03  Angus Leeming  <leeming@lyx.org>
4064
4065         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4066         preamble_snippets list, enabling us to add snippets to the preamble
4067         only if the snippet was not there already.
4068
4069 2003-09-04  Angus Leeming  <leeming@lyx.org>
4070
4071         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4072
4073 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4074
4075         * lyxfunc.C (dispatch): if fitCursor did something be sure to
4076         update
4077
4078 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4079
4080         * BranchList.C: point fix, earlier forgotten
4081
4082 2003-09-02  Angus Leeming  <leeming@lyx.org>
4083
4084         * box.C (contains): renamed from 'contained' after a fantastic
4085         amount of hot air.
4086
4087 2003-09-02  John Levon  <levon@movementarian.org>
4088
4089         * BufferView.C:
4090         * lyxcursor.h:
4091         * lyxcursor.C:
4092         * lyxfunc.C:
4093         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4094
4095 2003-09-02  John Levon  <levon@movementarian.org>
4096
4097         * text2.C: simplification of cursorEnd(), including partial
4098         fix for bug 1376
4099
4100 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4101
4102         * buffer.C (readFile): add a space
4103
4104 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
4105
4106         * BufferView_pimpl.C (update): remove bogus fitCursor() call
4107
4108 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4109
4110         * buffer.C (readFile): new function, take a filename and a
4111         ParagraphList::iterator
4112         (readFile): adjust
4113         (readFile): adjust, make it private. don't use setStream, make
4114         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4115         always contain the filename.
4116
4117         * BufferView.C (insertLyXFile): simplify and make it work for
4118         gzipped files.
4119
4120 2003-08-30  John Levon  <levon@movementarian.org>
4121
4122         * Makefile.am: fix dist (from Kayvan)
4123
4124 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4125
4126         * most files: change to use const Buffer refs
4127
4128 2003-08-27  André Pönitz  <poenitz@gmx.net>
4129
4130         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4131         on top of ownerPar().
4132
4133 2003-08-27  John Levon  <levon@movementarian.org>
4134
4135         * funcrequest.C: properly initialise POD members
4136
4137 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4138
4139         * lyxtext.h (top_y): move top_y from here
4140         * text.C:
4141         * text2.C:
4142         * text3.C:
4143         * BufferView.[Ch]:
4144         * BufferView_pimpl.[Ch]: to here
4145         * frontends/screen.C:
4146         * insets/insettabular.C:
4147         * insets/insettext.C: adjust
4148         * rowpainter.[Ch] (paintRows): remove LyXText & argument
4149
4150 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4151
4152         * BufferView.[Ch]:
4153         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4154
4155 2003-08-26  André Pönitz  <poenitz@gmx.net>
4156
4157         * paragraph_func.[Ch] (outerPar): new function
4158
4159         * paragraph.C:
4160         * paragraph_funcs.C:
4161         * paragraph_funcs.h:
4162         * paragraph_pimpl.C:
4163         * text2.C: remove Inset::par_owner
4164
4165 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
4166
4167         * lyxrow_funcs.C:
4168         * lyxtext.h:
4169         * text.C:
4170         * text2.C: eliminates the needFullRow/display() stuff
4171         altogether, putting the logic in metrics/draw in the insets.
4172
4173 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
4174
4175         * text2.C (redoParagraphInternal, redoParagraphs):
4176         * text.C (redoParagraph): add a call to updateRowPositions at the
4177         end of each 'metrics-like' call. Remove all others.
4178         (getRow): remove the 'y-computing' version.
4179         (getRowNearY): do not compute nor return the real y. Solve the
4180         'y < 0' problem and simplify.
4181
4182 2003-08-22  Angus Leeming  <leeming@lyx.org>
4183
4184         * *.[Ch]: clean-up of licence and author blurbs.
4185         Also move config.h out of a few .h files and into a few .C files.
4186
4187 2003-08-22  André Pönitz  <poenitz@gmx.net>
4188
4189         * lyxrow.[Ch]: add x_ and *fill_ members
4190
4191         * lyxtext.h:
4192         * text.C:
4193         * rowpainter.C:
4194         * text2.C: adjust/remove prepareToPrint() calls
4195
4196 2003-08-22  André Pönitz  <poenitz@gmx.net>
4197
4198         * lyxrow.[Ch]: add  end_ member
4199
4200         * lyxrow_funcs.C: use LyXRow::end_
4201
4202         * lyxtext.h (singleWidth): add LyXFont parameter
4203
4204         * rowpainter.C:
4205         * text2.C: adjust LyXText::singleWidth() calls
4206
4207         * text.C (redoParagraph): simplify row breaking logic
4208
4209
4210 2003-08-19  André Pönitz  <poenitz@gmx.net>
4211
4212         * funcrequest.C: initialize button_ member
4213
4214         * text3.C:
4215         * rowpainter.[Ch]: interface consolidation
4216
4217 2003-08-18  André Pönitz  <poenitz@gmx.net>
4218
4219         * BufferView.C:
4220         * BufferView_pimpl.C:
4221         * lyxfind.C:
4222         * paragraph_funcs.C:
4223         * rowpainter.C:
4224         * text3.C: remove LyXScreen::draw() and fitCursor calls
4225
4226         * BranchList.h: remove spurious semicolons
4227
4228         * MenuBackend.C: fix branchlist related crash
4229
4230 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
4231
4232         * BranchList.[Ch]:
4233         * InsetList.[Ch]:
4234         * LColor.[Ch]:
4235         * LyXAction.C:
4236         * Makefile.am:
4237         * MenuBackend.[Ch]:
4238         * bufferparams.[Ch]:
4239         * factory.C:
4240         * lfuns.h:
4241         * lyxfunc.C:
4242         * text3.C: implements the 'branch inset'
4243         idea. This allows the output of various versions of a document
4244         from a single source version, selectively outputing or suppressing
4245         output of parts of the text.
4246         This implementation contains a 'branch list editor' in a separate
4247         tab of the document settings dialog. Branches are user definable
4248         and have a "display colour" to distinguish them on-screen.
4249
4250         ColorHandler was somewhat cleaned up.
4251         (1) make possible a dynamically growing LColor list by allowing
4252         the graphic context cache to grow along (vector);
4253         (2) eliminate an IMHO unnecessary step in colour allocation.
4254
4255 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
4256
4257         * BufferView_pimpl.C: compile fix
4258
4259 2003-08-15  André Pönitz  <poenitz@gmx.net>
4260
4261         * rowpainter.C: remove extra metrics calls
4262
4263         * lyxtext.h: merge the two constructors into a single one,
4264           pass reference to owner's par list
4265
4266         * BufferView_pimpl.C:
4267         * text.C:
4268         * text2.C: adjust
4269
4270 2003-08-15  André Pönitz  <poenitz@gmx.net>
4271
4272         * lyxrow_funcs.[Ch]:
4273         * lyxtext.h:
4274         * paragraph.h:
4275         * paragraph_funcs.C:
4276         * rowpainter.C:
4277         * text.C:
4278         * text2.C:
4279         * text3.C:
4280         * text_funcs.C: split LyXText::rowlist_ into individual
4281         Paragraph::rows_ chunks
4282
4283         * BufferView.[Ch]:
4284         * BufferView_pimpl.[Ch]:
4285         * lyxfind.C:
4286         * lyxtext.h:
4287         * text3.C: remove toggleSelection()
4288
4289 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
4290
4291         * bufferlist.C: beautify two alerts (shorter text of buttons)
4292         * buffer.C: Remove redundant ' ' from message
4293         * tabular.h:
4294         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4295         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4296         rename VALIGN_CENTER to VALIGN_MIDDLE
4297
4298 2003-08-11  André Pönitz  <poenitz@gmx.net>
4299
4300         * lyxtext.h (getPar):
4301         * text.C: new function
4302
4303 2003-08-11  André Pönitz  <poenitz@gmx.net>
4304
4305         * Makefile.am:
4306         * tracer.[Ch]: remove unneeded files
4307
4308         * InsetList.[Ch]: remove resizeInsetsLyXText()
4309
4310         * lyxtext.h:
4311         * text.C:
4312         * text2.C:
4313         * text3.C: merge insertParagraphs() and appendParagraph()
4314         remove breakAgain(), update()
4315
4316         * BufferView_pimpl.[Ch]:
4317         * bufferview_funcs.[Ch]:
4318         * lyxfunc.C:
4319         * paragraph.[Ch]:
4320         * rowpainter.C:
4321         * tabular.C: adjust after text & InsetList changes.
4322
4323 2003-08-08  André Pönitz  <poenitz@gmx.net>
4324
4325         * text.C (insertChar, backspace): replace rowlist fiddling
4326         with rebreak of full par
4327
4328         * lyxtext.h:
4329         * text.C (breakAgainOneRow, redoHeightOfParagraph,
4330         checkParagraph, updateInset): removed
4331
4332 2003-08-07  André Pönitz  <poenitz@gmx.net>
4333
4334         * paragraph.C:
4335         * text3.C: merge some LFUN handlers, remove dead code
4336
4337 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4338
4339         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4340
4341 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
4342
4343         * text2.C (DEPM): fix part of bug 1255 and 1256
4344
4345 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4346
4347         * BufferView_pimpl.C (workAreaDispatch): change to use
4348         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4349         that are no mouse related.
4350
4351 2003-08-05  André Pönitz  <poenitz@gmx.net>
4352
4353         * BufferView.[Ch]:
4354         * BufferView_pimpl.[Ch]:
4355         * bufferview_funcs.C:
4356         * text2.C:
4357         * text3.C: rip out "deep update"
4358
4359         * textcursor.[Ch] (last_sel_cursor): remove unused member
4360
4361 2003-08-04  André Pönitz  <poenitz@gmx.net>
4362
4363         * BufferView.[Ch]:
4364         * BufferView_pimpl.[Ch]:
4365         * ParagraphParameters.C:
4366         * bufferview_funcs.C:
4367         * lyx_cb.C:
4368         * lyxfind.C:
4369         * lyxfunc.C:
4370         * text.C:
4371         * text2.C:
4372         * text3.C: replace "complicated" BufferView::update(...) calls with
4373         simpler ones.
4374
4375         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4376
4377 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
4378
4379         * Makefile.am (lyx_SOURCES): add paper.h
4380
4381 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4382
4383         * Makefile.am: move things around so that both lyx-qt and
4384         lyx-xforms can be built (according to --with-frontend). Then lyx
4385         is a symbolic link to lyx-[firstfrontend]
4386
4387 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
4388
4389         * Always use std::endl with lyxerr
4390
4391 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
4392
4393         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4394
4395 2003-08-01  André Pönitz  <poenitz@gmx.net>
4396
4397         * BufferView.[Ch]:
4398         * BufferView_pimpl.[Ch]:
4399         * lyxfunc.C:
4400         * text3.C: merge BufferView::repaint() and BufferView::update()
4401
4402 2003-08-01  José Matos  <jamatos@lyx.org>
4403
4404         * buffer.[Ch]: file_format is no longer a buffer data element.
4405
4406 2003-08-01  André Pönitz  <poenitz@gmx.net>
4407
4408         * BufferView.C:
4409         * lyxtext.h:
4410         * text.C:
4411         * text2.C: make redoParagraph more independent of current cursor
4412
4413         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4414         * text.C:
4415         * text2.C: remove unneeded members
4416
4417 2003-07-30  André Pönitz  <poenitz@gmx.net>
4418
4419         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4420
4421         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4422           create a single function...
4423
4424         * paragraph_funcs.C (moveItem): ... here.
4425
4426         * text.C:
4427           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4428
4429 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
4430
4431         * LColor.[Ch]: Add comment and greyedout logical colors.
4432
4433 2003-07-30  André Pönitz  <poenitz@gmx.net>
4434
4435         * tabular.C: don't use Assert too heavily. This crashes where it
4436           shouldn't
4437
4438 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
4439
4440         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4441         is disabled (bug 1232)
4442
4443 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4444
4445         * factory.C: limited 'arg' scope
4446
4447 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4448
4449         * factory.C: fixed Note submenu issues
4450
4451 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4452
4453         * factory.C: submenu for Note/Comment/Greyedout
4454
4455 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
4456
4457         * lyx_main.C (LyX):
4458         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4459
4460 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
4461
4462         * LaTeXFeatures.C:
4463         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4464         greyedout. Patch provided by Jürgen Spitzmüller.
4465
4466 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4467
4468         * kbmap.C (read): fix error message when reading bind files
4469
4470 2003-07-29  Angus Leeming  <leeming@lyx.org>
4471
4472         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4473         certainly does not do what it purports to do. I am doing it, and
4474         us, a favour by killing it.
4475
4476 2003-07-28  José Matos  <jamatos@lyx.org>
4477
4478         * buffer.C (readBody, do_writeFile):
4479         * paragraph.C(readParagraph): \end_document replaces \the_end.
4480
4481 2003-07-29  André Pönitz  <poenitz@gmx.net>
4482
4483         * BufferView.[Ch]:
4484         * BufferView_pimpl.[Ch]:
4485         * lyxfunc.C:
4486         * text2.C:
4487         * text3.C:
4488         * textcursor.[Ch]: remove toggleToggle & Co
4489
4490 2003-07-28  José Matos  <jamatos@fep.up.pt>
4491
4492         * buffer.C (readParagraph):
4493         * params_func (readParToken, readParagraph):
4494         * paragraph.C (write): \layout -> \begin_layout.
4495
4496 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4497
4498         * lyxlex_pimpl.C (setFile): clean up slightly.
4499
4500         * bufferparams.h: add compressed var
4501
4502         * buffer_funcs.C (readFile): adjust for LyXLex change
4503         (newFile): ditto + simplify
4504
4505         * buffer.C (writeFile): handle writing of compressed files
4506
4507         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4508         Check if the file is compressed and set a bufferparm if so.
4509
4510         * Makefile.am (lyx_LDADD): remove explicit -lz
4511
4512 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4513
4514         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4515         makeDocBookFile): put the real LyX version in the first line of
4516         the file
4517
4518         * version.h:
4519         * version.C.in: remove lyx_docversion
4520
4521         * tabular.C (write_attribute): add a template-based version to
4522         write enums properly
4523
4524 2003-07-28  André Pönitz  <poenitz@gmx.net>
4525
4526         * lyxtext.h:
4527         * text.C:
4528         * text2.C:
4529         * text3.C: use doubles again for x-coordinates. They are needed.
4530
4531 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4532
4533         * messages.C (getLocaleDir): use lyx_localedir()
4534
4535         * lyxlex_pimpl.C (setFile): compress stuff
4536
4537         * buffer.C (writeFile): add some compression stuff
4538         (do_writeFile): new func, dont call expliti close... will this
4539         breake anything?
4540
4541         * Makefile.am (lyx_LDADD): add -lz
4542
4543 2003-07-28  José Matos  <jamatos@fep.up.pt>
4544
4545         * buffer.C: increment file format.
4546         * paragraph_funcs (readParagraph, readParToken):
4547         * paragraph.C (readParagraph): add \end_layout.
4548
4549 2003-07-27  Angus Leeming  <leeming@lyx.org>
4550
4551         * Makefile.am: remove special casing for configure-time setting of
4552         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4553
4554         * lyx_main.C (init): remove all Jean-Marc's magic setting of
4555         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4556
4557 2003-07-26  André Pönitz  <poenitz@gmx.net>
4558
4559         * paragraph_func.[Ch]:
4560         * paragraph.C (realizeFont): inline it whereever it is used
4561
4562         * rowpainter.C:
4563         * text.C:
4564         * text2.C:
4565         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4566
4567
4568 2003-07-26  André Pönitz  <poenitz@gmx.net>
4569
4570         *       lyxtext.h:
4571         * text.C:
4572         * text2.C: get rid of LyXText::need_break_row
4573
4574 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4575
4576         * toc.[Ch]: put namespace toc inside namespace lyx
4577
4578         * MenuBackend.C (expandToc2): adjust for lyx::toc
4579         (expandToc): ditto
4580
4581         * lyxfunc.C (dispatch): adjust for lyx::find
4582
4583         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4584         lyx::find instead. Reorganize a bit.
4585         (LyXReplace): rename to replace
4586         (LyXFind): rename to find
4587
4588         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4589         (dispatch): ditto
4590
4591 2003-07-26  André Pönitz  <poenitz@gmx.net>
4592
4593         * text.C (setHeightOfRow): restrict scope of temporary variable
4594
4595         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
4596           code (never has been used?)
4597
4598 2003-07-27  Asger Alstrup  <alstrup@local>
4599
4600         * text.C (fill): Optimise algorithm to exploit that we can reuse
4601         the LyXFont for many characters.
4602         (setHeightOfRow): Same thing.
4603         (rowBreakPoint): Same thing.
4604
4605 2003-07-26  Asger Alstrup  <alstrup@local>
4606
4607         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4608
4609         * text.C (singleWidth): Spurious font copying in hot-spot
4610         singleWidth avoided. Reorder tests for arabic for efficiency.
4611
4612         * text.C (fill): handle empty paragraphs better.
4613
4614 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4615
4616         * ispell.C:
4617         * encoding.h: add includes
4618
4619         * lyxrc.C: remove reading of bind files
4620
4621         * lyx_main.C (init): setup bindings and menus only if we have a
4622         gui.
4623
4624         * kbmap.C (read): new method. Do the actual reading of bind
4625         files.
4626
4627         * converter.C (dvipdfm_options):
4628         * bufferparams.C:
4629         * lyxrc.C (read):
4630         (output): adapt PAPER_* enums.
4631
4632         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4633
4634         * bufferparams.h: remove paper-related enums from there
4635
4636         * paper.h: New file. A trivial header file to hold paper-related
4637         enums. It should later expand to contain many paper-related
4638         horrors access.
4639
4640         * lyxrc.C: declare extern displayTranslator
4641
4642 2003-07-27  José Matos  <jamatos@fep.up.pt>
4643
4644         * tabular.[Ch] (linuxdoc): add support for tables and figures
4645         (linuxdoc).
4646
4647 2003-07-27  José Matos  <jamatos@fep.up.pt>
4648
4649         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4650         consistency in both functions.
4651         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4652
4653 2003-07-26  Asger Alstrup  <alstrup@local>
4654
4655         * rowpainter.C (paintRows): Change algorithm to work directly on
4656         the insets rather than asking every character in the document
4657         whether its an inset.
4658
4659 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
4660
4661         * buffer.C (openFileWrite): factorize some code
4662
4663 2003-07-26  Angus Leeming  <leeming@lyx.org>
4664
4665         * lyx_cb.C:
4666         * lyx_main.[Ch]: replace occurances of system_tempdir with
4667         os::getTmpDir().
4668
4669 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4670
4671         * rename Inset to InsetOld
4672
4673 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
4674
4675         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4676         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4677         which I think is a bit clearer. EDIT is gone, since it was
4678         premature optimisation, and broken for mathed anyway.
4679         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4680         with cursor positioning in insets as well (math insets still do not
4681         work, but that's a different story anyway.) It mysteriously
4682         crashes sometimes with undo in the first paragraph, but I'm fairly
4683         confident that this is a compiler bug.
4684
4685 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4686
4687         * paragraph.C (Paragraph): adjust for new clone return type
4688         (operator==): ditto
4689         (copyIntoMinibuffer): ditto
4690
4691 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
4692
4693         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4694         by not having a special case, and always doing a full rebreak of
4695         the document after undo.
4696
4697 2003-07-23  Angus Leeming  <leeming@lyx.org>
4698
4699         * factory.C (createInset): InsetExternal::setParams now takes a
4700         Buffer const * arg.
4701
4702 2003-07-23  Angus Leeming  <leeming@lyx.org>
4703
4704         * factory.C (createInset): changed interface to the external and
4705         graphics mailers' string2params functions.
4706
4707 2003-07-23  Angus Leeming  <leeming@lyx.org>
4708
4709         * factory.C (createInset): pass a
4710         Buffer const * parameter to InsetExternalMailer's string2params.
4711
4712 2003-07-22  John Levon  <levon@movementarian.org>
4713
4714         * Thesaurus.h: include the right aiksaurus header
4715
4716 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4717
4718         * MenuBackend.C (expand): check menu shortcuts unconditionally
4719
4720 2003-07-21  Angus Leeming  <leeming@lyx.org>
4721
4722         * factory.C (createInset): pass a
4723         buffer_path parameter to InsetGraphicsMailer's string2params.
4724
4725 2003-07-21  Angus Leeming  <leeming@lyx.org>
4726
4727         * BufferView_pimpl.C (buffer):
4728         * buffer.C (d-tor):
4729         * lyx_main.C (LyX):
4730         * lyxfunc.C (dispatch):
4731         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4732         rather than the grfx shortcut.
4733
4734 2003-07-21  André Pönitz  <poenitz@gmx.net>
4735
4736         * rowpainter.C: remove unused variables
4737
4738         * tabular_funcs.C:
4739         * tabular_funcs.h: move to tabular.C
4740         * Makefile.am: adjust
4741
4742         * tabular.[Ch]: basic optical cleaning
4743
4744         * author.h: pass references, not values
4745
4746 2003-07-18  André Pönitz  <poenitz@gmx.net>
4747
4748         * lyxtext.h:
4749         * metricsinfo.C:
4750         * metricsinfo.h:
4751         * rowpainter.C:
4752         * text.C:
4753         * text2.C:
4754         * text3.C: two-phase drawing for InsetText and InsetTabular
4755         some float -> int changes.
4756
4757 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4758
4759         * lyx_main.C: fix the fix
4760
4761 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4762
4763         * lyx_main.C: fix a crash in batch mode if no files specified
4764         * converter.C: ws
4765
4766 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
4767
4768         * format.[Ch] (papersize): moved to BufferParams
4769         * converter.[Ch] (dvips_options): moved to BufferParams
4770         (dvipdfm_options): moved to anon namespace
4771         * bufferparams.[Ch]: added above functions.
4772
4773 2003-07-17  André Pönitz  <poenitz@gmx.net>
4774
4775         * lyxtext.h:
4776         * rowpainter.C:
4777         * text2.C: don't call inset->update() anymore
4778
4779         * metricsinfo.[Ch]: add convenience constructor
4780
4781 2003-07-16  André Pönitz  <poenitz@gmx.net>
4782
4783         * lyxcursor.[Ch]:
4784         * lyxfunc.[Ch]:
4785         * text.C:
4786         * text2.C: replace the LyXCursor::irow_ member with
4787          on-demand computation of the value
4788
4789 2003-07-16  John Levon  <levon@movementarian.org>
4790
4791         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4792
4793 2003-07-15  André Pönitz  <poenitz@gmx.net>
4794
4795         * text.C:
4796         * text2.C: remove no more needed refresh_row
4797
4798 2003-07-15  André Pönitz  <poenitz@gmx.net>
4799
4800         * lyxtext.h:
4801         * rowpainter.C:
4802         * text2.C:
4803         * text3.C: refresh_status tristate -> need_update bool
4804
4805 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
4806
4807         * lyxtext.h (init): remove reinit argument (act as if always true)
4808         * text2.C: adjust to that
4809
4810 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4811
4812         * bufferview_funcs.[Ch]: introduce function replaceSelection()
4813         * text3.C: use it to delete selections in some cases
4814         (bugs 441, 673, 702, 954).
4815
4816 2003-07-14  André Pönitz  <poenitz@gmx.net>
4817
4818         * rowpainter.[Ch]: reduce interface
4819
4820 2003-07-14  André Pönitz  <poenitz@gmx.net>
4821
4822         * BufferView_pimpl.C:
4823         * text2.C: adjust after removing unused BufferView * argument
4824
4825 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
4826
4827         * text2.C (init): fix a crash fired on resize
4828
4829 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
4830
4831         * buffer.[Ch]: added new closing signal
4832         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4833         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4834         BufferView::Pimpl via the closing the signal
4835
4836 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
4837
4838         * buffer.[Ch]: take out all bv-related from buffer
4839         * BufferView.C:
4840         * BufferView_pimpl.[Ch]: connect to new signals
4841         * CutAndPaste.C: removed useless asserts
4842         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4843         * lyxvc.[Ch]:
4844         * vc-backend.[Ch]:
4845         * lyxfunc.C: moved view-related funciontality from vc here
4846         * paragraph.C: removed outdated comments
4847         * text.C: ws
4848
4849 2003-07-10  André Pönitz  <poenitz@gmx.net>
4850
4851         * BufferView_pimpl.C:
4852         * tabular.h:
4853         * tabular_funcs.C:
4854         * text.C:
4855         * text2.C: remove InsetText::InnerCache, clean up consequences
4856
4857 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
4858
4859         * ispell.C: fix two typos in error messages
4860
4861 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
4862
4863         * Extend Note inset to other forms of annotation like Comment
4864         and Greyedout. Right button click gives dialog.
4865
4866         Files modified or added (+):
4867
4868         * insetnote.[Ch]
4869         * FormNote.[Ch]      +
4870         * ControlNote.[Ch]   +
4871         * form_note.fd       +
4872         * Makefile.am in frontends/xforms, frontends/xforms/forms,
4873         frontends/controllers
4874         * xforms/Dialogs.C
4875         * factory.C
4876
4877 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4878
4879         * aspell.C: add missing namespace lyx::support
4880
4881 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
4882
4883         * BufferView.[Ch] (newFile): Add
4884         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4885         * LaTeX.[Ch] (message): added this signal and use it
4886         * buffer.[Ch] (busy, message): added these signals and use them
4887         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4888         * converter.C:
4889         * exporter.C:
4890         * format.C:
4891         * importer.C: use buffer signals instead of direct bv calling
4892         * lyx_cb.[Ch] (ShowMessage): removed
4893         * lyx_main.C:
4894         * lyxfunc.C:
4895         * paragraph_funcs.C:
4896         * text2.C: use buffer signals
4897
4898 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4899
4900         * introduce namespace lyx::graphics
4901
4902 2003-07-02  André Pönitz  <poenitz@gmx.net>
4903
4904         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4905
4906 2003-07-01  André Pönitz  <poenitz@gmx.net>
4907
4908         * text.C:
4909         * text2.C:
4910         * text3.C:
4911         * text_funcs.[Ch]:
4912         * textcursor.h:
4913         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4914           text*.C to text_func.C
4915
4916 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4917
4918         * introduce namespace lyx::support
4919
4920 2003-06-30  André Pönitz  <poenitz@gmx.net>
4921
4922         * Chktex.C:
4923         * funcrequest.C:
4924         * lyxtext.h:
4925         * text.C: re-enable --with-included-string
4926
4927 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4928
4929         * textcursor.C: add <config.h>
4930
4931         * text.C (getWord): remove const from word_location arg
4932
4933         * lyxvc.C (getLogFile): fix const type order
4934
4935         * lyxtext.h: remove const from word_location arg, add arg name
4936
4937         * lyxlayout.h: currect type on labeltype.
4938
4939         * importer.C: correct \file
4940
4941         * converter.C (intToFormat): use std:: on ret val, ws changes
4942
4943         * bufferlist.h: correct \file
4944
4945         * buffer.C (makeLinuxDocFile): fix const type order
4946         (makeDocBookFile): ditto
4947         (fillWithBibKeys): use std:: on stdlib args.
4948
4949         * CutAndPaste.C: fix authors.
4950         (availableSelections): use std:: on return vector
4951
4952 2003-06-27  André Pönitz  <poenitz@gmx.net>
4953
4954         * BufferView_pimpl.C:
4955         * bufferview_funcs.C:
4956         * lyxcursor.C:
4957         * lyxcursor.h:
4958         * lyxfunc.C:
4959         * lyxtext.h:
4960         * rowpainter.C:
4961         * text.C:
4962         * text2.C:
4963         * text3.C: remove LyXCursor::row_ member
4964
4965         * lyxtext.h:
4966         * text.C: rename fullRebreak() to partialRebreak() and implement
4967           a fullRebreak() that really bereks fully
4968
4969         * textcursor.h: new struct for cursor-related data
4970
4971 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
4972
4973         * lyx_main.C (LyX): get full path of document loaded on the
4974         command line
4975
4976 2003-06-26  André Pönitz  <poenitz@gmx.net>
4977
4978         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4979           remove unused/broken operator>,<,>=.
4980
4981         *       text.C: remove only use of broken operator<= in an Assert().
4982
4983 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4984
4985         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4986         moved errorlist_.clear to showErrorList
4987
4988 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4989
4990         * converter.C (scanLog, runLaTeX):
4991         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4992         move the bv->showErrorList call to the callers
4993         * lyxfunc.C: i.e. here...
4994         * text2.C: and here
4995         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4996         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4997         namespace, the second to...
4998         * buffer_funcs (BufferFormat, parseErrors): added
4999         * errorlist.C (ErrorList(TeXErrors const &)): removed
5000
5001 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5002
5003         * ToolbarBackend.C (getIcon): complain when icon cannot be found
5004
5005 2003-06-24  "Garst R. Reese" <reese@isn.net>
5006
5007         * debug.C: fix typo
5008
5009 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5010
5011         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5012
5013         * version.C.in: change docversion to 1.4
5014
5015 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
5016
5017         * buffer.C: fix a bug just introduced
5018
5019 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
5020
5021         * buffer.[Ch]: added the parseError signal and use it, removed
5022         sgmlError
5023         * BufferView.[Ch] (addError): moved to ...
5024         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5025         to the Buffer::parseError signal to catch (guess what) parse errors
5026         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5027
5028 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
5029
5030         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5031         ability to create a buffer and to return an existing one from
5032         the list. Moved these functions to...
5033         * buffer_funcs.[Ch]: added
5034         * BufferView.[Ch] (loadLyXFile): added
5035         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5036         job removed from bufferlist::loadLyXFile.
5037         * buffer.C (setReadOnly): make it work without view
5038         (i.e added an if (users))
5039
5040 2003-06-19  Angus Leeming  <leeming@lyx.org>
5041
5042         * lfuns.h:
5043         * LyXAction.C (init):
5044         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5045         with LFUN_DIALOG_SHOW <name> <data>.
5046
5047 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5048
5049         * CutAndPaste.C (availableSelections): small compilation fix for
5050         ancient (gcc 2.9x) compilers
5051
5052 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
5053
5054         * text3.C (cursorNext): add tmp var
5055
5056         * text2.C (updateCounters): for function calling out of for clause
5057         (replaceSelectionWithString): ditto
5058         (insertStringAsParagraphs): ditto
5059         (getColumnNearX): add tmp var
5060         (setCursorFromCoordinates): add tmp var
5061         (cursorDownParagraph): add tmp var
5062         (deleteEmptyParagraphMechanism): add tmp var
5063
5064         * text.C (insertChar): add tmp var
5065
5066         * rowpainter.C (paintDepthBar): add tmp var
5067
5068         * CutAndPaste.C (availableSelections): potentially check all
5069         paragraphs in a cut to fill the shown strings.
5070
5071 2003-06-18  André Pönitz  <poenitz@gmx.net>
5072
5073         * kbmap.[Ch]: use vector<> instead of list<>
5074
5075 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
5076
5077         * text3.C (dispatch): handle arg to LFUN_PASTE, call
5078         pasteSelection with index
5079
5080         * text2.C (pasteSelection): modify, call pasteSelection with index
5081
5082         * paragraph.C (asString): reimplement version with no interval to
5083         call the one with interval.
5084
5085         * lyxtext.h: add index arg to pasteSelection
5086
5087         * MenuBackend.C (MenuItem): handle PasteRecent
5088         (Menu::read::Menutags): add md_pasterecent
5089         (read): handle it
5090         (expandPasteRecent): new function
5091         (expand): use it
5092
5093         * MenuBackend.h: add PasteRecent to MenuItem::Kind
5094
5095         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5096         the limited stack
5097         (availableSelections): new function
5098
5099 2003-06-17  Angus Leeming  <leeming@lyx.org>
5100
5101         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5102
5103 2003-06-17  Angus Leeming  <leeming@lyx.org>
5104
5105         * lfuns.h:
5106         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5107
5108         * lyxfunc.C (dispatch): invoke it.
5109
5110 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5111
5112         * iterators.C (operator++, ParPosition): reintroduce some
5113         const_cast for the benefit of older compilers.
5114
5115 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5116
5117         * text3.C (dispatch): do not modify clipboard when doing
5118         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5119         LFUN_DELETE_SKIP on a selection selection
5120
5121 2003-06-16  André Pönitz  <poenitz@gmx.net>
5122
5123         * BufferView.C:
5124         * buffer.C:
5125         * buffer.h:
5126         * paragraph.C:
5127         * tabular.[Ch]: IU of clone() and getLabelList();
5128
5129 2003-06-13  André Pönitz  <poenitz@gmx.net>
5130
5131         * tabular.h: compactification
5132
5133 2003-06-12  André Pönitz  <poenitz@gmx.net>
5134
5135         * tabular.C:
5136         * tabular.h:
5137         * tabular_funcs.h: some renaming plus whitespace
5138
5139 2003-06-12  André Pönitz  <poenitz@gmx.net>
5140
5141         * BufferView.C:
5142         * BufferView_pimpl.C:
5143         * CutAndPaste.C:
5144         * buffer.C:
5145         * iterators.[Ch]:
5146         * lyxfunc.C:
5147         * text.C:
5148         * toc.C: Return a Paragraph & for ParIterator::operator*()
5149
5150 2003-06-11  John Levon  <levon@movementarian.org>
5151
5152         * lyx_main.C:
5153         * ToolbarBackend.h:
5154         * ToolbarBackend.C: add "Toolbars" section and
5155         put the flags there
5156
5157 2003-06-10  Angus Leeming  <leeming@lyx.org>
5158
5159         * lfuns.h:
5160         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5161
5162         * lyxfunc.C (dispatch): invoke it.
5163
5164 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5165
5166         * main.C: protect <ios> with HAVE_IOS
5167         (main): protect sync_with_stdio with HAVE_IOS
5168
5169 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
5170
5171         * text2.C (cutSelection): adjust
5172         (pasteSelection): adjust
5173
5174         * messages.C: handle get of empty string
5175
5176         * main.C (main): use sync_with_stdio(false)
5177
5178         * lyxfunc.C (dispatch): adjust
5179
5180         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5181         (WriteAs): remove unneeded BufferView arg.
5182
5183         * bufferparams.h: use correct types on papersize, papersize2 and
5184         paperpackage.
5185
5186         * bufferparams.C (readToken): adjust for type
5187         (writeLaTeX): add missing cases to switch.
5188
5189         * bufferlist.C (quitWriteBuffer): adjust
5190         (close): adjust
5191
5192         * buffer.C (asciiParagraph): remove some commented code.
5193
5194         * CutAndPaste.C: remove current_view extern variable.
5195         (cutSelection): add BufferParams arg.
5196         (eraseSelection): add BufferParams arg.
5197         (pasteSelection): add Buffer const & arg
5198
5199 2003-06-07  John Levon  <levon@movementarian.org>
5200
5201         * buffer.C:
5202         * paragraph_funcs.C:
5203         * paragraph_pimpl.C:
5204         * text.C:
5205         * text2.C:
5206         * paragraph.h:
5207         * paragraph.C: allow InsetERT to freely space lines,
5208         and some consolidation of code
5209
5210 2003-06-06  José Matos  <jamatos@fep.up.pt>
5211
5212         * buffer.C (makeDocBookFile): fix bug #821
5213
5214 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
5215
5216         * BufferView_pimpl.C (dispatch): use Dialogs::visible
5217
5218 2003-06-04  Angus Leeming  <leeming@lyx.org>
5219
5220         * buffer.C: bump format to 224.
5221
5222 2003-06-05  André Pönitz  <poenitz@gmx.net>
5223
5224         * text2.C (redoParagraphs): remove two const_cast<>
5225
5226 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5227
5228         * ParagraphList.h: remove last remnants of NO_STD_LIST
5229
5230 2003-06-03  Angus Leeming  <leeming@lyx.org>
5231
5232         * factory.C (createInset): small change to the way InsetExternal's params
5233         are set.
5234
5235 2003-06-04  André Pönitz  <poenitz@gmx.net>
5236
5237         * buffer.h: use Undo directly instead of shared_ptr<Undo>
5238
5239         * paragraph_pimpl.h:
5240         * paragraph.[Ch]: some Inset -> UpdatableInset changes
5241
5242         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5243
5244         * undo_funcs.C: make some simple cases of undo work again
5245
5246 2003-06-03  John Levon  <levon@movementarian.org>
5247
5248         * ispell.C: HPUX doesn't have sys/select.h
5249         (from Albert Chin)
5250
5251 2003-06-03  John Levon  <levon@movementarian.org>
5252
5253         * CutAndPaste.C: update tabular and include inset
5254         buffer references
5255
5256         * buffer.h:
5257         * paragraph.h:
5258         * paragraph.C: remove owningBuffer(), don't pass Buffer
5259         to clone()
5260
5261         * factory.C: insetGraphicsParams changed
5262
5263 2003-06-02  John Levon  <levon@movementarian.org>
5264
5265         * LyXAction.C:
5266         * factory.C:
5267         * lfuns.h:
5268         * lyxfunc.C:
5269         * text3.C: remove insetparent
5270
5271 2003-06-02  John Levon  <levon@movementarian.org>
5272
5273         * buffer.h:
5274         * buffer.C: fix inset_iterator.end(), move out of line
5275         (bug 1149)
5276
5277 2003-06-01  John Levon  <levon@movementarian.org>
5278
5279         * text3.C: use a proper cut/paste when doing inset
5280         insert (from Jürgen Spitzmüller)
5281
5282 2003-06-01  John Levon  <levon@movementarian.org>
5283
5284         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5285
5286 2003-05-30  André Pönitz  <poenitz@gmx.net>
5287
5288         * rowpainter.C: unify second drawing phase
5289
5290 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5291
5292         * trans_mgr.C: remove one case of current_view
5293
5294         * text2.C (cursorBottom): delete NO_STD_LIST stuff
5295
5296         * paragraph_funcs.h: remove paragraph.h include
5297
5298         * paragraph.h: delete NO_STD_LIST stuff
5299
5300         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5301
5302         * buffer.h: remove paragraph.h include
5303
5304         * ParagraphList.C: delete file
5305
5306         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5307
5308         * toc.C (getTocList): adjust
5309
5310         * paragraph_pimpl.C (validate): adjust
5311
5312         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5313
5314         * paragraph.C (Paragraph): adjust
5315         (getPositionOfInset): use const_iterator, adjust
5316         (bibitem): use const_iterator, adjust
5317         (setInsetOwner): adjust
5318
5319         * iterators.C (operator++): adjust
5320
5321         * InsetList.[Ch]: Replace selfmade iterator with standard
5322         vector::iterator also introduce const_iterator. Remove getPos,
5323         getInset and setInset from InsetTable. Adjust accordingly.
5324
5325         * BufferView.C (lockInset): adjust
5326         (ChangeInsets): adjust
5327
5328         * tabular.[Ch]: delete commented same_id functions
5329
5330 2003-05-28  John Levon  <levon@movementarian.org>
5331
5332         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5333
5334 2003-05-28  André Pönitz  <poenitz@gmx.net>
5335
5336         * metricsinfo.[Ch]: remove 'fullredraw' member
5337
5338 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
5339
5340         * lyxtextclass.C (operator): remove caching.
5341
5342 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5343
5344         * text3.C: adjust
5345
5346         * text2.C (cursorBottom): adjust
5347         (setCounter): use ParagraphList::find, adjust
5348
5349         * text.C (workWidth): use ParagraphList::find, adjust
5350
5351         * lyxcursor.C (LyXCursor): adjust
5352
5353         * buffer.C (inset_iterator): adjust
5354
5355         * ParagraphList.h: make iterator(value_type) private, make
5356         ParagraphList a friend of iterator.
5357
5358         * ParagraphList.C (find): new function
5359
5360         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5361
5362 2003-05-27  André Pönitz  <poenitz@gmx.net>
5363
5364         * dimension.[Ch]: a -> asc, d -> des, w -> wid
5365
5366 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5367
5368         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5369
5370 2003-05-26  John Levon  <levon@movementarian.org>
5371
5372         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5373
5374 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5375
5376         * remove same_id from function signatures, adjust.
5377
5378 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5379
5380         * undo_funcs.C (createUndo): use the id functions directly, adjust.
5381
5382         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5383
5384         * paragraph.C (Paragraph): get rid of same_ids parameter
5385
5386         * ParagraphList.C (insert): adjust
5387         (push_back): adjust
5388
5389 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5390
5391         * paragraph_funcs.C (breakParagraph): adjust
5392         (breakParagraphConservative): adjust
5393
5394         * buffer.C (readParagraph): adjust
5395
5396         * ParagraphList.C (insert): take a reference instead of a pointer
5397         (insert): adjust
5398
5399         * paragraph.[Ch] (id): new function
5400
5401         * bufferlist.C (newFile): adjust
5402
5403         * ParagraphList.C (ParagraphList): adjust
5404         (assign): adjust
5405         (push_back): take a reference instead of a pointer.
5406
5407         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5408
5409         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5410         instead.
5411
5412         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5413         set else use old code.
5414
5415         * ParagraphList.C: remove all NO_NEXT code and only compile this
5416         code of NO_STD_LIST is set.
5417
5418 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5419
5420         * BufferView_pimpl.C:
5421         * TextCache.C:
5422         * TextCache.h:
5423         * bufferlist.C:
5424         * errorlist.h:
5425         * format.C:
5426         * format.h:
5427         * graph.C:
5428         * lyxfunc.C:
5429         * lyxrc.C:
5430         * graphics/GraphicsConverter.C:
5431         * graphics/PreviewLoader.C: header adjustment
5432
5433 2003-05-23  Angus Leeming  <leeming@lyx.org>
5434
5435         * LaTeXFeatures.[Ch] (useBabel): new method.
5436         * bufferparams.C (writeLaTeX): use it.
5437
5438 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5439
5440         * ParagraphList.h (set): remove unused function.
5441
5442 2003-05-23  André Pönitz  <poenitz@gmx.net>
5443
5444         * BufferView.C:
5445         * BufferView_pimpl.C:
5446         * buffer.C:
5447         * buffer.h:
5448         * lyxfunc.C:
5449         * undo_funcs.C: setUndo reworked
5450
5451         * iterators.[Ch]: add access to topmost ParagraphList
5452
5453         * lyxtext.[Ch] (workWidth): add a const
5454
5455 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5456
5457         * texrow.[Ch] (increasePos): remove function
5458         * exporter.C (export): removed unused var and outdated comment
5459
5460 2003-05-23  Angus Leeming  <leeming@lyx.org>
5461
5462         * latexrunparams.h: rename fragile as moving_arg.
5463         * paragraph.C (simpleTeXOnePar): ditto.
5464         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5465
5466 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5467
5468         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5469         (createUndo): ditto
5470         (textUndoOrRedo): comment out a currently unused var.
5471
5472         * paragraph.h (NO_NEXT): enable NO_NEXT
5473
5474         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5475
5476         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5477
5478         * exporter.C (Export): adjust for removeAutoInsets removal.
5479
5480         * buffer.C (runChktex): adjust for removeAutoInsets removal.
5481
5482         * LyXAction.C (init): remove LFUN_REMOVEERRORS
5483
5484         * BufferView.[Ch] (removeAutoInsets): delete function
5485
5486 2003-05-22  Angus Leeming  <leeming@lyx.org>
5487
5488         * latexrunparams.h: add a free_spacing variable.
5489
5490         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5491         to pass moving_arg, as the data is stored in runparams.fragile.
5492
5493         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5494         to Inset::latexOptional or to simpleTeXOnePar.
5495
5496         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5497         free_spacing arg to Inset::latexOptional.
5498
5499         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5500         free_spacing arg.
5501
5502 2003-05-22  Angus Leeming  <leeming@lyx.org>
5503
5504         * latexrunparams.h: add fragile and use_babel variables.
5505
5506         * bufferparams.[Ch] (writeLaTeX): return use_babel.
5507         * buffer.C (makeLaTeXFile): store this returned value in
5508         runparams.use_babel, thus passing it to the inset::latex methods.
5509
5510         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5511         simpleTeXSpecialChars as it is now stored in runparams.fragile.
5512
5513         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5514         longer has a fragile arg, as it is stored in runparams.fragile.
5515
5516         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5517         moving_arg parameter as the data is stored in runparams.fragile.
5518
5519         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5520         a fragile parameter as the data is stored in runparams.fragile.
5521
5522 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5523
5524         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5525
5526 2003-05-22  Angus Leeming  <leeming@lyx.org>
5527
5528         * latexrunparams.h: add a 'bool nice' which defaults to false.
5529
5530         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5531         now encapsulated within runparams.
5532
5533         * bufferlist.C (updateIncludedTeXfiles):
5534         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5535
5536 2003-05-22  Angus Leeming  <leeming@lyx.org>
5537
5538         * latexrunparams.h: new file containing struct LatexRunParams.
5539         * Makefile.am: add new file.
5540
5541         * LaTeX.[Ch] (c-tor, run):
5542         * buffer.[Ch] (makeLaTeXFile):
5543         * bufferlist.[Ch] (updateIncludedTeXfiles):
5544         * converter.C (convert, scanLog):
5545         * converter.[Ch] (runLaTeX):
5546         * exporter.C (Export):
5547         * paragraph.[Ch] (simpleTeXOnePar):
5548         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5549         * paragraph_funcs.[Ch] (latexParagraphs):
5550         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5551         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5552         pass around a LatexRunParams parameter.
5553
5554 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5555
5556         * paragraph.[Ch]: remove unused constructor
5557
5558         * ParagraphList.C (erase): new function, taking two iterators
5559
5560 2003-05-22  André Pönitz  <poenitz@gmx.net>
5561
5562         * undo_funcs.C: remove duplicated code
5563
5564         * iterator.[Ch]: operator=
5565
5566 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5567
5568         * tabular.C (SetMultiColumn): ws changes
5569
5570         * rowpainter.C (paintFirst): get rid of a ->previous
5571
5572         * lyx_cb.C (getPossibleLabel): parlist simplification
5573
5574         * BufferView.C (ChangeInsets): simplify slightly.
5575
5576 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
5577
5578         * LyXAction.C: new lfun space-insert, kill protected-space-insert
5579         * lfuns.h: new LFUN_SPACE
5580         * lyxfunc.C: protected space has a new lfun
5581         * paragraph_funcs.C: read new space insets
5582         * text3.C:
5583         * factory.C: handle new space insets
5584
5585 2003-05-22  André Pönitz  <poenitz@gmx.net>
5586
5587         * BufferView.C:
5588         * BufferView_pimpl.C:
5589         * buffer.[Ch]:
5590         * lyxfunc.C:
5591         * undo_funcs.C: return a ParIterator from getParFromID.
5592
5593         * iterators.[Ch]: add two const's
5594
5595 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5596
5597         * toc.C (getTocList): adjust
5598
5599         * iterators.[Ch]: rework for parlist
5600
5601         * buffer.C (par_iterator_begin): adjust
5602         (par_iterator_end): adjust
5603
5604         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5605
5606         * BufferView.C (removeAutoInsets): adjust
5607         (ChangeInsets): adjust
5608
5609 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
5610
5611         * text.C (top_y): fix bug 1110
5612
5613 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
5614
5615         * errorlist.[Ch]: added
5616         * buffer.C:
5617         * BufferView.[Ch]:
5618         * BufferView_pimpl.C:
5619         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5620         instead
5621
5622 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5623
5624         * Makefile.am: ensure that lyx is relinked upon changes to the
5625         various "convenience" libs.
5626
5627 2003-05-20  Angus Leeming  <leeming@lyx.org>
5628
5629         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5630         files are compiled in alphabetical order again.
5631
5632         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5633
5634 2003-05-19  Angus Leeming  <leeming@lyx.org>
5635
5636         * gettext.[Ch]: remove "char const * _(char const *)".
5637
5638 2003-05-19  André Pönitz  <poenitz@gmx.net>
5639
5640         * dimension.[Ch]: promote from mathed/dimension.[Ch]
5641
5642         * Makefile.am:
5643         * BufferView.C:
5644         * DepTable.h:
5645         * LaTeXFeatures.C:
5646         * buffer.C:
5647         * lyxfont.C:
5648         * lyxlex.h:
5649         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5650
5651 2003-05-19  André Pönitz  <poenitz@gmx.net>
5652
5653         * buffer.C:
5654         * lyxlayout.[Ch]:
5655         * lyxtextclass.[Ch]:
5656         * paragraph.C:
5657         * paragraph_funcs.[Ch]:
5658         * text2.C:
5659         * text3.C: more insetenv work
5660
5661 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
5662
5663         * ParagraphParameters.C (params2string): small bug fixed
5664
5665 2003-05-16  André Pönitz  <poenitz@gmx.net>
5666
5667         * debug.C:
5668         * bufferview_funcs.C: patch from Kornel Benko to prevent
5669           crash when _(...) is called twice in a statement
5670
5671 2003-05-16  André Pönitz  <poenitz@gmx.net>
5672
5673         * BufferView.C:
5674         * lyxfunc.C:
5675         * text.C:
5676         * text2.C:
5677         * text3.C:
5678         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5679
5680 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
5681
5682         * lyx_main.C (init): remove spurious static_cast
5683
5684 2003-05-14  André Pönitz  <poenitz@gmx.net>
5685
5686         * BufferView.C: fix format string
5687
5688 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
5689
5690         * BufferView.[Ch] (insertErrors): removed
5691         * BufferView.[Ch] (showErrorList): added
5692         * buffer.C (runChkTeX):
5693         * converter.C (scanLog): call showErrorList instead of inserterrors
5694
5695 2003-05-13  André Pönitz  <poenitz@gmx.net>
5696
5697         * BufferView_pimpl.C:
5698         * buffer.C:
5699         * bufferview_func.C:
5700         * MenuBackend.C:
5701         * lyxfunc.C:
5702         * lyxrc.C:
5703         * tex-accent.C:
5704         * text3.C:
5705         * toc.C:
5706         * tabular_funcs.h: tostr() from its own header
5707
5708         * ParagraphParameters.C:
5709         * ToolbarBackend.C:
5710         * bufferparams.C:
5711         * format.C:
5712         * lyxlex_pimpl.C:
5713         * text3.C: STRCONV()
5714
5715 2003-05-12  André Pönitz  <poenitz@gmx.net>
5716
5717         * BufferView.C:
5718         * BufferView_pimpl.C:
5719         * CutAndPaste.C:
5720         * LaTeX.C:
5721         * LaTeXFeatures.C:
5722         * ParagraphParameters.C:
5723         * buffer.C:
5724         * bufferlist.C:
5725         * bufferparams.C:
5726         * bufferview_funcs.C:
5727         * converter.C:
5728         * counters.C:
5729         * debug.C:
5730         * exporter.C:
5731         * format.C:
5732         * importer.C:
5733         * lyx_cb.C:
5734         * lyx_main.C:
5735         * lyxfont.C:
5736         * lyxfunc.C:
5737         * lyxvc.C:
5738         * paragraph.C:
5739         * paragraph_funcs.C:
5740         * tabular.C:
5741         * tabular_funcs.C:
5742         * text2.C:
5743         * text3.C:  boost::format -> bformat  all over the place
5744
5745
5746 2003-05-09  André Pönitz  <poenitz@gmx.net>
5747
5748         * LColor.[Ch]: Pimpl the #include <map> away
5749
5750 2003-05-09  John Levon  <levon@movementarian.org>
5751
5752         * bufferlist.C: never remove emergency saves
5753
5754 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5755
5756         * Makefile.am: better lib building
5757
5758 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
5759
5760         * texrow.[Ch]: remove dependency on Paragraph and just store a id
5761         instead.
5762         * paragraph_pimpl.C (simpleTeXBlanks): adjust
5763         (simpleTeXSpecialChars): adjust
5764         (simpleTeXSpecialChars): adjust
5765         * paragraph.C (simpleTeXOnePar): adjust
5766         * buffer.C (makeLaTeXFile): adjust
5767
5768         * Makefile.am (BOOST_LIBS): allow boost as system lib.
5769
5770         * text2.C (changeDepth): parlist cleanup
5771         (getColumnNearX): ditto
5772
5773         * rowpainter.C (getLabelFont): parlist cleanup
5774
5775         * bufferlist.C (newFile): parlist cleanup
5776
5777         * CutAndPaste.C (eraseSelection): parlist cleanup
5778
5779         * BufferView_pimpl.C (trackChanges): parlist cleanup
5780         (dispatch): ditto
5781
5782         * BufferView.C (lockInset): parlist cleanup.
5783         (ChangeInsets): ditto
5784
5785 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5786
5787         * CutAndPaste.h: Update file header.
5788
5789         * CutAndPaste.C: Update file header.
5790         Store the parts cut out of the Document in a limited_stack.
5791         (copySelection): adjust
5792         (pasteSelection): new function, takes the index in the limited stack.
5793         (nrOfParagraphs): adjust
5794         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5795         simplify error inset insertion.
5796         (checkPastePossible): adjust
5797
5798 2003-05-06  John Levon  <levon@movementarian.org>
5799
5800         * text2.C: don't cast wrap inset to float
5801
5802 2003-05-05  André Pönitz  <poenitz@gmx.net>
5803
5804         * iterator.C:
5805         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5806
5807         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5808           few naked Paragraph *.
5809
5810 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
5811
5812         * bufferparams.C: Output warning if a document with missing
5813         TeX document class is loaded
5814         * exporter.C: Disable TeX exports if the document class is missing
5815         * lyxtextclass.C:
5816         * lyxtextclass.h:
5817         * lyxtextclasslist.C: Handle new textclass.lst format; new method
5818         isTeXClassAvailable()
5819
5820 2003-05-03  John Levon  <levon@movementarian.org>
5821
5822         * BufferView.h:
5823         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5824         explicit cursor show/hide
5825
5826         * BufferView_pimpl.h:
5827         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5828         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5829
5830         * lyxfunc.C: hide cursor before dispatching.
5831
5832         * lyx_cb.C:
5833         * lyxfind.C:
5834         * text.C:
5835         * text3.C: remove explicit cursor hides
5836
5837 2003-05-02  André Pönitz  <poenitz@gmx.net>
5838
5839         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5840
5841         * undo_funcs.C:
5842         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5843           linked lists
5844
5845         * text2.C: tiny whitespace
5846
5847 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5848
5849         * undo_funcs.C: almost only ws changes.
5850
5851         * ParagraphList.C (splice): just return if pl is empty.
5852
5853 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5854
5855         * ParagraphList.C (splice): new function.
5856
5857         * CutAndPaste.C (pasteSelection): use it
5858
5859 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5860
5861         * CutAndPaste.C (pasteSelection): remove the last next and
5862         previous from this file.
5863
5864 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5865
5866         * CutAndPaste.C (pasteSelection): more clean up, user proper
5867         ParagraphList functions for pasteing.
5868
5869         * ParagraphList.C (insert): new function, three arg insert
5870
5871 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5872
5873         * ParagraphList.C (insert): new function, three arg insert
5874
5875         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5876         not on paragraphs.
5877
5878 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5879
5880         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5881
5882 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5883
5884         * CutAndPaste.C (pasteSelection): remove some unneeded code.
5885
5886 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5887
5888         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5889         (copySelection): clean up a bit.
5890         (pasteSelection): use make_pair
5891
5892         * ParagraphList.C (ParagraphList): implement copy constructor
5893         (operator=): implement, base on copy constructor.
5894         (assign): new func
5895
5896         * paragraph.C (erase): return a bool
5897
5898         * paragraph_pimpl.C (erasePos): remove function, move contents...
5899         (erase): ... here. Return a bool.
5900         (erase): call erase instead of erasePos.
5901
5902 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
5903
5904         * ParagraphList.h: define PitPosPair
5905         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5906         ParagraphList, fix a bug on pasting multiple pars
5907         * text2.C: change interface to C&P
5908
5909 2003-04-30  André Pönitz  <poenitz@gmx.net>
5910
5911         * undo_func.C: revert part of yesterday's patch 2
5912
5913 2003-04-30  John Levon  <levon@movementarian.org>
5914
5915         * LColor.C: s/tabular/table/
5916
5917 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5918
5919         * text3.C (dispatch): do not convert iterator -> pointer
5920         * undo_funcs.C (setCursorParUndo): ditto
5921         * text_funcs.C (transposeChars): ditto
5922
5923         * text2.C (setLayout): ws changes only
5924
5925         * text.C (breakParagraph): do not convert iterator -> pointer
5926         (insertChar): ditto
5927         (acceptChange): ditto
5928         (rejectChange): ditto
5929         (changeCase): ditto
5930         (Delete): ditto
5931         (backspace): ditto
5932
5933         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5934         pointer
5935
5936 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5937
5938         * text3.C (gotoInset): YABG (yet another bad getChar)
5939
5940 2003-04-29  André Pönitz  <poenitz@gmx.net>
5941
5942         * paragraph.h: make operator= private unimplemented as long as
5943           it is unusable
5944
5945         * ParagraphList.C: whitespace
5946
5947         * paragraph.[Ch]:
5948         * paragraph_pimpl.[Ch]:
5949         * paragraph_funcs.C:
5950         * CutAndPaste.C:
5951         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
5952
5953         * text2.C:
5954           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5955
5956 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5957
5958         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5959         * paragraph.[Ch] (erase):
5960         * paragraph_pimpl.[Ch] (erase): change return type and value
5961         * text2.C (cutSelection): some rework
5962
5963 2003-04-28  John Levon  <levon@movementarian.org>
5964
5965         * bufferlist.C: changes for unsaved changes dialog
5966
5967 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5968
5969         * bufferlist.C (newFile): set language (messages_) for new
5970         documents also.
5971
5972         * buffer.C (readFile): ws changes only.
5973
5974 2003-04-28  André Pönitz  <poenitz@gmx.net>
5975
5976         * undo_funcs.C:
5977         * lyxfunc.C:
5978         * buffer.[Ch]:
5979         * BufferView_pimpl.C:
5980         * BufferView.C: getParFromID related ParagraphList::iterator changes
5981
5982 2003-04-28  André Pönitz  <poenitz@gmx.net>
5983
5984         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5985           Changes
5986
5987 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5988
5989         * messages.C: remove one more localedir class variable.
5990
5991 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5992
5993         * messages.C (getLocaleDir): singleton generation function
5994         (Pimpl): use it.
5995         (Messages): add a default constructor.
5996
5997         * main.C (main): do not setup localedir here, do not call
5998         gettext_init.
5999
6000         * gettext.C (_): use it.
6001         (gettext_init): delete funciton
6002
6003 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6004
6005         * gettext.C (getLyXMessages): new singleton generating function.
6006
6007         * buffer.C (updateDocLang): adjust
6008
6009         * Makefile.am (messages.o): add target
6010         (main.o): remove target
6011
6012 2003-04-27  John Levon  <levon@movementarian.org>
6013
6014         * bufferlist.C:
6015         * lyx_cb.C:
6016         * lyxfunc.C:
6017         * lyxvc.C: specify cancel button in Alert::prompt
6018
6019 2003-04-26  John Levon  <levon@movementarian.org>
6020
6021         * text3.C:
6022         * lyxfunc.C:
6023         * lfuns.h:
6024         * LyXAction.C: add LFUN_INSET_SETTINGS
6025
6026         * lyxfunc.C: don't enable tabular-feature when there's
6027         just any locking inset
6028
6029 2003-04-26  John Levon  <levon@movementarian.org>
6030
6031         * bufferlist.C: re-add Cancel to buffer close question
6032
6033         * lyxfunc.C: fix import UI a bit
6034
6035 2003-04-25  John Levon  <levon@movementarian.org>
6036
6037         * gettext.C: remove the broken asserts for now
6038
6039 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6040
6041         * messages.C: make case where setlocale cannot comply work better.
6042
6043         * buffer.C (updateDocLang): new function
6044         (changeLanguage): use it
6045         (readFile): use it
6046
6047         * text2.C (setCounter): use B_ a bit.
6048
6049         * lyxlayout.C (Read): be sure to trim the label strings.
6050
6051         * messages.C (Messages): fix typo in comment
6052
6053         * buffer.C (readFile): set message_ after file is loaded.
6054         (makeDocBookFile): remove double return
6055         (changeLanguage): reset message_ upon language change.
6056         (B_): new func, use this to get translated buffer strings.
6057
6058         * main.C: add myself and Jean Marc as authors.
6059
6060 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6061
6062         * messages.[hC]: pimplify Messages, and three different pimpls to be
6063         used in different circumstances.
6064
6065         * gettext.[Ch]: change for use with new message code.
6066
6067 2003-04-24 André Pönitz <poenitz@gmx.net>
6068
6069         * factory.C: support for eqref
6070
6071 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6072
6073         * messages.[Ch]: add missing char
6074
6075         * Makefile.am (lyx_SOURCES): add messages.[Ch]
6076
6077         * messages.[Ch]: New files
6078
6079 2003-04-18  John Levon  <levon@movementarian.org>
6080
6081         * BufferView.h:
6082         * BufferView.C:
6083         * BufferView_pimpl.C:
6084         * lfuns.h:
6085         * LyXAction.C:
6086         * lyxtext.h:
6087         * text2.C: remove layout-copy/paste (bug 778)
6088
6089 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6090
6091         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6092
6093 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6094
6095         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6096         if they succeed. Act accordingly.
6097
6098 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6099
6100         * text2.C (setCharFont): adjust
6101         (setCounter): adjust
6102         (insertStringAsLines): adjust
6103
6104         * text.C (leftMargin): adjust
6105         (setHeightOfRow): adjust
6106
6107         * rowpainter.C (paintFirst): adjust
6108         (paintLast): adjust
6109
6110         * paragraph_funcs.C (depthHook): ParagraphList::iterators
6111         (outerHook): ditto
6112         (isFirstInSequence): ditto
6113         (getEndLabel): ditto
6114         (outerFont): adjust
6115
6116         * paragraph.C (getParLanguage): comment out some hard stuff.
6117
6118         * buffer.C (insertStringAsLines): take a ParagraphList as arg
6119         (sgmlError): ditto
6120         (simpleDocBookOnePar): ditto
6121         (makeDocBookFile): use ParagraphList::iterator
6122
6123         * CutAndPaste.C (pasteSelection): adjust
6124
6125 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6126
6127         * text2.C (getFont): adjust
6128         (getLayoutFont): adjust
6129         (getLabelFont): adjust
6130
6131         * paragraph_funcs.C (TeXOnePar): adjust
6132
6133         * buffer.C (simpleLinuxDocOnePar): adjust
6134         (simpleDocBookOnePar): adjust
6135
6136         * CutAndPaste.C (pasteSelection): adjust
6137
6138         * BufferView.C (getEncoding): adjust
6139
6140         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6141
6142 2003-04-16  John Levon  <levon@movementarian.org>
6143
6144         * lyxfind.C: use parlist stuff for search/changes
6145
6146 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6147
6148         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6149
6150         * text2.C (deleteEmptyParagraphMechanism): adjust
6151
6152         * text2.[Ch] (ownerParagraph): delete func (both of them
6153
6154 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6155
6156         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6157
6158 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6159
6160         * ParagraphList.C: prepare for NO_NEXT
6161
6162 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6163
6164         * text2.C (getFont): adjust
6165         (getLayoutFont): adjust
6166         (getLabelFont): adjust
6167
6168         * paragraph.C (getFont): adjust
6169         (getLabelFont): adjust
6170         (getLayoutFont): adjust
6171
6172         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6173
6174 2003-04-15  John Levon  <levon@movementarian.org>
6175
6176         From Angus Leeming
6177
6178         * lyx_main.C: handle Include in .ui files
6179
6180 2003-04-15  John Levon  <levon@movementarian.org>
6181
6182         * MenuBackend.C: make the doc files length shorter
6183
6184         * ToolbarBackend.h:
6185         * ToolbarBackend.C: handle toolbar placement flags,
6186         Minibuffer
6187
6188 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6189
6190         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6191         adjust
6192
6193         * paragraph_funcs.C (TeXOnePar): adjust
6194
6195         * paragraph.C (getLabelFont): add outerfont arg, adjust
6196         (getLayoutFont): ditto
6197         (simpleTeXOnePar): adjust
6198
6199         * paragraph_pimpl.C (realizeFont): delete func
6200
6201 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
6202
6203         * text2.C (beforeFullRowInset): added a bad getchar check, removed
6204         row argument, constify cur argument.
6205
6206 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6207
6208         * text2.C (getFont): adjust
6209         (getLayoutFont): adjust
6210         (getLabelFont): adjust
6211
6212         * paragraph_funcs.C (TeXOnePar): adjust
6213         (outerFont): new func...
6214         (realizeFont): ...moved out from here, changed this to facilitate
6215         transition
6216
6217         * paragraph.C (getFont): take outerfont as arg, adjust
6218         (simpleTeXOnePar): add outerfont arg, adjust
6219
6220         * buffer.C (simpleLinuxDocOnePar): adjust
6221         (simpleDocBookOnePar): adjust
6222
6223         * CutAndPaste.C (pasteSelection): adjust
6224
6225         * BufferView.C (getEncoding): adjust
6226
6227 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6228
6229         * text2.C (setCharFont): adjust
6230         (setCounter): adjust
6231
6232         * text.C (leftMargin): adjust
6233         (setHeightOfRow): adjust
6234
6235         * rowpainter.C (paintFirst): adjust
6236         (paintLast): adjust
6237
6238         * paragraph_pimpl.C (realizeFont): adjust
6239
6240         * paragraph.C (isFirstInSequence): move from here...
6241         * paragraph_funcs.C (isFirstInSequence): ...to here
6242
6243         * paragraph.C (outerHook): move from here...
6244         * paragraph_funcs.C (outerHook): ...to here
6245
6246         * paragraph.C (depthHook): move from here...
6247         * paragraph_funcs.C (depthHook): ...to here
6248
6249         * paragraph.C (getEndLabel): move from here...
6250         * paragraph_funcs.C (getEndLabel): ...to here
6251
6252         * text2.C (realizeFont): move from here...
6253         * paragraph_funcs.C (realizeFont): ...to here
6254
6255 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6256
6257         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6258
6259 2003-04-14  Angus Leeming  <leeming@lyx.org>
6260
6261         * LColor.[Ch]: scrap LColor mathcursor.
6262
6263 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6264
6265         * lyxlex.[Ch] (text): delete function
6266         * trans.C (Load): adjust
6267         * paragraph_funcs.C (readParToken): adjust
6268
6269 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6270
6271         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6272         vector<char> instead of a char[].
6273
6274         * lyxlex_pimpl.C (getString): adjust
6275         (next): adjust
6276         (lex): use getString
6277         (eatLine): adjust
6278         (nextToken): adjust
6279
6280         * lyxlex.C (text): use pimpl_->getString()
6281         (getBool): ditto
6282         (findToken): ditto
6283
6284 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6285
6286         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6287         (makeFontEntriesLayoutSpecific): temp var for par.size()
6288         (setLayout): temp var for ownerParagraphs().end()
6289         (fullRebreak): temp var for rows().end()
6290         (selectionAsString): temp var for boost::next(startpit), realize
6291         that the while really is a regular for loop.
6292         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6293         setCursor in one place.
6294         (setParagraph): temp vr for ownerParagraphs().end()
6295         (updateCounters): make the while loop a for loop
6296         (cutSelection): temp var for ownerParagraphs().end()
6297         (updateInset): make the do {} while() a regular for loop
6298         (getCursorX): use temp vars
6299         (setCurrentFont): use temp vars
6300         (getColumnNearX): use temp vars
6301
6302 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6303
6304         * text.C (transformChar): use temp var for getChar
6305         (computeBidiTables): use temp var for row->par()
6306         (fill): move temp vars for row->par() and pit->layout() earlier in
6307         the function.
6308         (labelFill): use temp var for row->par()
6309         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6310         asc and desc, realize that pit never changes and that firstpit is
6311         just a duplicate and not needed. Exchange rit->par() with pit in a
6312         lot of places.
6313         (breakAgain): use a temp var for boost::next(rit)
6314         (breakAgainOneRow): ditto
6315         (breakParagraph): use a temp var for rows().begin()
6316         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6317         (cursorRightOneWord): use temp var for cursor.par() and
6318         cursor.pos(), remove usage of tmpcursor.
6319         (cursorLeftOneWord): use temp var for cursor.par() and
6320         cursor.pos() only set cur at end of function.
6321
6322 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6323
6324         * text.C, text2.C: exchange all usage of Paragraph::next with
6325         boost::next(ParagraphList::iterator)
6326
6327         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6328
6329         * text2.C (cursorTop): simplify implementation
6330         (cursorBottom): ditto
6331         (setParagraph): use ParagraphList::iterator
6332         (setCurrentFont): adjust
6333         (getColumnNearX): adjust
6334         (cursorRight): adjust
6335         (cursorLeft): remove usage of Paragraph::previous
6336         (cursorUpParagraph): ditto
6337         (deleteEmptyParagraphMechanism): slight cleanup
6338
6339         * text.C (isBoundary): take a Paragraph const & instead of a
6340         pointer as arg.
6341         (addressBreakPoint): ditto
6342         (leftMargin): remove usage of Paragraph::previous.
6343         (setHeightOfRow): ditto
6344         (cursorLeftOneWord): ditto
6345         (selectNextWordToSpellcheck): ditto
6346         (Delete): ditto
6347         (backspace): ditto
6348         (breakParagraph): remove one usage of Paragraph::next
6349         (redoParagraph): ditto
6350         (acceptChange): ditto
6351         (insertChar): adjust
6352         (rowBreakPoint): adjust
6353
6354         * bufferview_funcs.C (toggleAndShow): adjust
6355
6356 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
6357
6358         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6359         methods to access it.
6360         * lyxtext.h:
6361         * text.C: Added updateRowPositions to compute all row positions.
6362         Make top_y and getRowNearY() to use the cached y position
6363
6364 2003-04-11  John Levon  <levon@movementarian.org>
6365
6366         * text.C (rowBreakPoint): reintroduce the labelEnd
6367         checks, code copied from the row fill stuff. Deep voodoo.
6368
6369         * text.C (fill): add a comment and debugging for the
6370         next poor soul.
6371
6372 2003-04-11  John Levon  <levon@movementarian.org>
6373
6374         * text.C: make sure fullrow insets get wrapped to the next line,
6375         even when they're in a manual label
6376
6377 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6378
6379         * text2.C (insertParagraph): make it take ParagraphList::iterator
6380         as arg.
6381         (setLayout): make it return ParagraphList::iterator
6382         (redoParagraphs): ditto
6383         (setCounter): ditto
6384         (checkParagraph): ditto
6385
6386         * text.C (getRow): make getrow take ParagraphList::iterator as arg
6387
6388         * text2.C: adjust several funcs.
6389         (realizeFont): take a ParagraphList::iterator as arg.
6390         (getLayoutFont): ditto
6391         (getLabelFont): ditto
6392         (setCharFont): ditto
6393
6394         * text.C: adjust several funcs.
6395
6396 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6397
6398         * text.C (selectNextWordToSpellcheck): don't accidentally
6399         skip insets
6400
6401 2003-04-10  John Levon  <levon@movementarian.org>
6402
6403         * ToolbarBackend.C (getIcon): special handling for
6404         LFUN_MATH_DELIM
6405
6406 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6407
6408         * text2.C (cursorRight): a getChar assert fixed
6409
6410 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6411
6412         * text2.C (getFont): change to take a ParagraphList::iterator
6413         instead of Paragraph*
6414         Adjust several functions.
6415
6416         * text.C (transformChar): change to take a ParagraphList::iterator
6417         instead of Paragraph*
6418         (singleWidth): ditto
6419         Adjust several functions.
6420
6421         * rowpainter.C: adjust several functions
6422         * rowpainter.h:store a ParagraphList::iterator and not a
6423         Paragraph&.
6424
6425
6426 2003-04-09  John Levon  <levon@movementarian.org>
6427
6428         * lyxfunc.C:
6429         * lfuns.h:
6430         * LyXAction.h:
6431         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6432         and the "help" bits as well
6433
6434 2003-04-09  John Levon  <levon@movementarian.org>
6435
6436         * ToolbarBackend.h:
6437         * ToolbarBackend.C: allow multiple toolbars
6438
6439 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6440
6441         * undo_funcs.C (setCursorParUndo): adjust
6442
6443         * text_funcs.C (transposeChars): adjust
6444
6445         * text3.C (gotoNextInset): adjust
6446         (dispatch): adjust
6447
6448         * text2.C (setLayout): adjust
6449         (changeDepth): adjust
6450         (setFont): adjust
6451         (redoParagraphs): adjust
6452         (selectionAsString): adjust
6453         (setParagraph): adjust
6454         (insertInset): adjust
6455         (cutSelection): adjust
6456         (copySelection): adjust
6457         (pasteSelection): adjust
6458         (insertStringAsLines): adjust
6459         (updateInset): adjust
6460         (setCursor): change to take a ParagraphList::iterator parameter
6461         (setCursorIntern): change to take a ParagraphList::iterator parameter
6462         (setCurrentFont): adjust
6463         (cursorLeft): adjust
6464         (cursorRight): adjust
6465         (deleteEmptyParagraphMechanism): adjust
6466
6467         * text.C (breakParagraph): adjust
6468         (insertChar): adjust
6469         (acceptChange): adjust
6470         (rejectChange): adjust
6471         (selectNextWordToSpellcheck): adjust
6472         (changeCase): adjust
6473         (Delete): adjust
6474         (backspace): adjust
6475
6476         * lyxfind.C (SearchForward): adjust
6477         (SearchBackward): adjust
6478         (nextChange): adjust
6479
6480         * lyxcursor.C (par): adjust
6481
6482         * lyxcursor.h: store a ParagraphList::iterator instead of a
6483         Paragraph*
6484
6485         * lyx_cb.C (getPossibleLabel): adjust
6486
6487         * bufferview_funcs.C (toggleAndShow): adjust
6488
6489         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6490         (dispatch): adjust
6491
6492         * BufferView.C (removeAutoInsets): adjust
6493         (lockedInsetStoreUndo): adjust
6494
6495 2003-04-09  John Levon  <levon@movementarian.org>
6496
6497         * ToolbarBackend.C: try icon without argument
6498         if with argument fails
6499
6500 2003-04-08  John Levon  <levon@movementarian.org>
6501
6502         * ToolbarBackend.h:
6503         * ToolbarBackend.C: add getIcon(), handle tooltip,
6504         and change from "Icon" to "Item".
6505
6506 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6507
6508         * BufferView.C (lockInset): another bad getchar crunched
6509
6510 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6511
6512         * text2.C (changeDepth): do not setUndo on test_only (make undo work
6513         again)
6514
6515 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
6516
6517         * lyxfind.C (searchForward, searchBackwards): bug 782
6518
6519 2003-04-07  John Levon  <levon@movementarian.org>
6520
6521         * paragraph.C: remove dead comment
6522
6523         * text.C: remove troublesome depth-fiddling code
6524         in leftMargin() and rightMargin() (bug 1017)
6525
6526         * text.C: fix breaking of rows in nested lists
6527         (bug 1004)
6528
6529         * text2.C (updateCounters): fix up depth values
6530         (bug 1013)
6531
6532 2003-04-07  John Levon  <levon@movementarian.org>
6533
6534         * BufferView_pimpl.C: clear message when doc finishes resizing,
6535         and after a mouse event
6536
6537         * lyxfunc.C: clear message after exiting inset
6538
6539 2003-04-07  John Levon  <levon@movementarian.org>
6540
6541         * bufferview_funcs.C: show math status not outside
6542         status in the statusbar
6543
6544 2003-04-07  John Levon  <levon@movementarian.org>
6545
6546         * lyxfunc.C: note status changed after a depth change
6547
6548 2003-04-04  Angus Leeming  <leeming@lyx.org>
6549
6550         * LaTeX.h: move AuxInfo operator==, != out of line.
6551         Remove LaTeX virtual destructor; nothing derives from it.
6552         Move operator()() out of public area and rename it startscript().
6553         Change protected for private.
6554
6555 2003-04-04  Angus Leeming  <leeming@lyx.org>
6556
6557         * lyxfunc.C:
6558         * text2.C: remove unneeded #includes.
6559
6560 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6561
6562         * text2.C (dEPM): fix the heigth of the next row
6563
6564 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6565
6566         * text.C: squashed an invalid getChar requester + some ws changes
6567
6568 2003-04-03  John Levon  <levon@movementarian.org>
6569
6570         * bufferview_funcs.h:
6571         * bufferview_funcs.C:
6572         * lyxfunc.C:
6573         * lyxtext.h:
6574         * text2.C: make getStatus work for the env depth lfuns
6575
6576 2003-04-03  John Levon  <levon@movementarian.org>
6577
6578         * bufferview_funcs.h:
6579         * bufferview_funcs.C:
6580         * lyxfunc.C:
6581         * lyxtext.h:
6582         * text2.C: parlistize decDepth(), by merging it with incDepth()
6583
6584 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6585
6586         * lyxrow.h: store a ParagraphList::iterator instead of a
6587         Paragraph* and adjust other class functions to suit.
6588
6589         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6590         above.
6591
6592 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6593
6594         * text2.C (setCursor): do not anchor to cursor row for the time being
6595
6596 2003-04-02  John Levon  <levon@movementarian.org>
6597
6598         * LyXAction.C:
6599         * lfuns.h:
6600         * lyx_main.C:
6601         * lyxtext.h:
6602         * text.C:
6603         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6604
6605 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6606
6607         * paragraph.h: make ParagraphList and ParagraphList::iterator
6608         friends of Paragraph.
6609
6610         * buffer.C (makeLinuxDocFile): move towards ParagraphList
6611
6612         * ParagraphList.C: Use the private next_ and previous_ from
6613         Paragraph.
6614
6615 2003-04-01  John Levon  <levon@movementarian.org>
6616
6617         * ToolbarBackend.h:
6618         * ToolbarBackend.C:
6619         * Makefile.am: rename, remove defaults gunk
6620
6621         * MenuBackend.h:
6622         * MenuBackend.C: remove defaults gunk
6623
6624         * Languages.h:
6625         * Languages.C: remove defaults gunk
6626
6627         * lyx_main.h:
6628         * lyx_main.C: error out if files couldn't be found.
6629
6630 2003-04-02  John Levon  <levon@movementarian.org>
6631
6632         * text2.C: make incDepth() use parlist
6633
6634 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6635
6636         * undo_funcs.C (firstUndoParagraph): adjust
6637
6638         * text3.C (gotoInset): adjust
6639         (dispatch): adjust, and rewrite loop.
6640
6641         * text2.C (init): adjust, and rewrite loop.
6642         (redoParagraphs): adjust
6643         (updateInset): adjust, and rewrite loop.
6644         (deleteEmptyParagraphMechanism): adjust
6645
6646         * tabular.C (LyXTabular): adjust
6647         (SetMultiColumn): adjust
6648         (TeXRow): adjust
6649
6650         * lyxtext.[Ch] (ownerParagraph): delete function
6651         (ownerParagraphs): new function returns a ParagraphList.
6652
6653         * BufferView.C (removeAutoInsets): adjust
6654         (insertErrors): adjust
6655         (setCursorFromRow): adjust
6656
6657 2003-04-01  Angus Leeming  <leeming@lyx.org>
6658
6659         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6660         in the frontends.
6661
6662 2003-04-02  John Levon  <levon@movementarian.org>
6663
6664         * lyxtext.h:
6665         * text.C:
6666         * Makefile.am:
6667         * text_funcs.h:
6668         * text_funcs.C: make transposeChars a free function
6669
6670         * lyxrow_funcs.C: remove wrong comment
6671
6672 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6673
6674         * lyxtext.h: adjust
6675         * rowpainter.C: adjust
6676         * text.C: adjust
6677         * text2.C: adjust
6678         * text3.C: adjust
6679
6680         * lyxrow_funcs. [Ch]: new files
6681
6682         * lyxrow.[Ch]: remove next and previous pointers
6683         (next,previous): remove accessor functions
6684         (isParEnd): move to lyxrow_funcs
6685         (lastPos): move to lyxrow_funcs
6686         (nextRowIsAllInset): move to lyxrow_funcs
6687         (lastPrintablePos): move to lyxrow_funcs
6688         (numberOfSeparators): move to lyxrow_funcs
6689         (numberOfHfills): move to lyxrow_funcs
6690         (numberOfLabelHfills): move to lyxrow_funcs
6691         (hfillExpansion): move to lyxrow_funcs
6692
6693         * lyxfunc.C: adjust
6694
6695         * bufferview_funcs.C (toggleAndShow): adjust
6696
6697         * RowList.h: Remove class RowList from file leave just a
6698         std::list<Row>.
6699
6700         * RowList.C: delete file
6701
6702         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6703         and lyxrow_funcs.h
6704
6705 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6706
6707         * text3.C (cursorPrevious): adjust
6708         (cursorNext): adjust
6709         (dispatch): adjust
6710
6711         * text2.C (redoHeightOfParagraph): adjust
6712         (redoDrawingOfParagraph): adjust
6713         (setCursor): adjust
6714
6715         * text.C (breakParagraph): adjust
6716         (insertChar): adjust
6717         (backspace): adjust
6718
6719         * rowpainter.C (RowPainter): adjust
6720         (leftMargin): simplify and adjust
6721         (most rowpainter functions): adjust.
6722
6723         * rowpainter.h: store the row as RowList::iterator not as Row*
6724
6725         * lyxcursor.C (row): taka RowList::iterator as arg
6726         (irow): ditto
6727
6728         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6729         of Row*.
6730
6731 2003-04-01  Angus Leeming  <leeming@lyx.org>
6732
6733         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6734         stuff like bool Bool.
6735
6736 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6737
6738         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6739         rewrite a loop
6740
6741 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6742
6743         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6744         RowList::iterator.
6745
6746         * lyxtext.h (rows): drop one version and leve a const variant that
6747         returns a RowList::iterator.
6748
6749 2003-03-31  Angus Leeming  <leeming@lyx.org>
6750
6751         * text.C (fill): ensure that the signature is the same as that in the
6752         header file.
6753
6754 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
6755
6756         * text2.C (redoParagraphs): adjust
6757         (updateCounters): adjust
6758         (checkParagraph): adjust
6759         (getColumnNearX): adjust and reformat a bit.
6760
6761         * text.C (top_y): adjust
6762         (workWidth): adjust
6763         (leftMargin): adjust
6764         (prepareToPrint): adjust
6765         (getRow): adjust
6766         (getRowNearY): adjust
6767
6768         * lyxtext.h: make rowlist_ mutable.
6769
6770         * RowList.h: add const_iterator
6771         * RowList.C: adjust for RowList::const_iterator.
6772
6773         * text2.C (getCursorX): make it take a RowList::iterator as arg,
6774         adjust.
6775
6776 2003-03-31  John Levon  <levon@movementarian.org>
6777
6778         * lyxrc.h:
6779         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6780
6781         * lyx_main.C: set default fonts from using lyx_gui funcs
6782
6783         * exporter.C: pdf_mode moved from lyxrc
6784
6785         * lyx_cb.C:
6786         * lyxfunc.C: changes from above
6787
6788 2003-03-31  John Levon  <levon@movementarian.org>
6789
6790         * lyx_main.C: fix to the last fix
6791
6792 2003-03-31  John Levon  <levon@movementarian.org>
6793
6794         * bufferlist.C: "Load original" -> "Load Original"
6795
6796         * converter.C:
6797         * exporter.C:
6798         * importer.C:
6799         * lyx_main.C:
6800         * format.C: more Alert cleanups
6801
6802 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6803
6804         * text2.C (removeParagraph): make it take a RowList::iterator as
6805         arg, adjust.
6806         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6807         (postRowPaint): make it take a RowList::iterator as arg, adjust.
6808
6809         * text.C (anchor_row): make it take a RowList::iterator as arg,
6810         adjust.
6811         (computeBidiTables): make it take a const reference to Row instead
6812         of Row pointer, adjust.
6813         (leftMargin): make it take a RowList::iterator as arg, adjust.
6814         (rowBreakPoint): adjust
6815         (breakAgainOneRow): make it take a RowList::iterator as arg,
6816         adjust.
6817         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6818
6819         * bufferview_funcs.C (toggleAndShow): adjust
6820
6821 2003-03-30  John Levon  <levon@movementarian.org>
6822
6823         * Makefile.am:
6824         * BoostFormat.h:
6825         * boost-inst.C: moved to support
6826
6827         * several files: changes as a result
6828
6829 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6830
6831         * text2.C (LyXText): adjust.
6832         (init): adjust
6833         (removeRow): make it take a RowList::iterator as arg, adjust.
6834         (fullRebreak): adjust
6835         (deleteEmptyParagraphMechanism): adjust
6836         (clearPaint): adjust
6837         (postPaint): adjust
6838
6839         * text.C (top_y): adjust
6840         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6841         (breakAgain): make it take a RowList::iterator as arg, adjust.
6842         (breakParagraph): adjust
6843         (insertChar): adjust
6844         (backspace): adjust
6845
6846         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6847         need_break_row, and refresh_row.
6848
6849         * text3.C (dispatch): adjust
6850
6851         * text2.C (checkParagraph): adjust
6852         (setCursor): adjust
6853         (setCursorFromCoordinates): adjust
6854
6855         * text.C (top_y): adjust
6856         (workWidth): adjust
6857         (getRow): make it return a RowList::iterator, adjust
6858         (getRowNearY): make it return a RowList::iterator, adjust
6859
6860         * text2.C (init): adjust
6861         (insertRow): remove function
6862         (insertParagraph): adjust
6863         (redoParagraphs): adjust
6864         (fullRebreak): adjust
6865         (updateCounters): adjust
6866
6867         * text.C (top_y): rewrite to use RowList iterators.
6868         (top_y): adjust
6869         (setHeightOfRow): rewrite to sue RowList iterators.
6870         (appendParagraph): adjust
6871         (breakAgain): adjust
6872         (breakAgainOneRow): adjust
6873         (breakParagraph): adjust
6874         (getRow): adjust
6875         (getRowNearY): adjust, and remove commented code.
6876
6877         * lyxtext.h (firstRow): delete function
6878         (lastRow): delete function
6879         (rows): new function (const and non-const versions.)
6880         (insertRow): delete function
6881
6882         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6883
6884 2003-03-29  John Levon  <levon@movementarian.org>
6885
6886         * BufferView_pimpl.C: always update scrollbar top
6887         because pasting text when we're anchored could mean we
6888         miss an update altogether
6889
6890 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6891
6892         * text2.C (init): use rowlist_.end() and not 0.
6893         (insertRow): change to take a RowList::iterator as arg, adjust
6894         for this.
6895         (insertParagraph): change to take a RowList::iterator as arg,
6896         adjust for this.
6897         (redoParagraphs): remove some debug msgs.
6898
6899         * text.C (appendParagraph): change to take a RowList::iterator
6900         arg, adjust for this.
6901         (breakAgain): add an assert
6902         (breakAgainOneRow): ditto
6903
6904 2003-03-29  John Levon  <levon@movementarian.org>
6905
6906         * text2.C: do not clear selection after inc/decDepth
6907         (bug 550)
6908
6909 2003-03-29  John Levon  <levon@movementarian.org>
6910
6911         * BufferView.C:
6912         * buffer.C: fix broken strerrors according to Lars
6913
6914 2003-03-29  John Levon  <levon@movementarian.org>
6915
6916         * converters.C: more Alert cleanups
6917
6918 2003-03-29  John Levon  <levon@movementarian.org>
6919
6920         * bufferview_funcs.C: remove pointless Alert
6921
6922         * buffer.C: fix confusing error message when
6923         a template is chmoded 000
6924
6925 2003-03-29  John Levon  <levon@movementarian.org>
6926
6927         * BufferView.C:
6928         * BufferView.h:
6929         * BufferView_pimpl.C: Alert fixes
6930
6931         * Makefile.am:
6932         * tabular.C:
6933         * tabular-old.C: remove unused table compat reading
6934
6935 2003-03-29  John Levon  <levon@movementarian.org>
6936
6937         * BufferView.C:
6938         * buffer.C:
6939         * lyx_cb.h:
6940         * lyx_cb.C: more Alert cleanups
6941
6942         * lyxfunc.C: don't allow chktex if not latex document
6943
6944 2003-03-29  John Levon  <levon@movementarian.org>
6945
6946         * lyx_cb.C:
6947         * BufferView.C:
6948         * buffer.C: warnings pushed down from support/,
6949         kill err_alert
6950
6951 2003-03-29  John Levon  <levon@movementarian.org>
6952
6953         * lyxfunc.C: safety check for C-r (revert)
6954
6955 2003-03-29  John Levon  <levon@movementarian.org>
6956
6957         * bufferlist.h:
6958         * bufferlist.C: several UI fixes using Alert::prompt.
6959         Fix the pointless looping quit code. Fix stupid revert
6960         behaviour (bug 938)
6961
6962         * lyxvc.h:
6963         * lyxvc.C:
6964         * lyx_cb.C: use Alert::prompt
6965
6966         * lyx_main.C: remove a silly question
6967
6968         * lyxfunc.C: remove a couple of silly questions,
6969         use Alert::prompt
6970
6971 2003-03-28  John Levon  <levon@movementarian.org>
6972
6973         * text2.C: fix bug 974 (End on empty par)
6974
6975 2003-03-28  John Levon  <levon@movementarian.org>
6976
6977         * BufferView_pimpl.C:
6978         * LyXAction.C:
6979         * lfuns.h: remove do-nothing math greek lfuns
6980
6981 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6982
6983         * lyxgluelength.h (isValidGlueLength): add default arg on
6984         parameter 2. Remove default arg from friend in class.
6985
6986         * lyxlength.h (isValidLength): add default arg on parameter 2.
6987         Remove default arg from friend in class.
6988
6989         * text2.C (LyXText): adjust, initialize refresh_row.
6990         (init): adjust
6991         (removeRow): adjust
6992         (insertRow): adjust
6993         (insertParagraph): adjst
6994         (redoParagraphs): adjust
6995         (fullRebreak): adjust
6996         (updateCounters): adjust
6997         (deleteEmptyParagraphMechanism): first attempt at fixing a
6998         crashing bug.
6999
7000         * text.C (top_y): adjust
7001         (setHeightOfRow): adjust
7002         (getRow): adjust
7003         (getRowNearY): adjust
7004
7005         * lyxtext.h: include RowList.h
7006         (~LyXText): not needed anymore, deleted.
7007         (firstRow): modify for RowList
7008         (lastRow): new function
7009         Delete firstrow and lastrow class variables, add a Rowlist
7010         rowlist_ class variable.
7011
7012         * lyxrow.C (lastPos): use empty() and not !size() to check if a
7013         paragraph is empty.
7014
7015         * RowList.C (insert): fix case where it == begin().
7016
7017 2003-03-26  Angus Leeming  <leeming@lyx.org>
7018
7019         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7020         the thesaurus dialog.
7021
7022 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7023
7024         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7025
7026         * RowList.[Ch]: new files
7027
7028         * ParagraphList.C (erase): handle the case where it == begin
7029         correctly.
7030
7031 2003-03-25  John Levon  <levon@movementarian.org>
7032
7033         * Makefile.am:
7034         * aspell_local.h:
7035         * aspell.C: add new aspell support
7036
7037         * lyxrc.h:
7038         * lyxrc.C: Make use_pspell be use_spell_lib. Always
7039         have it accessible.
7040
7041 2003-03-25  Angus Leeming  <leeming@lyx.org>
7042
7043         * lfuns.h:
7044         * LyXAction.C (init): new LFUN_INSET_INSERT.
7045
7046         * BufferView_pimpl.C (dispatch): split out part of the
7047         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7048
7049         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7050         LFUN_INSET_APPLY.
7051
7052 2003-03-25  Angus Leeming  <leeming@lyx.org>
7053
7054         * lyxfunc.C (dispatch): changes to the Dialogs interface.
7055
7056 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
7057
7058         * text2.C:
7059         * text3.C: remove useless row->height(0)
7060
7061 2003-03-25  John Levon  <levon@movementarian.org>
7062
7063         * lyxtext.h:
7064         * text2.C:
7065         * text3.C: rename the refreshing stuff to better names
7066
7067 2003-03-24  John Levon  <levon@movementarian.org>
7068
7069         * BufferView_pimpl.h:
7070         * BufferView_pimpl.C: update layout choice on a mouse
7071         press/release
7072
7073 2003-03-23  John Levon  <levon@movementarian.org>
7074
7075         * Makefile.am: fix commandtags.h reference
7076
7077 2003-03-22  John Levon  <levon@movementarian.org>
7078
7079         * BufferView_pimpl.C:
7080         * lyxtext.h:
7081         * rowpainter.C:
7082         * rowpainter.h:
7083         * text.C:
7084         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7085
7086 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
7087
7088         * lyxtext.h:
7089         * text.C: take the rtl methods out of line
7090
7091 2003-03-21 André Pönitz <poenitz@gmx.net>
7092
7093         * metricsinfo.[Ch]: new files containing structures to be passed around
7094         during the two-phase-drawing...
7095
7096 2003-03-21 André Pönitz <poenitz@gmx.net>
7097
7098         * lyxtextclass.C: read 'environment' tag.
7099
7100 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
7101
7102         * text2.C (removeRow): fix bug 964
7103
7104 2003-03-20  John Levon  <levon@movementarian.org>
7105
7106         * rowpainter.C:
7107         * text.C:
7108         * text2.C: paint cleanups. Inset::update() dropped font
7109         parameter
7110
7111 2003-03-19  John Levon  <levon@movementarian.org>
7112
7113         * lyxfunc.C: only fitcursor/markDirty if available()
7114
7115 2003-03-19  John Levon  <levon@movementarian.org>
7116
7117         * commandtags.h: rename to ...
7118
7119         * lfuns.h: ... this, and renumber / cleanup
7120
7121 2003-03-19  John Levon  <levon@movementarian.org>
7122
7123         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7124         fit the cursor after an lfun
7125
7126         * BufferView.h:
7127         * BufferView.C:
7128         * BufferView_pimpl.h:
7129         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7130
7131         * LyXAction.C: layout-character should have ReadOnly
7132
7133         * ParagraphParameters.C:
7134         * buffer.C:
7135         * bufferview_funcs.C:
7136         * lyx_cb.C:
7137         * lyxfind.C:
7138         * lyxtext.h:
7139         * text.C:
7140         * text2.C:
7141         * text3.C:
7142         * undo_funcs.C: changes from above
7143
7144 2003-03-18  John Levon  <levon@movementarian.org>
7145
7146         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7147         remove it from update()
7148
7149         * lyxfunc.C: update layout choice after an lfun
7150
7151         * text3.C: remove extra updateLayoutChoice()s
7152
7153 2003-03-18  John Levon  <levon@movementarian.org>
7154
7155         * text.C: top_y change means full repaint, fix
7156         a drawing bug with cursor movement
7157
7158 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7159
7160         * lyxtext.h:
7161         * text.C:
7162         * text2.C: anchor row on setCursor
7163
7164 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7165
7166         * lyxtext.h: remove almost all mutable keywords
7167         * text.C:
7168         * text2.C:
7169         * text3.C: remove const keywords accordingly
7170
7171 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7172
7173         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7174         anon namespace
7175         (TeXEnvironment): ditto
7176         (TeXOnePar): ditto
7177
7178 2003-03-17  John Levon  <levon@movementarian.org>
7179
7180         * text.C (rowBreakPoint): remove attempt to fix displayed
7181         math insets inside a manual label
7182
7183 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7184
7185         * lyxtext.h: remove BufferView* as first arg from almost all class
7186         functions.
7187         * other files: adjust.
7188
7189 2003-03-17  John Levon  <levon@movementarian.org>
7190
7191         * lyxtext.h:
7192         * undo_funcs.C:
7193         * text2.C: more paint cleanups
7194
7195         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7196
7197         * rowpainter.h:
7198         * rowpainter.C: remove "smart" background painting code
7199
7200 2003-03-16  John Levon  <levon@movementarian.org>
7201
7202         * lyxtext.h:
7203         * text.C:
7204         * text2.C:
7205         * text3.C: add helper functions for setting refresh_row/y
7206
7207 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
7208
7209         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7210         newline inset which *can* get inserted in the pass_thru layouts.
7211         This is primarily for literate documents.
7212
7213 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
7214
7215         * buffer.C: increment LYX_FORMAT to 223
7216
7217 2003-03-14 André Pönitz <poenitz@gmx.net>
7218
7219         * textclass.h: prepare for environment handling, ws changes
7220         * lyxlayout.C: read latexheader and latexfooter tags
7221
7222 2003-03-14  John Levon  <levon@movementarian.org>
7223
7224         * text2.C: rewrite ::status() a bit
7225
7226 2003-03-13  John Levon  <levon@movementarian.org>
7227
7228         * lyxtext.h: add some docs
7229
7230 2003-03-13  John Levon  <levon@movementarian.org>
7231
7232         * lyxtext.h:
7233         * text.C:
7234         * text2.C:
7235         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7236
7237 2003-03-13  John Levon  <levon@movementarian.org>
7238
7239         * text3.C: fix appendix redrawing
7240
7241 2003-03-13  John Levon  <levon@movementarian.org>
7242
7243         * text.C (setHeightOfRow):
7244         * rowpainter.h:
7245         * rowpainter.C: make appendix mark have the text
7246           "Appendix" so the user knows what it is
7247
7248         * LColor.h:
7249         * LColor.C: s/appendixline/appendix/ from above
7250
7251 2003-03-13  John Levon  <levon@movementarian.org>
7252
7253         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7254
7255         * text.C: fix a getChar(pos) bug properly
7256
7257 2003-03-13  Angus Leeming  <leeming@lyx.org>
7258
7259         * commandtags.h:
7260         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7261         Probably only temporary. Let's see how things pan out.
7262
7263         * BufferView.C (unlockInset):
7264         * BufferView_pimpl.C (fitCursor):
7265         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7266
7267         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7268         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7269
7270         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7271         new functions that convert ParagraphParameters to and from a string.
7272
7273         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7274         BufferView::Pimpl's dispatch.
7275         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7276
7277 2003-03-13 André Pönitz <poenitz@gmx.net>
7278
7279         * lyxfunc.C:
7280         * text3.C:
7281         * factory.C: make it aware of InsetEnv
7282
7283 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7284
7285         * text2.C (setCursor): never ask for one past last
7286         (setCursor): add some debugging messages.
7287
7288         * text.C (singleWidth): never ask for one past last
7289         (singleWidth): ditto
7290         (leftMargin): ditto
7291         (rightMargin): ditto
7292         (rowBreakPoint): ditto
7293         (setHeightOfRow): ditto
7294         (prepareToPrint): ditto
7295
7296         * rowpainter.C (paintBackground): never ask for one past last
7297         (paintText): never ask for one past last
7298
7299         * paragraph_pimpl.C (getChar): make the assert stricter, never
7300         allow the one past last pos to be taken
7301
7302         * paragraph.C (getChar): ws changes only
7303
7304         * lyxrow.C (nextRowIsAllInset): never ask for one past last
7305         (numberOfSeparators): ditto
7306         (numberOfHfills): ditto
7307
7308 2003-03-12  John Levon  <levon@movementarian.org>
7309
7310         * author.h:
7311         * author.C:
7312         * bufferparams.h:
7313         * bufferparams.C:
7314         * paragraph_funcs.C: fix per-buffer authorlists
7315
7316 2003-03-12  John Levon  <levon@movementarian.org>
7317
7318         * text.C: fix newline in right address
7319
7320 2003-03-12  Angus Leeming  <leeming@lyx.org>
7321
7322         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7323         duplicate those in LyXFunc::dispatch.
7324
7325         * commandtags.h:
7326         * LyXAction.C:
7327         * ToolbarDefaults.C:
7328         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7329         Add LFUN_FONTFREE_UPDATE.
7330
7331         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7332         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7333
7334         * bufferview_func.[Ch]: several new functions to facilliate
7335         transfer of data to and from the character dialog.
7336
7337 2003-03-12  John Levon  <levon@movementarian.org>
7338
7339         * buffer.C:
7340         * paragraph.h:
7341         * paragraph.C:
7342         * paragraph_funcs.C:
7343         * paragraph_pimpl.C:
7344         * sgml.C:
7345         * tabular.C:
7346         * text.C:
7347         * text3.C: remove META_NEWLINE in favour of an inset
7348
7349         * rowpainter.h:
7350         * rowpainter.C: remove paintNewline (done by inset)
7351
7352 2003-03-12  John Levon  <levon@movementarian.org>
7353
7354         * paragraph_pimpl.C: complain about bad getChar()s
7355         for a while at least
7356
7357 2003-03-12  John Levon  <levon@movementarian.org>
7358
7359         * buffer.h:
7360         * buffer.C: move paragraph read into a separate function,
7361         a little renaming to reflect that.
7362
7363         * bufferparams.h:
7364         * bufferparams.C: remove the author_ids map, not necessary now
7365
7366         * factory.h:
7367         * factory.C: moved Buffer::readInset to here
7368
7369         * paragraph_funcs.h:
7370         * paragraph_funcs.C: readParagraph free function moved from
7371         buffer.C
7372
7373         * tabular.C: name change
7374
7375 2003-03-12  John Levon  <levon@movementarian.org>
7376
7377         * buffer.C:
7378         * ParagraphParameters.C: move par params input to
7379         a read() method
7380
7381         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7382         behave like a normal read from the stream wrt reading
7383         a line vs. a \\token
7384
7385 2003-03-12  John Levon  <levon@movementarian.org>
7386
7387         * paragraph.C:
7388         * ParagraphParameters.h:
7389         * ParagraphParameters.C: move output code to a
7390         ::write() method
7391
7392 2003-03-12  John Levon  <levon@movementarian.org>
7393
7394         * BufferView.C (insertLyXFile):
7395         * buffer.h:
7396         * buffer.C:
7397         * tabular.C: use a parlist iterator for creating the
7398           document.
7399
7400 2003-03-12  John Levon  <levon@movementarian.org>
7401
7402         * buffer.C: make current_change static local not
7403           static file-scope
7404
7405 2003-03-12  John Levon  <levon@movementarian.org>
7406
7407         * buffer.C: fix insertStringAsLines for change tracking
7408
7409 2003-03-12  John Levon  <levon@movementarian.org>
7410
7411         * BufferView.C:
7412         * tabular.C:
7413         * buffer.h:
7414         * buffer.C:
7415         * bufferparams.h:
7416         * bufferparams.C: move author list into params. Rename some
7417           functions. Move the header reading into a separate token
7418           loop. Move the header token reading into BufferParams.
7419
7420 2003-03-12  John Levon  <levon@movementarian.org>
7421
7422         * changes.C: put debug inside lyxerr.debugging() checks
7423
7424 2003-03-11 André Pönitz <poenitz@gmx.net>
7425
7426         * factory.C: make it aware of InsetHFill
7427
7428 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7429
7430         * buffer.C (latexParagraphs): move function from here...
7431         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7432         args.
7433
7434 2003-03-10  Angus Leeming  <leeming@lyx.org>
7435
7436         * LyXAction.C (init): fix bug in poplating array with multiple entries
7437         with the same LFUN (spotted by JMarc).
7438
7439 2003-03-10  John Levon  <levon@movementarian.org>
7440
7441         * text.C:
7442         * text2.C: move getColumnNearX() near its
7443         only call site
7444
7445 2003-03-10  John Levon  <levon@movementarian.org>
7446
7447         * text.C: fix break before a minipage
7448
7449 2003-03-10  John Levon  <levon@movementarian.org>
7450
7451         * text.C: fix the last commit
7452
7453 2003-03-09  John Levon  <levon@movementarian.org>
7454
7455         * lyxtext.h:
7456         * text.C:
7457         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7458         bug 365 (don't break before insets unless needed). Don't
7459         return a value > last under any circumstances.
7460
7461 2003-03-09  Angus Leeming  <leeming@lyx.org>
7462
7463         * BufferView_pimpl.C (trackChanges, dispatch): call
7464         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7465
7466 2003-03-09  Angus Leeming  <leeming@lyx.org>
7467
7468         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7469         than Dialogs::showAboutlyx().
7470
7471 2003-03-09  Angus Leeming  <leeming@lyx.org>
7472
7473         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7474         than Dialogs::showTabularCreate().
7475
7476 2003-03-09  John Levon  <levon@movementarian.org>
7477
7478         * lyxtext.h:
7479         * text.C:
7480         * text2.C: 3rd arg to nextBreakPoint was always the same.
7481           Use references.
7482
7483 2003-03-08  John Levon  <levon@movementarian.org>
7484
7485         * lyxrow.C:
7486         * paragraph.C:
7487         * paragraph.h:
7488         * rowpainter.C:
7489         * text.C:
7490         * text2.C: Remove the "main" bit from the "main body"
7491           notion.
7492
7493 2003-03-08  John Levon  <levon@movementarian.org>
7494
7495         * text.C (leftMargin): The left margin of an empty
7496         manual label paragraph should not include the label width
7497         string length.
7498
7499         * text.C (prepareToPrint): don't attempt to measure hfills
7500         for empty manual label paragraphs - the answer should be 0
7501
7502 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7503
7504         * CutAndPaste.C: remove commented code and reindent.
7505
7506 2003-03-08  John Levon  <levon@movementarian.org>
7507
7508         * lyxfunc.h:
7509         * lyxfunc.C: move reloadBuffer()
7510
7511         * BufferView.h:
7512         * BufferView.C: to here
7513
7514         * lyxvc.C: add comment
7515
7516         * vc-backend.h:
7517         * vc-backend.C: call bv->reload() to avoid
7518           getStatus() check on MENURELOAD
7519
7520 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
7521
7522         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7523         to an old format .dep file.
7524
7525 2003-03-07  Angus Leeming  <leeming@lyx.org>
7526
7527         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7528         when the LFUN_MOUSE_RELEASE should have been handled by
7529         inset->localDispatch.
7530
7531 2003-03-07  Angus Leeming  <leeming@lyx.org>
7532
7533         * BufferView_pimpl.C (dispatch):
7534         * LyXAction.C (init):
7535         * ToolbarDefaults.C (init):
7536         * commandtags.h:
7537         * lyxfunc.C (getStatus):
7538         remove LFUN_INSET_GRAPHICS.
7539
7540         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7541
7542 2003-03-07  Angus Leeming  <leeming@lyx.org>
7543
7544         * commandtags.h:
7545         * LyXAction.C (init):
7546         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7547
7548         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7549
7550         * commandtags.h:
7551         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7552
7553         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7554         localDispatch method LFUN_INSET_DIALOG_UPDATE.
7555
7556 2003-03-07  Angus Leeming  <leeming@lyx.org>
7557
7558         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7559         remove "ert".
7560
7561 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7562
7563         * ParagraphList.C (front): new function
7564         (back): implement
7565
7566 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
7567
7568         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7569         and top_row_offset_. removed var first_y.
7570         * text.C (top_y):
7571         * text2.C (LyXText, removeRow):
7572         * text3.C:
7573         * BufferView_pimpl.C:
7574         use these methods instead of using first_y
7575
7576 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7577
7578         * text2.C (pasteSelection): adjust for checkPastePossible
7579
7580         * CutAndPaste.C: remove Paragraph * buf and replace with
7581         ParagraphList paragraphs.
7582         (DeleteBuffer): delete
7583         (cutSelection): change the tc type to textclass_type
7584         (copySelection): change the tc type to textclass_type
7585         (copySelection): adjust for ParagraphList
7586         (pasteSelection): change the tc type to textclass_type
7587         (pasteSelection): adjust for Paragraphlist
7588         (nrOfParagraphs): simplify for ParagraphList
7589         (checkPastePossible): simplify for ParagraphList
7590         (checkPastePossible): remove unused arg
7591
7592         * ParagraphList.C (insert): handle the case where there are no
7593         paragraphs yet.
7594
7595         * CutAndPaste.h: make CutAndPaste a namespace.
7596
7597         * text3.C (dispatch): adjust
7598
7599         * text.C (breakParagraph): add a ParagraphList as arg
7600
7601         * paragraph_funcs.C (breakParagraph): change to take a
7602         BufferParams and a ParagraphList as args.
7603         (breakParagraphConservative): ditto
7604         (mergeParagraph): ditto
7605         (TeXDeeper): add a ParagraphList arg
7606         (TeXEnvironment): ditto
7607         (TeXOnePar): ditto
7608
7609         * buffer.C (readLyXformat2): adjust
7610         (insertStringAsLines): adjust
7611         (latexParagraphs): adjust
7612
7613         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7614         (cutSelection): adjust
7615         (pasteSelection): adjust
7616
7617         * BufferView_pimpl.C (insertInset): adjust
7618
7619 2003-03-05  Angus Leeming  <leeming@lyx.org>
7620
7621         * commandtags.h:
7622         * LyXAction.C (init):
7623         * BufferView_pimpl.C (dispatch):
7624         * lyxfunc.C (getStatus):
7625         remove LFUN_CHILD_INSERT.
7626
7627         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7628
7629 2003-03-05  Angus Leeming  <leeming@lyx.org>
7630
7631         * commandtags.h:
7632         * LyXAction.C (init):
7633         * src/factory.C (createInset):
7634         * lyxfunc.C (getStatus):
7635         * text3.C (dispatch):
7636         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7637
7638         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7639
7640 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7641
7642         * ParagraphList.C (insert): handle insert right before end()
7643         (erase): fix cases where it can be first or last paragraph.
7644
7645 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7646
7647         * paragraph_funcs.C (TeXEnvironment): remove all usage of
7648         Paragraph::next and Paragraph::previous
7649         (TeXOnePar): ditto
7650
7651         * text.C (breakParagraph): adjust
7652
7653         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7654         BufferParams& as arg.
7655         (breakParagraph): use ParagraphList::insert
7656         (breakParagraphConservative): take a Buffer* instead of a
7657         BufferParams& as arg.
7658         (breakParagraphConservative): use ParagraphList::insert.
7659
7660         * buffer.C (insertStringAsLines): un-const it
7661         (insertStringAsLines): adjust
7662
7663         * ParagraphList.C (insert): new function
7664
7665         * CutAndPaste.C (pasteSelection): adjust
7666
7667         * text.C (backspace): adjust
7668
7669         * tabular.C (SetMultiColumn): adjust
7670
7671         * CutAndPaste.C (cutSelection): adjust
7672         (pasteSelection): adjust
7673
7674         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7675         Buffer const * as arg
7676
7677         * ParagraphList.C (erase): new function
7678         * paragraph_funcs.C (mergeParagraph): use it
7679         (mergeParagraph): make it take a Buffer* instead of a
7680         BufferParams* as arg
7681
7682         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7683         as arg
7684         (breakParagraphConservative): ditto
7685
7686         * paragraph.h: remove the breakParagraph friend
7687
7688         * paragraph.C (eraseIntern): new function
7689         (setChange): new function
7690
7691         * paragraph_funcs.C (mergeParagraph): make it take a
7692         ParagraphList::iterator instead of a Paragraph *, adjust
7693         accordingly.
7694
7695         * paragraph.h: move an #endif so that the change tracking stuff
7696         also works in the NO_NEXT case.
7697
7698 2003-03-04  Angus Leeming  <leeming@lyx.org>
7699
7700         * commandtags.h:
7701         * LyXAction.C: new LFUN_INSET_MODIFY.
7702
7703         * BufferView_pimpl.C (dispatch): if an inset is found to be open
7704         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7705
7706 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7707
7708         * several files: ws changes only
7709
7710         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7711         (TeXEnvironment): ditto
7712         (TeXDeeper): ditto
7713
7714         * buffer.C (makeLaTeXFile): adjust
7715         (latexParagraphs): make it take ParagraphList::iterator as args
7716
7717 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7718
7719         * buffer.C (latexParagraphs): adjust
7720
7721         * paragraph.C (TeXOnePar): move function...
7722         (optArgInset): move function...
7723         (TeXEnvironment): move function...
7724         * paragraph_pimpl.C (TeXDeeper): move function...
7725         * paragraph_funcs.C: ...here
7726
7727         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7728
7729 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7730
7731         * buffer.C (readInset): remove compability code for old Figure and
7732         InsetInfo insets
7733
7734 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7735
7736         * buffer.C: ws changes
7737         (readInset):
7738
7739         * BufferView_pimpl.C: ditto
7740         * author.C: ditto
7741         * buffer.h: ditto
7742         * bufferlist.h: ditto
7743         * changes.h: ditto
7744         * lyxfunc.C: ditto
7745
7746 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
7747
7748         * converter.[Ch]: split into itself +
7749         * graph.[Ch]
7750         * format.[Ch]
7751         * Makefile.am: += graph.[Ch] + format.[Ch]
7752         * MenuBackend.C
7753         * buffer.C
7754         * exporter.C
7755         * importer.C
7756         * lyx_main.C
7757         * lyxfunc.C
7758         * lyxrc.C: added #include "format.h"
7759
7760 2003-02-27  Angus Leeming  <leeming@lyx.org>
7761
7762         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7763           a label.
7764
7765         * factory.C (createInset): add "label" to the factory.
7766
7767         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7768           string and do no more.
7769
7770 2003-02-27  Angus Leeming  <leeming@lyx.org>
7771
7772         * commandtags.h:
7773         * LyXAction.C (init):
7774         * factory.C (createInset):
7775         * BufferView_pimpl.C (dispatch):
7776           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7777
7778         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7779
7780         * lyxfunc.C (dispatch):
7781         * text3.C (dispatch): pass name to params2string.
7782
7783 2003-02-26  Angus Leeming  <leeming@lyx.org>
7784
7785         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7786           blocks together.
7787           Rearrange the ~includes. Strip out the unnecessary ones.
7788
7789         * factory.C (createInset): reformat.
7790           create new insets for the various LFUN_XYZ_APPLY lfuns.
7791
7792 2003-02-26  John Levon  <levon@movementarian.org>
7793
7794         * lyxrow.h:
7795         * lyxrow.C: add isParStart,isParEnd helpers
7796
7797         * paragraph.h: make isInserted/DeletedText take refs
7798
7799         * paragraph_funcs.h:
7800         * paragraph_funcs.C: remove #if 0'd code
7801
7802         * lyxtext.h:
7803         * text3.C:
7804         * text2.C:
7805         * text.C: use lyxrow helpers above.
7806           Move draw and paint routines to RowPainter.
7807           Make several methods use refs not pointers.
7808           Make backgroundColor() const.
7809           Add markChangeInDraw(), isInInset().
7810           Merge changeRegionCase into changeCase.
7811           Make workWidth() shouldn't-happen code into an Assert.
7812
7813         * rowpainter.h:
7814         * rowpainter.C: new class for painting a row.
7815
7816         * vspace.h:
7817         * vspace.C: make inPixels take a ref
7818
7819 2003-02-26  Angus Leeming  <leeming@lyx.org>
7820
7821         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7822         LFUN_REF_APPLY.
7823
7824 2003-02-25  John Levon  <levon@movementarian.org>
7825
7826         * ispell.C: give the forked command a more accurate name
7827
7828 2003-02-22  John Levon  <levon@movementarian.org>
7829
7830         * toc.h:
7831         * toc.C: make TocItem store an id not a Paragraph *
7832           (bug #913)
7833
7834 2003-02-21  Angus Leeming  <leeming@lyx.org>
7835
7836         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7837           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7838           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7839           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7840           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7841           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7842
7843         * BufferView_pimpl.C (dispatch):
7844         * LyXAction.C (init):
7845         * factory.C (createInset):
7846         * lyxfunc.C (getStatus, dispatch):
7847         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7848
7849 2003-02-21  Angus Leeming  <leeming@lyx.org>
7850
7851         * BufferView_pimpl.C (MenuInsertLyXFile):
7852         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7853         * lyxfunc.C (menuNew, open, doImport):
7854           no longer pass a LyXView & to fileDlg.
7855
7856 2003-02-21  Angus Leeming  <leeming@lyx.org>
7857
7858         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7859         * LyXAction.C: change, BIBKEY to BIBITEM.
7860         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7861         Change InsetBibKey to InsetBibitem.
7862         Change BIBKEY_CODE to BIBITEM_CODE.
7863         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7864         * factory.C: replace insetbib.h with insetbibitem.h.
7865         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7866         * paragraph.C: replace insetbib.h with insetbibitem.h.
7867         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7868         Change bibkey() to bibitem().
7869         * text.C: remove insetbib.h.
7870         * text2.C: replace insetbib.h with insetbibitem.h.
7871         change bibkey() to bibitem().
7872         * text3.C: remove insetbib.h.
7873         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7874
7875 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7876
7877         * lyxrc.C (output): enclose user email in quotes (in case there are
7878         several words)
7879
7880 2003-02-18  John Levon  <levon@movementarian.org>
7881
7882         * buffer.h: add std::
7883
7884 2003-02-17  John Levon  <levon@movementarian.org>
7885
7886         * SpellBase.h:
7887         * ispell.h:
7888         * ispell.C:
7889         * pspell.h:
7890         * pspell.C: reworking. Especially in ispell, a large
7891           number of clean ups and bug fixes.
7892
7893         * lyxfunc.C: fix revert to behave sensibly
7894
7895 2003-02-17 André Pönitz <poenitz@gmx.net>
7896
7897         * LyXAction.C:
7898         * commandtags.h: new LFUN_INSERT_BIBKEY
7899
7900         * layout.h:
7901         * lyxlayout.C:
7902         * buffer.C:
7903         * factory.C:
7904         * text.C:
7905         * text2.C:
7906         * text3.C:
7907         * paragraph.[Ch]:
7908         * paragraph_func.C: remove special bibkey handling
7909
7910 2003-02-17  John Levon  <levon@movementarian.org>
7911
7912         * text.C (Delete): fix case where delete at the end of
7913           the very first paragraph would not merge the pars
7914
7915 2003-02-17  John Levon  <levon@movementarian.org>
7916
7917         * lyxrow.C: fix lastPrintablePos()
7918
7919 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7920
7921         * bufferparams.C (writeLaTeX): add a std:here
7922
7923         * buffer.C: and remove a using directive there
7924
7925 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7926
7927         * buffer.C (makeLaTeXFile): move the code that generates the
7928           preamble...
7929
7930         * bufferparams.C (writeLaTeX): ... in this new method
7931
7932         * LaTeXFeatures.C (getEncodingSet): make const
7933           (getLanguages): make const
7934
7935         * MenuBackend.C (binding): returns the binding associated to this
7936           action
7937           (add): sets the status of each item by calling getStatus. Adds
7938           some intelligence.
7939           (read): add support for OptSubMenu
7940           (expand): remove extra separator at the end of expanded menu
7941
7942 2003-02-15  John Levon  <levon@movementarian.org>
7943
7944         * BufferView.C:
7945         * BufferView_pimpl.C:
7946         * bufferlist.h:
7947         * bufferlist.C: remove pointless BufferStorage bloat. Remove
7948           inset code that had no actual effect. Remove unneeded status
7949           code.
7950
7951 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7952
7953         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7954           in preamble
7955
7956 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
7957
7958         * text.C (drawLengthMarker): also draw an arrow marker for
7959           symbolic lengths (medskip...)
7960
7961 2003-02-14  John Levon  <levon@movementarian.org>
7962
7963         * tabular.h:
7964         * tabular.C: better method names
7965
7966 2003-02-14  John Levon  <levon@movementarian.org>
7967
7968         * BufferView_pimpl.C:
7969         * bufferlist.C:
7970         * buffer.C:
7971         * converter.C:
7972         * lyx_cb.C:
7973         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7974           it's a more accurate name. Remove some pointless uses.
7975
7976 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7977
7978         * text2.C (LyXText): change order of initilizers to shut off
7979           warnings
7980
7981 2003-02-14  John Levon  <levon@movementarian.org>
7982
7983         * buffer.C: use ParIterator for getParFromID()
7984
7985         * paragraph.h:
7986         * paragraph.C:
7987         * paragraph_pimpl.h:
7988         * paragraph_pimpl.C: remove unused getParFromID()
7989
7990 2003-02-14  John Levon  <levon@movementarian.org>
7991
7992         * buffer.C: remove some very old #if 0'd parse code
7993
7994 2003-02-13  John Levon  <levon@movementarian.org>
7995
7996         * text.h:
7997         * text.C:
7998         * text2.C: move hfillExpansion(), numberOfSeparators(),
7999           rowLast(), rowLastPrintable(), numberofHfills(),
8000           numberOfLabelHfills() ...
8001
8002         * lyxrow.h:
8003         * lyxrow.C: ... to member functions here.
8004
8005         * paragraph.h:
8006         * paragraph.C:
8007         * lyxtext.h:
8008         * text.C: remove LyXText::beginningOfMainBody(), and call
8009           p->beginningOfMainBody() directly. Move the check for
8010           LABEL_MANUAL into the latter.
8011
8012         * text.h:
8013         * text.C:
8014         * text2.C:
8015         * vspace.C:
8016         * BufferView.h:
8017         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8018
8019         * text.h:
8020         * text.C:
8021         * text2.C:
8022         * text3.C:
8023         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8024           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8025
8026 2003-02-13  John Levon  <levon@movementarian.org>
8027
8028         * CutAndPaste.C: remove debug
8029
8030 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8031
8032         * paragraph.C (asString): remove two unused variables
8033
8034         * lyxtextclass.C (readTitleType):
8035           (Read):
8036           (LyXTextClass): handle new members titletype_ and titlename_
8037
8038         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8039
8040 2003-02-09  John Levon  <levon@movementarian.org>
8041
8042         * buffer.h:
8043         * buffer.C: replace hand-coded list with a map for the dep clean
8044
8045 2003-02-08  John Levon  <levon@movementarian.org>
8046
8047         * LaTeX.C: consolidate code into showRunMessage() helper
8048
8049 2003-02-08  John Levon  <levon@movementarian.org>
8050
8051         * lyxfind.C:
8052         * lyxtext.h:
8053         * text2.C:
8054         * BufferView.C: change setSelectionOverString() to setSelectionRange()
8055           and pass the size in explicitly
8056
8057         * BufferView_pimpl.h:
8058         * BufferView_pimpl.C:
8059         * BufferView.h:
8060         * BufferView.C: add getCurrentChange()
8061
8062         * BufferView_pimpl.h:
8063         * BufferView_pimpl.C: handle change lfuns
8064
8065         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8066           for changes. Mark pasted paragraphs as new.
8067
8068         * support/lyxtime.h:
8069         * support/lyxtime.C:
8070         * DepTable.C: abstract time_t as lyx::time_type
8071
8072         * LColor.h:
8073         * LColor.C: add colours for new text, deleted text, changebars
8074
8075         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8076           package use "usenames" option.
8077
8078         * commandtags.h:
8079         * lyxfunc.C:
8080         * LyXAction.C: add change lfuns
8081
8082         * Makefile.am:
8083         * author.h:
8084         * author.C: author handling
8085
8086         * buffer.h:
8087         * buffer.C: add a per-buffer author list, with first entry as
8088           current author. Handle new .lyx tokens for change tracking. Output
8089           author list to .lyx file. Output dvipost stuff to .tex preamble.
8090           Bump lyx format to 222.
8091
8092         * bufferlist.h:
8093         * bufferlist.C: add setCurrentAuthor() to reset current author details
8094           in all buffers.
8095
8096         * bufferparams.h:
8097         * bufferparams.C: add param for tracking
8098
8099         * bufferview_funcs.C: output change info in minibuffer
8100
8101         * Makefile.am:
8102         * changes.h:
8103         * changes.C: add change-tracking structure
8104
8105         * debug.h:
8106         * debug.C: add CHANGES debug flag
8107
8108         * lyxfind.h:
8109         * lyxfind.C: add code for finding the next change piece
8110
8111         * lyxrc.h:
8112         * lyxrc.C: add user_name and user_email
8113
8114         * lyxrow.h:
8115         * lyxrow.C: add a metric for the top of the text line
8116
8117         * lyxtext.h:
8118         * text.C: implement accept/rejectChange()
8119
8120         * lyxtext.h:
8121         * text.C: paint changebars. Paint new/deleted text in the chosen
8122         colours. Strike through deleted text.
8123
8124         * paragraph.h:
8125         * paragraph.C:
8126         * paragraph_pimpl.h:
8127         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8128           in the current change to the insert functions. Rework erase to
8129           mark text as deleted, adding an eraseIntern() and a range-based
8130           erase(). Implement per-paragraph change lookup and
8131           accept/reject.
8132
8133         * paragraph_funcs.C: Fixup paste for change tracking.
8134
8135         * tabular.C: mark added row/columns as new.
8136
8137         * text.C: fix rowLast() to never return -1. Don't allow
8138           spellchecking of deleted text. Track transpose changes. Don't
8139           allow paragraph break or merge where appropriate.
8140
8141         * text2.C: leave cursor at end of selection after a cut.
8142
8143 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8144
8145         * text.C (getLengthMarkerHeight):
8146         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8147         visible on screen too.
8148
8149 2003-02-07  John Levon  <levon@movementarian.org>
8150
8151         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8152
8153 2003-02-05  Angus Leeming  <leeming@lyx.org>
8154
8155         * lyxserver.C (read_ready): revert my patch of 11 September last year
8156         as it sends PC cpu through the roof. Presumably this means that
8157         the lyxserver will no longer run on an Alpha...
8158
8159 2003-01-30  Angus Leeming  <leeming@lyx.org>
8160
8161         * factory.C (createInset): create an InsetCommandParam of type "index"
8162         and use it to 'do the right thing'.
8163
8164         * text2.C (getStringToIndex): ensure that cursor position is always
8165         reset to the reset_cursor position.
8166
8167 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8168
8169         * lyxfunc.C (getStatus): "buffer-export custom" should never be
8170         disabled.
8171
8172 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
8173
8174         * bufferview.C:
8175         * lyxcb.C:
8176         * lyxfunc.C: Output messages with identical spelling, punctuation,
8177         and spaces
8178
8179 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
8180
8181         * MenuBackend.C (expandFormats): List only viewable export formats
8182         in "View" menu
8183
8184         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8185         message
8186
8187         * lyxfunc.C (getStatus): Make sure that formats other than
8188         "fax" can also be disabled
8189
8190 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8191
8192         * text3.C (dispatch): put the lfuns that insert insets in 3
8193         groups, and call doInsertInset with appropriate arguments.
8194         (doInsertInset): new function, that creates an inset and inserts
8195         it according to some boolean parameters.
8196
8197 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8198
8199         * buffer.C (readFile): remember to pass on 'par' when calling
8200         readFile recursively.
8201
8202 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8203
8204         * MenuBackend.C (expandFormats): add "..." to import formats.
8205
8206 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
8207
8208         * paragraph.C (asString): Remove XForms RTL hacks.
8209
8210 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
8211         * buffer.C: fix typo
8212
8213 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8214
8215         * Makefile.am (LIBS): delete var
8216         (lyx_LDADD): add @LIBS@ here instead.
8217
8218 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
8219
8220         * Clarify the meaning of "wheel mouse jump"
8221
8222 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8223
8224         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8225         tabular in a float
8226
8227 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8228
8229         * importer.C (Loaders): do not preallocate 3 elements in the
8230         vector, since one ends up with 6 elements otherwise
8231
8232 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8233
8234         * DepTable.C (write): write the file name as last element of the
8235         .dep file (because it may contain spaces)
8236         (read): read info in the right order
8237
8238 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8239
8240         * paragraph_pimpl.C (simpleTeXBlanks):
8241         (simpleTeXSpecialChars):
8242         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8243
8244         * tabular.C (latex): add some missing case statements. Reindent.
8245
8246         * MenuBackend.C (expandToc): remove unused variable.
8247
8248 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
8249
8250         * LColor.C:
8251         * LaTeX.C:
8252         * LyXAction.C:
8253         * MenuBackend.C:
8254         * buffer.C:
8255         * exporter.C:
8256         * lyxfunc.C:
8257         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8258         and the like.
8259
8260 2003-01-05  John Levon  <levon@movementarian.org>
8261
8262         * BufferView.h:
8263         * BufferView.C: add getEncoding()
8264
8265         * kbsequence.h:
8266         * kbsequence.C: do not store last keypress
8267
8268         * lyxfunc.h:
8269         * lyxfunc.C: store last keypress here instead. Pass encoding
8270           to getISOEncoded()
8271
8272 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8273
8274         * lyx_main.C (init): remove annoying error message when following
8275         symbolic links (bug #780)
8276
8277 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8278
8279         * text.C (insertChar):
8280         * lyxrc.C (getDescription): remove extra spaces
8281
8282 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8283
8284         * lyxrc.C (getDescription): remove extra spaces
8285
8286 2002-12-20  John Levon  <levon@movementarian.org>
8287
8288         * text3.C: hack fix for page up/down across tall rows
8289
8290 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8291
8292         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8293         not been invoked
8294
8295 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8296
8297         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8298         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8299         thesaurus is not compiled in
8300
8301 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
8302
8303         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
8304
8305 2002-12-16  Angus Leeming  <leeming@lyx.org>
8306
8307         * lyxrc.[Ch]:
8308         * lyx_main.C (init): remove override_x_deadkeys stuff.
8309
8310 2002-12-12  John Levon  <levon@movementarian.org>
8311
8312         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8313           insert. Only remove shift modifier under strict
8314           circumstances.
8315
8316 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8317
8318         * MenuBackend.C (expandToc): fix crash.
8319
8320 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8321
8322         * MenuBackend.C (expandToc): gettext on float names.
8323
8324 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
8325
8326         * lyxlength.[Ch]: set default unit to UNIT_NONE,
8327         implement bool empty() [bug 490]
8328
8329 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8330
8331         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8332
8333 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8334
8335         * several files: ws changes
8336
8337 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8338
8339         * text2.C (setCounter): clean up a bit, use boost.format.
8340         (updateCounters): initialize par upon declaration.
8341
8342         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8343         if the layout exists. We do not just store the layout any more.
8344         (SwitchLayoutsBetweenClasses): use boost.format
8345
8346 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8347
8348         * converter.C (convert): if from and to files are the same, use a
8349         temporary files as intermediary
8350
8351 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8352
8353         * commandtags.h:
8354         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8355
8356 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
8357
8358         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8359
8360 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8361
8362         * tabular.C (asciiPrintCell): use string(size, char) instead of
8363         explicit loop.
8364
8365         * sgml.C (openTag): fix order of arguments to string constructor
8366         (closeTag): ditto
8367
8368         * lyxfunc.C (dispatch): use boost.format
8369
8370         * lots of files: change "c" -> 'c'
8371
8372 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
8373
8374         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8375
8376 2002-11-25  Angus Leeming  <leeming@lyx.org>
8377
8378         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8379
8380         * lyx_main.C (init): compile fix.
8381
8382 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8383
8384         * lyx_cb.C (start): boost.formatify
8385         do not include <iostream>
8386
8387         * lengthcommon.C: ws only
8388
8389         * boost-inst.C,BoostFormat.h: add more explict instantations
8390
8391 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8392
8393         * lots of files: handle USE_BOOST_FORMAT
8394
8395 2002-11-21  John Levon  <levon@movementarian.org>
8396
8397         * pspell.C: fix compile
8398
8399 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8400
8401         * lyxfunc.C (dispatch): use boost::format
8402         (open): ditto
8403         (doImport): ditto
8404
8405         * lyxfont.C (stateText): use boost::format
8406
8407         * lyx_main.C (LyX): use boost::format
8408         (init): ditto
8409         (queryUserLyXDir): ditto
8410         (readRcFile): ditto
8411         (parse_dbg): ditto
8412         (typedef boost::function): use the recommened syntax.
8413
8414         * importer.C (Import): use boost::format
8415
8416         * debug.C (showLevel): use boost::format
8417
8418         * converter.C (view): use boost::format
8419         (convert): ditto
8420         (move): ditto
8421         (scanLog): ditto
8422
8423         * bufferview_funcs.C (currentState): use boost::format
8424
8425         * bufferlist.C (emergencyWrite): use boost::format
8426
8427         * buffer.C (readLyXformat2): use boost::format
8428         (parseSingleLyXformat2Token): ditto
8429
8430         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8431
8432         * LaTeX.C (run): use boost::format
8433
8434         * Chktex.C (scanLogFile): use boost::format
8435
8436         * BufferView_pimpl.C (savePosition): use boost::format
8437         (restorePosition): ditto
8438         (MenuInsertLyXFile): ditto
8439
8440         * BoostFormat.h: help file for explicit instation.
8441
8442 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
8443
8444         * tabular.C (latex): Support for block alignment in fixed width
8445         columns.
8446
8447 2002-11-17  John Levon  <levon@movementarian.org>
8448
8449         * BufferView_pimpl.C:
8450         * lyx_cb.C:
8451         * lyxfunc.C: split filedialog into open/save
8452
8453 2002-11-08  Juergen Vigna  <jug@sad.it>
8454
8455         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8456         by my last patch (hopefully).
8457
8458 2002-11-08  John Levon  <levon@movementarian.org>
8459
8460         * iterators.h:
8461         * iterators.C:
8462         * buffer.h:
8463         * buffer.C:
8464         * paragraph.h:
8465         * paragraph.C:
8466         * toc.h:
8467         * toc.C: ParConstIterator, and use it (from Lars)
8468
8469 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
8470
8471         * lyxtextclass.[Ch]: revise and add doxygen comments
8472
8473 2002-11-07  John Levon  <levon@movementarian.org>
8474
8475         * text.C: fix progress value for spellchecker
8476
8477         * toc.C: fix navigate menu for insetwrap inside minipage
8478
8479         * paragraph_funcs.C: added FIXME for suspect code
8480
8481 2002-11-07  John Levon  <levon@movementarian.org>
8482
8483         * BufferView_pimpl.C: fix redrawing of insets
8484           on buffer switch
8485
8486 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8487
8488         * text2.C (updateCounters): fix bug 668
8489
8490 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
8491
8492         * text3.C (dispatch): Do not make the buffer dirty when moving the
8493         cursor.
8494
8495 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8496
8497         * vc-backend.C: STRCONV
8498         (scanMaster): ditto
8499
8500         * text2.C (setCounter): STRCONV
8501
8502         * paragraph.C (asString): STRCONV
8503
8504         * lyxlength.C (asString): STRCONV
8505         (asLatexString): ditto
8506
8507         * lyxgluelength.C (asString): STRCONV
8508         (asLatexString): ditto
8509
8510         * lyxfunc.C (dispatch): STRCONV
8511         (open): ditto
8512
8513         * lyxfont.C (stateText): STRCONV
8514
8515         * importer.C (Import): STRCONV
8516
8517         * counters.C (labelItem): STRCONV
8518         (numberLabel): ditto
8519         (numberLabel): remove unused ostringstream o
8520
8521         * chset.C: STRCONV
8522         (loadFile): ditto
8523
8524         * bufferview_funcs.C (currentState): STRCONV
8525
8526         * buffer.C (readFile): STRCONV
8527         (asciiParagraph): ditto
8528         (makeLaTeXFile): ditto
8529
8530         * Spacing.C (writeEnvirBegin): STRCONV
8531
8532         * LaTeXFeatures.C (getLanguages): STRCONV
8533         (getPackages): ditto
8534         (getMacros): ditto
8535         (getBabelOptions): ditto
8536         (getTClassPreamble): ditto
8537         (getLyXSGMLEntities): ditto
8538         (getIncludedFiles): ditto
8539
8540         * LaTeX.C: STRCONV
8541         (run): ditto
8542         (scanAuxFile): ditto
8543         (deplog): ditto
8544
8545         * LString.h: add the STRCONV macros
8546
8547         * BufferView_pimpl.C (savePosition): STRCONV
8548         (restorePosition): ditto
8549         (MenuInsertLyXFile): ditto
8550
8551         * vc-backend.C (scanMaster): change from submatch[...] to
8552         submatch.str(...)
8553
8554         * funcrequest.C: include config.h
8555
8556         * factory.C: include config.h
8557
8558         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8559
8560         * box.C: include config.h
8561
8562         * LaTeX.C (scanAuxFile): change from submatch[...] to
8563         submatch.str(...)
8564         (deplog): ditto
8565
8566 2002-10-25  Angus Leeming  <leeming@lyx.org>
8567
8568         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8569
8570         * ispell.[Ch] (setError): new method.
8571         * ispell.C (c-tor): move out child process into new class LaunchIspell.
8572         Use setError() insetead of goto END.
8573
8574         * lyx_cb.C (AutoSave): move out child process into new class
8575         AutoSaveBuffer.
8576
8577 2002-10-30  John Levon  <levon@movementarian.org>
8578
8579         * text3.C: make start appendix undoable
8580
8581 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
8582
8583         * lyxlength.C (inPixels): Fix returned value.
8584
8585         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8586         environment.
8587
8588 2002-10-24  Angus Leeming  <leeming@lyx.org>
8589
8590         * lyxgluelength.h: no need to forward declare BufferParams
8591         or BufferView, so don't.
8592
8593 2002-10-21  John Levon  <levon@movementarian.org>
8594
8595         * BufferView.C: menuUndo ->undo, redo
8596
8597         * BufferView.h: document, remove dead, make some methods private
8598
8599         * paragraph_funcs.h:
8600         * paragraph_funcs.C:
8601         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8602
8603         * buffer.h:
8604         * buffer.C:
8605         * sgml.h:
8606         * sgml.C: move sgml open/close tag into sgml.C
8607
8608         * bufferview_funcs.h: unused prototype
8609
8610         * lyxfunc.h:
8611         * lyxfunc.C: remove unused
8612
8613         * lyxtext.h:
8614         * text.C: remove unused
8615
8616 2002-10-21  John Levon  <levon@movementarian.org>
8617
8618         * BufferView.h:
8619         * BufferView.C:
8620         * BufferView_pimpl.h:
8621         * BufferView_pimpl.C: fix mouse wheel handling based on
8622           patch from Darren Freeman
8623
8624 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
8625
8626         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8627
8628 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
8629
8630         * lyxlength.C (inPixels): Fix hanfling of negative length.
8631         Fix LyXLength::MU case.
8632
8633 2002-10-16  John Levon  <levon@movementarian.org>
8634
8635         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8636
8637 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8638
8639         * converter.C (view): add support for $$i (file name) and $$p
8640         (file path) for the viewer command. If $$i is not specified, then
8641         it is appended to the command (for compatibility with old syntax)
8642
8643 2002-10-14  Juergen Vigna  <jug@sad.it>
8644
8645         * undo_funcs.C (textHandleUndo): alter the order in which the
8646         new undopar is added to the LyXText, as we have to set first
8647         the right prev/next and then add it as otherwise the rebuild of
8648         LyXText is not correct. Also reset the cursor to the right paragraph,
8649         with this IMO we could remove the hack in "redoParagraphs()".
8650
8651 2002-10-09  Angus Leeming  <leeming@lyx.org>
8652
8653         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8654         to turn off an optimisation if a new inset is to be inserted.
8655
8656 2002-10-11 André Pönitz <poenitz@gmx.net>
8657
8658         * lyxtext.h: make some functions public to allow access
8659         from inset/lyxtext for handling LFUN_PRIOR/NEXT
8660
8661 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8662
8663         * text3.C (dispatch): when changing layout, avoid an infinite loop
8664         [bug #652]
8665
8666 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8667
8668         * lyxrc.C (read): treat a viewer or converter command of "none" as
8669         if it were empty.
8670
8671         * MenuBackend.C (expandFormats): for an update, also allow the
8672         formats that are not viewable
8673
8674         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8675         script if it is newer than the lyxrc.defaults in user directory
8676
8677 2002-10-07 André Pönitz <poenitz@gmx.net>
8678
8679         * text.C: Vitaly Lipatov's small i18n fix
8680
8681 2002-09-25  Angus Leeming  <leeming@lyx.org>
8682
8683         * ispell.h: doxygen fix.
8684
8685 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
8686
8687         * buffer.h (readFile): Add a new argument to the method, to allow
8688         reading of old-format templates.
8689
8690 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
8691
8692         * toc.C (getTocList): Get TOC from InsetWrap.
8693
8694 2002-09-16  John Levon  <levon@movementarian.org>
8695
8696         * lyxfunc.C: check tabular for cut/copy too
8697
8698 2002-09-12  John Levon  <levon@movementarian.org>
8699
8700         * LyXAction.C: tidy
8701
8702         * factory.h:
8703         * factory.C: add header
8704
8705         * paragraph_funcs.h:
8706         * paragraph_funcs.C: cleanup
8707
8708 2002-09-11  John Levon  <levon@movementarian.org>
8709
8710         * PrinterParams.h: odd/even default to true
8711
8712 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
8713
8714         * PrinterParams.h: update printer parameters for new xforms dialog
8715
8716 2002-09-11  Angus Leeming  <leeming@lyx.org>
8717
8718         * lyxserver.C (read_ready): re-write to make it more transparent
8719         and to make it work in coherent fashion under Tru64 Unix.
8720
8721 2002-09-11  André Pönitz <poenitz@gmx.net>
8722
8723         * commandtags.h:
8724         * LyXAction.C:
8725         * text3.C: implement LFUN_WORDSEL
8726
8727 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8728
8729         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8730         make floatlist_ a boost::shared_ptr<FloatList>
8731
8732         * lyxtextclass.C: include FloatList.h
8733         (LyXTextClass): initialize floatlist_
8734         (TextClassTags): add TC_NOFLOAT
8735         (Read): match "nofloat" to TC_NOFLOAT and use it.
8736         (readFloat): modify call to floatlist_
8737         (floats): ditto
8738         (floats): ditto
8739
8740         * FloatList.[Ch] (FloatList): remove commented out float
8741         initialization.
8742         (erase): new function
8743
8744 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8745
8746         * MenuBackend.C (expandToc): fix crash when there is no document
8747         open
8748
8749 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
8750
8751         * many files: Add insetwrap.
8752
8753 2002-09-09  John Levon  <levon@movementarian.org>
8754
8755         * text2.C: remove confusing and awkward depth wraparound
8756
8757 2002-09-09  John Levon  <levon@movementarian.org>
8758
8759         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8760
8761         * buffer.h:
8762         * buffer.C: remove getIncludeonlyList()
8763
8764         * paragraph.C:
8765         * lyxfunc.C: remove headers
8766
8767 2002-09-09  Juergen Vigna  <jug@sad.it>
8768
8769         * text.C (getColumnNearX): fix form Michael this is most
8770         probably a cut&paste bug.
8771
8772 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8773
8774         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8775
8776         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8777         references, ws changes.
8778
8779         * text2.C (init): update counters after init
8780         (insertParagraph): no need to set counter on idividual paragraphs.
8781         (setCounter): access the counters object in the textclass object
8782         on in the buffer object.
8783         (updateCounters): ditto
8784
8785         * lyxtextclass.C: include counters.h, add variable ctrs_ as
8786         shared_ptr<Counters> to avoid loading counters.h in all
8787         compilation units.
8788         (LyXTextClass): initialize ctrs_
8789         (TextClassTags): add TC_COUNTER, and ...
8790         (Read): use it here.
8791         (CounterTags): new tags
8792         (readCounter): new function
8793         (counters): new funtion
8794         (defaultLayoutName): return a const reference
8795
8796         * counters.C (Counters): remove contructor
8797         (newCounter): remove a couple of unneeded statements.
8798         (newCounter): simplify a bit.
8799         (numberLabel): some small formatting changes.
8800
8801         * buffer.[Ch]: remove all traces of counters, move the Counters
8802         object to the LyXTextClass.
8803
8804 2002-09-06  Alain Castera  <castera@in2p3.fr>
8805
8806         * tabular.C: uses \tabularnewline; uses >{...} construct from array
8807         package to set the horizontal alignment on fixed width columns.
8808
8809         * lyx_sty.C:
8810         * lyx_sty.h: added tabularnewline macro def.
8811
8812         * LaTeXFeatures.C: added NeedTabularnewline macro feature
8813
8814 2002-09-06  John Levon  <levon@movementarian.org>
8815
8816         * LyXAction.C: tooltips for sub/superscript
8817
8818         * MenuBackend.C: a bit more verbose
8819
8820         * lyxfunc.C: tiny clean
8821
8822         * undo_funcs.C: document undo_frozen
8823
8824 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8825
8826         * counters.C (Counters): add missing algorithm counter.
8827
8828         * text2.C (setCounter): lookup the counter with layouts latexname
8829         instead of by section number.
8830         (setCounter): use a hackish way to lookup the correct enum
8831         counter.
8832         a float name->type change
8833         reset enum couners with counter name directly instead of depth value.
8834
8835         * counters.C (Counters): remove the push_backs, change to use the
8836         float type not the float name.
8837         (labelItem): remove unused string, float name->type change
8838
8839         * counters.h: don't include vector, loose the enums and sects vectors
8840
8841 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8842
8843         * lyxtextclass.C (TextClassTags): add TC_FLOAT
8844         (Read): add float->TC_FLOAT to textclassTags
8845         (Read): and handle it in the switch
8846         (readFloat): new function
8847
8848         * FloatList.C (FloatList): comment out the hardcoded float
8849         definitions.
8850
8851         * lyxlayout.h: ws change.
8852
8853 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
8854
8855         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8856
8857 2002-09-03  Angus Leeming  <leeming@lyx.org>
8858
8859         * BufferView_pimpl.h: qualified name is not allowed in member
8860         declaration: WorkArea & Pimpl::workarea() const;
8861
8862         * factory.C: added using std::endl directive.
8863
8864         * text3.C: added using std::find and std::vector directives.
8865
8866 2002-08-29  André Pönitz <poenitz@gmx.net>
8867
8868         * lyxtext.h:
8869         * text2.C: remove unused member number_of_rows
8870
8871         * Makefile.am:
8872         * BufferView2.C: remove file, move contents to...
8873         * BufferView.C: ... here
8874
8875         * BufferView_pimpl.C:
8876         * factory.C: move more inset creation to factory
8877
8878         * vspace.C: avoid direct usage of LyXText, ws changes
8879
8880         * BufferView.[Ch]:
8881                 don't provide direct access to WorkArea, use two simple
8882                 acessors haveSelction() and workHeight() instead
8883
8884
8885 2002-08-29  John Levon  <levon@movementarian.org>
8886
8887         * BufferView_pimpl.C (dispatch): do not continue when
8888           no buffer
8889
8890 2002-08-28  André Pönitz <poenitz@gmx.net>
8891
8892         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8893
8894         * BufferView.h:
8895         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8896
8897 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
8898
8899         * buffer.C: increment LYX_FORMAT to 221
8900
8901         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8902         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8903
8904         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8905
8906         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8907
8908 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8909
8910         * factory.C (createInset): use LyXTextClass::floats
8911
8912         * MenuBackend.C (expandFloatListInsert):
8913         (expandFloatInsert):
8914         (expandToc):
8915
8916         * text2.C (setCounter):
8917
8918         * LaTeXFeatures.C (useFloat):
8919         (getFloatDefinitions):
8920
8921         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8922
8923         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8924         floatlist_, with accessor floats().
8925
8926         * FloatList.h: remove global FloatList
8927
8928 2002-08-26  André Pönitz <poenitz@gmx.net>
8929
8930         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8931
8932         * BufferView.h:
8933         * BufferView2.C:
8934         * BufferView_pimpl.C:
8935         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8936
8937 2002-08-25  John Levon  <levon@movementarian.org>
8938
8939         * LyXAction.C: fix margin note description
8940
8941 2002-08-24  John Levon  <levon@movementarian.org>
8942
8943         * buffer.C:
8944         * bufferlist.C:
8945         * bufferview_funcs.C:
8946         * lyxfont.C:
8947         * undo_funcs.C: cleanups
8948
8949         * lyxfunc.C: disable CUT/COPY when no selection
8950
8951 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
8952
8953         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8954         in "enum UNIT"; e.g. PTW for Percent of TextWidth
8955
8956         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8957         Add backward compatibility to "mono", "gray" and "no".
8958
8959 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
8960
8961         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8962         (and file_format >= 200).
8963
8964 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8965
8966         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8967
8968 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8969
8970         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8971
8972 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
8973
8974         * BufferView_pimpl.C:
8975         * LyXAction.C:
8976         * buffer.C:
8977         * commandtags.h:
8978         * lyxfunc.C:
8979         * paragraph.[Ch]:
8980         * text2.C:
8981         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8982         inset and code to make it  work with the paragraph code. The inset
8983         can be anywhere in the paragraph, but will only do the expected
8984         thing in LaTeX if the layout file contains the parameter line
8985                         OptionalArgs    1
8986         (or more generally, a nonzero value) for that layout.
8987
8988 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
8989
8990         * paragraph.h: remove the declaration of undefined counters class
8991         function.
8992
8993 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
8994
8995         * text2.C (setCounter):  fixed enumeration mis-count as reported by
8996         Dr. Richard Hawkins.
8997
8998 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8999
9000         * paragraph_funcs.h: remove some unneeded includes
9001
9002         * text.C (backspace): pasteParagraph now in global scipe
9003
9004         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9005         (pasteSelection): ditto
9006
9007         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9008         * paragraph_funcs.C (pasteParagraph): ... here
9009
9010 2002-08-20  André Pönitz <poenitz@gmx.net>
9011
9012         * commandtags.h: new LFUNs for swapping/copying table row/colums
9013
9014         * LyXAction.C:
9015         * lyxfunc.C: support for new lfuns
9016
9017 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
9018
9019         * tabular.C:
9020         * buffer.[Ch]: remove NO_COMPABILITY stuff
9021
9022 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
9023
9024         * boost.C (throw_exception): new file, with helper function for
9025         boost compiled without exceptions.
9026
9027         * paragraph.h:
9028         * lyxlength.C:
9029         * buffer.C:
9030         * ParameterStruct.h:
9031         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9032
9033         * bufferlist.C (emergencyWriteAll): use boost bind
9034
9035         * BufferView_pimpl.C (moveCursorUpdate): remove inline
9036
9037         * text.C: include paragraph_funcs.h
9038         (breakParagraph): breakParagraph is now in global scope
9039
9040         * paragraph_funcs.[Ch]: new files
9041
9042         * paragraph.C (breakParagraph,breakParagraphConservative): move to
9043         global scope
9044
9045         * buffer.C: include paragraph_funcs.h
9046         (insertStringAsLines): breakParagraph is now in global scope
9047
9048         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9049         paragraph_funcs.C
9050
9051         * CutAndPaste.C: include paragraph_funcs.h
9052         (cutSelection): breakParagraphConservative is now in global scope
9053         (pasteSelection): ditto
9054
9055         * buffer.h: declare oprator== and operator!= for
9056         Buffer::inset_iterator
9057
9058         * bufferlist.C (emergencyWrite): don't use fmt(...)
9059
9060         * text3.C: add using std::endl
9061
9062         * BufferView.C (moveCursorUpdate): remove default arg
9063
9064 2002-08-20  André Pönitz <poenitz@gmx.net>
9065
9066         * buffer.[Ch]: move inline functions to .C
9067
9068         * BufferView2.C:
9069         * BufferView_pimpl.C:
9070         * text.C:
9071         * buffer.[Ch]: use improved inset_iterator
9072
9073         * buffer.C:
9074         * paragraph.[Ch]: write one paragraph at a time
9075
9076 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9077
9078         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9079         style if style is not specified.
9080
9081 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9082
9083         * text2.C (setCounter): when searching for right label for a
9084         caption, make sure to recurse to parent insets (so that a caption
9085         in a minipage in a figure float works) (bug #568)
9086
9087 2002-08-20  André Pönitz <poenitz@gmx.net>
9088
9089         * text3.C: new file for LyXText::dispatch() and helpers
9090
9091         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9092
9093         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9094
9095 2002-08-19  André Pönitz <poenitz@gmx.net>
9096
9097         * lyxtext.h:
9098         * text.C: new LyXText::dispatch()
9099
9100         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9101
9102 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
9103
9104         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9105
9106         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9107         Hebrew text.
9108
9109 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9110
9111         * Makefile.am: use $(variables) instead of @substitutions@
9112
9113 2002-08-15  André Pönitz <poenitz@gmx.net>
9114
9115         * lyxfunc.C:
9116         * BufferView_pimpl.C: streamlining mathed <-> outer world
9117         interaction
9118
9119         * commandtags.h:
9120         * LyXAction.C: remove unused LFUN_MATH
9121
9122 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9123
9124         * paragraph.[Ch]: add some NO_NEXT ifdefs.
9125
9126 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9127
9128         * paragraph.C (Paragraph): reformat a bit
9129         (cutIntoMinibuffer): use builtin InsetList function instad of
9130         doing it manually.
9131         (getInset): ditto
9132
9133         * buffer.C: include boost/bind.hpp, add using std::for_each
9134         (writeFileAscii): use ParagraphList iterators
9135         (validate): use for_each for validate traversal of paragraphs
9136         (getBibkeyList): use ParagraphList iterators
9137         (resizeInsets): use for_each to resizeInsetsLyXText for all
9138         paragraphs.
9139         (getParFromID): use ParagraphList iterators
9140
9141         * BufferView2.C (lockInset): use paragraph list and iterators
9142
9143 2002-08-14  John Levon  <levon@movementarian.org>
9144
9145         * lyxserver.C: remove spurious xforms include
9146
9147 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9148
9149         * lyxfunc.C (getStatus): disable math-extern outside of math mode
9150
9151 2002-08-13  André Pönitz <poenitz@gmx.net>
9152
9153         * LyXAction.[Ch]:
9154         * lyxfunc.C: further cleaning
9155
9156 2002-08-13  André Pönitz <poenitz@gmx.net>
9157
9158         * funcrequest.h: new constructor
9159
9160         * funcrequest.C: move stuff here from .h
9161
9162         * Makefile.am:
9163         * BufferView_pimpl.C:
9164         * LyXAction.C:
9165         * toc.C:
9166         * lyxfunc.C: subsequent changes
9167
9168         * lyxfunc.h: new view() member function
9169
9170         * lyxfunc.C: subsequent changes
9171
9172 2002-08-13  Angus Leeming  <leeming@lyx.org>
9173
9174         * BufferView2.C:
9175         * BufferView_pimpl.C:
9176         * buffer.C:
9177         * converter.C:
9178         * importer.C:
9179         * lyxfunc.C:
9180         * lyxvc.C:
9181         * toc.C:
9182         * vc-backend.C:
9183         changes due to the changed LyXView interface that now returns references
9184         to member variables not pointers.
9185
9186 2002-08-13  Angus Leeming  <leeming@lyx.org>
9187
9188         * WordLangTuple (word, lang_code): return references to strings,
9189         not strings.
9190
9191         * BufferView.h:
9192         * SpellBase.h:
9193         * lyxtext.h: forward-declare WordLangTuple.
9194
9195         * BufferView2.C:
9196         * ispell.C:
9197         * pspell.C:
9198         * text.C: #include "WordLangTuple.h".
9199
9200         * lyxtext.h:
9201         * text.C: (selectNextWordToSpellcheck): constify return type.
9202
9203 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
9204
9205         * buffer.C:
9206         * buffer.h:
9207         * lyxtext.h:
9208         * paragraph.C:
9209         * paragraph_pimpl.h:
9210         * text.C:
9211         * text2.C:
9212         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9213         suggested by Angus.
9214         Made updateCounter always count from start of buffer, and removed
9215         second argument (par).
9216         Reverted floats number display to '#'. Perhaps I'll try again when the
9217         code base is sanitized a bit.
9218
9219 2002-08-12  Angus Leeming  <leeming@lyx.org>
9220
9221         * buffer.[Ch] (getLabelList): constify.
9222
9223 2002-08-07  André Pönitz <poenitz@gmx.net>
9224
9225         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9226
9227         * funcrequest.h: extension to keep mouse (x,y) position
9228
9229 2002-08-12  Juergen Vigna  <jug@sad.it>
9230
9231         * BufferView2.C (insertErrors): forbid undo when inserting error
9232         insets.
9233
9234         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9235
9236 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9237
9238         * ParagraphList.[Ch]: new files
9239
9240         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9241
9242         * BufferView2.C (lockInset): ParagraphList changes
9243         * toc.C: ditto
9244         * text2.C: ditto
9245         * bufferlist.C: ditto
9246         * buffer.h: ditto
9247         * buffer.C: ditto
9248
9249 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9250
9251         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9252         unused class variable counter_,
9253
9254         * paragraph.[Ch] (getFirstCounter): delete unused function
9255
9256         * counters.C: include LAssert.h
9257         (reset): add a new function with no arg, change other version to
9258         not have def. arg and to not allow empty arg.
9259
9260         * text2.C (setCounter): remove empty arg from call to Counters::reset
9261
9262 2002-08-11  John Levon  <levon@movementarian.org>
9263
9264         * Makefile.am: add WordLangTuple.h
9265
9266 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9267
9268         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9269         lyxfunc.C lyxlex_pimpl.C: ws changes only.
9270
9271         * insets/insettext.C: InsetList changes
9272
9273         * graphics/GraphicsSupport.C (operator()): InsetList changes
9274
9275         * toc.C (getTocList): InsetList changes
9276
9277         * paragraph_pimpl.[Ch]: InsetList changes
9278
9279         * paragraph.[Ch]: InsetList changes
9280
9281         * buffer.C (inset_iterator): InsetList changes
9282         (setParagraph): ditto
9283         * buffer.h (inset_iterator): ditto
9284         * iterators.C (operator++): ditto
9285         * iterators.h: ditto
9286
9287         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9288
9289         * InsetList.[Ch]: new files, most InsetList handling moved out of
9290         paragraph.C.
9291
9292         * BufferView2.C (removeAutoInsets): InsetList changes
9293         (lockInset): ditto
9294         (ChangeInsets): ditto
9295
9296 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
9297
9298         * paragraph_pimpl.h (empty): new function
9299
9300         * paragraph.[Ch] (empty): new function
9301
9302         * other files: use the new Paragraph::empty function
9303
9304 2002-08-09  John Levon  <levon@movementarian.org>
9305
9306         * lyxtext.h: remove unused refresh_height
9307
9308 2002-08-09  John Levon  <levon@movementarian.org>
9309
9310         * Makefile.am:
9311         * sgml.h:
9312         * sgml.C:
9313         * buffer.C:
9314         * paragraph.h:
9315         * paragraph.C: move sgml char escaping out of paragraph
9316
9317         * paragraph.h:
9318         * paragraph.C: remove id setter
9319
9320         * buffer.C:
9321         * paragraph.C:
9322         * paragraph_pimpl.C: remove dead tex_code_break_column
9323
9324         * bufferview_funcs.C: small cleanup
9325
9326         * lyxfunc.C: remove dead proto
9327
9328         * lyxtext.h: make some stuff private. Remove some dead stuff.
9329
9330         * lyxgluelength.C: make as[LyX]String() readable
9331
9332 2002-08-08  John Levon  <levon@movementarian.org>
9333
9334         * LyXAction.h:
9335         * LyXAction.C:
9336         * MenuBackend.C:
9337         * ToolbarDefaults.C:
9338         * lyxfunc.C:
9339         * lyxrc.C:
9340         * toc.C: lyxaction cleanup
9341
9342 2002-08-08  John Levon  <levon@movementarian.org>
9343
9344         * BufferView2.C: small cleanup
9345
9346         * lyxfind.h:
9347         * lyxfind.C: move unnecessary header into the .C
9348
9349 2002-08-08  John Levon  <levon@movementarian.org>
9350
9351         * funcrequest.h: just tedious nonsense
9352
9353         * lyx_main.h:
9354         * lyx_main.C: cleanups
9355
9356         * buffer.C:
9357         * vspace.C: remove dead header lyx_main.h
9358
9359 2002-08-07  Angus Leeming  <leeming@lyx.org>
9360
9361         * Paragraph.[Ch]:
9362         * paragraph_pimpl.h:
9363         Forward declare class Counters in paragraph.h by moving the ctrs member
9364         variable into Paragraph::Pimpl.
9365         (counters): new method, returning a reference to pimpl_->ctrs.
9366
9367         * text2.C: ensuing changes.
9368
9369 2002-08-07  John Levon  <levon@movementarian.org>
9370
9371         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9372
9373         * BufferView_pimpl.C: announce X selection on double/triple
9374           click
9375
9376         * lyx_main.C: use correct bool in batch dispatch
9377
9378         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9379
9380 2002-08-07  André Pönitz <poenitz@gmx.net>
9381
9382         * funcrequest.h: new class to wrap a kb_action and its argument
9383
9384         * BufferView.[Ch]:
9385         * BufferView_pimpl[Ch]:
9386         * LaTeX.C:
9387         * LyXAction.[Ch]:
9388         * lyxfunc.[Ch]:
9389         * lyxrc.C: subsequent changes
9390
9391
9392 2002-08-07  John Levon  <levon@movementarian.org>
9393
9394         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9395           document options change.
9396
9397 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
9398
9399         * counters.[Ch]
9400         * text2.C
9401         * paragraph.[Ch]
9402         * makefile.am: move counters functionality over from
9403         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9404
9405 2002-08-06  John Levon  <levon@movementarian.org>
9406
9407         * WordLangTuple.h: new file for word + language code tuple
9408
9409         * SpellBase.h:
9410         * pspell.h:
9411         * pspell.C:
9412         * ispell.h:
9413         * ispell.C:
9414         * lyxtext.h:
9415         * text.C:
9416         * text2.C:
9417         * BufferView.h:
9418         * BufferView2.C: use WordLangTuple
9419
9420         * layout.h:
9421         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9422
9423 2002-08-06  John Levon  <levon@movementarian.org>
9424
9425         * lyx_main.C: fix cmdline batch handling
9426
9427 2002-08-06  André Pönitz <poenitz@gmx.net>
9428
9429         * lyxrc.C: set default for show_banner to true
9430
9431 2002-08-06  John Levon  <levon@movementarian.org>
9432
9433         * pspell.C: fix a crash, and allow new aspell to work
9434
9435 2002-08-06  John Levon  <levon@movementarian.org>
9436
9437         * lyxfunc.C:
9438         * kbmap.C: small cleanup
9439
9440         * vspace.h:
9441         * vspace.C: add const
9442
9443 2002-08-05  John Levon  <levon@movementarian.org>
9444
9445         * LyXAction.C: back to tabular-insert
9446
9447 2002-08-04  John Levon  <levon@movementarian.org>
9448
9449         * BufferView.h:
9450         * BufferView.C: cosmetic change
9451
9452         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9453
9454         * bufferlist.C:
9455         * buffer.h:
9456         * buffer.C:
9457         * lyxcb.h:
9458         * lyxcb.C:
9459         * lyxserver.C:
9460         * lyxvc.C:
9461         * vc-backend.C:
9462         * BufferView2.C: purge all "Lyx" not "LyX" strings
9463
9464         * lyxcursor.h:
9465         * lyxcursor.C: attempt to add some documentation
9466
9467         * lyxfunc.C:
9468         * commandtags.h:
9469         * LyXAction.C:
9470         * ToolbarDefaults.C:
9471         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9472           merge with LFUN_TABULAR_INSERT
9473
9474         * Makefile.am:
9475         * SpellBase.h:
9476         * ispell.h:
9477         * ispell.C:
9478         * pspell.h:
9479         * pspell.C: split up i/pspell implementations into separate
9480           files, many cleanups
9481
9482         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9483
9484         * text2.C: some cleanup
9485
9486         * lyxfunc.C: don't check for isp_command == "none" any more, it
9487           didn't make any sense
9488
9489 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
9490
9491         * counters.[Ch]
9492         * text2.C
9493         * paragraph.[Ch]
9494         * makefile.am: move counters functionality over
9495         from text2.C/paragraph.[Ch] to counters.[Ch], and
9496         make proper C++.
9497 2002-08-02  John Levon  <levon@movementarian.org>
9498
9499         * buffer.C: s/lyxconvert/lyx2lyx/
9500
9501 2002-08-02  Angus Leeming  <leeming@lyx.org>
9502
9503         * lyxlex.C: revert John's change as it breaks reading of the user
9504         preamble.
9505
9506 2002-08-02  Angus Leeming  <leeming@lyx.org>
9507
9508         * importer.C (Import):
9509         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9510         changes due to LyXView::view() now returning a boost::shared_ptr.
9511
9512 2002-08-02  John Levon  <levon@movementarian.org>
9513
9514         * lyxlex.C: small cleanup
9515
9516 2002-08-02  John Levon  <levon@movementarian.org>
9517
9518         * text2.C (status): small cleanup, no logic change
9519
9520 2002-08-01  John Levon  <levon@movementarian.org>
9521
9522         * buffer.h:
9523         * buffer.C (writeFile): don't output alerts, caller
9524           handles this
9525
9526         * bufferlist.C:
9527         * lyx_cb.C: from above
9528
9529         * lyxfunc.C: allow to open non-existent files
9530
9531 2002-07-31  John Levon  <levon@movementarian.org>
9532
9533         * lyxserver.C: don't let incidental errors get
9534           in the way (errno)
9535
9536 2002-07-30  John Levon  <levon@movementarian.org>
9537
9538         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9539
9540 2002-07-30  John Levon  <levon@movementarian.org>
9541
9542         * lyxserver.h:
9543         * lyxserver.C: remove I/O callback too
9544
9545 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9546
9547         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9548         log.
9549
9550 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9551
9552         * many files: strip,frontStrip -> trim,ltrim,rtrim
9553
9554 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
9555
9556         * PrinterParams.h: remove extern containsOnly, and include
9557         support/lstrings.h instead.
9558
9559         * LaTeX.C (scanAuxFile): modify because of strip changes
9560         (deplog): ditto
9561         * buffer.C (makeLaTeXFile): ditto
9562         * bufferparams.C (writeFile): ditt
9563         * lyxfont.C (stateText): ditto
9564         * lyxserver.C (read_ready): ditto
9565         * vc-backend.C (scanMaster): ditto
9566
9567         * BufferView_pimpl.h: ws changes
9568
9569         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9570
9571 2002-07-26  André Pönitz <poenitz@gmx.net>
9572
9573         * kb_sequence.C: remove unnedred usings
9574
9575 2002-07-26  Juergen Vigna  <jug@sad.it>
9576
9577         * lyxfind.C (LyXReplace): we have to check better if the returned
9578         text is not of theLockingInset()->getLockingInset().
9579
9580 2002-07-25  Juergen Vigna  <jug@sad.it>
9581
9582         * lyxfind.C (LyXReplace): don't replace if we don't get the
9583         right LyXText.
9584
9585         * undo_funcs.C (createUndo): remove debugging code.
9586
9587 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
9588
9589         * buffer.C (parseSingleLyXformat2Token): Use default placement
9590         when reading old floats.
9591
9592         * FloatList.C (FloatList): Change the default placement of figure
9593         and tables to "tbp".
9594
9595 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
9596
9597         * MenuBackend.C: using std::max
9598
9599 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9600
9601         * MenuBackend.C (expandToc):
9602         (expandToc2): code moved from xforms menu frontend. It is now
9603         generic and TOCs are transparent to menu frontends.
9604
9605 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9606
9607         * toc.C (getTocList): protect against buf=0
9608
9609         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9610         Menu as first parameter. Now, this calls itself recursively to
9611         expand a whole tree (this will be useful for TOC handling)
9612         (expandFloatInsert): remove 'wide' version of floats
9613
9614         * MenuBackend.h (submenuname): returns the name of the submenu.
9615         (submenu): returns the submenu itself, provided it has been
9616         created by MenuBackend::expand
9617
9618 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9619
9620         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9621         insets which have noFontChange == true. (bug #172)
9622
9623 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9624
9625         * BufferView_pimpl.C: add connection objects and use them...
9626         (Pimpl): here.
9627
9628 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9629
9630         * MenuBackend.C (expandLastfiles):
9631         (expandDocuments):
9632         (expandFormats):
9633         (expandFloatListInsert):
9634         (expandFloatInsert):
9635         (expand): split expand in parts
9636
9637 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9638
9639         * lyx_gui.C: use lyx_gui::exit()
9640
9641 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9642
9643         * LyXAction.C: show the failing pseudo action
9644
9645 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
9646
9647         * buffer.C (readFile): Run the lyxconvert script in order to read
9648         old files.
9649
9650 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9651
9652         * LyXAction.C:
9653         * commandtags.h:
9654         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9655
9656 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9657
9658         * LyXAction.C:
9659         * commandtags.h:
9660         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9661
9662 2002-07-22  Herbert Voss  <voss@lyx.org>
9663
9664         * lengthcommon.C:
9665         * lyxlength.[Ch]: add support for the vertical lengths
9666
9667 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
9668
9669         * toc.[Ch]: std:: fixes
9670
9671 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9672
9673         * lyxrc.C: do not include lyx_main.h
9674
9675         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9676         for layouts
9677
9678         * lyxrc.C:
9679         * encoding.C:
9680         * bufferlist.C:
9681         * BufferView2.C: include "lyxlex.h"
9682
9683         * tabular.h:
9684         * bufferparams.h: do not #include "lyxlex.h"
9685
9686         * lyxtextclasslist.C (Add): remove method
9687         (classlist): renamed to classlist_
9688
9689         * paragraph_pimpl.C:
9690         * paragraph.C:
9691         * text2.C:
9692         * CutAndPaste.C:
9693         * bufferview_funcs.C:
9694         * bufferlist.C:
9695         * text.C:
9696         * LaTeXFeatures.C:
9697         * buffer.C:
9698         * toc.C (getTocList): use BufferParams::getLyXTextClass
9699
9700         * toc.C (getTocList): use InsetFloat::addToToc
9701
9702         * toc.[Ch]: new files, containing helper functions to handle table
9703         of contents
9704
9705         * lyxfunc.C (dispatch): no need to remove spaces around command
9706         given as a string
9707         (getStatus): handle LFUN_SEQUENCE by returning the status of the
9708         first command of the sequence; it is not very clever, but I do not
9709         have a better idea, actually
9710
9711         * LyXAction.C (LookupFunc): make sure to remove space at the
9712         beginning and end of the command
9713
9714 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9715
9716         * MenuBackend.C (getMenubar): new method: return the menubar of
9717         this menu set
9718         (read): treat differently reading of menu and menubar (in
9719         particular, the menubar has no name now)
9720         (Menu::menubar): remove
9721
9722         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9723         saving is finished
9724
9725 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9726
9727         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9728         a bibitem inset in a RTL paragraph.
9729
9730 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
9731
9732         * paragraph_pimpl.C: constify
9733
9734         * BufferView_pimpl.C:
9735         * LaTeX.C:
9736         * lyxfunc.C: fix dispatch in a nicer way
9737
9738 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9739
9740         * lyxfunc.C (dispatch):
9741         * BufferView_pimpl.C:
9742         * BufferView_pimpl.h:
9743         * BufferView.C:
9744         * BufferView.h: rename Dispatch() to dispatch()
9745
9746         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9747
9748         * lyxlayout.C (Read): honor DependsOn tag
9749
9750         * lyxlayout.[Ch] (depends_on): new method
9751
9752         * version.C.in: update lyx_docversion
9753
9754         * LaTeXFeatures.C (getMacros): only define \LyX when needed
9755
9756         * paragraph.C (validate): remove from here...
9757         * paragraph_pimpl.C (validate): ... and move here
9758         (isTextAt): make it const
9759
9760         * buffer.C (getLists): ws cleanup
9761
9762 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9763
9764         * language.C (read): Use iso8859-1 encoding in latex_lang
9765         (this prevents LyX from crashing when using iso10646-1 encoding).
9766
9767 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9768
9769         * text2.C (toggleInset): if cursor is inside an inset, close the
9770         inset and leave cursor _after_ it
9771
9772 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9773
9774         * lyxfunc.C: move minibuffer completion handling out of here
9775
9776 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9777
9778         * BufferView_pimpl.C:
9779         * LaTeX.C: fix dispatch calls
9780
9781 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
9782
9783         * text.C (drawChars): Fix Arabic text rendering.
9784
9785 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
9786
9787         * LyXAction.C:
9788         * commandtags.h:
9789         * lyxfunc.C: remove message-push/pop
9790
9791         * lyxserver.C:
9792         * lyxfunc.h:
9793         * lyxfunc.C: rationalise some code by removing verboseDispatch
9794           in favour of a bool argument to dispatch()
9795
9796 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9797
9798         * lyx_main.C (init): make sure to read symlinks as absolute paths
9799
9800 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9801
9802         * lyxfunc.h:
9803         * lyxfunc.C: no need for commandshortcut to be a member
9804
9805 2002-07-15  André Pönitz <poenitz@gmx.net>
9806
9807         * converter.C: add support for $$s (scripts from lib/scripts dir)
9808         * lyx_main.C: white space
9809
9810 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9811
9812         * bufferlist.C:
9813         * lyxrc.h:
9814         * lyxrc.C: remove second exit confirmation
9815
9816 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9817
9818         * BufferView.h:
9819         * BufferView.C:
9820         * BufferView2.C:
9821         * BufferView_pimpl.h:
9822         * BufferView_pimpl.C:
9823         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9824
9825 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9826
9827         * MenuBackend.C (expand): add numeric shortcuts to document menu
9828
9829         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9830
9831 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9832
9833         * lyxfont.C (setLyXFamily):
9834         (setLyXSeries):
9835         (setLyXShape):
9836         (setLyXSize):
9837         (setLyXMisc):
9838         (lyxRead):
9839         * debug.C (value):
9840         * buffer.C (asciiParagraph): use ascii_lowercase
9841
9842 2002-07-15  Mike Fabian  <mfabian@suse.de>
9843
9844         * lyxlex_pimpl.C (search_kw):
9845         * lyxlex.C (getLongString):
9846         * converter.h (operator<):
9847         * converter.C (operator<):
9848         * buffer.C (parseSingleLyXformat2Token):
9849         (asciiParagraph):
9850         * ToolbarDefaults.C (read):
9851         * MenuBackend.C (checkShortcuts):
9852         (read):
9853         * LColor.C (getFromGUIName):
9854         (getFromLyXName): use the compare_ascii_no_case instead of
9855         compare_no_case, because in turkish, 'i' is not the lowercase
9856         version of 'I', and thus turkish locale breaks parsing of tags.
9857
9858 2002-07-16  Angus Leeming  <leeming@lyx.org>
9859
9860         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9861         now takes a Buffer const & argument.
9862
9863 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
9864
9865         * BufferView.C (resize): check there's a buffer to resize
9866
9867 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
9868
9869         * lyxfunc.C: remove dead code
9870
9871         * lyxserver.h:
9872         * lyxserver.C: use lyx_guii::set_read_callback
9873
9874 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
9875
9876         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9877         an inset in a RTL paragraph.
9878
9879 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9880
9881         * lyxfunc.C: repaint after a font size update
9882
9883 2002-07-15  André Pönitz <poenitz@gmx.net>
9884
9885         * lyxlength.C: inBP should be able to return negative values
9886
9887 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9888
9889         * lyxfunc.C: use lyx_gui::update_fonts()
9890
9891 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9892
9893         * lyxfunc.C: use lyx_gui::update_color()
9894
9895 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9896
9897         * bufferlist.C:
9898         * lyxfunc.h:
9899         * lyxfunc.C:
9900         * lyxrc.h:
9901         * lyxrc.C: remove file->new asks for name option, and let
9902           buffer-new take an argument
9903
9904 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9905
9906         * BufferView_pimpl.C: remove unneeded extra repaint()
9907
9908 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
9909
9910         * LyXAction.C: allow command-sequence with NoBuffer
9911
9912         * lyxfunc.C: don't insist on trailing ';' for command-sequence
9913
9914 2002-07-10  Angus Leeming  <leeming@lyx.org>
9915
9916         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9917
9918 2002-07-09  Angus Leeming  <leeming@lyx.org>
9919
9920         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9921
9922 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9923
9924         * lengthcommon.h: whitespace
9925
9926         * lyxfunc.C: update scrollbar after goto paragraph
9927
9928         * lyxtext.h: factor out page break drawing, and fix it so
9929           page break/added space paints as selected nicely
9930
9931 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9932
9933         * BufferView_pimpl.C: add FIXMEs, clean up a little
9934
9935 2002-07-09  André Pönitz <poenitz@gmx.net>
9936
9937         * lyxfont.[Ch]: support for wasy symbols
9938
9939 2002-07-08  André Pönitz <poenitz@gmx.net>
9940
9941         * BufferView_pimpl.C: apply John's patch for #93.
9942
9943 2002-07-05  Angus Leeming  <leeming@lyx.org>
9944
9945         * BufferView_pimpl.C (buffer): generate previews if desired.
9946
9947         * LColor.h: add "preview" to the color enum.
9948
9949         * LColor.C (LColor): add a corresponding entry to the items array.
9950
9951         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9952         with this buffer.
9953
9954 2002-07-05  Angus Leeming  <leeming@lyx.org>
9955
9956         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9957         The body of the code is now in the method that is passed an ostream &
9958         rather than a file name.
9959         Pass an additional only_preamble parameter, useful for the forthcoming
9960         preview stuff.
9961
9962 2002-07-03  André Pönitz <poenitz@gmx.net>
9963
9964         * lyxfunc.C: simplify getStatus() a bit for math stuff
9965
9966 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9967
9968         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9969
9970 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9971
9972         * text.C (changeRegionCase): do not change case of all the
9973         document when region ends at paragraph end (bug #461)
9974
9975 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9976
9977         * paragraph.C (startTeXParParams):
9978         (endTeXParParams): add \protect when necessary
9979
9980 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9981
9982         * BufferView_pimpl.C (workAreaExpose): remove warning
9983
9984 2002-06-27  Angus Leeming  <leeming@lyx.org>
9985
9986         * Makefile.am: add lyxlayout_ptr_fwd.h.
9987
9988 2002-06-26  André Pönitz <poenitz@gmx.net>
9989
9990         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9991
9992 2002-06-25  Angus Leeming  <leeming@lyx.org>
9993
9994         * lyxfunc.C (dispatch): Comment out the call to
9995         grfx::GCache::changeDisplay. The method no longer exists now that the
9996         pixmap generation part of the graphics loader has been moved into
9997         InsetGraphics.
9998
9999 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10000
10001         * text2.C: layout as layout
10002
10003         * text.C: layout as layout
10004
10005         * tabular.C (OldFormatRead): layout as layout
10006
10007         * paragraph_pimpl.C (TeXDeeper): layout as layout
10008         (realizeFont): layout as layout
10009
10010         * paragraph.C (writeFile): layout as layout
10011         (validate): layout as layout
10012         (getFont): layout as layout
10013         (getLabelFont): layout as layout
10014         (getLayoutFont): layout as layout
10015         (breakParagraph): layout as layout
10016         (stripLeadingSpaces): layout as layout
10017         (getEndLabel): layout as layout
10018         (getMaxDepthAfter): layout as layout
10019         (applyLayout): layout as layout
10020         (TeXOnePar): layout as layout
10021         (simpleTeXOnePar): layout as layout
10022         (TeXEnvironment): layout as layout
10023         (layout): layout as layout
10024         (layout): layout as layout
10025
10026         * lyxtextclass.C (compare_name): new functor to work with
10027         shared_ptr, layout as layout
10028         (Read): layout as layout
10029         (hasLayout): layout as layout
10030         (operator): layout as layout
10031         (delete_layout): layout as layout
10032         (defaultLayout): layout as layout
10033
10034         * lyxlayout_ptr_fwd.h: new file
10035
10036         * lyxlayout.C (Read): layout as layout
10037
10038         * lyx_cb.C (MenuInsertLabel): layout as layout
10039
10040         * bufferlist.C (newFile): layout as layout
10041
10042         * buffer.C (readLyXformat2): layout as layout
10043         (parseSingleLyXformat2Token): layout as layout
10044         (insertStringAsLines): layout as layout
10045         (asciiParagraph): layout as layout
10046         (latexParagraphs): layout as layout
10047         (makeLinuxDocFile): layout as layout
10048         (simpleLinuxDocOnePar): layout as layout
10049         (makeDocBookFile): layout as layout
10050         (simpleDocBookOnePar): layout as layout
10051         (getLists): layout as layout
10052
10053         * LaTeXFeatures.C (getTClassPreamble): layout as layout
10054
10055         * CutAndPaste.C (cutSelection): layout as layout
10056         (pasteSelection): layout as layout
10057         (SwitchLayoutsBetweenClasses): layout as layout
10058
10059         * BufferView_pimpl.C (Dispatch): layout as layout
10060         (smartQuote): layout as layout
10061
10062         * BufferView2.C (unlockInset): layout as layout
10063
10064 2002-06-24  André Pönitz <poenitz@gmx.net>
10065
10066         * lyxfunc.C: fix #487
10067
10068 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10069
10070         * lyxrc.h:
10071         * lyxrc.C:
10072         * lyxfunc.C: remove display_shortcuts, show_banner
10073
10074 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10075
10076         * Buffer_pimpl.C: oops, update on resize
10077
10078 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10079
10080         * buffer.C:
10081         * converter.C:
10082         * exporter.C:
10083         * lyxfunc.C:
10084         * BufferView.h:
10085         * BufferView.C: use repaint()
10086
10087         * BufferView_pimpl.h:
10088         * BufferView_pimpl.C: s/updateScreen()/repaint()/
10089           as it's a clearer description. Remove superfluous
10090           redraws.
10091
10092 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10093
10094         * text.C: fix bug 488. Not ideal, but getting
10095           getWord() to work properly for the insets that
10096           matter is more difficult ...
10097
10098 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10099
10100         * BufferView_pimpl.C:
10101         * LyXAction.C:
10102         * commandtags.h:
10103         * lyxfunc.C: remove the six million index lyxfuncs to just
10104           one, and DTRT (bug 458)
10105
10106 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10107
10108         * BufferView.h:
10109         * BufferView.C:
10110         * BufferView_pimpl.h:
10111         * BufferView_pimpl.C: clean up resize() stuff,
10112           and unnecessary updateScreen()s
10113
10114 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10115
10116         * BufferView.h:
10117         * BufferView.C:
10118         * BufferView_pimpl.h:
10119         * BufferView_pimpl.C:
10120         * lyxfind.h:
10121         * lyxfind.C:
10122         * minibuffer.C: remove focus management of workarea,
10123           not needed. Use screen's greyOut()
10124
10125 2002-06-17  Herbert Voss  <voss@lyx.org>
10126
10127         * converter.C: (convert) do not post a message, when converting
10128         fails, let the calling function decide what to do in this case
10129
10130 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
10131
10132         * lyxfunc.C: tidy up a little
10133
10134 2002-06-16    <alstrup@diku.dk>
10135
10136         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10137         Got rid of FORMS_H_LOCATION include. Now we are
10138         GUII.
10139
10140 2002-06-15  LyX Development team  <lyx@rilke>
10141
10142         * buffer.[Ch] (sgmlOpenTag):
10143         (sgmlCloseTag): Added support for avoiding pernicious mixed
10144         content. Return number of lines written.
10145
10146         (makeLinuxDocFile):
10147         (makeDocBookFile): Fixed calls to sgml*Tag.
10148         Simple white space clean.
10149
10150         (simpleDocBookOnePar): Simple white space clean.
10151
10152         * tabular.[Ch] (docBook): Renamed to docbook and got another
10153         argument to related with the pernicious mixed content.
10154
10155         (docbookRow): Fixed calls for docbook inset method.
10156
10157 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
10158
10159         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10160         so it's X11 independent.
10161
10162         * kb*.[Ch]: ditto.
10163
10164         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10165
10166 2002-06-15  Lyx Development team  <lyx@electronia>
10167
10168         * intl.h: Renamed getTrans to getTransManager.
10169
10170 2002-06-14  Angus Leeming  <leeming@lyx.org>
10171
10172         * Makefile.am: nuke forgotten stl_string_fwd.h.
10173
10174 2002-06-12  Angus Leeming  <leeming@lyx.org>
10175
10176         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10177
10178 2002-06-13  Angus Leeming  <leeming@lyx.org>
10179
10180         * LaTeX.C:
10181         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10182
10183 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
10184
10185         * kbmap.C (getiso): add support for cyrillic and greek
10186
10187 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10188
10189         * BufferView.h:
10190         * BufferView.C:
10191         * BufferView_pimpl.h:
10192         * BufferView_pimpl.C: move bogus scrolling logic
10193           to xforms
10194
10195 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10196
10197         * lyxfunc.C:
10198         * BufferView_pimpl.C: view->resize() change
10199
10200 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10201
10202         * BufferView_pimpl.C: topCursorVisible
10203           prototype change
10204
10205 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10206
10207         * Makefile.am:
10208         * lyx_gui.h:
10209         * lyx_gui.C: move to frontends/
10210
10211         * main.C:
10212         * lyx_main.h:
10213         * lyx_main.C: changes from above
10214
10215 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10216
10217         * intl.C:
10218         * intl.h:
10219         * kbmap.C:
10220         * kbsequence.C:
10221         * lyx_cb.C:
10222         * lyx_main.C: minor tidy
10223
10224 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10225
10226         * BufferView_pimpl.h:
10227         * BufferView_pimpl.C:
10228         * BufferView.h:
10229         * BufferView.C: make painter() const,
10230           remove dead code
10231
10232         * BufferView2.C: use screen() accessor
10233
10234         * lyx_main.h:
10235         * lyx_main.C: some minor cleanup
10236
10237 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10238
10239         * BufferView_pimpl.h:
10240         * BufferView_pimpl.C: remove enter/leaveView,
10241           use workHeight()
10242
10243 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10244
10245         * BufferView.h:
10246         * BufferView.C:
10247         * BufferView2.C:
10248         * BufferView_pimpl.h:
10249         * BufferView_pimpl.C: only construct screen once,
10250           rename
10251
10252         * lyxrc.C: remove pointless comment
10253
10254 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10255
10256         * BufferView.h:
10257         * BufferView.C: remove active() and belowMouse()
10258
10259         * BufferView_pimpl.h:
10260         * BufferView_pimpl.C: use workarea() not workarea_,
10261           and make it use a scoped_ptr instead
10262
10263 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10264
10265         * lyx_gui.C: add debug message on BadWindow
10266
10267 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10268
10269         * sp_spell.C: fdopen is not part of the C++ standard.
10270
10271         * paragraph.C (InsetIterator): use >= instead of ==
10272
10273 2002-06-07  Angus Leeming  <leeming@lyx.org>
10274
10275         Fixes needed to compile with Compaq cxx 6.5.
10276         * BufferView_pimpl.C:
10277         * DepTable.C:
10278         * buffer.C:
10279         * converter.C:
10280         * encoding.C:
10281         * lyx_gui.C:
10282         * lyx_main.C:
10283         * lyxtextclasslist.C:
10284         * minibuffer.C:
10285         * sp_spell.C:
10286         * tabular_funcs.C:
10287         * vc-backend.C:
10288         all c-library variables have been moved into namespace std. Wrap
10289         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10290
10291         * lyxlength.C:
10292         * tabular-old.C:
10293         * tabular.C:
10294         Add a using std::abs declaration.
10295
10296         * kbmap.h (modifier_pair):
10297         * paragraph.h (InsetTable, InsetList):
10298         * lyxfont.h (FontBits):
10299         type definition made public.
10300
10301         * bufferlist.C (emergencyWriteAll): the compiler complains that
10302         there is more than one possible lyx::class_fun template to choose from.
10303         I re-named the void specialisation as lyx::void_class_fun.
10304
10305         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10306
10307         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10308         the compiler is is unable to find tostr in write_attribute.
10309
10310 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10311
10312         * buffer.C (sgmlError): hide #warning
10313
10314 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10315
10316         * xtl/*: get rid of xtl, which is not in use anyway
10317
10318         * LyXAction.C (init):
10319         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10320         were unimplemented xtl experimentation
10321
10322 2002-06-04  André Pönitz <poenitz@gmx.net>
10323
10324         * lyxfunc.C: disable array operation on simple formulae
10325
10326 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
10327
10328         * converter.C: constify a bit
10329
10330 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
10331
10332         * lyx_gui.C: check xforms version correctly
10333
10334 2002-04-30  Herbert Voss  <voss@lyx.org>
10335
10336         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10337         "keep" option
10338
10339 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
10340
10341         * lyxvc.C: fix bug 416 (make sure buffer is saved before
10342           attempt to register it with a VCS)
10343
10344 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10345
10346         * lyx_main.C (init): honor variables LYX_DIR_13x and
10347         LYX_USERDIR_13x
10348
10349 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10350
10351         * buffer.h:
10352         * buffer.C:
10353         * lyx_main.C: fix a crash on bad command line,
10354           and give a useful exit status on error
10355
10356         * lyxfunc.C (doImport): allow -i lyx to work
10357
10358 2002-03-30  André Pönitz <poenitz@gmx.net>
10359
10360         * lyxfunc.C: mathed font changes
10361
10362 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10363
10364         * LaTeX.C:
10365         * importer.h:
10366         * importer.C:
10367         * lyx_sty.h:
10368         * lyx_sty.C:
10369         * lyxlex.C:
10370         * lyxrow.h:
10371         * lyxtext.h:
10372         * paragraph.h:
10373         * paragraph.C:
10374         * texrow.h:
10375         * texrow.C:
10376         * text.C:
10377         * trans_mgr.h: srcdocs, and some minor cleanups
10378
10379 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10380
10381         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10382         call getFont all the time)
10383
10384 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10385
10386         * switch from SigC signals to boost::signals
10387
10388 2002-05-29  André Pönitz <poenitz@gmx.net>
10389
10390         * paragraph_pimpl.C (getChar): don't call size() too often...
10391
10392 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10393
10394         * paragraph_pimpl.C (insertChar): do not try to update tables when
10395         appending (pos == size())
10396
10397         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10398         in order to reduce drastically the number of comparisons needed to
10399         parse a large document
10400
10401 2002-05-29  André Pönitz <poenitz@gmx.net>
10402
10403         * text.C:
10404         * text2.C:
10405         * lyxtextclass.C:
10406         * sp_pspell.h:
10407         * textclasslist.[Ch]:
10408         * sp_ispell.h: whitespace change
10409
10410 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10411
10412         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10413         lyxaction directly now.
10414
10415 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
10416
10417         * trans.C:
10418         * lyxfont.C:
10419         * lyxvc.C: remove unused headers
10420
10421 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10422
10423         * Makefile.am:
10424         * buffer.h:
10425         * undostack.h:
10426         * undostack.C:
10427         * undo_funcs.h:
10428         * undo_funcs.C: some cleanups. Use shared_ptr
10429           and a template for the undo stacks.
10430
10431 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10432
10433         * BufferView_pimpl.h:
10434         * BufferView_pimpl.C:
10435         * kbmap.h:
10436         * kbmap.C:
10437         * kbsequence.h:
10438         * kbsequence.C:
10439         * lyxfunc.h:
10440         * lyxfunc.C:
10441         * text2.C: use key_state/mouse_state
10442
10443 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10444
10445         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10446         and LSubstring
10447
10448         * chset.C: change include order
10449         (loadFile): use boost regex and get rid of LRegex and LSubstring
10450
10451         * Makefile.am (BOOST_LIBS): new variable
10452         (lyx_LDADD): use it
10453
10454         * LaTeX.C: change include order.
10455         (scanAuxFile): use boost regex and get rid of LRegex and
10456         LSubstring
10457         (deplog): ditto
10458
10459 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10460
10461         * ColorHandler.h:
10462         * ColorHandler.C:
10463         * FontInfo.h:
10464         * FontInfo.C: moved to frontends/xforms/
10465
10466         * FontLoader.h:
10467         * FontLoader.C: moved into frontends for GUIIzation
10468
10469         * Makefile.am:
10470         * lyx_gui.C:
10471         * lyxfont.C:
10472         * lyxfunc.C: changes from above
10473
10474 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10475
10476         * LColor.C: remove spurious X include
10477
10478         * BufferView_pimpl.C:
10479         * Makefile.am:
10480         * font.h:
10481         * font.C:
10482         * text.C:
10483         * text2.C: move font metrics to frontends/
10484
10485 2002-05-24  Juergen Vigna  <jug@sad.it>
10486
10487         * undo_funcs.C (textHandleUndo): fix the cursor selection after
10488         setting the undo_cursor.
10489
10490         * ParagraphParameters.h: include local includes first.
10491
10492 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10493
10494         * BufferView_pimpl.C:
10495         * BufferView_pimpl.h:
10496         * Makefile.am:
10497         * WorkArea.h:
10498         * WorkArea.C:
10499         * screen.C: move WorkArea into frontends/
10500
10501         * lyxscreen.h:
10502         * screen.C:
10503         * text.C:
10504         * BufferView.C:
10505         * BufferView2.C: move LyXScreen into frontends/
10506
10507         * lyxlookup.h:
10508         * lyxlookup.C:
10509         * lyx_gui.C: move lyxlookup into frontends/xforms/
10510
10511 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10512
10513         * BufferView2.C:
10514         * BufferView_pimpl.C:
10515         * FontLoader.C:
10516         * LyXView.h:
10517         * LyXView.C:
10518         * Makefile.am:
10519         * WorkArea.C:
10520         * XFormsView.h:
10521         * XFormsView.C:
10522         * buffer.C:
10523         * bufferlist.C:
10524         * bufferview_funcs.C:
10525         * converter.C:
10526         * importer.C:
10527         * lyx_cb.C:
10528         * lyx_gui.C:
10529         * lyx_main.C:
10530         * lyx_find.C:
10531         * lyxfunc.C:
10532         * lyxvc.C:
10533         * minibuffer.C:
10534         * text.C:
10535         * text2.C:
10536         * trans.C:
10537         * vc-backend.C: move LyX/XFormsView into frontends/
10538
10539 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10540
10541         * Makefile.am:
10542         * PainterBase.C:
10543         * PainterBase.h:
10544         * Painter.C:
10545         * Painter.h:
10546         * WorkArea.C:
10547         * WorkArea.h:
10548         * screen.C:
10549         * tabular.C:
10550         * text.C:
10551         * text2.C: move Painter to frontends/
10552
10553 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10554
10555         * buffer.C: comment out some some code that depend upon lyx_format
10556         < 220
10557
10558         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10559         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10560
10561         * buffer.h (NO_COMPABILITY): turn off compability
10562
10563         * ColorHandler.C: include scoped_array.hpp
10564
10565         * font.C: Use more specific smart_ptr header.
10566         * Painter.C: ditto
10567         * gettext.C: ditto
10568         * ShareContainer.h: ditto
10569         * lyx_main.h: ditto
10570         * kbmap.h: ditto
10571         * FontInfo.h: ditto
10572         * BufferView_pimpl.h: ditto
10573         * ColorHandler.h: ditto
10574
10575         * kbmap.C (defkey): change call to shared_ptr::reset
10576
10577 2002-05-21  Juergen Vigna  <jug@sad.it>
10578
10579         * buffer.C (insertErtContents): fix to insert ert asis if it is
10580         non empty. Skip it completely if it contains only whitespaces.
10581
10582 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
10583
10584         * BufferView_pimpl.C:
10585         * BufferView2.C: clear selection on paste (bug 393)
10586
10587 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10588
10589         * DepTable.C: include ctime
10590
10591 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
10592
10593         * buffer.C (latexParagraphs): Add new argument (moving_arg).
10594
10595 2002-05-14  Juergen Vigna  <jug@sad.it>
10596
10597         * text.C (breakParagraph): fixed function to honor the keepempty
10598         layout in the right maner and also to permit the right breaking
10599         algorithm on empty or non empyt keepempty paragraphs.
10600
10601         * paragraph.C (breakParagraph): we have to check also if the par
10602         is really empty (!size()) for isempty otherwise we do the wrong
10603         paragraph break.
10604
10605 2002-05-10  Juergen Vigna  <jug@sad.it>
10606
10607         * buffer.[Ch] : The following are only changes to the ert
10608         compatibility read reading old LaTeX layout and font stuff and
10609         convert it to ERTInsets.
10610
10611         * buffer.h: added isErtInset().
10612
10613         * buffer.C (struct ErtComp): add a fromlayout bool to check
10614         if we're inside a LaTeX layout.
10615         (isErtInset): new helper function.
10616         (insertErtContents): look for other ert insets before this one
10617         and insert the contents there, so that we don't have subsequent
10618         ERT insets with nothing between them. This way we create only one
10619         inset with multiple paragraphs. Also check if we don't insert only
10620         spaces ' ' as they are ignored anyway afterwards in the .tex file
10621         so if we have only spaces we will ignore this latex part in the
10622         new file.
10623         (parseSingleLyXformat2Token \\layout): better compatibility when
10624         reading layout-latex stuff.
10625         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10626         language tag.
10627         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10628         stuff after reading the inset only get the information back from
10629         the stack.
10630
10631 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
10632
10633         * buffer.C (makeLaTeXFile): Put language options after loading babel.
10634
10635         * LaTeXFeatures.C (getBabelOptions): New method.
10636
10637 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10638
10639         * BufferView_pimpl.C (Dispatch): work around missing argument for
10640         'layout'
10641
10642 2002-05-08  Juergen Vigna  <jug@sad.it>
10643
10644         * text.C (leftMargin): handle paragraph leftindent.
10645
10646         * paragraph.C (writeFile): write the new \\leftindent tag.
10647         (validate): handle leftindent code.
10648         (TeXEnvironment): handle paragraphleftindent code again.
10649
10650         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10651
10652         * buffer.C (parseSingleLyXformat2Token): added compatibility code
10653         for paragrap_extra indent code and new token \\leftindent.
10654         (latexParagraphs): handle the leftindent as environment.
10655
10656         * ParameterStruct.h: added leftindent support.
10657
10658         * ParagraphParameters.C (leftIndent): added support functions for
10659         the paragraph left indent.
10660
10661         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10662         more appropriate.
10663
10664 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
10665
10666         * paragraph.C (isRightToLeftPar): Return false for a paragraph
10667         inside insetERT.
10668
10669         * text.C (computeBidiTables): No bidi in insetERT.
10670
10671         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10672         in RTL documents.
10673
10674 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10675
10676         * version.C.in: pre 5
10677
10678 2002-05-02  José Matos  <jamatos@fep.up.pt>
10679         * buffer.C (makeDocBookFile): white space changes, add newline to
10680         command styles.
10681         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10682
10683         * tabular.C (docBook): fix typo.
10684
10685 2002-05-03  Juergen Vigna  <jug@sad.it>
10686
10687         * screen.C (drawFromTo): recalculate the rowpointer if we had a
10688         change in LyXText as we can not be sure it was not freed.
10689         (drawOneRow): remove unused code.
10690
10691         * text.C (drawInset): redo the calculation of the need_break_row as
10692         it could have a row which was already freed.
10693         (draw): look at the return value of drawInset and return false if
10694         it also returned false.
10695         (paintRowText): look at the return value of draw and return false if
10696         it also returned false.
10697
10698         * lyxtext.h: added bool return type to drawInset() and draw() so that
10699         if we have a change in the row so that the rowbreak has to be redone
10700         we abort drawing as it will be called again.
10701
10702 2002-05-02  Juergen Vigna  <jug@sad.it>
10703
10704         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10705         a change in the maintext also if we're inside an inset.
10706         (Dispatch): set the cursor again after a break line and after the
10707         screen has been updated as it could be we're in a different row.
10708
10709         * text2.C (fixCursorAfterDelete): check to make sure we don't request
10710         to set the cursor behind the pargraph with > size().
10711         (setCursor): check also for the same paragraph when checking where
10712         to put the cursor if we have a NFR inset.
10713
10714         * buffer.C (parseSingleLyXformat2Token): move the compatibility
10715         parts of layout read further up as it still was in the wrong
10716         position.
10717
10718 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10719
10720         * screen.C (drawFromTo): change sine fullRebreak always return
10721         true.
10722
10723         * buffer.C (parseSingleLyXformat2Token): reindent some
10724
10725         * BufferView_pimpl.C (update): change since fullRebreak always
10726         return true.
10727         (Dispatch): git rid of the last hardcoded "Standard"s.
10728
10729 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10730
10731         * text2.[Ch] (fullRebreak): make it return void now that we always
10732         returned true.
10733
10734 2002-04-30  Juergen Vigna  <jug@sad.it>
10735
10736         * buffer.C (parseSingleLyXformat2Token): reset the font before the
10737         ert compatibility check for "latex" layout.
10738
10739 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
10740
10741         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10742         minipages: use col% instead of p%, and also use the current font.
10743         (makeLaTeXFile): Fix use babel condition.
10744         (parseSingleLyXformat2Token): Correct font when reading old floats.
10745
10746 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
10747
10748         * BufferView_pimpl.C (Dispatch): Check that float type exists when
10749         inserting list of floats.
10750
10751 2002-04-25  Herbert Voss  <voss@lyx.org>
10752
10753         * MenuBackend.C (expand): don't add the graphics extensions to the
10754         export menu
10755
10756 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10757
10758         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10759         non-existing layout, do not complain if it was the default layout
10760         of the original class (bug #342)
10761
10762 2002-04-24  Juergen Vigna  <jug@sad.it>
10763
10764         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10765         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10766
10767 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
10768
10769         * buffer.C (getBibkeyList): If using \bibliography, return the
10770         option field with the reference itself. Enables us to provide natbib
10771         support when using \bibliography.
10772
10773 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
10774
10775         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10776
10777         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10778         natbib is provided by the LaTeX class.
10779
10780 2002-04-23  Juergen Vigna  <jug@sad.it>
10781
10782         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10783         Wakeup functions.
10784
10785         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10786
10787 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10788
10789         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10790
10791         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10792         ensuremath around textordmasculine, textordfeminine and
10793         textdegree.
10794
10795 2002-04-19  Juergen Vigna  <jug@sad.it>
10796
10797         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10798         reinitializing the buffer otherwise row-dimensions may be wrong.
10799         (update): reset also the selection cursors if they do exits otherwise
10800         their x/y positions may be wrong.
10801
10802         * text2.C (cursorDown): don't enter the inset if we came from a row
10803         above and are one row over the inset.
10804
10805         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10806         really leaving an inset.
10807
10808 2002-04-18  Juergen Vigna  <jug@sad.it>
10809
10810         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10811         of the selected paragraph does not have the selected layout also if
10812         the last one had!
10813
10814         * text2.C (setLayout): fixed bug which did not change last selected
10815         paragraph.
10816
10817         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10818         changed the read and substituted \\end_float with \\end_inset!
10819
10820         * BufferView_pimpl.C (cursorPrevious):
10821         (cursorNext): fixed to make it work with rows heigher than the work
10822         area without moving the cursor only the draw of the row.
10823         (workAreaMotionNotify): fix jumping over high rows.
10824
10825 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10826
10827         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10828         Ressler.
10829
10830 2002-04-16  Juergen Vigna  <jug@sad.it>
10831
10832         * text2.C (setCursor): set also the irow().
10833         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10834         (cursorUp):
10835         (cursorDown): support for locking an inset if the x_fix value goes
10836         inside it. That way I can transverse insets too with cursor up/down.
10837
10838         * lyxrow.h: added irow helper function same as other (i) functions.
10839
10840         * BufferView_pimpl.C (cursorPrevious):
10841         (cursorNext): fixed for insets!
10842
10843 2002-04-15  Juergen Vigna  <jug@sad.it>
10844
10845         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10846         position otherwise it is wrong in some cases.
10847
10848         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10849         inside the inset before the call.
10850
10851 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
10852
10853         * buffer.[Ch] (getBibkeyList): make it const.
10854
10855 2002-04-12  Juergen Vigna  <jug@sad.it>
10856
10857         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10858
10859         * text2.C (getCursorX): new helper function
10860         (setCursor): compute also ix_
10861         (setCursorFromCoordinates): set also ix.
10862
10863         * lyxcursor.h: added ix_ and helper functions.
10864
10865         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10866
10867         * buffer.C (insertStringAsLines): dont break paragraph if the this
10868         paragraph is inside an inset which does not permit it!
10869
10870         * text.C (breakParagraph): honor keepempty flag and break the paragraph
10871         also with no chars on this paragraph.
10872         (paintRowText): only paint stuff if it's inside the workarea!
10873
10874         * paragraph.C (breakParagraph): honor keepempty flag and break the
10875         paragraph always below not above.
10876
10877         * BufferView2.C (unlockInset): update the paragraph layout on inset
10878         unlock as we changed paragraph in such a case.
10879
10880         * lyxfind.C (LyXFind): clear the former selection if not found!
10881
10882         * text2.C (insertInset): freeze Undo after setUndo so that it is not
10883         again called in insertChar().
10884
10885         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10886         an inset which uses the whole row!
10887         (rightMargin): ditto.
10888         (insertChar): force a rebreak if we inserted an inset!
10889
10890 2002-03-28  Herbert Voss  <voss@lyx.org>
10891
10892         * lyxlength.[Ch]: add inBP() to get the right PS-point
10893         units (BigPoint). With inPixels we have rounding errors
10894
10895 2002-04-11  Juergen Vigna  <jug@sad.it>
10896
10897         * text2.C (setCursorFromCoordinates): set iy to the right value.
10898         (setCursor): add check if row->previous exists!
10899
10900         * buffer.C (parseSingleLyXformat2Token): reset font after read of
10901         an old float_type as this was the case in the old code!
10902
10903         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10904
10905         * BufferView2.C (showLockedInsetCursor): use iy
10906         (fitLockedInsetCursor): ditto
10907
10908         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10909         locked insets as there we have the right value now.
10910
10911         * lyxcursor.C: added iy_ variable and iy functions to set to the
10912         baseline of cursor-y of the locked inset.
10913
10914         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10915         (setCursor): fixed for insets which need a full row.
10916
10917         * text.C (rowLastPrintable): don't ignore the last space when before
10918         an inset which needs a full row.
10919         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10920         as last character of a row when before a inset which needs a full row.
10921
10922 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10923
10924         * version.C.in: update date
10925
10926         * text2.C (fullRebreak): try to always return true and see what
10927         happens...
10928
10929 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10930
10931         * MenuBackend.C (expand): use Floating::listName
10932
10933         * FloatList.C (FloatList): add listName argument to the built-in
10934         floats
10935
10936         * Floating.[Ch]: add listName member, which is the 'List of XXX'
10937         text associated with the float.
10938
10939 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10940
10941         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10942
10943 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10944
10945         * ShareContainer.h: add a couple of missing typenames.
10946
10947 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
10948
10949         * lyxrc.C (getDescription): use _() correctly rather than N_().
10950
10951 2002-03-28  Herbert Voss  <voss@lyx.org>
10952
10953         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10954         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10955
10956 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10957
10958         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10959         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10960
10961 2002-03-29  Juergen Vigna  <jug@sad.it>
10962
10963         * lyxfunc.C (dispatch): add a missing fitCursor call.
10964
10965         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10966         it was scrolled by a cursor move, so return the bool status.
10967
10968         * BufferView.C (fitCursor): return the bool flag also to the outside
10969         world as this is needed.
10970
10971         * screen.C (toggleToggle): don't subtract the offset if it's positive.
10972
10973         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10974         call the edit() as it is not needed (and wrong) IMO.
10975         (workAreaButtonPress): set the screen_first variable before evt.
10976         unlock the inset as this may change screen_first and then we have
10977         a wrong y position for the click!
10978
10979 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10980
10981         * MenuBackend.C (expand): another translation that I missed
10982
10983 2002-03-28  Juergen Vigna  <jug@sad.it>
10984
10985         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10986
10987         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10988
10989 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10990
10991         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10992
10993         * MenuBackend.C (expand): fix export/view/update when there is no
10994         document open.
10995
10996 2002-03-27  Herbert Voss  <voss@lyx.org>
10997
10998         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10999         and text%
11000
11001 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11002
11003         * bufferview_funcs.C (currentState): only show paragraph number
11004         for is DEVEL_VERSION is set.
11005
11006         * lyxfunc.C (dispatch): put warning in INFO channel
11007
11008         * MenuBackend.C (expand): translate the name of floats
11009
11010         * FloatList.C (FloatList): mark the float names for translation
11011
11012         * converter.C (convert): use LibScriptSearch
11013
11014 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11015
11016         * MenuBackend.C (defaults): fix default menu (we might as well get
11017         rid of it...)
11018
11019 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11020
11021         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11022         directory.
11023
11024 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11025
11026         * lyxvc.C: reorder includes.
11027
11028 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
11029
11030         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11031           properly
11032
11033 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
11034
11035         * CutAndPaste.C: change layouts earlier on paste
11036           to avoid crashing when calling getFont()
11037
11038 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
11039
11040         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11041         irritating #error.
11042
11043 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11044
11045         * WorkArea.C: remove 'Pending' debug message.
11046
11047         * most files: ws cleanup
11048
11049         * buffer.[Ch]: ws changes
11050
11051         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11052
11053 2002-03-21  Juergen Vigna  <jug@sad.it>
11054
11055         * tabular.C (SetMultiColumn): collapse also the contents of the
11056         cells and set the last border right. Added a Buffer const * param.
11057
11058 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11059
11060         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11061         linking or not.
11062
11063 2002-03-19  Juergen Vigna  <jug@sad.it>
11064
11065         * text2.C (clearSelection): reset also xsel_cache.
11066
11067         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11068         where it needs to be called (John tells us to do so too :)
11069         (selectionLost): reset sel_cache.
11070
11071         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11072
11073 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11074
11075         * text2.C (setCursorIntern): put debuging code in INSETS channel
11076
11077 2002-03-19  André Pönitz <poenitz@gmx.net>
11078
11079         * lyxfunc.C: tiny whitespace change
11080
11081 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11082
11083         * ToolbarDefaults.C (init):
11084         * LyXAction.C (init):
11085         * commandtags.h:
11086         * BufferView_pimpl.C (Dispatch):
11087         * lyxfunc.C (dispatch): remove LFUN_DEPTH
11088
11089 2002-03-19  Allan Rae  <rae@lyx.org>
11090
11091         * exporter.C (Export): removeAutoInsets before doing anything else.
11092         While I've just introduced a dependency on BufferView this really is
11093         the best place to clean the buffer otherwise you need to cleanup in
11094         a dozen places before calling export or cleanup in a dozen functions
11095         that export calls.
11096
11097         * converter.C (runLaTeX):
11098         (scanLog): Better handling of removeAutoInsets and screen updates.
11099
11100         * lyxfunc.C (dispatch): small whitespace changes
11101
11102 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11103
11104         * WorkArea.C (C_WorkAreaEvent): return a value.
11105         (event_cb): return 1 if we handled the event, 0 otherwise.
11106
11107         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11108
11109 2002-03-18  Juergen Vigna  <jug@sad.it>
11110
11111         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11112         (GetAdditionalWidth): ditto.
11113         (RightLine): ditto.
11114         (LeftLine): ditto.
11115
11116         * BufferView2.C (copy): use getLyXText() so that we do it inside an
11117         inset if we're there actually (probably not used right now but this
11118         is the direction to go for unifying code).
11119         (paste): disable code to clear the selection.
11120
11121         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11122         inside an InsetText and move the check further up as it is in the
11123         wrong place.
11124
11125         * text2.C (pasteSelection): set a selection over the pasted text.
11126
11127 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
11128
11129         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11130         and libgraphics to build on Cygwin.
11131
11132 2002-03-15  Juergen Vigna  <jug@sad.it>
11133
11134         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11135         inserting an Inset into the paragraph. I know this is not the best
11136         fix but we already use current_view in CutAndPaste so we will remove
11137         all of it's using at the same time.
11138
11139         * buffer.C (sgmlError): deactivated function till it is rewritten in
11140         the right mode, now it can create problems.
11141
11142         * paragraph.C (isLineSeparator): check if getInset returns != 0,
11143         before accessing it.
11144
11145 2002-03-14  Juergen Vigna  <jug@sad.it>
11146
11147         * undo_funcs.C (textHandleUndo): do the right thing when updating
11148         the inset after the undo/redo.
11149
11150         * text2.C (setCursor): just some testcode for #44 not ready yet.
11151
11152         * undo_funcs.C (textHandleUndo): set the next() and previous()
11153         pointers of the paragraph to 0 before deleting otherwise we have
11154         problems with the Paragraph::[destructor].
11155
11156         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11157         on a paragraph insertion.
11158
11159 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11160
11161         * buffer.C (asciiParagraph): use += operator for char append to
11162         string.
11163
11164         * paragraph.C (getFontSettings): compare >= not just >
11165         (highestFontInRange): ditto
11166         (setFont): ditto
11167
11168 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11169
11170         * paragraph.C: change several algorithm to be more appripriate for
11171         the problem domain. This is lookip in FontList and in the InsetList.
11172
11173 2002-03-13  André Pönitz <poenitz@gmx.net>
11174
11175         * commandtags.h:
11176         * LyXAction.C: remove unused LFUN_MATH_MACROARG
11177
11178 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
11179
11180         * commandtags.h:
11181         * LyXAction.C:
11182         * lyxfunc.C:
11183         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11184
11185 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11186
11187         * Painter.C (display): anon helper function, adjust code for this
11188         change.
11189         (pixmap): remove function.
11190
11191         * Painter.h: remove private display variable.
11192
11193         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11194
11195 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
11196
11197         * WorkArea.[Ch]: remove figinset_canvas cruft.
11198
11199 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11200
11201         * lyxtextclass.C (operator): add one item cache optimization.
11202
11203         * bufferlist.h: doxy changes
11204
11205         * bufferlist.C: ws changes
11206
11207         * DepTable.[Ch] (ext_exist): place const in the right spot.
11208
11209         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11210         call resizeInsets.
11211         (workAreaExpose): call resizeInsets when the with BufferView changes.
11212         (Dispatch): adjust for protectedBlank removal
11213         (specialChar): call updateInset if the insert went ok.
11214
11215         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11216         specialChar instead.
11217
11218         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11219
11220         * BufferView.h: doxy change
11221
11222         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11223
11224         * lyxtextclass.C (operator[]): remove non-const version
11225         (defaultLayout): remove non-const version
11226
11227 2002-03-12  Juergen Vigna  <jug@sad.it>
11228
11229         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11230         did resize the LyXText too.
11231
11232         * buffer.C (readLyXformat2): set layout information on newly allocated
11233         paragraphs.
11234
11235         * tabular.C (OldFormatRead): set layout information on the paragraph.
11236
11237 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11238
11239         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11240
11241 2002-03-11  Juergen Vigna  <jug@sad.it>
11242
11243         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11244         plainly wrong.
11245         (resizeCurrentBuffer): force also the insets to resize themselfes.
11246         (moveCursorUpdate): fixed up for InsetText.
11247
11248 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
11249
11250         * commandtags.h:
11251         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11252         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11253         value of Dialogs::tooltipsEnabled().
11254         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11255
11256 2002-03-08  Juergen Vigna  <jug@sad.it>
11257
11258         * BufferView_pimpl.C (updateInset): update inset inside inset also
11259         if it isn't inside theLockingInset().
11260
11261 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11262
11263         * buffer.C (asciiParagraph): redo some of the word and line length
11264         handling.
11265         (getLists): look for Caption instead of caption.
11266
11267 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11268
11269         * buffer.C (Buffer): initialize niceFile to true
11270         (makeLaTeXFile):
11271         (makeLinuxDocFile):
11272         (makeDocBookFile): make sure niceFile is true on exit
11273
11274 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11275
11276         * buffer.C (makeLaTeXFile): escape ~ in \input@path
11277
11278 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
11279
11280         * LyXSendto.C: remove.
11281         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11282         * lyx_gui.C: remove now-redundant comment.
11283         * ColorHandler.h: remove forward declaration of class WorkArea.
11284         * lyxfunc.C: remove #include "WorkArea.h".
11285
11286 2002-03-07  Juergen Vigna  <jug@sad.it>
11287
11288         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11289         got moved away with the DEPM and also set the inset_owner always
11290         right which before could have been omitted.
11291
11292 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11293
11294         * buffer.C (parseSingleLyXformat2Token): use default layout is the
11295         wanted layout is not found.
11296
11297 2002-03-07  Juergen Vigna  <jug@sad.it>
11298
11299         * CutAndPaste.C (cutSelection): another layout settings forgotten.
11300
11301 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11302
11303         * paragraph.C (breakParagraph): use default layout not layout of
11304         prev paragraph.
11305         (Paragraph): clear ParagraphParameters.
11306
11307 2002-03-06  Juergen Vigna  <jug@sad.it>
11308
11309         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11310         otherwise it would not be a valid lenght. Fixed a special case in
11311         the minipage compatibility read where we end the document with a
11312         minipage.
11313
11314         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11315         was set as it could be 0 for InsetTexts first entry.
11316
11317 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11318
11319         * paragraph.C (writeFile): if layout is empty write out
11320         defaultLayoutName().
11321
11322         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11323         file without named layout we set layout to defaultLayoutName().
11324
11325 2002-03-06  Juergen Vigna  <jug@sad.it>
11326
11327         * CutAndPaste.C (copySelection): set layout for new paragraph.
11328
11329         * text.C (prepareToPrint): leave ERT inset left aligned
11330         (leftMargin): don't indent paragraphs inside ERT insets
11331
11332 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11333
11334         * paragraph.C (breakParagraph): dont call clear do the work manually
11335
11336         * paragraph.[Ch] (clear): remove function
11337
11338 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11339
11340         * paragraph.C (Paragraph): dont call clear, the work has already
11341         been done.
11342
11343         * lyxtextclass.C (operator): assert if n is empty
11344
11345         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11346         work manually instead.
11347
11348 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11349
11350         * BufferView_pimpl.C: protect selectionLost against text == 0
11351
11352 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11353
11354         * text.C (breakParagraph): fix a setting layout to '0' problem.
11355
11356 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11357
11358         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11359         final location of file, for the included files, and graphics.
11360
11361 2002-03-05  Juergen Vigna  <jug@sad.it>
11362
11363         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11364
11365 2002-03-04  Juergen Vigna  <jug@sad.it>
11366
11367         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11368
11369         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11370         last column of multicolumn cells.
11371         (SetWidthOfMulticolCell): recalculate NMC and real columns.
11372
11373 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11374
11375         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11376         file if it doesn't go to a temporary file.
11377
11378         * buffer.C (sgmlOpenTag):
11379         (sgmlCloseTag):  remove extra newline insertion.
11380
11381 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11382
11383         * text.C (getRowNearY): comment out debug msg
11384
11385 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11386
11387         * text2.C: first -> first_y
11388
11389         * text.C (getRowNearY): add some attemts at a possible
11390         optimization, not working.
11391
11392         * tabular.[Ch]: add BufferParams to several function so that newly
11393         created paragraph can be initialized to he default layotu for the
11394         buffers textclass.
11395
11396         * tabular-old.C (ReadOld): add buf->params to call of Init
11397
11398         * screen.C: rename text->first to text->first_y
11399
11400         * paragraph.C (breakParagraph): always set layout in the broken
11401         paragraph
11402
11403         * lyxtextclass.C (Read): remove lowercase
11404         (hasLayout): ditto
11405         (operator): ditto
11406         (delete_layout): ditto
11407
11408         * lyxtext.h: rename first -> first_y
11409
11410         * lyxlayout.C (Read): remove lowercase
11411         (name): ditto
11412         (setName): ditto
11413         (obsoleted_by): ditto
11414
11415         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11416
11417         * buffer.C (insertErtContents): add params are to InsetERT
11418         (parseSingleLyXformat2Token): add code to check if a paragraphs
11419         layout really exist.
11420         (parseSingleLyXformat2Token): add params to several inset
11421         constructors
11422         (asciiParagraph): remove lowercase, do the layout comparisons with
11423         no_case
11424
11425         * BufferView_pimpl.C (cursorNext): first -> first_y
11426         (resizeCurrentBuffer): first -> first_y
11427         (updateScrollbar): first -> first_y
11428         (scrollCB): first -> first_y
11429         (workAreaMotionNotify): first -> first_y
11430         (workAreaButtonPress): first -> first_y
11431         (checkInsetHit): first -> first_y
11432         (cursorPrevious): first -> first_y
11433         (cursorNext): first -> first_y
11434         (Dispatch): add buffer_->params to severl inset contructors
11435
11436 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11437
11438         * lyxlayout.C (Read): remove some debug info that I forgot.
11439
11440         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11441         clean up the code slightly.
11442         (makeLinuxDocFile): ditto
11443         (makeDocBookFile): ditto
11444
11445         * text2.C: layout as string
11446
11447         * text.C: layout as string
11448
11449         * paragraph_pimpl.C: layout as string
11450
11451         * paragraph.[Ch]: layout as string
11452
11453         * lyxtextclasslist.[Ch]: layout as string
11454
11455         * lyxtextclass.[Ch]: layout as string
11456
11457         * lyxtext.h: layout as string
11458
11459         * lyxlayout.[Ch]: layout as string
11460
11461         * lyx_cb.C: layout as string
11462
11463         * bufferview_funcs.C: layout as string
11464
11465         * bufferparams.C: layout as string
11466
11467         * buffer.C: layout as string
11468
11469         * LyXView.[Ch]: layout as string
11470
11471         * LaTeXFeatures.[Ch]: layout as string
11472
11473         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11474
11475         * BufferView_pimpl.C: change current_layout to string, remove
11476         lyx::layout_type.
11477         (Dispatch):
11478         (smartQuote):
11479         (insertInset):
11480         (workAreaButtonRelease): layout as string
11481
11482         * BufferView2.C (unlockInset): adjust
11483
11484         * vspace.C (asLatexCommand): use an explict temp variable.
11485
11486 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11487
11488         * Makefile.am: use FRONTEND_*
11489
11490 2002-03-01  Juergen Vigna  <jug@sad.it>
11491
11492         * tabular.C (SetWidthOfMulticolCell): changed to something better
11493         I hope but still work in progress.
11494         (recalculateMulticolumnsOfColumn): renamed function from
11495         recalculateMulticolCells as it is more appropriate now.
11496         (SetWidthOfCell): calculate multicols better.
11497
11498 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11499
11500         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11501
11502         * lyxfunc.C (processKeySym): print sequence also if it is
11503         `deleted' (complete)
11504
11505         * kbsequence.C (print): print sequence even if it is deleted
11506         (complete would be a better word, actually).
11507
11508         * lyxfunc.C (dispatch): print complete options after a prefix key
11509
11510         * vspace.C (asLatexCommand): rewrite in a slightly different form.
11511
11512 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
11513
11514         * text2.C (setCharFont): eliminate setCharFont code duplication.
11515
11516 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11517
11518         * BufferView_pimpl.C (Dispatch): remove bogus handling of
11519         LFUN_TABULAR_FEATURE (bug #177)
11520
11521 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
11522
11523         * Makefile.am: remove figure.h
11524
11525 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
11526
11527         * Bufferview_pimpl.C:
11528         * CutAndPasteC:
11529         * LaTeX.C:
11530         * LyXSendto.C:
11531         * buffer.C:
11532         * bufferlist.C:
11533         * converter.C:
11534         * language.C:
11535         * lyxfunc.C:
11536         * lyxvc.C:
11537         * paragraph.C:
11538         * text.C:
11539         * text2.C: remove #include "lyx_gui_misc.h".
11540
11541         * LaTeX.C: added #include <cstdio>
11542
11543 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11544
11545         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11546         that the paragraph following this one can have.
11547
11548         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11549
11550         * vspace.C (asLatexCommand): fix bogus gcc warning
11551
11552         * Makefile.am (lyx_SOURCES): remove vms_defines.h
11553
11554 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
11555
11556         * text2.C (setLayout): get rid of redundant code
11557
11558 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
11559
11560         * text2.C (incDepth): make sure depth cannot be increased beyond
11561         reasonable values.
11562
11563 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
11564
11565         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11566         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11567
11568         * PainterBase.h (image):
11569         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11570         a LyXImage const *.
11571
11572 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11573
11574         * BufferView.C:
11575         * BufferView.h:
11576         * BufferView_pimpl.C:
11577         * BufferView_pimpl.h:
11578         * LaTeXFeatures.C:
11579         * LyXAction.C:
11580         * LyXView.C:
11581         * Makefile.am:
11582         * UpdateList.h:
11583         * UpdateList.C:
11584         * buffer.C:
11585         * figure.h:
11586         * figureForm.C:
11587         * figureForm.h:
11588         * figure_form.C:
11589         * figure_form.h:
11590         * lyx_cb.C:
11591         * lyx_gui.C:
11592         * lyx_gui_misc.C:
11593         * lyxfunc.C:
11594         * sp_base.h:
11595         * sp_ispell.h:
11596         * sp_pspell.h:
11597         * sp_spell.C: remove fig inset, and the crap house of
11598           cards that follows it
11599
11600 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11601
11602         * Makefile.am:
11603         * lyxserver.C:
11604         * os2_defines.h:
11605         * os2_errortable.h:
11606         * nt_defines.h: move .h into support/
11607
11608         * vms_defines.h: remove
11609
11610         * WorkArea.C: add space in debug output
11611
11612         * text2.C:
11613         * paragraph.C:
11614         * buffer.C: add WITH_WARNINGS
11615
11616         * vc-backend.h:
11617         * vc-backend.C:
11618         * bufferlist.C: s/retrive/retrieve/, add docs
11619
11620         * vspace.h:
11621         * vspace.C:
11622         * kbmap.h:
11623         * lyxlength.h:
11624         * lyxgluelength.h:
11625         * length_common.h:
11626         * chset.h:
11627         * chset.C: add docs
11628
11629         * lyxgui.C: add ID to X error handler
11630
11631         * lyxtestclass.c: fix typo
11632
11633 2002-02-26  Juergen Vigna  <jug@sad.it>
11634
11635         * tabular_funcs.C (write_attribute): changed so that some default
11636         attributes are not written at all.
11637         (getTokenValue): set default values before trying to read the
11638         value so we have the return value always set as default if we don't
11639         find the token we search for.
11640
11641         * tabular.C (Write): write bools as bools not as strings!
11642
11643 2002-02-22  Juergen Vigna  <jug@sad.it>
11644
11645         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11646         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11647
11648         * text.C (leftMargin): don't add an indent for paragraphs inside
11649         tabular cells (fix #208).
11650
11651 2002-02-21  José Matos  <jamatos@fep.up.pt>
11652
11653         * tabular.C (docBook): fixed support for long tables.
11654
11655 2002-02-20  Juergen Vigna  <jug@sad.it>
11656
11657         * text2.C (getFont): get the drawing font of the Inset if this
11658         paragraph is inside an inset (only important for InsetERT for now).
11659
11660         * buffer.C (insertErtContents): use new lanugage params in ERT
11661         constructor.
11662
11663         * CutAndPaste.C: commenting out seemingly uneeded code.
11664
11665 2002-02-19  Allan Rae  <rae@lyx.org>
11666
11667         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11668         Iterators might be simple to use but they also get invalidated.
11669         (removeAutoInsets): renamed saved cursor tracking variables and added
11670         some comments to clarify what everything does.
11671
11672 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
11673
11674         * Chktex.C:
11675         * LaTeX.C:
11676         * LyXSendto.C:
11677         * converter.C:
11678         * lyx_cb.C:
11679         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11680         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11681
11682         * lyxfunc.C:
11683         * vc-backend.h: remove #include "support/syscall.h"
11684
11685         * LaTeX.C:
11686         * LyXSendto.C:
11687         * converter.C: rearrange #includes in Lars' approved fashion.
11688
11689         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11690         forward declare class Timeout in the header file.
11691
11692         * XFormsView.C: changes due to the above.
11693
11694         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11695         similar to LyXView.
11696
11697         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11698         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11699
11700 2002-02-18  José Matos  <jamatos@fep.up.pt>
11701
11702         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11703         insets contents.
11704
11705 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
11706
11707         * a lot of small ws changes
11708         * add a lot of using std::XXX
11709         * use std construcs some places where approp.
11710         * use some exisint stuff from lyxfunctional where approp.
11711         * Make file changes to use partial linking (lets test this now...)
11712
11713 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11714
11715         * Chktex.C:
11716         * buffer.C:
11717         remove #include "support/syscontr.h" as it's redundant. Always has been.
11718
11719         * Chktex.C:
11720         * LaTeX.C:
11721         * LyXSendto.C:
11722         * converter.C:
11723         * lyx_cb.C:
11724         * vc-backend.C:
11725         change Systemcalls::System to Systemcalls::Wait and
11726         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11727         No change of functionality, just reflects the stripped down Systemcalls
11728         class.
11729
11730 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11731
11732         * debug.[Ch]: add a GRAPHICS type to the enum.
11733
11734 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11735
11736         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11737
11738         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11739         there is an inset.
11740
11741 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11742
11743         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11744         match the changes below.
11745
11746         * text2.C (toggleInset): if there is not editable inset at cursor
11747         position, try to see if cursor is _inside_ a collapsable inset
11748         and close it.
11749
11750 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11751
11752         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11753         document menu has a nice checkbox
11754
11755 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11756
11757         * lyxlength.C (asLatexString): change PW to output as percent of
11758         \textwidth.
11759
11760         * lengthcommon.C: change '%' to 't%'
11761
11762         * lyxfunc.C (dispatch): a few comments from Martin
11763
11764 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
11765
11766         * WorkArea.h:
11767         * WorkArea.C:
11768         * BufferView_pimpl.h:
11769         * BufferView_pimpl.C: clear our selection when X tells us we've lost
11770           the X selection.
11771
11772 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11773
11774         * vspace.C (inPixels): fix compiler warning
11775
11776 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11777
11778         * lyxfunc.C (getStatus): fix status message for disabled commands.
11779
11780 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
11781
11782         * BufferView_pimpl.C: fix crash on close buffer
11783         during selection (#227)
11784
11785 2002-01-27  Herbert Voss  <voss@lyx.org>
11786
11787         * buffer.C: link old Figure to new graphic inset
11788
11789 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
11790
11791         * FontLoader.C (getFontinfo): Change the latex font names in order
11792         to match the names of type1inst.
11793
11794 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11795
11796         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11797
11798         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11799         (extchanged): ditto
11800         (ext_exist): ditto
11801         (remove_files_with_extension): ditto
11802         (remove_file): ditto
11803         (write): ditto
11804
11805         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11806         document is smaller than the work area height. Do not initialize
11807         static variables to 0.
11808
11809 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11810
11811         * lyx_gui.C (init): give the toolbar tooltips a normal font.
11812
11813         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11814         LFUN_LAYOUT_PARAGRAPHS.
11815
11816         * tabular.C (GetCellFromInset): new method. Finds an inset in a
11817         tabular. It is possible to provide a possible cell, which will
11818         typically be the actcell from the corresponding insettabular
11819
11820         * lyxfunc.C (getStatus): small cleanup; disable
11821         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11822         true
11823
11824 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11825
11826         * tabular.C (Validate): remove broken optimization (fixes bug #201)
11827
11828         * paragraph.C (startTeXParParams):
11829         (endTeXParParams): new methods. The LaTeX code to
11830         start/end paragraph formatting
11831         (simpleTeXOnePar): call startTeXParParams also when paragraph is
11832         empty (fixes bug #200)
11833
11834         * vspace.C (inPixels): adapt to the change below
11835         (inPixels): [later] more cleanups (remove unused variables)
11836
11837         * lyxlength.C (inPixels): change to use a width and a height as
11838         parameter.
11839
11840 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11841
11842         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11843         Replaced with \paperwidth
11844
11845         * DepTable.C (insert): add std:: qualifier
11846
11847 2002-01-18  Allan Rae  <rae@lyx.org>
11848
11849         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
11850         updated also?
11851
11852         * text.C (drawInset): Turned out I didn't know enough about how
11853         rebreaking worked.  This fixes most of the redraw problems.  I see
11854         an occasional cursor trail when a line is broken now and the cursor
11855         placement can seem out by a few pixels also after a rebreak.
11856
11857 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11858
11859         * buffer.C (parseSingleLyXformat2Token): update because minipage
11860         width is now a LyXLength
11861
11862         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11863
11864         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11865         math insets
11866
11867 2002-01-17  Juergen Vigna  <jug@sad.it>
11868
11869         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11870
11871         * BufferView2.C (lockInset): call edit() so that theLockingInset()
11872         is set correctly and the inset is updated correctly.
11873
11874 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11875
11876         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11877         the beginning of the loop.
11878
11879 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
11880
11881         * lyxrc.C: improve help for use_scalable_fonts
11882
11883 2002-01-17  Allan Rae  <rae@lyx.org>
11884
11885         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11886
11887 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11888
11889         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11890         make sure to set their inset_owner to the right value (bug #171)
11891
11892 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
11893
11894         * DepTable.h
11895         * DepTable.C: Implement mtime checking to reduce time spent doing
11896         CRCs.
11897
11898 2002-01-16  Juergen Vigna  <jug@sad.it>
11899
11900         * tabular.C (GetAdditionalHeight): one of error fixed.
11901
11902         * lyxrc.C (output): small fix in writing use_pspell.
11903
11904 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
11905
11906         * sp_base.h: #include LString.h
11907
11908 2002-01-16  Allan Rae  <rae@lyx.org>
11909
11910         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
11911         Can someone check this please?
11912
11913         * text.C (drawInset): It was possible that p.row would be removed by
11914         breakAgainOneRow upsetting a few other settings.  There may be another
11915         small tweak possible by setting need_break_row = 0 when p.row has been
11916         removed but I don't know enough about the logic here.
11917
11918 2002-01-15  Allan Rae  <rae@lyx.org>
11919
11920         * text.C (insertChar): removed conditional truism.
11921
11922         * BufferView2.C (removeAutoInsets): More tweaks.
11923         cur_par_prev could be a stray pointer.  Check for trailing empty line
11924         in case last line was cur_par and only had an error inset on it.
11925
11926 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11927
11928         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11929         absolute
11930
11931         * vc-backend.C (most methods):
11932         * exporter.C (Export):
11933         * converter.C (convert):
11934         (runLaTeX):
11935         * LyXSendto.C (SendtoApplyCB):
11936         * lyxfunc.C (dispatch):
11937         (menuNew):
11938         (open):
11939         (doImport):
11940         * lyx_cb.C (AutoSave):
11941         (InsertAsciiFile):
11942         * BufferView_pimpl.C (MenuInsertLyXFile):
11943         * buffer.C (runChktex): use Buffer::filePath().
11944
11945         * buffer.h: rename filename to filename_; rename filepath to
11946         filepath_ and make it private
11947         (filePath): new method
11948
11949         * buffer.C (writeFile): use fileName()
11950         (getLatexName):
11951
11952         * lyx_main.C (init): fix starting  of LyX when the binary is a
11953         link from so,ewhere else.
11954
11955         * minibuffer.C: include <cctype> for isprint
11956
11957 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11958
11959         * buffer.C (parseSingleLyXformat2Token): changes associated with the
11960         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11961         name clash with InsetCollapsable's width function.
11962
11963 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11964
11965         * lastfiles.C: include <iterator>
11966
11967 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11968
11969         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11970         std::count.
11971
11972         * buffer.C (makeLaTeXFile): ditto.
11973         Also make loop operation more transparent.
11974
11975 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11976
11977         * ToolbarDefaults.C: remove trailing comma closing namespace.
11978
11979         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11980
11981         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11982         as in WorkArea.
11983
11984         * trans.C (Load): comment out unused variable, allowed.
11985
11986 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11987
11988         * minibuffer.[Ch] (append_char): new method to recieve input from the
11989         drop-down completion browser. If a key was pressed, then recieve this
11990         char and append it to the existing string.
11991         (peek_event): modify the positioning data passed to the completion
11992         browser so that it can be placed above the minibuffer rather than below.
11993 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11994
11995         * LyXAction.C (init): alloe error-next for readonly documents.
11996
11997         * BufferView2.C (ChangeRefsIfUnique): use standard version of
11998         count.
11999
12000 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12001
12002         * bufferlist.C (readFile): create the buffer _after_ checking that
12003         the file exists.
12004
12005         * lyxfunc.C (verboseDispatch): fix handling of arguments
12006
12007         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12008
12009         * lyxrc.C: use string::erase() instead of initializing to "".
12010
12011
12012 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12013
12014         * BufferView_pimpl.h:
12015         * BufferView_pimpl.C:
12016         * WorkArea.h:
12017         * WorkArea.C:
12018         * text2.C: tell X when we have made a selection for copying
12019
12020 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12021
12022         * BufferView_pimpl.C (MenuInsertLyXFile):
12023         * lyxfunc.C (menuNew):
12024         (open):
12025         (doImport): add shortcuts to directory buttons
12026
12027         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12028         open a float)
12029
12030         * lyxfunc.C (setStatusMessage):
12031         (getStatusMessage): new methods
12032         (getStatus):use setStatusMessage instead of setErrorMessage
12033         (dispatch): when function is disabled, set error message here
12034         [instead of in getStatus previously]
12035
12036         * BufferView_pimpl.C (workAreaButtonRelease): update
12037         toolbar/menubar here too.
12038
12039 2002-01-13  Allan Rae  <rae@lyx.org>
12040
12041         * BufferView2.C (removeAutoInsets): finished off earlier fix.
12042         Now seems indestructible.  Remaining task is to audit all other
12043         code affected by deleteEmptyParagraphMechanism.  One small quirk
12044         left is that an empty document with an error in the preamble can
12045         be made to report an error but no error box appears.  I don't know
12046         where it goes.
12047         (removeAutoInsets): Improved comments.
12048
12049 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
12050
12051         * Thesaurus.h:
12052         * Thesaurus.C: update for Aiksaurus 0.14
12053
12054 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12055
12056         * text2.C (firstParagraph): removed member function, all uses
12057         replaces with ownerParagraph
12058         (redoParagraphs): here
12059         (updateInset): here
12060         (toggleAppendix): here
12061         * BufferView2.C (insertErrors): here
12062         (setCursorFromRow): here
12063
12064 2002-01-13  Allan Rae  <rae@lyx.org>
12065
12066         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12067         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12068         There is still a way to segfault this although you may have to do this
12069         multiple times: Have an InsetERT with an unknown command in it.
12070         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12071         <down-arrow>, <Enter> again, View->DVI, BANG!
12072
12073         * text2.C (setCursor):
12074         (deleteEmptyParagraphMechanism):
12075         * lyxtext.h (setCursor):
12076         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12077         Making use of the return value may help fix other bugs.
12078
12079 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12080
12081         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12082
12083         * LyXView.C (updateMenubar): call MenuBar::update here
12084         (updateToolbar): but not here
12085         (showState): do not update toolbar/menubar
12086
12087         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12088         should need to care about that.
12089
12090         * lyxfunc.C (verboseDispatch): simplify a bit
12091         (getStatus): have a version which takes a pseudoaction, and
12092         another which requires a (kb_action,string).
12093
12094         * LyXAction.C (retrieveActionArg): make it work also when action
12095         is not a pseudo-action.
12096         (getActionName): simplify a bit
12097         (helpText):
12098
12099 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12100
12101         * lyxfunc.C (verboseDispatch): new families of methods with
12102         several ways to specify a command and a bool to indicate whether
12103         the command name and shortcut should be displayed in minibuffer
12104         (eventually, we could extend that to a finer bitmask like
12105         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12106         (dispatch): the pristine dispatch command which just, well,
12107         dispatchs! Note it still sets its result to minibuffer; I'm not
12108         sure we want that.
12109
12110         * lyxfunc.h: remove setHintMessage
12111
12112         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12113
12114 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12115
12116         * BufferView_pimpl.C (specialChar): delete new inset if we have
12117         not been able to insert it.
12118
12119         * kbmap.C: revert to using int instead of kb_action, since all we
12120         are dealing with is pseudo-actions.
12121
12122         * LyXAction.C (searchActionArg): change to return int instead of
12123         kb_action, since the result is a pseudoaction.
12124
12125 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
12126
12127         * buffer.C (insertErtContents): Fix (partially) the font bug.
12128
12129 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12130
12131         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12132         as the other one is broken on my machine!
12133
12134 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
12135
12136         * commandtags.h:
12137         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12138
12139 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
12140
12141         * lyxrc.[Ch]: change names and descriptions of popup font variables to
12142         reflect their actual use. Provide compatibility code for older lyxrc
12143         files.
12144
12145         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12146         FL_NORMAL_STYLE.
12147         change names of popup font variables in line with the changes to lyxrc.C
12148
12149 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12150
12151         * buffer.C (asciiParagraph): avoid outputing a word twice after
12152         an inset.
12153
12154         * lyxrc.C (getDescription): document that document_path and
12155         template_path can be empty.
12156
12157 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12158
12159         * LaTeXFeatures.C (getMacros):
12160         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12161
12162         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12163
12164         * LaTeXFeatures.C (useFloat): require "float" here instead of in
12165         getPackages.
12166         (getPackages): rename feature "floats" to "float". Use an array to
12167         iterate over 'simple' features (i.e. just a \usepackage). Add
12168         handling of "amsmath" (renamed from "amsstyle").
12169
12170 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
12171
12172         * LaTeXFeatures.C (require): Prevent duplicate entries in the
12173         features list.
12174
12175 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
12176
12177         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12178         FuncStaus::FuncStatus & FuncStaus::some_method().
12179
12180 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
12181
12182         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12183         of the func_satus stuff. Edited and massaged in various ways by
12184         JMarc.
12185
12186         * lyxfunc.C (getStatus): use FuncStatus
12187
12188 2002-01-08  Juergen Vigna  <jug@sad.it>
12189
12190         * text.C (nextBreakPoint): use function Inset::isChar().
12191
12192         * paragraph.C (TeXOnePar): use function
12193         Inset::forceDefaultParagraphs.
12194
12195         * buffer.C (latexParagraphs): use function
12196         Inset::forceDefaultParagraphs.
12197
12198 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12199
12200         * lyx_gui.C (init): set the style of the menu popups to
12201         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12202
12203 2002-01-07  Juergen Vigna  <jug@sad.it>
12204
12205         * text.C (setHeightOfRow): small fix
12206         (prepareToPrint): don't look at alignment if we don't have the place
12207         for doing it.
12208
12209 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12210
12211         * box.C: New file. Move the Box methods and functions out of box.h,
12212         following Lars' suggestion.
12213
12214 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12215
12216         * box.h: #include "support/LOstream.h", needed for inlined function.
12217
12218         * lyxtextclass.C:
12219         * lyxtextclasslist.C: added some using std declarations.
12220
12221 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
12222
12223         * box.h: make signed dimensions to allow insets wider than
12224           the screen (bug #162)
12225
12226         * BufferView_pimpl.C: add some insetHit debug
12227
12228 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
12229
12230         * vc-backend.C: add FIXME
12231
12232 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12233
12234         * lyxfunc.C (getStatus): enable code for showing math font status
12235         in toolbar/menu.
12236
12237 2002-01-07  Juergen Vigna  <jug@sad.it>
12238
12239         * text.C (nextBreakPoint): removed debug output not needed anymore.
12240
12241 2002-01-06  Juergen Vigna  <jug@sad.it>
12242
12243         * text.C (nextBreakPoint): fixed up this function we had this bug
12244         since ever but now hopefully we break row better.
12245         (insertChar): we have to check if an inset is the next char as it
12246         could now happen that a large inset is causing a break.
12247
12248 2002-01-05  Juergen Vigna  <jug@sad.it>
12249
12250         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12251         if it doesn't like to be drawed.
12252
12253 2002-01-04  Juergen Vigna  <jug@sad.it>
12254
12255         * BufferView2.C (lockInset): forgot to set a cursor.
12256
12257         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12258
12259 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
12260
12261         * FormMathsPanel.C:
12262         * FormMathsPanel.h
12263         * MathsSymbols.C:
12264         * form_maths_panel.C:
12265         * form_maths_panel.h:
12266         * form_maths_panel.fd: implemented sub- and super- buttons in math
12267         panel.
12268
12269         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12270         (or ^ space) to be used as in TeX (req'd by André).
12271
12272         * lyxfunc.C: Allow ^ and _ again to be used both as
12273         super/subscript (mathed) and as themselves (in text).
12274
12275 2002-01-03  Allan Rae  <rae@lyx.org>
12276
12277         * LyXView.C (updateWindowTitle): Setup a short icon title of either
12278         "LyX" or the filename of the current buffer if it has one.  This is a
12279         modified form of John Levon's patch.
12280
12281         * XFormsView.C (setWindowTitle): also set icon title.
12282
12283         * LyXView.h (setWindowTitle): signature changed.
12284         * XFormsView.h (setWindowTitle): ditto.
12285
12286 2002-01-02  Juergen Vigna  <jug@sad.it>
12287
12288         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12289
12290 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12291
12292         * screen.C (topCursorVisible): introduce a temp var for
12293         text->cursor.row(), handle the case where this row is null. (kindo
12294         hachish)
12295
12296         * text2.C (setCursor): add a couple of asserts.
12297
12298         * paragraph.h (inset_iterator): add -> operator
12299
12300         * paragraph.[Ch] (autoDeleteInsets): remove member function
12301
12302         * BufferView2.C (removeAutoInsets): rewrite to handle the old
12303         cursor pos correctly and handle inset deletion by itself.
12304         (insertErrors): move iterator declaration out of for expression
12305
12306         * lyxtextclass.C: add <algorithm>
12307
12308         * Makefile.am: added the new files to sources, removed layout.C
12309
12310         * layout.C: removed file
12311
12312         * layout.h: remove LYX_DUMMY_LAYOUT
12313
12314         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12315         layout.
12316
12317         * lyxlayout.[Ch]:
12318         * lyxtextclass.[Ch]:
12319         * lyxtextclasslist.[Ch]: new files
12320
12321         * include order changes to a lot of files, also changes because of
12322         the six new files.
12323
12324 2001-12-27  Juergen Vigna  <jug@sad.it>
12325
12326         * buffer.C (asciiParagraph): more fixes.
12327
12328         * tabular.C (ascii): make ascii export support export of only the
12329         data separated by a column-delimiter.
12330         (ascii): better support for ascii export.
12331
12332         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12333
12334 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12335
12336         * tabular_funcs.C: use a "using std::getline" instead of the
12337         previous fix from Angus (necessary for cxx + lyxstring)
12338
12339 2001-12-24  Juergen Vigna  <jug@sad.it>
12340
12341         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12342
12343         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12344         problems. First check a minipage also if we have some ert-contents
12345         (not only on par->size(), second set the right depth of the paragraph
12346         on the relink to the root-paragraph-list!
12347
12348         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12349         which then did not anymore update the main paragraphs on undo/redo!
12350
12351 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12352
12353         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12354         code. Support all font-changing funcs (even those which are not in
12355         menu currently). Support for reporting font settings in
12356         mathed (disabled until Andre provides a function on mathed's side).
12357
12358         * func_status.h (toggle): small helper function to set toggle
12359         state on a flag.
12360
12361 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
12362
12363         * tabular_funcs.C: getline -> std::getline
12364
12365 2001-12-21  Juergen Vigna  <jug@sad.it>
12366
12367         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12368         accessed and could be 0 (I couldn't generate this but it seems
12369         Michael could!).
12370
12371 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12372
12373         * tabular_funcs.C: add LIstream.h, move write_attribute to..
12374         * tabular_funcs.h: here and include iosfwd
12375
12376 2001-12-20  Juergen Vigna  <jug@sad.it>
12377
12378         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12379         inside inset but undo_par was.
12380
12381 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12382
12383         * Thesaurus.C: always include <config.h> in sources.
12384
12385         * Painter.h:
12386         * lyxlookup.h:
12387         * box.h: do not include <config.h> in header files
12388
12389         * text.C (paintLastRow): remove unused variable
12390
12391         * text.C (transformChar):
12392         (insertChar):
12393         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12394
12395         * Painter.C (text):
12396         * font.C (width): rewrite to use uppercase() instead of
12397         islower/toupper.
12398
12399         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12400
12401 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
12402
12403         * lyxfind.C: clean up of find failure position change
12404
12405 2001-12-20  Juergen Vigna  <jug@sad.it>
12406
12407         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12408
12409         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12410         (TeXRow): added to LaTeX a single tabular row.
12411         (TeXLongtableHeaderFooter): added to output LT-h/f data.
12412         (Latex): simplified and finally good LT-h/f support.
12413         (various_functions): just small adaptions for LT-h/f support.
12414
12415         * tabular_funcs.[hC]: added and moved here all not classfunctions
12416         of LyXTabular.
12417
12418 2001-12-19  Juergen Vigna  <jug@sad.it>
12419
12420         * tabular.[Ch]: better support for longtabular options (not finished
12421         yet!)
12422
12423 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12424
12425         * text.C (paintLastRow): use the label font instead of the font of
12426         the last character to compute the size of *_BOX. This makes more
12427         sense and avoids a crash with empty paragraphs.
12428         Use Painter::rectangle to draw EMPTY_BOX.
12429
12430 2001-12-19  Juergen Vigna  <jug@sad.it>
12431
12432         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12433         the paragraphs if the replaced paragraph is not the first one!
12434         Tried to delete not used paragraphs but does not work yet so for
12435         now it's inside #ifdef's and by default off!
12436
12437 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12438
12439         * MenuBackend.C: include "lyx_main.h" instead of declaring
12440         lastfiles (actually was declared as LastFiles* instead of a
12441         scoped_ptr).
12442
12443 2001-12-17  Juergen Vigna  <jug@sad.it>
12444
12445         * tabular.C (AppendColumn): applied John's fix
12446
12447 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
12448
12449         * BufferView.h:
12450         * BufferView.C:
12451         * BufferView_pimpl.h:
12452         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12453
12454         * Makefile.am:
12455         * box.h: new start of class for above
12456
12457         * lyxfunc.C: ignore space-only minibuffer dispatches.
12458           Show the command name when it doesn't exist
12459
12460         * minibuffer.C: don't add empty lines to the history
12461
12462         * minibuffer.C: add a space on dropdown completion
12463
12464 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
12465
12466         * text.C: fix line above/below drawing in insets
12467
12468 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12469
12470         * lyxlength.C (LyXLength): Initialize private variables.
12471
12472 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
12473
12474         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12475         when inserting error insets.
12476
12477 2001-12-13  Juergen Vigna  <jug@sad.it>
12478
12479         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12480         actually sometimes the before-paragraph.
12481         (setUndo): don't clear the redostack if we're not actually undoing!
12482
12483 2001-12-06  Juergen Vigna  <jug@sad.it>
12484
12485         * undo_funcs.C (textHandleUndo): well after John's hint I got here
12486         and fixed redoing of main paragraph, so we can use it now ;)
12487
12488         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12489
12490 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12491
12492         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12493         Juergen's request
12494
12495 2001-12-13  André Pönitz <poenitz@gmx.net>
12496
12497         * undostack.[Ch]:
12498         * undo_func.C: minor cleanup
12499
12500 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12501
12502         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12503         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12504         font in urw-fonts package which is marked as -urw-fontspecific and
12505         does not work (incidentally, changing the encoding in the
12506         fonts.dir of this package to -adobe-fontspecific fixes the
12507         problem).
12508
12509         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12510         is a crash when undoing first paragraph (Juergen, please take a
12511         look). THis does not mean the undo fix is wrong, just that it
12512         uncovers problems.
12513
12514         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12515         the (Paragraph*) version when needed instead of duplicating the
12516         code.
12517
12518         * text.C (workWidth): use Inset::parOwner to find out where the
12519         inset has been inserted. This is a huge performance gain for large
12520         documents with lots of insets. If Inset::parOwner is not set, fall
12521         back on the brute force method
12522
12523         * paragraph_pimpl.C (insertInset):
12524         * paragraph.C (Paragraph):
12525         (cutIntoMinibuffer): set parOwner of insets when
12526         inserting/removing them
12527
12528         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12529
12530 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
12531
12532         * commandtags.h:
12533         * LyXAction.C:
12534         * lyx_main.C:
12535         * lyxfunc.C:
12536         * mathed/formulabase.C:
12537         * mathed/math_cursor.[Ch]:
12538         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12539
12540
12541 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12542
12543         * lyxlength.[Ch] (operator!=): new function
12544
12545 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12546
12547         * text.C (workWidth): use Inset::parOwner to find out where the
12548         inset has been inserted. This is a huge performance gain for large
12549         documents with lots of insets. If Inset::parOwner is not set, fall
12550         back on the brute force method
12551
12552         * paragraph_pimpl.C (insertInset):
12553         * paragraph.C (Paragraph):
12554         (cutIntoMinibuffer): set parOwner of insets when
12555         inserting/removing them
12556
12557         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12558
12559 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12560
12561         * tabular-old.C (getTokenValue):
12562         * tabular.C (getTokenValue):
12563         (write_attribute): new versions for LyXLength
12564         (everywhere): adjust the use of widths
12565
12566         * tabular.h: change the type of widths from string to LyXLength
12567
12568 2001-12-11  Ben Stanley <bds02@uow.edu.au>
12569
12570         * paragraph.C: fixed missing line number count when exporting
12571         Environments to LaTeX file
12572
12573         * buffer.C: added informational message for checking line numbers.
12574
12575 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12576
12577         * text2.C (deleteEmptyParagraphMechanism): if there is only one
12578         paragraph, do the 'double space' part, but not the 'empty
12579         paragraph' one.
12580
12581         * text.C (workWidth): small optimization
12582         (getLengthMarkerHeight): use minimal size for negative lengths.
12583
12584 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
12585
12586         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12587
12588         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12589
12590 2001-12-11  André Pönitz <poenitz@gmx.net>
12591
12592         * FontLoader.C:
12593         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12594
12595 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12596
12597         * text2.C: keep selection on a setFont()
12598
12599 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12600
12601         * lyx_cb.C: another bv->text misuse, from insert label
12602
12603 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12604
12605         * kbsequence.h:
12606         * kbsequence.C: re-instate nmodifier mask
12607
12608 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
12609
12610         * lyx_main.h: make lyxGUI private.
12611
12612 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12613
12614         * lyxfind.C: place the cursor correctly on failed search
12615
12616 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12617
12618         * text.C (getLengthMarkerHeight): for small heights, the arrows
12619         are not always on top/bottom of the text
12620         (drawLengthMarker): smaller arrows; take the left margin in
12621         account; draw also vfills.
12622         (paintFirstRow):
12623         (paintLastRow): remove special code for vfill and standard spaces,
12624         since everything is handled in drawLengthMarker now.
12625
12626 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12627
12628         * buffer.C (insertErtContents): try to handle font and language
12629         interaction a bit better.g
12630
12631         * ColorHandler.C (updateColor): change the hash to cover the whole
12632         LColor enum, ws cleanup
12633         (getGCLinepars): ditto
12634         (getGCLinepars): only lookup in the linecache once.
12635
12636 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
12637
12638         * iterators.C (operator++): Make the iterator more robust
12639
12640         * BufferView2.C (removeAutoInsets): Use paragraph iterators
12641         (John's patch)
12642         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12643
12644 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12645
12646         * lyxtext.h:
12647         * text.C: better added space drawing
12648
12649 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12650
12651         * LyXView.C:
12652         * BufferView2.C: fix layout combo update on inset unlock
12653
12654 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12655
12656         * Makefile.am: don't compile unused files
12657
12658 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12659
12660         * lyxfunc.C:
12661         * commandtags.h:
12662         * LyXAction.C: remove old LFUN_LAYOUTNO
12663
12664 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12665
12666         * paragraph_pimpl.h:
12667         * paragraph_pimpl.C: isTextAt() doesn't need font param
12668
12669 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12670
12671         * lyxlex.h:
12672         * lyxlex.C: little cleanup
12673
12674 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12675
12676         * BufferView_pimpl.C: fix insertAscii for insets
12677
12678 2001-12-05  Juergen Vigna  <jug@sad.it>
12679
12680         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12681         set the right font on the "multi" paragraph paste!
12682
12683 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12684
12685         * trans_decl.h:
12686         * trans_mgr.[Ch]:
12687         * trans.[Ch]:
12688         * lyxgluelength.C:
12689         * lyxlength.C: remove out-commented code.
12690
12691         * BufferView_pimpl:
12692         * CutAndPaste.C:
12693         * DepTable.C:
12694         * buffer.C:
12695         * chset.C:
12696         * lastfiles.C:
12697         * lyxlex.C:
12698         * lyxlex_pimpl.C:
12699         * lyxserver.C:
12700         * screen.C:
12701         * tabular-old.C:
12702         * tabular.C:
12703         * text.C:
12704         * trans_mgr.C:
12705         * vc-backend.C: change "while(" to "while ("
12706
12707         * lyxlength.[Ch]: add zero function to check if length is zero or
12708         not
12709         * lyxgluelength.C: use it
12710
12711 2001-12-05  Allan Rae  <rae@lyx.org>
12712
12713         * lyxlength.C: Attempted a fix for the abs(int) header selection.
12714         Works for 2.95.3, from what I understand of Garst's reports this should
12715         work for other g++ versions.  We're screwed if the abs(int) definition
12716         changed between bugfix releases of gcc.
12717
12718 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12719
12720         * text.C: fix chapter label offset !
12721
12722 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12723
12724         * lyxtext.h:
12725         * text.C: fix hfill at end of line, clean up
12726
12727 2001-12-04  Juergen Vigna  <jug@sad.it>
12728
12729         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12730         that we force an update of the inset and it's owners if neccessary.
12731
12732 2001-12-03  Juergen Vigna  <jug@sad.it>
12733
12734         * text.C (rowLast): simplified code
12735
12736 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12737
12738         * lyxfunc.C: fix show options on timeout
12739
12740 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12741
12742         * screen.C (topCursorVisible): scroll half a page when the cursor
12743         reached top of bottom of screen
12744
12745 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
12746
12747         * minibuffer.C: deactivate on loss of focus
12748
12749 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12750
12751         * vspace.[Ch] (operator!=): add operator.
12752
12753 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
12754
12755         * BufferView_pimpl.C: refuse to open an inset when
12756         there's a selection.
12757
12758 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
12759
12760         * BufferView_pimpl.C: allow to click on RHS of full row insets
12761
12762 2001-11-30  Juergen Vigna  <jug@sad.it>
12763
12764         * tabular.C (LyXTabular): add a same_id to set the same id's in the
12765         insets for undo reasons.
12766
12767 2001-11-28  André Pönitz <poenitz@gmx.net>
12768
12769         * vspace.[Ch]: cosmetical changes
12770
12771 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12772
12773         * LyXAction.h:
12774         * LyXAction.C:
12775         * lyxfunc.h:
12776         * lyxfunc.C:
12777         * kbmap.h:
12778         * kbmap.C:
12779         * lyxrc.C:
12780         * kbsequence.h:
12781         * kbsequence.C: part re-write of old kb code
12782
12783         * Painter.C:
12784         * WorkArea.C: remove Lgb_bug_find_hack
12785
12786 2001-11-30  José Matos <jamatos@fep.up.pt>
12787
12788         * buffer.C (makeDocBookFile): add a comment to point a hack.
12789         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12790         Fixed a double write of labels.
12791
12792 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12793
12794         * LaTeX.C:
12795         * LaTeX.h Fixed bug in LaTeX class where it would not
12796         re-run latex if no depfiles were changed, but the .dvi was removed.
12797
12798 2001-11-28  André Pönitz <poenitz@gmx.net>
12799
12800         * all the files from the change on 2001/11/26:
12801         use lyx::layout_type instead of LyXTextClass::size_type
12802         use lyx::textclass_type instead of LyXTextClassList::size_type
12803
12804 2001-11-29  Juergen Vigna  <jug@sad.it>
12805
12806         * text.C: added support for paragraph::isFreeSpacing()
12807
12808         * buffer.C: same as above
12809
12810         * paragraph.h: inserted isFreeSpacing() function to enable
12811         FreeSpacing inside InsetERT.
12812
12813         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12814         of the paragraph's in the cut/copy buffer to 0!
12815
12816         * text2.C (removeRow): remove the assert as it can!
12817
12818         * lyxtext.h: added helper function firstRow returning firstrow and
12819         made firstrow private again.
12820
12821         * BufferView2.C (lockInset): don't relock if we're already locked!
12822
12823         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12824         the only paragraph.
12825         (removeRow): added Assert::(firstrow)
12826
12827         * debug.C: forgot to add INSETTEXT here.
12828
12829 2001-11-28  Juergen Vigna  <jug@sad.it>
12830
12831         * sp_spell.C (initialize): changed error text to more general
12832         spellchecker command use (not only ispell!)
12833
12834         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12835
12836         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12837
12838 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12839
12840         * vspace.C: initialise lyxgluelength on failure
12841
12842 2001-11-28  Allan Rae  <rae@lyx.org>
12843
12844         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12845         declaration & definition that looks like a function declaration.
12846
12847 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12848
12849         * BufferView2.C (copy):
12850         (copyEnvironment): do not clear the selection when doing a copy.
12851
12852         * text.C (paintFirstRow): compilation fix
12853
12854 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
12855
12856         * tabular.C (Latex): correct line count when writing latex.
12857
12858 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
12859
12860         * paragraph_pimpl.h:
12861         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12862           bug a bit
12863
12864 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12865
12866         * text.C:
12867         * LColor.h:
12868         * LColor.C: change vfillline->added_space
12869
12870         * text.C: add markers and text for added space
12871
12872         * vspace.C: fix comment
12873
12874 2001-11-28  André Pönitz <poenitz@gmx.net>
12875
12876         * paragraph.C: whitespace changes
12877         * all the other files from the change on 2001/11/26:
12878         change *::pos_type into lyx::pos_type
12879
12880 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
12881
12882         * buffer.C (parseSingleLyXformat2Token): Set the language to the
12883         language of the document when inserting error insets.
12884
12885 2001-11-26  André Pönitz <poenitz@gmx.net>
12886
12887         * BufferView_pimpl.[Ch]:
12888         *       CutAndPaste.C:
12889         * buffer.[Ch]:
12890         * lyxcursor.[Ch]:
12891         * lyxfind.C:
12892         * lyxfunc.C:
12893         * lyxrow.[Ch]:
12894         * paragraph.[Ch]:
12895         * paragraph_pimpl.[Ch]:
12896         * sp_spell.C:
12897         * text.C:
12898         * text2.C: reduce header dependencies, introduce type for positions
12899
12900 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12901
12902         * <various>: change to use Alert.h
12903
12904 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
12905
12906         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12907         when encountering an unknown token.
12908         (readLyXformat2): Show an error message if there were unknown tokens.
12909
12910 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
12911
12912         * BufferView2.C:
12913         * BufferView_pimpl.C:
12914         * buffer.C:
12915         * paragraph.h:
12916         * text.C:
12917         * text2.C: use par->isInset()
12918
12919 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12920
12921         * paragraph_pimpl.h:
12922         * paragraph_pimpl.C: cleanup
12923
12924 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12925
12926         * text2.C (removeRow):
12927         * text.C (setHeightOfRow): remove useless (and costly) call to
12928         getRow.
12929
12930 2001-11-20  Allan Rae  <rae@lyx.org>
12931
12932         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12933         Now need Inset*::checkInsertChar() to return true for appropriate
12934         cases so that the characters in the minibuffer will actually be
12935         inserted.
12936
12937 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12938
12939         * text.C: change the order of the includes.
12940         (workWidth): initialize it at once.
12941         (workWidth): make maxw unsigned
12942         (setHeightOfRow): remove unused variable (inset)
12943         (selectSelectedWord): remove unused variable (inset)
12944         (paintRowText): fix drawing of hfill characters, and clean up a bit.
12945
12946 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12947
12948         * lyxserver.C (emergencyCleanup): do not try to close pipes if
12949         server is not running.
12950         (openConnection):
12951         (closeConnection): add debug info when server is disabled.
12952
12953         * ColorHandler.C (getGCForeground): send debug message to GUI
12954         channel.
12955
12956         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12957
12958         * kbmap.C (bind): modify because return conventions of
12959         kb_sequence::parse have changed.
12960
12961         * kbsequence.C (parse): only ignore spaces and not any stupid
12962         control character. This avoids tests like s[i] <= ' ', which are
12963         guaranteed to fail with 8bit characters and signed chars.
12964         Change return code to string::npos when there have been no error
12965         (0 was a bad idea when error is at first character)
12966
12967 2001-11-14  José Matos  <jamatos@fep.up.pt>
12968
12969         * buffer.h:
12970         * buffer.C (simpleDocBookOnePar): removed unused argument.
12971
12972 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12973
12974         * text.C (selectNextWordToSpellcheck): do not test explicitely for
12975         insets which are part of a word. Paragraph::isLetter takes care of
12976         that now. Use Paragraph::isInset to identify insets.
12977         (selectSelectedWord): do not test for hyphenation break.
12978
12979         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12980         that protected spaces are considered as spaces.
12981
12982         * paragraph.C (isLetter): cleanup the code for ispell extras; use
12983         Inset::isLetter.
12984
12985 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
12986
12987         * lyxserver.h:
12988         * lyxserver.C: fix it. and small cleanup.
12989
12990 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12991
12992         * BufferView_pimpl.C: use inline helpers
12993
12994         * LaTeXFeatures.h:
12995         * LaTeXFeatures.C: fix typos
12996
12997         * Spacing.h:
12998         * Spacing.C: move spacing_string into class
12999
13000         * ToolbarDefaults.C: move stuff into namespace anon
13001
13002         * layout.h: update enum
13003
13004         * lyxfunc.C: use better debug
13005
13006         * minibuffer.h: fix typo
13007
13008         * debug.h:
13009         * debug.C:
13010         * WorkArea.C: add and use Debug::WORKAREA
13011
13012         * lyxtext.h:
13013         * text.C:
13014         * text2.C: code re-organisation, inline helpers
13015
13016 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
13017
13018         * Layout.C: replaced a few cases of std::vector.size() == 0 with
13019         std::vector.empty().
13020
13021 2001-11-09  Allan Rae  <rae@lyx.org>
13022
13023         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13024         '\n's after tables.  Tabular and ERT inset work now makes this no
13025         longer necessary.
13026
13027 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13028
13029         * minibuffer.h:
13030         * minibuffer.C: fix crash, improve drop-down completion
13031
13032 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
13033
13034         * lyxserver.h:
13035         * lyxserver.C: invalidate fd's when doing endPipe()
13036
13037 2001-11-08  José Matos  <jamatos@fep.up.pt>
13038
13039         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13040         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13041
13042         * paragraph.h:
13043         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13044
13045 2001-11-07  José Matos  <jamatos@fep.up.pt>
13046
13047         * buffer.h:
13048         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13049         const qualifier.
13050
13051         * buffer.C (sgmlOpenTag):
13052         * buffer.C (sgmlCloseTag): removed debug info.
13053
13054         * buffer.h (sgmlOpenTag):
13055         * buffer.h (sgmlCloseTag): made public.
13056
13057 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13058
13059         * buffer.C (saveParamsAsDefaults):
13060         * lyx_cb.C (MenuLayoutSave): remove
13061
13062         * LyXAction.C (init):
13063         * commandtags.h:
13064         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13065
13066 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13067
13068         * buffer.C (setPaperStuff): removed from here...
13069
13070         * bufferparams.C (setPaperStuff): ... and moved there.
13071
13072 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
13073
13074         * minibuffer.h:
13075         * minibuffer.C:
13076         * XFormsView.C: add support for drop-down completion
13077
13078 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
13079
13080         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13081         commands.
13082
13083 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13084
13085         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13086         disabled.
13087
13088 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
13089
13090         * lyx_main.C: change ref to known bugs
13091
13092 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
13093
13094         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13095         to work around older babel problems.
13096
13097 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13098
13099         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13100
13101 2001-10-24  Juergen Vigna  <jug@sad.it>
13102
13103         * tabular-old.C (ReadOld): below variable changes reflected.
13104
13105         * tabular.[Ch]: added ltType struct for longtable header/footer
13106         defines and changed all instances where they are used. Added
13107         future support for double top/bottom rows.
13108
13109 2001-10-24  José Matos  <jamatos@fep.up.pt>
13110
13111         * buffer.h (docbookHandleCaption):
13112         * buffer.C (docbookHandleCaption): removed unused function.
13113         (makeDocBookFile): moved docbook supported version to v4.1.
13114
13115 2001-10-24  José Matos  <jamatos@fep.up.pt>
13116
13117         * tabular.h:
13118         * tabular.C (docbookRow): new function to export docbook code of a row.
13119         (DocBook): now honors the longtable flags.
13120
13121 2001-10-23  José Matos  <jamatos@fep.up.pt>
13122
13123         * LaTeXFeatures.h:
13124         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13125         of the lyx defined sgml entities used in a docbook/linuxdoc document.
13126
13127         * buffer.C (makeLinuxDocFile):
13128         (makeDocBookFile): reworked the preamble, more clean, and with
13129         support for lyx defined entities. Changed the document declaration
13130         to be more XML friendly.
13131
13132         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13133         if we need to output XML that should be done with a filter.
13134
13135 2001-10-22  Juergen Vigna  <jug@sad.it>
13136
13137         * sp_pspell.h (class PSpell): add alive function needed in the
13138         controller to see if the spellchecker could be started.
13139
13140 2001-10-22  Juergen Vigna  <jug@sad.it>
13141
13142         * buffer.C (insertStringAsLines): modify the font for inserting
13143         chars in certain conditions by calling checkInsertChar(font).
13144
13145 2001-10-19  Juergen Vigna  <jug@sad.it>
13146
13147         * text.C (workWidth): use getRow instead of wrong algorithm.
13148         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13149
13150 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
13151
13152         * lyxserver.h:
13153         * lyxserver.C:
13154         * lyx_main.h:
13155         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13156
13157 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13158
13159         * text.C (workWidth): do not search for the exact row when
13160         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13161         optimization for big documents.
13162
13163 2001-10-18  Juergen Vigna  <jug@sad.it>
13164
13165         * text.C (workWidth): new function with added Inset * parameter.
13166
13167 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13168
13169         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13170
13171         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13172         change return type of getColumnNearX.
13173
13174
13175         * text.C (changeRegionCase): use uppercase/lowercase instead of
13176         toupper/tolower.
13177         (leftMargin):
13178         (rightMargin): simplify code by factoring out the uses of
13179         textclasslist.
13180         (labelFill):
13181         (numberOfHfills):
13182         (setHeightOfRow):
13183         (appendParagraph): use Paragraph::size_type
13184
13185 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13186
13187         * vspace.C (asLatexString): add a missing break
13188
13189 2001-10-15  Herbert Voss  <voss@perce.de>
13190
13191         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13192
13193 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13194
13195         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13196         is not available.
13197
13198 2001-10-10  André Pönitz <poenitz@gmx.net>
13199
13200         * lyxfunc.C: removed greek_kb_flag.
13201
13202 2001-10-10  Herbert Voss  <voss@perce.de>
13203
13204         * lyx_main.C: delete global string help_lyxdir.
13205
13206 2001-10-09  Herbert Voss  <voss@perce.de>
13207
13208         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13209
13210         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13211
13212         * lyx_main.C: added global string help_lyxdir.
13213
13214         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13215
13216 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13217
13218         * lyxrc.C (set_font_norm_type): support iso8859-4
13219
13220 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
13221
13222         * LaTeX.C (deplog): add another regex for MikTeX
13223
13224 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13225
13226         * lyxrc.C (set_font_norm_type): support iso8859-3
13227
13228 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13229
13230         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13231
13232         * LaTeXFeatures.C: remove special case of french and index
13233
13234         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13235         before \begin{document}). This solves several incompatibilities.
13236
13237 2001-10-03  Garst Reese  <reese@isn.net>
13238
13239         * lyx_cb.C: change CheckTex error msg.
13240
13241 2001-10-03  José Matos  <jamatos@fep.up.pt>
13242
13243         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13244
13245 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13246
13247         * .cvsignore: update
13248
13249         * lyx_main.C (commandLineVersionInfo): use new style version info.
13250
13251         * buffer.C (writeFile):
13252         (makeLaTeXFile):
13253         (makeLinuxDocFile):
13254         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13255
13256         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13257
13258         * version.h: update to use stuff in version.C
13259
13260         * version.C.in: new file. Contains version information determined
13261         at compile time. This is a merging of version.h and
13262         version_info.h.in.
13263
13264 2001-10-03  Juergen Vigna  <jug@sad.it>
13265
13266         * BufferView_pimpl.C (update): don't change "dirty" status in
13267         updateInset call.
13268
13269 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
13270
13271         * WorkArea.C (c-tor): re-position version string slightly.
13272
13273 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
13274
13275         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13276         revert to previous code.
13277
13278         WorkArea.[Ch]: (show, destroySplash): methods removed.
13279
13280         WorkArea.C: rework code so that it's an amalgam of the codes before and
13281         after the splash screen was moved to WorkArea.
13282
13283 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13284
13285         * lyxrc.C (read):
13286         * vspace.C (inPixels):
13287         (lyx_advance):
13288         * kbmap.C (bind):
13289         * buffer.C (insertStringAsLines):
13290         (asciiParagraph): fix types to be large enough
13291
13292         * lyxlex_pimpl.h: change member status from short to int
13293
13294         * layout.h: fix type of endlabeltype
13295
13296         * kbmap.C (bind):
13297         * kbsequence.C (parse): change return type to string::size_type
13298
13299         * LaTeX.C (updateBibtexDependencies): comment out unneeded
13300         variable
13301
13302         * Bullet.C (bulletSize):
13303         (bulletEntry): do not use short ints as parameters
13304
13305         * BufferView2.C (insertLyXFile): change a char to an int.
13306
13307         * WorkArea.C (WorkArea): remove unneeded floats in computation
13308
13309 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
13310
13311         * buffer.C (asciiParagraph): Treat '\\' as other chars.
13312
13313         * paragraph.C (asString): Do not ignore newline/hfill chars when
13314         copying to the clipboard.
13315
13316 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
13317
13318         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13319         after a multi-line inset.
13320
13321 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
13322
13323         * paragraph.C (validate): Set NeedLyXFootnoteCode
13324
13325 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13326
13327         * lyxfont.C (LyXSizeNames): changed increase-error to increase
13328         and decrease-error to decrease.
13329
13330 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13331
13332         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13333         it more readable (should be equivalent)
13334
13335 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13336
13337         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13338
13339 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13340
13341         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13342         of a cursor (row, etc.) after a character has been deleted
13343         (deleteEmptyParagraphMechanism): call the method above on _all_
13344         cursors held by the LyXText when a double space has been
13345         detected/deleted.
13346
13347 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13348
13349         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13350         pixmap.
13351         (resizeCurrentBuff): remove code to destroy the old splash dialog.
13352
13353         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13354         background. Use greyOut() and the new show() methods to toggle between
13355         the foreground and background. Add code to remove the splash after
13356         its initial showing.
13357
13358         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13359         (create_forms): no longer call Dialogs::showSplash.
13360
13361 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13362
13363         * .cvsignore: add version_info.h
13364
13365 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13366
13367         * version_info.h.in: new file
13368
13369         * Makefile.am: add version_info.h.in
13370
13371         * lyx_main.C (commandLineVersionInfo): use version_info defined in
13372         version_info.h instead of VERSION_INFO
13373
13374 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
13375
13376         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13377         The ERT inset now returns string().
13378
13379 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
13380
13381         * lyxtext.h, text.C (selectNextWord): renamed as
13382         selectNextWordToSpellcheck.
13383
13384         * text.C (selectNextWordToSpellcheck): Modified to not select
13385         words inside an ERT inset.
13386
13387 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13388
13389         * lyx_cb.C (MenuLayoutSave): change a bit the question
13390
13391         * sp_base.h: include <sys/types.h>
13392
13393 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
13394
13395         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13396
13397 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
13398
13399         * several files: fix typos in user-visible strings
13400
13401 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13402
13403         * text2.C (pasteSelection): do not set the selection, since it
13404         will be cleared later. Actually, the intent was to fix the way the
13405         selection was set, but I figured rmoving the code was just as good.
13406
13407 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
13408
13409         * FontLoader.C (available): Check if font is available without
13410         loading the font.
13411
13412 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
13413
13414         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13415
13416 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
13417
13418         * lyxrc.[Ch]: added display_graphics variable and associated code.
13419
13420 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13421
13422         * bufferparams.C (hasClassDefaults): new method. Returns true if
13423         the buffer parameters correspond to known class defaults
13424
13425 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
13426
13427         * XFormsView.C (show): set minimum size to the main window.
13428
13429 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13430
13431         * text2.C (copySelection):
13432         (cutSelection):
13433         * lyxfind.C (LyXReplace):
13434         * BufferView_pimpl.C (Dispatch): pass the correct flag to
13435         LyXText::selectionAsString.
13436
13437         * paragraph.C (asString): add "label" argument to the second form
13438
13439         * text2.C (selectionAsString): add "label" argument and pass it to
13440         Paragraph::asString.
13441
13442 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13443
13444         * lyx_main.C (commandLineHelp): remove version information
13445
13446 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
13447
13448         * lyx_main.C: add -version commandline option
13449
13450 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13451
13452         * paragraph.h: make the optional constructor arg required instead.
13453         some modifications to other files because of this.
13454
13455         * minibuffer.C (C_MiniBuffer_peek_event): make it static
13456
13457         * lyxserver.C (C_LyXComm_callback): make it static
13458
13459         * lyx_main.C (error_handler): make it static
13460
13461         * lyx_gui.C (LyX_XErrHandler): make it static
13462
13463         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13464
13465         * WorkArea.C: make the extern "C" methods static.
13466
13467         * Makefile.am (lyx_LDADD): simplify
13468
13469 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13470
13471         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13472         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13473
13474         * LyXAction.C (init):
13475         * lyxfunc.C (dispatch): associated code removal.
13476
13477 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13478
13479         * lyxfont.h (isSymbolFont): shut off warning
13480
13481         * text.C (setHeightOfRow):
13482         (getVisibleRow): fix crash with empty paragraphs which have a
13483         bottom line
13484
13485 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
13486
13487         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13488         code.
13489
13490 2001-09-04  José Matos  <jamatos@fep.up.pt>
13491         * buffer.C
13492         * buffer.h
13493         * tabular.C (docbook): rename docBook method to docbook.
13494
13495 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13496
13497         * Makefile.am: add dependencies to main.o.
13498
13499 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
13500
13501         * FontLoader.C (available): Return false if !lyxrc.use_gui
13502
13503 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
13504
13505         * FontInfo.C (query):
13506         * converter.C (view):
13507         * importer.C (Import):
13508         * exporter.C (Export): Can not -> cannot.
13509
13510 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
13511
13512         * BufferView_pimpl.C: allow to create index inset even if
13513           string is empty
13514
13515 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13516
13517         * buffer.C (getLists): replace boost::tie code with an explicit pair
13518         as boost::tie can break some compilers.
13519
13520         * iterators.h: Added a std:: declaration to the return type of
13521         ParIterator::size.
13522
13523 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
13524
13525         * lyxrc.C: add help for view_dvi_paper_option, default to safe
13526           case.
13527
13528 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
13529
13530         * iterators.[Ch]: New files. Provide paragraph iterators.
13531
13532         * buffer.C (changeLanguage): Use paragraph iterators.
13533         (isMultiLingual): ditto
13534
13535         * BufferView2.C (ChangeInsets): Use paragraph iterators.
13536
13537 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
13538
13539         * FontLoader.C: Support for cmr font.
13540
13541 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
13542
13543         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13544         (available): New method.
13545
13546         * FontInfo.C (getFontname): Use scalable fonts even when
13547         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13548         found.
13549
13550 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13551
13552         * converter.C (Formats::view): reverted! Incorrect fix.
13553
13554 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13555
13556         * converter.C (Formats::view): only output the -paper option
13557         if the dvi viewer is xdvi, thereby fixing bug #233429.
13558
13559 2001-08-23  Herbert Voss  <voss@perce>
13560
13561         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13562
13563 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
13564
13565         * Spacing.h (Spacing): Set space to Default on in the default
13566         constructor.
13567
13568 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13569
13570         * vc-backend.h (RCS::versionString): add RCS to version
13571         (CVS::versionString): add CVS to version
13572
13573         * vc-backend.C (scanMaster): do not add CVS to version.
13574         (scanMaster): do not add RCS to version
13575
13576         * lyxvc.C (versionString): new method
13577
13578         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13579
13580 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13581
13582         * Spacing.C (set): initialize fval
13583
13584 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
13585
13586         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13587         " or \.
13588
13589 2001-08-16  Juergen Vigna  <jug@sad.it>
13590
13591         * lyxfunc.C (dispatch): implemented the new FINISHED states.
13592
13593 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13594
13595         * BufferView_pimpl.C:
13596         * figureForm.C:
13597         * lyxtext.h:
13598         * text2.C: setParagraph takes linespacing now
13599
13600 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
13601
13602         * LyxAction.C: add internal LFUN_CITATION_INSERT
13603
13604         * LyXView.C: actually apply fix
13605
13606         * bufferlist.C: fix open non-existent file
13607
13608         * lyxfind.C: fix indentation
13609
13610         * lyxfunc.C: remove unneeded assert, fix typo
13611
13612 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13613
13614         * MenuBackend.C: use "Floatname List"
13615
13616 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
13617
13618         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13619         when converting LaTeX layout to insetERT.
13620         Generate a non-collapsed float when reading old float
13621
13622 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13623
13624         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13625         ERT insets.
13626
13627 2001-08-13  Juergen Vigna  <jug@sad.it>
13628
13629         * text.C (fill): return 0 instead of 20 as this seems to be the more
13630         correct value.
13631
13632 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13633
13634         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13635         lyxrc.font_norm.
13636
13637 2001-08-13  Juergen Vigna  <jug@sad.it>
13638
13639         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13640         casesensitive off.
13641         (SearchBackward): comment out the unlocking of the inset_owner this
13642         should not be needed!
13643
13644 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
13645
13646         * Many files: Remove inherit_language, and add latex_language
13647
13648         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13649         collapsible insets.
13650
13651 2001-08-10  Juergen Vigna  <jug@sad.it>
13652
13653         * text.C (prepareToPrint): fixed hfill-width in draw!
13654
13655         * BufferView2.C (selectLastWord): save the selection cursor as this
13656         now is cleared in the function LyXText::clearSelection!
13657
13658 2001-08-08  Juergen Vigna  <jug@sad.it>
13659
13660         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13661         BACKSPACE type functions.
13662
13663         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13664         is only cutted from the document but not put in the cut-buffer, where
13665         still the old stuff should be.
13666
13667         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13668
13669         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13670
13671         * tabular.C (SetWidthOfCell): fixed special case where the width
13672         was not updated!
13673         (LeftLine): handle '|' in align_special.
13674         (RightLine): ditto
13675         (LeftAlreadyDrawed): ditto
13676         (SetWidthOfCell): ditto
13677
13678 2001-08-07  Juergen Vigna  <jug@sad.it>
13679
13680         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13681
13682 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13683
13684         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13685         * lyxlex.[hC]: ditto
13686
13687 2001-08-06  Juergen Vigna  <jug@sad.it>
13688
13689         * text.C (getVisibleRow): fix up row clearing a bit.
13690
13691 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13692
13693         * minibuffer.C: make sure the X server sees the changes in the input.
13694
13695 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13696
13697         * paragraph.C (getFont): split into...
13698         (getLabelFont): this
13699         (getLayoutFont): and this
13700         * paragraph_pimpl.C (realizeFont): calling this
13701
13702         * text2.C (getFont): split into...
13703         (getLayoutFont): this
13704         (getLabelFont): and this
13705         (realizeFont): all three calling this
13706
13707         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13708         files where used.
13709
13710 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13711
13712         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13713
13714 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
13715
13716         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13717         layouts from the Quote inset insertion.
13718
13719 2001-08-03  Juergen Vigna  <jug@sad.it>
13720
13721         * BufferView_pimpl.C (update): do the fitCursor only at the end!
13722
13723         * screen.C (drawFromTo): don't call fitcursor here and do the loop
13724         only if status not is already CHANGED_IN_DRAW (second level).
13725
13726         * text.C (draw): don't set the need_break_row when inside an
13727         InsetText LyXText.
13728
13729 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13730
13731         * buffer.C (parseSingleLyXformat2Token): handle more latex
13732         conversion cases.
13733
13734         * bufferview_funcs.[hC]: change function names to
13735         begin with small char, adjust other files.
13736
13737 2001-08-02  André Pönitz <poenitz@gmx.net>
13738
13739         * lyxfunc.C:
13740         BufferView_pimpl.C: remove broken special code for math-greek
13741
13742 2001-08-02  Juergen Vigna  <jug@sad.it>
13743
13744         * BufferView_pimpl.C (update): redone this function so that we
13745         update the text again if there was a CHANGE_IN_DRAW.
13746
13747         * screen.C (cursorToggle): removed LyXText parameter and recoded.
13748         (drawFromTo): added a new internal bool which is used by draw() and
13749         redraw() function.
13750         (general): some cursor drawing problems fixed.
13751
13752 2001-08-01  Juergen Vigna  <jug@sad.it>
13753
13754         * lyxfind.C (LyXFind): fixed
13755         (SearchForward): ditto
13756         (SearchBackward): ditto
13757
13758         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13759         spurius drawing of the cursor in the main area.
13760
13761         * text2.C (status): small fix which could lead to a segfault!
13762         (clearSelection): remove unneeded BufferView param.
13763
13764 2001-08-01  André Pönitz <poenitz@gmx.net>
13765
13766         * lyxfunc.C: small change due to changed mathed interface
13767
13768 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13769
13770         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13771
13772 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
13773
13774         * lyxfunc.c: fail gracefully if file doesn't exist
13775
13776         * LyXSendto.C:
13777         * buffer.C:
13778         * lyxfunc.C:
13779         * BufferView_pimpl.C: IsDirWriteable() proto changed
13780
13781         * LyXView.C: fix updateWindowTitle() to store the last title
13782
13783 2001-07-31  Juergen Vigna  <jug@sad.it>
13784
13785         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13786         the font (wrong since using of Paragraph::highestFontInRange).
13787
13788         * paragraph.C (highestFontInRange): added a default_size parameter.
13789
13790         * text.C (getVisibleRow): minor clear row changes (still not perfect).
13791         (setHeightOfRow): reformat
13792
13793 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13794
13795         * converter.[hC] + affected files: move to (inital-char)lowercase
13796         function names.
13797
13798         * ParagraphParameters.C (ParagraphParameters): remove commented code
13799
13800         * PainterBase.[Ch]: remove commented code
13801
13802         * LaTeXFeatures.h: add "bool floats" for float.sty
13803
13804         * LaTeXFeatures.C (LaTeXFeatures): init floats
13805         (require): handle float
13806         (getPackages): do it with floats
13807
13808 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13809
13810         * BufferView_pimpl.C (Dispatch): improve handling of
13811         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13812
13813         * commandtags.h: #include lyxfont.h here temporarily to avoid
13814         keybinding bug.
13815
13816         * bufferlist.h: include LString.h here.
13817
13818 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13819
13820         * text2.C (getStringToIndex): new method.
13821
13822 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
13823
13824         * *: Reduced header file dependencies all over.
13825
13826 2001-07-30  Baruch Even  <baruch@lyx.org>
13827
13828         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13829
13830 2001-07-29  Baruch Even  <baruch@lyx.org>
13831
13832         * buffer.C (readInset): Changed GRAPHICS to Graphics.
13833
13834 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13835
13836         * ParameterStruct.h (endif): add a default constructor to make
13837         sure that all variables is initialized.
13838
13839         * ParagraphParameters.C (ParagraphParameters): adjust
13840
13841 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13842
13843         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13844         index; also, check that there is something to index, and that it
13845         does not span over several paragraphs.
13846         (doubleClick): use WHOLE_WORD_STRICT for double click.
13847
13848         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13849
13850         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13851         scheme.
13852
13853 2001-07-26  Baruch Even  <baruch@lyx.org>
13854
13855         * buffer.C (readInset): Changed to call up InsetGraphics when reading
13856         an InsetFig figure, backwards compatible reading of old figure code.
13857
13858 2001-07-27  Juergen Vigna  <jug@sad.it>
13859
13860         * text2.C: font.realize function adaption.
13861
13862         * text.C (draw): add a warnings lyxerr text if needed.
13863
13864         * layout.C: font.realize function adaption.
13865
13866         * language.C: add inherit_language and implement it's handlings
13867
13868         * bufferview_funcs.C (StyleReset): remove language parameter from
13869         font creation (should be language_inherit now).
13870
13871         * bufferparams.C (writeFile): handle ignore_language.
13872
13873         * paragraph.C (getFontSettings): the language has to be resolved
13874         otherwise we have problems in LyXFont!
13875
13876         * lyxfont.C (lyxWriteChanges): added document_language parameter
13877         (update): removed unneeded language parameter
13878
13879         * paragraph.C (validate): fixed wrong output of color-package when
13880         using interface colors for certain fonts in certain environments,
13881         which should not seen as that on the final output.
13882
13883 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
13884
13885         * BufferView_pimpl.C:
13886         * Thesaurus.h:
13887         * Thesaurus.C:
13888         * Makefile.am:
13889         * commandtags.h:
13890         * LyXAction.C: add thesaurus support
13891
13892         * lyxfind.h:
13893         * lyxfind.C: add "once" parameter, for thesaurus, to not
13894           move to the next match
13895
13896 2001-07-26  Juergen Vigna  <jug@sad.it>
13897
13898         * lyxfont.C (realize): honor ignore_language too!
13899         (resolved): ditto.
13900
13901         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13902
13903         * text.C (draw): one place more for ignore_language to not draw
13904         itself!
13905
13906 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
13907
13908         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13909
13910 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13911
13912         * buffer.C (parseSingleLyXformat2Token): a more general fix for
13913         the minipage conversion problem.
13914
13915 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13916
13917         * buffer.C (parseSingleLyXformat2Token): check minipage if we
13918         insert an inset.
13919
13920 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13921
13922         * BufferView.h: don't forward declare WorkArea
13923
13924         * BufferView.C: don't include WorkArea.h
13925
13926 2001-07-25  André Pönitz <poenitz@gmx.net>
13927
13928         * commandtags.h:
13929         * LyXAction.C:
13930         * lyxfunc.C:  new LFUN 'math-space'
13931
13932         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13933
13934 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13935
13936         * text2.C (toggleInset): call open/close
13937
13938 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13939
13940         * lyxfunc.C (dispatch): add debug for the disabled case
13941
13942         * font.C (buttonText): make similar to rectText
13943
13944         * buffer.C (readInset): comment out parsing of insetlist and
13945         insttheorem
13946
13947         * PainterBase.C (rectText): small correction
13948
13949         * BufferView_pimpl.C: comment out insettheorem and insetlist
13950         * LyXAction.C: ditto
13951         * commandtags.h: ditto
13952
13953 2001-07-24  Juergen Vigna  <jug@sad.it>
13954
13955         * text.C (draw): honor the ignore_language.
13956
13957         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13958
13959 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13960
13961         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13962         char inset.
13963
13964 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13965
13966         * lyxtext.h: remove unused (and unimplemented) methods
13967
13968 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13969
13970         * text.C (getVisibleRow): honor background color
13971
13972         * PainterBase.h:
13973         * Painter.h: remove default color argument for fillRectangle
13974
13975         * text.C (backgroundColor): new method
13976
13977 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13978
13979         * text.C (getVisibleRow): adjust
13980
13981         * font.[Ch] (rectText): new method, metrics
13982         (buttonText): new method, metrics
13983
13984         * PainterBase.[hC]: make rectText and buttonText always draw and take
13985         fewer paramteres.
13986
13987 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13988
13989         * ToolbarDefaults.C (read):
13990         * MenuBackend.C (read): allow escaping in all strings
13991
13992         * BufferView_pimpl.C (insertAndEditInset): new method.
13993         (Dispatch): use insertAndEditInset whenever appropriate.
13994
13995         * BufferView_pimpl.C (insertNote): removed
13996
13997         * BufferView_pimpl.C (smartQuote): new method, moved from
13998         BufferView; if an insetquote cannot be inserted, insert a '"'
13999         character instead.
14000
14001         * BufferView2.C: remove insertCorrectQuote();
14002
14003         * lyxfunc.C (getStatus): Add support for all remaingin
14004         inset-insert lfuns.
14005
14006         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14007
14008         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14009         command (necessary to pass " as parameter of self-insert.
14010
14011         * text.C (selectWordWhenUnderCursor):
14012         (selectWord): add word_location parameter
14013         (selectWordWhenUnderCursor): same + remove special code for word
14014         boundary.
14015         (selectNextWord): use kind() to guess type of insetspecialchar,
14016         not latex().
14017
14018         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14019         (insertErtContents): create ert insets as collapsed.
14020         (readInset): better compatibility code for Info inset.
14021
14022 2001-07-20  Juergen Vigna  <jug@sad.it>
14023
14024         * lyxfunc.C (dispatch): use always LyXFind now!
14025
14026         * text2.C (init): add a reinit flag so that the LyXText can be
14027         reinited instead of deleted and reallocated (used in InsetText).
14028
14029         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14030
14031         * text.C: ditto
14032
14033         * text2.C: ditto
14034
14035 2001-07-18  Juergen Vigna  <jug@sad.it>
14036
14037         * text.C (selectNextWord): handle insets inside inset by calling
14038         always the bv->text functions so that we can go up the_locking_inset!
14039
14040         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14041         in strange locations when inside an inset!
14042
14043         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14044         handling to include insets.
14045
14046         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14047
14048 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14049
14050         * LyXAction.C (init):
14051         * commandtags.h:
14052         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14053         LIGATURE_BREAK, since the name is so stupid.
14054
14055 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14056
14057         * buffer.C (readInset): enable reading of new InsetNotes as well as old
14058         InsetInfos.
14059
14060         * FontLoader.C: remove FORMS_H_LOCATION cruft.
14061
14062         * sp_form.[Ch]: remove.
14063
14064         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14065
14066         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14067         InsetInfo.
14068
14069         * src/buffer.C (readInset): ditto.
14070
14071 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14072
14073         * BufferView_pimpl.C (specialChar): new method. Obsoletes
14074         menuSeparator(), endOfSentenceDot(), ldots() and
14075         hyphenationPoint(), which are therefore removed.
14076         (Dispatch): handle LFUN_HYPHENATION_BREAK.
14077
14078         * LyXAction.C (init):
14079         * commandtags.h: add LFUN_HYPHENATION_BREAK.
14080
14081         * paragraph.C (getWord): removed.
14082
14083         * BufferView_pimpl.C (Dispatch): use last word or selection for
14084         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14085
14086         * lyx_main.C (queryUserLyXDir): do not ask before creating
14087         user_dir, except if it has been named explicitely.
14088
14089 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14090
14091         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14092         a document of zero size.
14093
14094 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
14095
14096         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14097         approriately in the c-tor and in require().
14098         (getPackages): output the appropriate LaTeX for natbib support.
14099
14100         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14101         variables "use_natbib" and "use_numerical_citations" when reading the
14102         LyX file.
14103         (readInset): read the various natbib cite commands.
14104         (validate): white-space change.
14105
14106         * bufferparams.[Ch]: new variables "bool use_natbib" and
14107         "bool use_numerical_citations".
14108         (writeFile): output them in the LyX file.
14109
14110 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14111
14112         * lyxfunc.C (getStatus): add support for all the inset insertion
14113         commands.
14114
14115         * text2.C (insertInset):
14116         * paragraph.C (insetAllowed):
14117         * BufferView_pimpl.C (insertInset): update to take in account the
14118         renaming of insertInsetAllowed
14119
14120         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14121
14122         * text2.C (getInset): new method. returns inset at cursor position.
14123
14124         * BufferView_pimpl.C (Dispatch): changes because of this.
14125
14126         * LyXAction.C (init): rename open-stuff to inset-toggle.
14127
14128         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14129
14130         * text2.C (toggleInset): renamed from openStuff; use
14131         Inset::open().
14132
14133 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
14134
14135         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14136
14137         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14138
14139 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
14140
14141         * buffer.C (readLyXformat2): Add filename to the error dialog
14142
14143 2001-07-18  Juergen Vigna  <jug@sad.it>
14144
14145         * tabular.C (GetCellNumber): put an assert here instead of the check!
14146
14147 2001-07-17  Juergen Vigna  <jug@sad.it>
14148
14149         * BufferView_pimpl.C (toggleSelection): adapted too.
14150
14151         * text.C (selectNextWord): adapted for use with insets.
14152         (selectSelectedWord): ditto
14153
14154 2001-07-17  Juergen Vigna  <jug@sad.it>
14155
14156         * sp_spell.C (PSpell): fix initialitation order.
14157
14158 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14159
14160         * paragraph.C: spacing
14161
14162 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
14163
14164         * sp_spell.C: repair language selection for pspell
14165
14166 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14167
14168         * lyxfunc.h: change more methods to begin with lower char.
14169
14170 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
14171
14172         * buffer.C (parseSingleLyXformat2Token): Generate error insets
14173         for unknown layouts.
14174
14175 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
14176
14177         * buffer.C (readLyXformat2): Generate an error dialog if there are
14178         unknown layouts.
14179
14180 2001-07-16  Juergen Vigna  <jug@sad.it>
14181
14182         * sp_spell.C: always compile ISpell part.
14183
14184         * lyxrc.C: added use_pspell entry and it's handling.
14185
14186 2001-07-13  Juergen Vigna  <jug@sad.it>
14187
14188         * sp_spell.C: removed double includes.
14189
14190 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
14191
14192         Consistent use of Lsstream.h:
14193         * Lsstream.h: added using std::stringstream for consistencies sake.
14194
14195         * buffer.C: removed using std::stringstream
14196
14197         * lyxfont.C (stateText):
14198         * paragraph.C (asString):
14199         * text.C (selectNextWord, selectSelectedWord):
14200         * text2.C (setCounter):
14201         * vspace.C (asString, asLatexString):
14202         std::ostringstream -> ostringstream.
14203
14204 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14205
14206         * LyXAction.C: add LFUN_HELP_ABOUTLYX
14207         * commandtags.h: add LFUN_HELP_ABOUTLYX
14208         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14209
14210 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14211
14212         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14213         cursorToggle()
14214         * lyx_gui_misc.C: remove spellchecker
14215         * lyxfunc.C: showSpellchecker
14216         * sp_base.h: added
14217         * sp_ispell.h: added
14218         * sp_pspell.h: added
14219         * sp_spell.C: added
14220         * sp_form.[Ch]: removed
14221         * spellchecker.[Ch]: removed
14222
14223 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
14224
14225         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14226         is set.
14227         (simpleTeXSpecialChars): Simply print the input character without
14228         any special translation if pass_thru is set.
14229
14230         * layout.h: Added bool pass_thru to layout class for being able to
14231         implement pass through of a paragraph for Literate Programming.
14232
14233         * layout.C: add LT_PASS_THRU to LayoutTags enum.
14234         * layout.C (LyXLayout): set pass_thru to flase in constructor.
14235         * layout.C (Read): add "passthru" to list of layout tags and add
14236         code to set the pass_thru boolean when it is read.
14237
14238 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14239
14240         * trans_decl.h: remove allowed from KmodInfo
14241
14242         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14243         remove allowed code
14244         (Load): adjust
14245
14246         * paragraph_pimpl.C (erase): use boost::prior
14247
14248         * Painter.C (text): use data() instead of c_str() when length is
14249         also provided.
14250         * WorkArea.C (putClipboard): ditto
14251         * font.h (width): ditto
14252
14253         * BufferView2.C: use it-> instead of (*it). for iterators
14254         * texrow.C: ditto
14255         * paragraph_pimpl.C: ditto
14256         * paragraph.C: ditto
14257         * minibuffer.C: ditto
14258         * language.C: ditto
14259         * kbmap.C: ditto
14260         * encoding.C: ditto
14261         * counters.C: ditto
14262         * converter.C: ditto
14263         * chset.C: ditto
14264         * Variables.C: ditto
14265         * TextCache.C: ditto
14266         * MenuBackend.C: ditto
14267         * LyXAction.C: ditto
14268         * LColor.C: ditto
14269         * FloatList.C: ditto
14270         * DepTable.C: ditto
14271         * ColorHandler.C (LyXColorHandler): ditto
14272
14273 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14274
14275         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14276
14277         * text2.C (openStuff): reintroduce this method (which had been
14278         nuked in NEW_INSETS frenzy).
14279
14280         * lyxfunc.C (Dispatch): when an action has not been handled, use
14281         its name in the error message, not its number.
14282
14283         * paragraph.C (inInset): change method name to begin with lowercase.
14284
14285         * undo_funcs.C:
14286         * text2.C: updates because of this.
14287
14288 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14289
14290         * ToolbarDefaults.C (add): add spaces in error message
14291
14292 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14293
14294         * buffer.C (readLyXformat2): initialize the ert comp. variables.
14295         (readLyXformat2): rename return_par to first_par, use lyxlex's
14296         pushToken and remove the manual push handling.
14297         (parseSingleLyXformat2Token): add another ert comp. variable:
14298         in_tabular, rename return_par to first_par. handle newlines better
14299
14300 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14301
14302         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14303
14304 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14305
14306         * text2.C (getParFromID): removed
14307
14308         * buffer.C (getParFromID): new method moved form lyxtext.
14309         * BufferView2.C (insertErrors): adjust
14310         (setCursorFromRow): adjust
14311         * BufferView_pimpl.C (restorePosition): adjust
14312         * lyxfunc.C (Dispatch): adjust
14313         * undo_funcs.C (textUndo): adjust
14314         (textRedo): adjust
14315         (textHandleUndo): adjust
14316         (textHandleUndo): adjust
14317
14318 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14319
14320         * buffer.C: up' the LYX_FORMAT
14321
14322         * lyxfont.h: turn NO_LATEX on as default
14323
14324         * buffer.C (insertErtContents): new methods of tex style compability.
14325         (parseSingleLyXformat2Token): use it several places.
14326         * tabular.C (OldFormatRead): and here
14327
14328 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14329
14330         * text2.C: remove some commented code.
14331         reindent file.
14332
14333         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14334         * trans.C: changes because of the above.
14335
14336 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
14337
14338         * text2.C (setCounter): Fix counters bug with bibliography layout.
14339
14340 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14341
14342         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14343         own member functions
14344         (simpleTeXSpecialChars): ditto
14345
14346 2001-07-06  Juergen Vigna  <jug@sad.it>
14347
14348         * a lot of files: changed the access to LyXText::status and the
14349         call of undo-functions.
14350
14351         * undo.[Ch]: added a inset_id to the undo informations.
14352
14353         * undo_funcs.[Ch]: added and moved here all undo functions.
14354
14355         * lyxtext.h: give the status enum a weight, made status_ a private
14356         variable and made accessor functions for it, removed the whole bunch
14357         of undo-functions as they are now in their own file, make some
14358         functions publically available. Added function ownerParagraph with
14359         int parameter.
14360
14361         * paragraph.[Ch]: added "bool same_ids" to the constructor,
14362         made InInset() a const function, added getParFromID() function.
14363
14364         * buffer.[Ch]: added const version for inset_iterator functions,
14365         added getInsetFromID() function.
14366
14367         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14368         changed undo functions for new version.
14369
14370 2001-07-05  Juergen Vigna  <jug@sad.it>
14371
14372         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14373         unknow mechanism does not call the proper constructor but only this
14374         one also if I request the other!?
14375
14376 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14377
14378         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14379
14380         * text2.C (LyXText): use initialization lists.
14381
14382         * lyxtext.h (Selection): initialize set_ and mark_
14383         (init): remove method
14384
14385 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
14386
14387         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14388
14389 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14390
14391         * screen.[Ch]: change method names to begin with lowercase
14392
14393         * BufferView_pimpl.C (updateScrollbar): simplify further and
14394         hopefully make it a bit faster.
14395
14396 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14397
14398         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14399         calling directly xforms functions.
14400
14401         * Painter.C (Painter):
14402         * lyx_cb.C (MenuWrite):
14403         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14404         fl_display.
14405
14406         * lyx_gui.C: remove bogus guiruntime extern declaration.
14407
14408 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14409
14410         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14411         in NEW_INSETS
14412         (redoDrawingOfParagraph): ditto
14413         (redoParagraphs): ditto
14414         (cutSelection): don't create a object for CutAndPaste use the
14415         static method directly
14416         (pasteSelection): ditto
14417
14418         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14419         LyXview (+ rename)
14420
14421 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14422
14423         * modifications to some other files because of this.
14424
14425         * Makefile.am (lyx_SOURCES): add XFormsView
14426
14427         * XFormsView.[Ch]: new files
14428
14429         * LyXView.[Ch]: make LyXView a base class for the gui handling for
14430         the main window. Move the gui dependent stuff to XFormsView
14431
14432 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14433
14434         * tabular.C (GetCellInset): update cur_cell also in the row/col
14435         version of this function.
14436
14437         * lyxfunc.C: no need to include figure_form.h here.
14438
14439         * FontLoader.h:
14440         * lyxfunc.h:
14441         * lyxscreen.h:
14442         * text2.C:
14443         * lyxvc.C: no need to include forms.h here.
14444
14445 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14446
14447         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14448
14449         * lyxfunc.C (Dispatch):
14450         * Spacing.C (set):
14451         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14452         constructor argument.
14453
14454 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14455
14456         * paragraph.C (Paragraph): dont't clear, and just set layout.
14457         (makeSameLayout): use params's copy contructor.
14458
14459         * ParagraphParameters.[Ch] (makeSame): delete method
14460
14461 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
14462
14463         * Variables.[Ch]: fix indentation, rename set to isSet
14464
14465 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14466
14467         * lyxfunc.C (Dispatch): fix typo
14468
14469 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14470
14471         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14472         upper_bound.
14473
14474         * bufferlist.C: include assert.h for emergencyWrite().
14475
14476 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14477
14478         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14479           give up at last (bug #425202) !
14480
14481 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
14482
14483         * lyx_gui_misc.C:
14484         * sp_form.h:
14485         * sp_form.C:
14486         * spellchecker.h:
14487         * spellchecker.C: strip spellchecker options and bring up
14488           preferences tab instead
14489
14490 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14491
14492         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14493         the istringstream constructor
14494
14495 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14496
14497         * paragraph.C (getLayout): fix return value
14498
14499         * paragraph.h: do not declare getLayout as inline.
14500
14501         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14502
14503 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14504
14505         * lyxcursor.h (operator<): new func
14506         (operator>): new func
14507         (operator>=): new func
14508         (operator<=): new func
14509
14510         * text.C (changeCase): use selection.start and selection.end
14511         (changeRegionCase): require from to be <= to. Require par to be a
14512         valid paragraph.
14513
14514         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14515
14516 2001-06-27  Juergen Vigna  <jug@sad.it>
14517
14518         * text.C (cursorLeftOneWord): changed to return the cursor and added
14519         overlay with BufferView * parameter which calls this one.
14520         (getWord): added
14521         (selectWord): use new getWord function.
14522         (changeCase): renamed from changeWordCase as and extended to work
14523         also on selections.
14524
14525         * lyxtext.h: added enum word_location
14526
14527         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14528         changeCase as this operates now also on selections.
14529
14530 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
14531
14532         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14533
14534         * many files: send debug output to Debug::INFO instead of
14535         Debug::ANY.
14536
14537         * converter.C (View):
14538         (Convert):
14539         (Move): send debug output to Debug::FILES instead of console.
14540
14541 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
14542
14543         * lyxfunc.C (getStatus): use func_status
14544
14545         * func_status.h: new header, describing the results of
14546         LyXFunc::getStatus;
14547
14548         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14549         LFUN_MATH_HALIGN.
14550
14551 2001-06-25  The LyX Project  <jug@sad.it>
14552
14553         * buffer.C (sgmlOpenTag):
14554         (sgmlCloseTag):
14555         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
14556
14557 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14558
14559         * text2.C: remove some dead code
14560
14561         * tabular.C (GetCellInset): store the last cell checked (gotten)
14562
14563         * tabular.h: add the helper for the speedup
14564
14565         * lyxtext.h: remove some dead code
14566
14567 2001-06-26  The LyX Project  <Asger>
14568
14569         * paragraph.C: Change export to LaTeX of alignment to
14570         \begin{center} and family for better roundtrip work with reLyX.
14571
14572         * Tune the math drawing a bit.
14573
14574 2001-06-25  The LyX Project  <Asger>
14575
14576         * LColor.C (LColor): New color for math background. New color
14577         for buttons.
14578
14579 2001-06-25  The LyX Project  <jug@sad.it>
14580
14581         * lyxfunc.C (MenuNew): remove extra check for .lyx file
14582
14583         * lyxfunc.C (Open):
14584         * bufferlist.C (newFile): do not restrict to files ending with
14585         .lyx
14586
14587         * BufferView_pimpl.C (MenuInsertLyXFile):
14588
14589 2001-06-24  The LyX Project  <jug@sad.it>
14590
14591         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14592         of compare_no_case
14593
14594 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14595
14596         * lyxtext.h: rename most methods to begin with a small char.
14597         Lots of changes because of this.
14598
14599         * paragraph.C (Paragraph): do not call fitToSize
14600         (erase): call Pimpl::erase
14601         (insertChar): call Pimpl::insertChar
14602         (insertInset): call Pipl::insertInset
14603         (breakParagraph): do not call fitToSize
14604         (breakParagraphConservative): do not call fitToSize
14605         (fitToSize): remove method
14606
14607         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14608
14609 2001-06-24  The LyX Project  <Asger>
14610
14611         * Fix Qt compilation^2
14612
14613 2001-06-24  The LyX Project  <jug@sad.it>
14614
14615         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14616         depthHook(getDepth()-1).
14617
14618         * paragraph.h:
14619         * ParagraphParameters.h:
14620         * ParameterStruct.h: change type of depth to unsigned int ==
14621         depth_type. Many adaptations to other files before of that.
14622
14623 2001-06-24  The LyX Project  <Asger>
14624
14625         * Fix Qt compilation.
14626
14627 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14628
14629         * paragraph.h: renamed several methods to begin with small letter.
14630         several changes to many parts of the code because of this.
14631
14632 2001-06-23  The LyX Project  <jug@sad.it>
14633
14634         * text2.C (InsertStringAsLines): renamed from InsertStringA;
14635         rewritten to discard all double spaces when KeepEmpty is off
14636         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14637         to only handle newlines but not fiddle with spaces and friends.
14638
14639         * lyxfunc.C (MenuNew): when doing 'new from template', use
14640         template_path as default directory
14641
14642 2001-06-23  The LyX Project  <Asger>
14643
14644         * Clean-up of header file includes all over
14645         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14646
14647 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14648
14649         * paragraph.h: renamed from lyxparagraph.h
14650
14651 2001-06-23  Asger  <lyx@violet.home.sad.it>
14652
14653         * Buffer.h: Removed Buffer::resize
14654         * BufferList.h: Removed BufferList::resize
14655         * LyXView.h: Added LyXView::resize. This way, we will only reflow
14656         the document lazily when we change the width, or the font settings.
14657
14658 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14659
14660         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14661
14662 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14663
14664         * buffer.h: remove out of date comment
14665
14666 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14667
14668         * lyxscreen.h:
14669         * screen.C: fix "theoretical" GC leak
14670
14671 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14672
14673         * LaTeX.C (scanAuxFile):
14674         (deplog): remove trailing \r when reading stream (useful under
14675         win32)
14676
14677 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
14678
14679         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14680         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14681         and BufferView::theLockingInset(Inset*), so should use them and not
14682         access bv_->text->the_locking_inset directly.
14683
14684         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14685
14686 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14687
14688         * Makefile.am:
14689         * tex-defs.h: remove old unused file
14690
14691 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
14692
14693         * BufferView_pimpl.C: fix typo, remove minibuffer message
14694           when buffer has loaded
14695
14696 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14697
14698         * lyxfunc.C (Dispatch): use stringstream
14699         (MenuNew): use stringstream
14700         (Open): use stringstream
14701
14702         * importer.C (Import): use stringstream
14703
14704         * bufferview_funcs.C (CurrentState): use stringstream
14705
14706         * LaTeX.C (run): use stringstream
14707
14708         * BufferView_pimpl.C (savePosition): use stringstream
14709         (restorePosition): use stringstream
14710         (MenuInsertLyXFile): use stringstream
14711
14712 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
14713
14714         * BufferView.C:
14715         * Bullet.C:
14716         * ColorHandler.C:
14717         * FontInfo.C:
14718         * FontLoader.C:
14719         * LColor.C:
14720         * LaTeXFeatures.C:
14721         * Painter.C:
14722         * gettext.C:
14723         * lyx_gui_misc.C:
14724         * lyxserver.C:
14725         * vspace.C: removed // -*- C++ -*- as first line.
14726
14727         * lyxfind.h:
14728         * version.h: added // -*- C++ -*- as first line.
14729
14730 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14731
14732         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14733
14734         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14735         of string
14736
14737 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14738
14739         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14740         of floats.
14741
14742 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14743
14744         * gettext.C: include LString.h even when --disable-nls is on.
14745
14746 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
14747
14748         * converter.h (Get): changed argument type from int to
14749         FormatList::size_type to avoid unnecessary conversion.
14750
14751         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14752         before using it.
14753
14754 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14755
14756         * gettext.h: include LString.h even when --disable-nls is on.
14757
14758 2001-06-07  Juergen Vigna  <jug@sad.it>
14759
14760         * text.C (BreakAgain): subst spaces with tabs.
14761
14762         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14763         (resizeInsetsLyXText): set force on resizeLyXText.
14764
14765 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14766
14767         * gettext.h (gettext_init):
14768         (locale_init): use a real definition instead of a macro
14769
14770 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14771
14772         * Bufferview_pimpl.C:
14773         * LColor.h:
14774         * LColor.C: further lcolor tidies
14775
14776 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14777
14778         * BufferView_pimpl.C (updateScrollbar): simplify.
14779
14780         * BufferView2.C: don't include insets/insetinfo.h, change
14781         prototype for insertInset and call the Pimpl version. let
14782         updateInset call Pimpl version.
14783
14784         * BufferView.h: move inset_slept to BufferView::Pimpl, move
14785         gotoInset to BufferView::Pimpl
14786
14787 2001-06-01  Juergen Vigna  <jug@sad.it>
14788
14789         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14790         inside a LockingInset (is the update needed at all?).
14791
14792 2001-05-31  Juergen Vigna  <jug@sad.it>
14793
14794         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14795         here not the old one otherwise how should we compare it afterwards
14796         if it's the same!
14797
14798 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14799
14800         * lyxfont.C:
14801         * tabular.C:
14802         * tabular-old.C:
14803         * FontInfo.C: bring C functions into global namespace when
14804         necessary
14805
14806 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14807
14808         * LString.h: make sure config.h has been loaded before LString.h.
14809
14810         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14811         (one for each char read by EatLine!).
14812
14813         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14814         variables.
14815
14816 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14817
14818         * paragraph.C (BreakParagraph): set the inset_owner in the new par
14819         to the same as the par we break from
14820
14821 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14822
14823         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14824
14825         * MenuBackend.C (expand): also create menu entries for wide
14826         versions of the floats.
14827
14828         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14829
14830         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14831
14832         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14833         frontends/Makefile.am
14834
14835         * text2.C: adjust
14836         * text.C: adjust
14837
14838
14839         * tabular.C (getTokenValue): add std::
14840
14841         * tabular-old.C (getTokenValue): add std::
14842         (getTokenValue): ditto
14843         (getTokenValue): ditto
14844
14845         * screen.C (ToggleSelection): adjust
14846
14847         * lyxtext.h: put selection cursors inside a Selection struct.
14848
14849         * lyxfunc.C (moveCursorUpdate): adjust
14850
14851         * lyxfont.C (latexWriteStartChanges): add std::
14852
14853         * lyxfind.C: adjust
14854
14855         * font.h: delete with(char const *, LyXFont const &)
14856
14857         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14858
14859         * FontInfo.C (getFontname): add std::
14860
14861         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14862         (workAreaButtonPress): adjust
14863         (tripleClick): adjust
14864         (update): adjust
14865         (moveCursorUpdate): adjust
14866         (Dispatch): adjust
14867
14868         * BufferView2.C (gotoInset): adjust
14869
14870 2001-05-30  Juergen Vigna  <jug@sad.it>
14871
14872         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14873         to check pspell I add this as default as I now have new pspell
14874         libraries and they seem to use this.
14875
14876 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14877
14878         * text2.C (CutSelection): make the cursor valid before the call to
14879         ClearSelection.
14880
14881 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14882
14883         * kbsequence.C (parse): de-uglify a bit the parsing code, which
14884         relied on 0 terminated strings and other horrors. Bug found due to
14885         the new assert in lyxstring!
14886
14887         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14888         KP_ keys.
14889
14890 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14891
14892         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14893         to latinkeys.bind.
14894
14895         * lyxfunc.C (processKeySym): change method of getting to the
14896         self-insert char.
14897
14898         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14899         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14900         * BufferView_pimpl.[Ch]: here as private methods.
14901
14902 2001-05-28  Juergen Vigna  <jug@sad.it>
14903
14904         * text.C (SetHeightOfRow): added the update() call again as it is
14905         needed to initialize inset dimensions!
14906
14907 2001-05-16  Juergen Vigna  <jug@sad.it>
14908
14909         * text2.C (SetCharFont): Add new function with BufferView * and
14910         bool toggleall parameters for setting insets internal fonts.
14911         (SetFont): Freeze the undo as we may change fonts in Insets and
14912         all this change should be inside only one Undo!
14913
14914         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14915         setting font's in insets as for them we have the SetFont function!
14916
14917 2001-05-15  Juergen Vigna  <jug@sad.it>
14918
14919         * text2.C (ClearSelection): to be sure we REALLY don't have any
14920         selection anymore!
14921
14922         * tabular.C (TeXCellPreamble): fixed the left border problem for
14923         multicolumn cells.
14924
14925 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
14926
14927         * LaTeX.C (deplog): Make sure that the main .tex file is in the
14928         dependancy file
14929
14930 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14931
14932         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14933         LFUN_BREAKPARAGRAPH.
14934
14935         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14936         help test to "internal only", similar for LFUN_INSERT_URL
14937
14938         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14939         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14940         auto_region_delete and deadkeys.
14941
14942 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
14943
14944         * LColor.h:
14945         * LColor.C: remove some dead entries, tidy a little
14946
14947 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14948
14949         * lyxfunc.C (processKeySym): comment the Escape handling, remove
14950         commented code.
14951         (Dispatch): implement LFUN_ESCAPE
14952
14953         * commandtags.h: add LFUN_ESCAPE
14954
14955         * LyXAction.C (init): add entry for LFUN_ESCAPE
14956
14957         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14958         Remove commented code.
14959         (insertNote): moved here
14960         (open_new_inset): moved here
14961
14962         * BufferView[2].[Ch]: move insertNote and open_new_inset to
14963         BufferView_pimpl
14964
14965 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14966
14967         * kbmap.C (findbinding): clean it up and make it work correctly.
14968
14969         * lyx_main.C (init): do not pass argc and argv as parameters
14970
14971 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
14972
14973         * buffer.C: fix path for OS/2 & Win32
14974
14975         * lyx_gui.C:
14976         * lyx_main:
14977         * lyx_main.C: Added os:: class.
14978
14979         * os2_defines.h: update
14980
14981 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14982
14983         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14984         better by trying again with reduced state.
14985
14986 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14987
14988         * lyxrc.C (read): print error about invalid key sequence only when
14989         debugging (because not all latinX keysyms are known to some X
14990         servers)
14991
14992         * kbsequence.C (getiso): add a few std:: qualifiers
14993         (getiso): comment out extra return statement.
14994
14995 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14996
14997         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14998         handling.
14999         (Dispatch): enhance the accent inset a bit. (not perfect)
15000
15001 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15002
15003         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15004
15005 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15006
15007         * bufferlist.C (emergencyWrite): fix assert() call
15008
15009 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
15010
15011         * text.C (InsertChar): Added trivial patch to only send the "you
15012         can not do multiple spaces this way" message once during a
15013         session.
15014
15015 2001-05-08  Baruch Even  <baruch@lyx.org>
15016
15017         * Makefile.am: Changed order of libraries to get LyX to link properly
15018         with the gnome frontend.
15019
15020 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15021
15022         * LaTeXFeatures.h: add a std:: qualifier
15023
15024 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15025
15026         * paragraph.C (String): use stringstream
15027
15028 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15029
15030         * paragraph.C (writeFile): remove footflag arg
15031
15032         * buffer.C (makeLaTeXFile): use stringstream
15033         (latexParagraphs): remove footnot gurba
15034
15035         * LaTeXFeatures.C (getPackages): use stringstream
15036         (getMacros): likewise
15037         (getTClassPreamble): likewise
15038         (getFloatDefinitions): new method
15039
15040         * paragraph.C (writeFile): reindent
15041         (Erase): reindent
15042
15043         * WorkArea.h: revert the xpos + etc changes.
15044
15045         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15046
15047         * lyxparagraph.[Ch]: add copy constructor, remove Clone
15048
15049         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15050         (pasteSelection): likewise
15051         * text2.C (CreateUndo): likewise
15052
15053 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15054
15055         * minibuffer.C (peek_event): temporarily reduce the functionality
15056         of the minibuffer (to allow args on lfuns)
15057
15058         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15059         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15060
15061         * buffer.C (readInset): add compability reading of old float
15062         lists, add reading of new style float list.
15063         (readInset): avoid reevaluation of inscmd.getCmdName()
15064         (getLists): reindent
15065
15066         * MenuBackend.C (MenuItem): implement parsing of
15067         md_floatlistinsert and md_floatinsert.
15068         (expand::LastFiles): move initalizaton of iterators out of loop,
15069         avoid reevaluation.
15070         (expand::Documents): introduce typdedef vector<string> Strings,
15071         and use it.
15072         (expand::ExportFormats): introduce typedef vector<Format const *>
15073         Formats, and use it.
15074         (expand): implement FloatListInsert and FloatInsert.
15075
15076         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15077         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15078         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15079
15080         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15081         handling.
15082         (Dispatch::LFUN_FLOAT_LIST): implement
15083
15084 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15085
15086         * LaTeX.C (run): Fix problem with --export code.
15087
15088 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15089
15090         * BufferView.[Ch] (workarea): removed.
15091         (getClipboard) new method; wrapper for workarea()->getClipboard()
15092
15093         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15094         bug.
15095
15096         * WorkArea.h (width, height, xpos, ypos): These methods all
15097         returned the dimensions of the work_area sub-area of WorkArea,
15098         resulting in a position error if the WorkArea were resized. Now
15099         return the dimensions of the entire WorkArea.
15100
15101         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15102
15103 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15104
15105         * LaTeX.C (deplog): correct the syntax of regex reg1
15106
15107 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15108
15109         * undo.C: remove !NEW_INSETS cruft
15110
15111 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15112
15113         * text2.C: remove !NEW_INSETS cruft
15114
15115         * text.C: remove !NEW_INSETS cruft
15116
15117         * tabular.C: remove !NEW_INSETS cruft
15118
15119         * spellchecker.C: remove !NEW_INSETS cruft
15120
15121         * lyxtext.h: remove !NEW_INSETS cruft
15122
15123         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15124
15125         * lyxfunc.C: remove !NEW_INSETS cruft
15126
15127         * lyxfind.C: remove !NEW_INSETS cruft
15128
15129         * lyx_cb.C: remove !NEW_INSETS cruft
15130
15131         * figureForm.C: remove  !NEW_INSETS cruft
15132
15133         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15134
15135         * buffer.[Ch]: remove !NEW_INSETS cruft
15136
15137         * ToolbarDefaults.C: remove !NEW_INSETS cruft
15138
15139         * CutAndPaste.C: remove !NEW_INSETS cruft
15140
15141         * BufferView_pimpl.C: remove !NEW_INSETS cruft
15142
15143         * BufferView2.C: remove !NEW_INSETS cruft
15144
15145         * BufferView.h: remove !NEW_INSETS cruft
15146
15147 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15148
15149         * Lsstream.h: include LString.h before the sstream headers to
15150         fix problem with gcc 2.95.3 and lyxstring
15151
15152 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15153
15154         * lyx_main.C: add using directives when needed for C functions
15155         declared in std:: namespace.
15156
15157 2001-04-27  Juergen Vigna  <jug@sad.it>
15158
15159         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15160         (SetHeightOfRow): comment out the update call should not be needed!
15161
15162 2001-04-13  Juergen Vigna  <jug@sad.it>
15163
15164         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15165         (LyXTabular): tried to minimize operator= operations (and realized
15166         hopfully Lars wish).
15167
15168 2001-04-27  Juergen Vigna  <jug@sad.it>
15169
15170         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15171
15172 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15173
15174         * lyxfunc.C (Dispatch): hack to make listof algorithm work
15175
15176         * buffer.C (readInset): hack to make listof algorithm work
15177
15178         * BufferView_pimpl.C: hack to make listof algorithm work
15179
15180 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15181
15182         * LyXAction.C: removed all !NEW_INSETS cruft
15183         (init): moved lfun_item in method
15184
15185         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15186
15187 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15188
15189         * BufferView2.C (theLockingInset): white space.
15190
15191 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15192
15193         * minibuffer.C: include <iostream>
15194
15195         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15196
15197         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15198
15199         * commandtags.h: add LFUN_TRANSPOSE_CHARS
15200
15201         * text.[Ch] (TransposeChars): new method
15202
15203 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15204
15205         * call message directly through LyXView instead of through LyXFunc
15206         * BufferView2.C: adjust
15207         * BufferView_pimpl.C: adjust
15208         * FontLoader.C: adjust
15209         * buffer.C: adjust
15210         * bufferview_funcs.C: adjust
15211         * converter.C: adjust
15212         * figureForm.C: adjust
15213         * importer.C: adjust
15214         * lyx_cb.C: adjust
15215         * lyx_gui_misc.C: adjust
15216         * lyxfunc.C: adjust
15217         * lyxvc.C: adjust
15218         * text2.C: adjust
15219         + more files in subdirs
15220
15221         * lyxparagraph.h (size): move up int file
15222         (GetLayout): ditto
15223
15224         * adjust all uses of Assert to lyx::Assert.
15225
15226         * BufferView2.C (ChangeCitationsIfUnique): adjust for
15227         lyxfunctional in namespace lyx
15228         * layout.C (hasLayout): ditto
15229         (GetLayout): ditto
15230         (GetLayout): ditto
15231         (delete_layout): ditto
15232         (NumberOfClass): ditto
15233         * converter.C (GetFormat): ditto
15234         (GetNumber): ditto
15235         (Add): ditto
15236         (Delete): ditto
15237         (SetViewer): ditto
15238         * bufferlist.C (getFileNames): ditto
15239         (emergencyWriteAll): ditto
15240         (exists): ditto
15241         (getBuffer): ditto
15242         * MenuBackend.C (hasSubmenu): ditto
15243         (hasMenu): ditto
15244         (getMenu): ditto
15245         * BufferView_pimpl.C (getInsetByCode): ditto
15246
15247 2001-04-18  Juergen Vigna  <jug@sad.it>
15248
15249         * vspace.C (asLatexString): fixed the 100% problem.
15250
15251 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15252
15253         * lyxfunc.C (Dispatch):
15254         * minibuffer.C:
15255         * minibuffer.h: add a few std:: qualifiers
15256
15257 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15258
15259         * minibuffer.[Ch]: reimplement so that commands is initiated and
15260         run from lyxfunc, simplified som handling, and made the completion
15261         and history code for complete. wip.
15262
15263         * lyxfunc.C (processKeySym): call message
15264         (miniDispatch): new temporary method
15265         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15266         (LFUN_MESSAGE): implement
15267         (LFUN_MESSAGE_PUSH): implement
15268         (LFUN_MESSAGE_POP): implement
15269         (initMiniBuffer): the initial/defualt minibuffer message.
15270
15271         * lyxfont.[Ch]: inline some more getters
15272
15273         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15274
15275         * lyx_gui_misc.[Ch] (WriteStatus): remove method
15276
15277         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15278         (AutoSave): use LFUN_MESSAGE
15279         (Reconfigure): ditto
15280
15281         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15282
15283         * figureForm.C: use LFUN_MESSAGE
15284
15285         * converter.C (runLaTeX): use LFUN_MESSAGE
15286
15287         * bufferview_funcs.C: use LFUN_MESSAGE
15288         (Melt): ditto
15289         (changeDepth): ditto
15290
15291         * bufferparams.h: use boost::
15292
15293         * bufferlist.h: inherit privately from noncopyable
15294
15295         * bufferlist.C (loadLyXFile): remove some commented code.
15296
15297         * buffer.C (runChktex): use LFUN_MESSAGE
15298
15299         * ShareContainer.h: inherit privately from noncopyable
15300
15301         * ParagraphParameters.[hC] (depth): inline it.
15302
15303         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15304         methods.
15305         (message): new method
15306         (messagePush): ditto
15307         (messagePop): ditto
15308         (show): init minibuffer
15309         (showState): direct call
15310
15311         * LaTeX.[Ch]: inherit privately from noncopyable
15312         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15313         instead of WriteStatus.
15314
15315         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15316
15317         * BufferView_pimpl.C (buffer): don't init minibuffer
15318         (workAreaButtonPress): use LFUN_MESSAGE
15319         (workAreaButtonRelease): ditto
15320         (savePosition): ditto
15321         (restorePosition): ditto
15322         (MenuInsertLyXFile): ditto
15323         (workAreaExpose): don't init minibuffer
15324         (update): remove commented code, simplify
15325
15326         * BufferView2.C (openStuff): use LFUN_MESSAGE
15327         (toggleFloat): ditto
15328         (menuUndo): ditto
15329         (menuRedo): ditto
15330         (copyEnvironment): ditto
15331         (pasteEnvironment): ditto
15332         (copy): ditto
15333         (cut): ditto
15334         (paste): ditto
15335         (gotoInset): ditto
15336         (updateInset): remove some commented code
15337
15338         * lastfiles.h: inherit privately from noncopyable
15339         * layout.h: ditto
15340         * lyx_gui.h: ditto
15341         * lyx_main.h: ditto
15342         * lyxlex.h: ditto
15343         * lyxlex_pimpl.h: ditto
15344
15345         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15346         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15347         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15348
15349         * LyXAction.h: inherit privately from noncopyable, add methods
15350         func_begin, func_end, returning iterators to the func map.
15351
15352         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15353         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15354         (func_begin): new method
15355         (func_end): new method
15356
15357         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15358         and not)
15359         (copySelection): ditto
15360         (pasteSelection): ditto
15361
15362         * BufferView.C: whitespace change
15363         * BufferView.h: inherit privately from noncopyable
15364
15365 2001-04-16  Allan Rae  <rae@lyx.org>
15366
15367         * tabular-old.C (l_getline):
15368         * spellchecker.C (sc_check_word):
15369         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15370         an unrecognised preprocessor directive.  So ensure they're wrapped.
15371
15372 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
15373
15374         * src/exporter.C (Export): Give an error message when path to file
15375         contains spaces.
15376
15377 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
15378
15379         * LaTeX.C (deplog): Always check that foundfile exists.
15380
15381 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15382
15383         * lyx_main.h:
15384         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15385
15386 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15387
15388         * tabular.[Ch] (getLabelList): implement new method
15389
15390         * minibuffer.h: comment ouf setTiimer
15391
15392         * minibuffer.C (ExecutingCB): constify res
15393         (peek_event): constify s
15394         (Set): constify ntext
15395         (Init): constify nicename
15396
15397         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15398
15399         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15400         (savePosition): use two params to Minibuffer::Set
15401         (restorePosition): ditto
15402
15403 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15404
15405         * lyx_main.C: include language.h
15406
15407         * Makefile.am (lyx_main.o): add language.h
15408
15409 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15410
15411         * exporter.C:
15412         * paragraph.C:
15413         * screen.C:
15414         * tabular.C:
15415         * CutAndPaste.C: include gettext.h
15416
15417         * lyxfont.h: remove old hack with ON and OFF.
15418
15419         * lyxparagraph.h:
15420         * lyxfont.h: do not include language.h...
15421
15422         * BufferView2.C:
15423         * LaTeXFeatures.C:
15424         * Painter.C:
15425         * bufferview_funcs.C:
15426         * font.C:
15427         * lyxfont.C:
15428         * text.C:
15429         * text2.C:
15430         * trans_mgr.C:
15431         * paragraph.C: ... but do it here instead
15432
15433 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15434
15435         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15436
15437         * tabular.C: small reformat
15438
15439         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15440         NEW_INSETS version
15441         (GetChar): ditto
15442         (BreakParagraph): ditto
15443         (SetOnlyLayout): ditto
15444         (SetLayout): ditto
15445
15446         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15447         with one arg less.
15448
15449         * lastfiles.C: removed most using decl, add std:: where needed
15450
15451         * buffer.C: ws changes
15452
15453         * MenuBackend.C (class compare_format): put into anon namespace
15454         (expand): constify label, names, action, action2
15455         (expand):
15456
15457         * text.C (SingleWidth): constify font
15458         (IsBoundary): constify rtl2
15459         (GetVisibleRow): constify ww
15460
15461         * LaTeX.C (deplog): constify logfile
15462
15463         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15464         start_x, end_x
15465         (workAreaExpose): constify widthChange, heightChange
15466
15467         * lyxrow.C (par): moved
15468         (height): moved
15469         (next): moved
15470         * lyxrow.h: as inlines here
15471
15472         * lyxfont.h (shape): moved from lyxfont.C
15473         (emph): moved from lyxfont.C
15474
15475         * lyxfont.C (LyXFont): use initialization list for all
15476         constructors
15477         (shape): move to lyxfont.h as inline
15478         (emph): move to lyxfont.h as inline
15479
15480
15481 2001-04-04  Juergen Vigna  <jug@sad.it>
15482
15483         * vspace.C: had to include stdio.h for use of sscanf
15484
15485 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
15486
15487         * BufferView.h:
15488         * BufferView_pimpl.h: remove xforms cruft. Both classes are
15489         independent of xforms.
15490
15491 2001-04-02  Juergen Vigna  <jug@sad.it>
15492
15493         * spellchecker.C: fixed namespace placing!
15494
15495 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
15496
15497         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15498         the LyXParagraph * is 0.
15499
15500 2001-03-29  Juergen Vigna  <jug@sad.it>
15501
15502         * vspace.C: added support for %, c%, p%, l%.
15503         (stringFromUnit): added helper function.
15504         (asLatexString): changed to give right results for the %-values.
15505
15506         * buffer.C: convert the widthp in a width%.
15507
15508 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
15509
15510         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15511         figureForm.[Ch].
15512
15513         * figureForm.[Ch]: stripped the FD_from_figure manipulation
15514         code out of lux_cb.[Ch], ready for its (imminent?) removal.
15515
15516         * lyx_cb.[Ch]: see above.
15517
15518         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15519         form1.[Ch].
15520
15521         * form1.[Ch]:
15522         * lyx.[Ch]: replaced by figure_form.[Ch].
15523
15524         * lyx_gui.C:
15525         * lyx_gui_misc.C:
15526         * lyxfunc.C: changed headers associated with above changes.
15527
15528 2001-03-27  Juergen Vigna  <jug@sad.it>
15529
15530         * BufferView_pimpl.C: set the temporary cursor right!
15531
15532 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
15533
15534         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15535
15536 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
15537
15538         * LString.h: removed "using std::getline"!
15539
15540         * BufferView_pimpl.C (Dispatch): changes due to changes in
15541         InsetInclude::Params.
15542
15543         * buffer.C (tag_name): removed redundant break statements as they were
15544         producing lots of warnings with my compiler.
15545
15546 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15547
15548         * LString.h: add "using std::getline" when using the real <string>.
15549
15550 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
15551
15552         * buffer.C: removed bitset usage.
15553         PAR_TAG moved to an anonymous name space.
15554         (tag_name): new funtion, also in the anonymous namespace.
15555         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15556         (makeDocBookFile): clean code. Completed transition from string arrays
15557         to string vectors.
15558         (SimpleDocBookOnePar): code clean.
15559
15560 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15561
15562         * tabular.C: add some comments.
15563
15564 2001-03-22  Juergen Vigna  <jug@sad.it>
15565
15566         * buffer.C (parseSingleLyXformat2Token): redone the minipage
15567         compatibility read a bit and fixed bug with minipage in different
15568         depth.
15569
15570 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
15571
15572         * buffer.C (pop_tag): removed.
15573         (push_tag): removed.
15574         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15575         array replaced with vector. Added support for CDATA sections.
15576         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15577         at any nest level.
15578         (makeDocBookFile): XML conformant declaration of CDATA section,
15579         fixed bug related to <emphasis> in the first paragraph char.
15580         (sgmlOpenTag): exclude empty tags.
15581         (sgmlCloseTag): ditto.
15582
15583         * buffer.h (pop_tag): removed.
15584         (push_tag): removed.
15585
15586 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
15587
15588         * language.h (Languages): added size_type and size().
15589
15590 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15591
15592         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15593         response on compability reading of minipages. One probliem is that
15594         the old usage of minipages was «flertydig»
15595
15596         * several files here and in subdirs: don't use static at file
15597         scope use anon namespaces instead.
15598
15599 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
15600
15601         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15602         LaTeX output. This is necessary for Literate document
15603         processing.
15604
15605 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15606
15607         * buffer.C: insert hfill when needed.
15608
15609         * tabular.C (l_getline): use string::erase, small whitespace change.
15610
15611         * BufferView_pimpl.C: try the anon namespace.
15612         * WorkArea.C: ditto
15613
15614 2001-03-16  Juergen Vigna  <jug@sad.it>
15615
15616         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15617         otherwise it won't open options-dialogs.
15618
15619         * buffer.C: honor pextraWidth(p) on converting minipages.
15620
15621         * tabular.C (l_getline): changed the functions to strip trailing \r.
15622
15623 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
15624
15625         * BufferView_pimpl.C:
15626         * minibuffer..C: added "using SigC::slot" declaration.
15627
15628 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15629
15630         * lyxlex_pimpl.h: noncopyable is in namespace boost.
15631
15632         * text2.C: ditto
15633
15634         * text.C: ditto
15635
15636         * paragraph.C: ditto
15637
15638         * lyxtext.h: NO_PEXTRA
15639
15640         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15641
15642         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15643         * ParameterStruct.h: ditto
15644         * ParagraphParameters.h: ditto
15645         * lyxparagraph.h: ditto
15646
15647 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15648
15649         * buffer.C: add compability for minipage alignment.
15650         (latexParagraphs): remove unwanted pextra check.
15651
15652         * several files: remove CXX_WORKING_NAMESPACES
15653
15654         * buffer.C (pop_tag): tie is in namespace boost
15655
15656         * BufferView.h: noncopyable is in namespace boost
15657         * lyxlex.h: ditto
15658         * lyx_main.h: ditto
15659         * lyx_gui.h: ditto
15660         * layout.h: ditto
15661         * lastfiles.h: ditto
15662         * bufferlist.h: ditto
15663         * ShareContainer.h: ditto
15664         * LyXView.h: ditto
15665         * LyXAction.h: ditto
15666         * LaTeX.h: ditto
15667
15668 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15669
15670         * Merging changes from BRANCH_MVC back into HEAD.
15671
15672         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15673
15674 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
15675
15676         * BufferView_pimpl.C: change from intl.C
15677
15678         * combox.h:
15679         * combox.C:
15680         * Makefile.am: move combox.*
15681
15682         * form1.h:
15683         * form1.C:
15684         * lyx_gui.C:
15685         * intl.h:
15686         * intl.C: remove dialog (covered by prefs)
15687
15688 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15689
15690         * lyxfunc.C (Dispatch): removed redundant break statement.
15691
15692 2001-03-14  Juergen Vigna  <jug@sad.it>
15693
15694         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15695
15696 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15697
15698         * buffer.C: add hack to fix compability reading of minipages.
15699
15700 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
15701
15702         * buffer.C (getLists): Cleanup.
15703
15704 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15705
15706         * lyxfont.C (update): don't honor toggleall on font size.
15707
15708 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
15709
15710         * bmtable.c:
15711         * bmtable.h:
15712         * Makefile.am: moved to frontends/xforms/
15713
15714         * lyx_gui_misc.C:
15715         * lyxfunc.C:
15716         * BufferView_pimpl.C: changes for moved mathpanel
15717
15718 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15719
15720         * gettext.h: fix gettext_init() in --disable-nls
15721
15722 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15723
15724         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15725
15726 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
15727
15728         * lyx.C:
15729         * lyx.h: strip external form
15730
15731 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15732
15733         * BufferView_pimpl.C: add comment, destroySplash()
15734
15735 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15736
15737         * BufferView_pimpl.C:
15738         * LyXAction.C:
15739         * buffer.C:
15740         * commandtags.h:
15741         * lyxfunc.C: use re-worked insetinclude
15742
15743 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15744
15745         * buffer.C: add using std::stringstream.
15746
15747         * lyx_cb.C: readd using std::ios.
15748
15749         * buffer.C: add using std::map.
15750
15751         * BufferView_pimpl.C: add using std::vector.
15752
15753         * ShareContainer.h: add std:: to swap.
15754
15755         * buffer.h: add some typedefs
15756         * buffer.C (getLists): use them
15757         (getLists): renamed from getTocList.
15758         add a counter for the different float types and use it in the
15759         generated string.
15760         (getLists): use the same counter for the NEW_INSETS and the "non"
15761         NEW_INSETS
15762
15763         * lyx_cb.h: remove unused items, includes, using etc.
15764
15765         * ShareContainer.h: remove some commented code, add more comments
15766         and "documentation".
15767
15768 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15769
15770         * buffer.C (getTocList): make the list also when NEW_INSETS is
15771         defined.
15772
15773         * buffer.h: remove TocType
15774
15775         * buffer.C (getTocList): change to return a map<string,
15776         vector<TocItem> >, implement for dynamic number of list.
15777
15778         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15779         * text2.C (PasteSelection): adjust
15780         * CutAndPaste.C (pasteSelection): adjust
15781
15782         * FloatList.C (FloatList): update from the new_insets branch.
15783         * Floating.[Ch]: ditto
15784         * LaTeXFeatures.C: ditto
15785         * buffer.C: ditto
15786         * lyxlex_pimpl.C: ditto
15787
15788         * paragraph.C (Last): remove when NEW_INSETS is defined.
15789
15790         * other file: changes because of the above.
15791
15792 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15793
15794         * lyxparagraph.h: rename next to next_, previous to previous_,
15795         make them private for NEW_INSETS. Rename Next() to next(),
15796         Previous() to previous().
15797
15798         * other files: changes because of the above.
15799
15800 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
15801
15802         * BufferView.h:
15803         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15804         problem.
15805
15806 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15807
15808         * main.C (main): pass lyx_localedir to gettext_init().
15809
15810         * gettext.h: remove locale_init and gettext_init macros
15811
15812         * gettext.C (locale_init): new function
15813         (gettext_init): new function
15814
15815         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15816         setlocale().
15817
15818 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
15819
15820         * Moved credits to frontends:
15821         * credits.[Ch]: removed
15822         * credits_form.[Ch]: removed
15823         * lyx_gui_misc.C: remove credits stuff
15824         * Makefile.am:
15825
15826 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15827
15828         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15829
15830         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15831         unneeded destructor.
15832
15833         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15834         a standalone pointer again.
15835
15836         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15837
15838 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
15839
15840         * Makefile.am:
15841         * filedlg.h:
15842         * filedlg.C:
15843         * LyXAction.C:
15844         * ToolbarDefaults.C:
15845         * bufferlist.C:
15846         * commandtags.h:
15847         * form1.C:
15848         * form1.h:
15849         * lyx_cb.C:
15850         * lyx_cb.h:
15851         * lyxfunc.h:
15852         * lyxfunc.C:
15853         * BufferView_pimpl.C: use new file dialog in GUII
15854
15855         * lyx_cb.h:
15856         * lyx_cb.C: remove LayoutsCB to Toolbar
15857
15858 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15859
15860         * ShareContainer.h (get): add std:: qualifier
15861
15862 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15863
15864         * ShareContainer.h: define a proper ShareContainer::value_type
15865         type (and use typename to please compaq cxx)
15866
15867 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15868
15869         * lyxparagraph.h: move serveral local vars to
15870         ParameterStruct/ParagraphParameters., use ShareContainer in
15871         FontTable., make vars in FontTable private and add getter and
15872         setter.
15873
15874         * paragraph.C: changes because of the above.
15875
15876         * lyxfont.h: remove copy constructor and copy assignment. (the
15877         default ones is ok), move number inside FontBits. move inlines to
15878         lyxfont.C
15879
15880         * lyxfont.C: add number to initializaton of statics, move several
15881         inlines here. constify several local vars. some whitespace
15882         cleanup. Dont hide outerscope variables.
15883
15884         * Spacing.h: add two new constructors to match the set methods.
15885
15886         * ShareContainer.h: new file, will perhaps be moved to support
15887
15888         * ParameterStruct.h: new file
15889
15890         * ParagraphParameters.h: new file
15891
15892         * ParagraphParameters.C: new file
15893
15894         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15895         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15896
15897         * BufferView_pimpl.C: ParagraphParameter changes.
15898         * buffer.C: Likewise.
15899         * bufferview_funcs.C: Likewise.
15900         * text.C: Likewise.
15901         * text2.C: Likewise.
15902
15903 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15904
15905         * lyxfind.C (LyXReplace): do not redefine default argument in
15906         implementation.
15907         (IsStringInText): ditto
15908         (SearchForward): ditto
15909         (SearchBackward): ditto
15910
15911 2001-03-06  Juergen Vigna  <jug@sad.it>
15912
15913         * lyxfind.C (IsStringInText): put parentes around expressions.
15914
15915 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
15916
15917         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15918
15919 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
15920
15921         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15922
15923         * stl_string_fwd.h: add comment
15924
15925         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15926
15927         * tabular.h:
15928         * tabular.C: remove unused DocBook methods
15929
15930         * intl.C:
15931         * language.C:
15932         * paragraph.C:
15933         * buffer.C:
15934         killed DO_USE_DEFAULT_LANGUAGE
15935
15936 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15937
15938         * lyx_gui.C: do not include language.h.
15939
15940         * bufferview_funcs.C (ToggleAndShow): do not provide optional
15941         arguments in function implementation.
15942
15943 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15944
15945         * BufferView_pimpl.C: add <ctime>
15946
15947 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15948
15949         * BufferView_pimpl.C: add using std::find_if
15950
15951 2001-02-27  José Matos  <jamatos@fep.up.pt>
15952
15953         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15954         by OnlyPath.
15955
15956 2001-02-11  José Matos  <jamatos@fep.up.pt>
15957
15958         * buffer.C (makeDocBookFile): command styles now have a parameter as
15959         "title" by default.
15960
15961 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
15962
15963         * layout_forms.[Ch]: removed
15964         * lyx_cb.[Ch]: out character
15965         * lyx_gui.C: out character
15966         * lyx_gui_misc.C: out character
15967         * bufferview_funcs.C: : out character,
15968         added toggleall as parameter in ToggleAndShow
15969
15970 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
15971
15972         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15973
15974         * text2.C (SetCurrentFont): Disable number property at boundary.
15975
15976 2001-02-26  Juergen Vigna  <jug@sad.it>
15977
15978         * lyxfunc.C (getStatus): added a string argument override function so
15979         that this is correctly called from LyXFunc::Dispatch if it contains a
15980         do_not_use_argument which is used!
15981         (Dispatch): added check for "custom" export and call appropriate func.
15982
15983 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
15984
15985         * lyxrc.C: Add language_command_local, language_use_babel and
15986         language_global_options.
15987
15988         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15989
15990         * buffer.C (makeLaTeXFile): Use language_use_babel and
15991         language_global_options.
15992
15993 2001-02-23  Juergen Vigna  <jug@sad.it>
15994
15995         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15996         which works with LyXText and putted it inside BufferView. Here now we
15997         only call for that part the BufferView::Dispatch() function.
15998
15999         * BufferView.C (Dispatch): added.
16000
16001         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16002         functions which needs to use a LyXText over from LyXFunc.
16003         (MenuInsertLyXFile): added
16004         (getInsetByCode): added
16005         (moveCursorUpdate): added
16006         (static TEXT): added
16007
16008 2001-02-22  Juergen Vigna  <jug@sad.it>
16009
16010         * BufferView_pimpl.C (update): call a status update to see if LyXText
16011         needs it.
16012
16013 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16014
16015         * vc-backend.C (revert): implement for CVS
16016         (getLog): implement for CVS
16017
16018 2001-02-20  Juergen Vigna  <jug@sad.it>
16019
16020         * text2.C (ClearSelection): added BufferView param for inset_owner call
16021
16022         * lyxfunc.C (TEXT): added this function and use it instead of
16023         directly owner->view()-text of getLyXText().
16024
16025 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
16026
16027         * src/layout_forms.C: out preamble
16028         * src/layout_forms.h: out preamble
16029         * src/lyx_cb.C: out preamble
16030         * src/lyx_cb.h: out preamble
16031         * src/lyx_gui.C: out preamble
16032         * src/lyx_gui_misc.C: out preamble
16033         * src/lyxfunc.C: connect with guii preamble
16034
16035 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
16036
16037         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16038
16039 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
16040
16041         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16042         whether to run bibtex.
16043
16044 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
16045
16046         * Makefile.am (lyx_SOURCES): Remove BackStack.h
16047
16048 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
16049
16050         * Makefile.am (lyx_SOURCES): removed bibforms.h
16051
16052         * vspace.h: doxygen
16053
16054         * text.C (GetVisibleRow): make several local vars const
16055
16056         * tabular.C: small cleanup.
16057
16058         * lyxserver.C (callback): use compare instead of strncmp
16059
16060         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16061         inlines to after class or to paragraph.C
16062
16063         * lyxfont.h: remove friend operator!=
16064
16065         * converter.h: move friend bool operator< to non friend and after
16066         class def.
16067
16068         * combox.h: small cleanup
16069
16070         * buffer.h: doxygen, remove unused constructor, move inclas inlies
16071         to inlines after class def.
16072
16073         * buffer.C (pop_tag): use string operations instead of strcmp
16074
16075         * bmtable.c: doxygen, small cleanup
16076
16077         * LaTeX.h: remove friend operator==
16078
16079 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
16080
16081         * screen.C:
16082         * lyxrc.[Ch]:
16083         * lyxfunc.C:
16084         * lyxfont.[Ch]:
16085         * lyx_cb.C:
16086         * intl.[Ch]:
16087         * commandtags.h:
16088         * buffer.C:
16089         * WorkArea.[Ch]:
16090         * LyXAction.C:
16091         * BufferView_pimpl.C:
16092         * BufferView.[Ch]: remove cruft
16093
16094 2001-02-14  Juergen Vigna  <jug@sad.it>
16095
16096         * lyxfunc.C: removed #if 0 unused code
16097
16098         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16099
16100         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16101
16102         * text2.C (SetSelection): added a BufferView * parameter
16103
16104 2001-02-13  Juergen Vigna  <jug@sad.it>
16105
16106         * lyxfunc.C (Dispatch): fixed protected blank problem.
16107         * BufferView2.C (protectedBlank): added LyxText * parameter.
16108
16109         * tabular.C (AppendRow): forgot to set row_info of newly added row.
16110         (AppendColumn): same as above for column_info.
16111
16112         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16113         (moveCursorUpdate): use a LyXText param for support of InsetText.
16114
16115         * BufferView_pimpl.C (doubleClick): added support for InsetText.
16116         (tripleClick): ditto
16117
16118         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16119
16120         * BufferView_pimpl.C (update): added LyXText param to honor insets.
16121
16122         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16123
16124         * text2.C (SetSelection): set correct update status if inset_owner
16125         (ToggleFree): ditto
16126
16127 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
16128
16129         * tabular.C: remove some commented code.
16130
16131 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
16132
16133         * BufferView_pimpl.C: call hideSplash()
16134
16135         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16136
16137         * include_form.h:
16138         * bibforms.h: remove
16139
16140         * lyxfunc.C:
16141         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16142           add LFUN_CHILD_CREATE
16143
16144         * counters.h: fix tiny typo
16145
16146         * lyx_cb.C:
16147         * lyx.h:
16148         * lyx_gui.C:
16149         * lyx.C: move splash to frontends/xforms/
16150
16151         * lyx_gui_misc.C: move Include and Bibform to frontends
16152
16153         * lyxvc.h: clarify comment
16154
16155         * vspace.C: tiny housekeeping
16156
16157 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
16158
16159         * text.C (PrepareToPrint): RTL Fix.
16160
16161         * paragraph.C (GetUChar): New method.
16162         (String):  Use GetUChar.
16163
16164         * buffer.C (asciiParagraph): Use GetUChar.
16165
16166 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
16167
16168         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16169
16170 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
16171
16172         * buffer.h:
16173         * buffer.C: rename to getLogName(), handle
16174           build log / latex log nicely
16175
16176 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16177
16178         * MenuBackend.C:
16179         * MenuBackend.h: remove support for reference menuitem type.
16180
16181 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
16182
16183         * BufferView_pimpl.C: housekeeping
16184         * BufferView_pimpl.h:
16185         * LyXView.h:
16186         * Makefile.am:
16187         * Timeout.C:
16188         * Timeout.h:
16189         * minibuffer.h: move Timeout GUI-I
16190
16191 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
16192
16193         * lyxrc.C (read): Update converters data-structures.
16194
16195 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
16196
16197         * LaTeX.h (operator!=): add operator != for Aux_Info
16198
16199 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
16200
16201         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16202
16203         * LaTeXLog.C: deleted, useful code moved to Buffer
16204
16205         * buffer.h:
16206         * buffer.C: new function getLatexLogName()
16207
16208         * lyx_gui_misc.C:
16209         * lyx_gui.C:
16210         * lyxvc.C:
16211         * lyxvc.h:
16212         * lyxfunc.C: use frontends for LaTeX and VC logs
16213
16214 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16215
16216         * LaTeX.h: yet another std:: that Allan forgot.
16217
16218         * Variables.C (set): renamed from isset(), because this clashes
16219         with some HP-UX macros (grr).
16220
16221 2001-02-06  Allan Rae  <rae@lyx.org>
16222
16223         * LaTeX.h: Another bug fix.  Missing std:: this time.
16224
16225 2001-02-04  Allan Rae  <rae@lyx.org>
16226
16227         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16228         floats problem. I've left it commented out because it's not quite
16229         correct.  It should also test that the current object is a table or
16230         figure inset.  But I haven't gotten around to figuring out how to do
16231         that.  I *think* it'll be something like: "table" == inset.type()
16232
16233         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16234         bool.
16235
16236 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
16237
16238         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16239         all the citation/databases/styles in the auxilary file.
16240         (run): Rerun latex if there was a babel language error.
16241
16242 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
16243
16244         * text.C (Backspace): Preserve the font when changing newline char
16245         with a space.
16246         (BreakParagraph): If the cursor is before a space, delete the space.
16247
16248         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16249
16250 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
16251
16252         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16253         new argument (code).
16254         (ChangeCitationsIfUnique): New method.
16255
16256         * paragraph.C (GetPositionOfInset): Handle bibkey.
16257
16258 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16259
16260         * BufferView_pimpl.h: change type of Position::par_pos to
16261         LyXParagraph::size_type.
16262
16263 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
16264
16265         * BufferView_pimpl.C (savePosition, restorePosition): Write
16266         messages to minibuffer.
16267
16268 2001-01-28  José Matos  <jamatos@fep.up.pt>
16269
16270         * buffer.C (makeDocBookFile): adds support for document language.
16271         A silly restriction on the name of LatexCommand types where removed.
16272         Added support for CDATA sections, allows to chars unescaped, used
16273         among others in code, to avoid escape < and >.
16274
16275 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16276
16277         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16278         saved positions instrad of a stack. Furthermore, a position is
16279         stored using paragraph id/paragraph position.
16280
16281         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16282         Remove LFUN_REF_BACK.
16283
16284 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16285
16286         * converter.C (dvipdfm_options): New method.
16287
16288 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
16289
16290         * vspace.C (isValidLength): Fix for empty input string.
16291
16292 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16293
16294         * LyXAction.C (init): change description of LFUN_FIGURE to
16295         "Insert Graphics"
16296
16297 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16298
16299         * LaTeX.C: add using directive
16300
16301 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16302
16303         * MenuBackend.C (expand): Fix the sorting of the formats.
16304
16305 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
16306
16307         * lyx_main.C: tiny error message fix
16308
16309 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16310
16311         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16312         calling fl_initialize(). This fixes the problem with ',' as
16313         decimal separator in text files.
16314
16315 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16316
16317         * trans.C (process): Fix the keymap bug.
16318
16319 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
16320
16321         * LaTeX.C (scanAuxFiles): New method. Provides support for
16322         multiple bibliographies (when using the bibtopic/bibunits pacakges).
16323         (scanLogFile) Scan for "run BibTeX" messages.
16324
16325         * buffer.C (makeLaTeXFile): Do not load the ae package when using
16326         OT1 font encoding. Also, load the aecompl package if the ae
16327         package is loaded.
16328
16329         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16330
16331 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16332
16333         * texrow.C (increasePos): turn two error messages into debug
16334         messages.
16335
16336 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
16337
16338         * LaTeX.C (scanAux): Handle the \@input macro.
16339         (runBibTeX): Use scanAux().
16340
16341         * language.C (latex_options_): New field.
16342
16343         * LaTeXFeatures.C (getMacros): Add language macros.
16344
16345         * buffer.C (makeLaTeXFile): Small fix.
16346
16347 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16348
16349         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16350
16351         * text2.C: add a using directive.
16352
16353 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
16354
16355         * BufferView2.C:
16356         * lyx_gui_misc.h:
16357         * lyxfr1.C:
16358         * lyxfunc.C: kill LyXBell.
16359
16360 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
16361
16362         * text.C (IsBoundary): Remove the error message
16363
16364         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16365
16366         * lyxrc.C (setDefaults): Correct initialization value for
16367         font_norm_type.
16368
16369 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
16370
16371         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16372         gotoError().
16373
16374         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16375         and GotoNextNote().
16376
16377         * src/LyXAction.C: Added reference-next.
16378
16379         * text.C (InsertChar): Use contains instead of strchr.
16380
16381         * lyx_cb.C (MenuInsertLabel): Enable default value code.
16382
16383 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
16384
16385         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16386         alignment commands (when needed).
16387
16388         * text.C (InsertChar): Add ':' to number separator chars.