]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
5599a9a24925f8795b996b173a930a55e3581164
[lyx.git] / src / ChangeLog
1 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2
3         * text3.C (specialChar, dispatch): make sure cursor moves to the
4         right after inserting an inset
5
6 2004-11-02  José Matos  <jamatos@lyx.org>
7
8         * output_docbook.C (docbook):
9         * paragraph.C (getID):  
10         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
11         garantee that the output is always legal.
12
13         * tabular.C (docbook):
14         * outputprams.[Ch]: remove mixed contents.
15
16 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
17
18         * text2.C (setCounter): prevent endless loop
19
20 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
21
22         * exporter.C (copyFile): use the mover instead of support::copy()
23         * exporter.C (Export): pass format and latex name to copyFile()
24         * exporter.h (addExternalFile): document
25         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
26
27 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
28
29         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
30
31 2004-10-30  José Matos  <jamatos@lyx.org>
32
33         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
34         text and no inset or font change. This allows to use CDATA
35         sections just for the whole paragraph.
36
37 2004-10-30  José Matos  <jamatos@lyx.org>
38
39         * paragraph.C (getFirstWord): remove unused variable.
40
41 2004-10-30  José Matos  <jamatos@lyx.org>
42
43         * paragraph.C (getFirstWord): the content should always be escaped
44         there. 
45         (simpleDocBookOnePar):
46         * output_docbook.C (makeEnvironment): replace reference to CDATA
47         to style pass_thru. 
48
49 2004-10-30  José Matos  <jamatos@lyx.org>
50
51         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
52
53 2004-10-30  José Matos  <jamatos@lyx.org>
54
55         * output_docbook.C (makeParagraphs):
56         * paragraph.[Ch] (emptyTag): for docbook and company, if the
57         standard paragraph has only a given type of content drop the wrapper.
58
59 2004-10-29  José Matos  <jamatos@lyx.org>
60
61         * output_docbook.C (makeEnvironment):
62         * sgml.C (openTag):
63         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
64
65 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
66
67         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
68         (cleanID): sanitize any id.
69
70 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
71
72         * buffer.C, lyxlex_pimpl.C:
73         * lyxlex_pimpl.C (setFile):
74         s/getExtFromContents/getFormatFromContents/
75
76 2004-10-28  José Matos  <jamatos@lyx.org>
77
78         * output_docbook.C (makeEnvironment): move id to broadest possible
79         scope. 
80
81         * sgml.C (openTag): apply substitution of <> for all attributes.
82
83 2004-10-28  José Matos  <jamatos@lyx.org>
84
85         * buffer.C (makeLinuxDocFile, makeDocBookFile):
86         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
87         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
88
89         * sgml.[Ch]: new version for open and closeTag for paragraph and
90         for strings. Now they handle the ids of paragraphs.
91
92 2004-10-26  Angus Leeming  <leeming@lyx.org>
93
94         * Makefile.am: add mover.[Ch].
95
96         * converter.C (convert, move): use the new Movers to move external
97         files to the temp directory.
98
99         * lyx_main.C (init): ensure that the global system_movers data
100         is initialised.
101
102         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
103         preferences file.
104
105         * mover.[Ch]: new files, defining a Mover as a utility to move an
106         external file between directories and, if necessary, manipulate this
107         file using a helper script.
108
109 2004-10-25  José Matos  <jamatos@lyx.org>
110
111         * output_docbook.C (makeCommand): merge two if's that tested the
112         same condition. 
113
114 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
115
116         * sgml.C (escapeString): fix warning in a better way
117
118 2004-10-25  José Matos  <jamatos@lyx.org>
119
120         * sgml.C (escapeString): import the require boosts header file for
121         tie, and avoid a signed unsigned comparison.
122
123 2004-10-25  José Matos  <jamatos@lyx.org>
124
125         * sgml.h: add #include <string>
126
127 2004-10-25  José Matos  <jamatos@lyx.org>
128
129         * sgml.[Ch] (escapeString): new function to escape all the string.
130
131 2004-10-24  José Matos  <jamatos@lyx.org>
132
133         * paragraph.[Ch] (getFirstWord): new function to get the first
134         word. Useful for description.
135         (simpleDocBookOnePar): remove depth argument, add another that
136         says where to start the paragraph.
137
138         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
139         use the new functions to fix cleanly the support for descriptions.
140
141 2004-10-24  José Matos  <jamatos@lyx.org>
142
143         * buffer.C (makeLinuxDocFile, makeDocBookFile):
144         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
145         * output_linuxdoc.C (linuxdocParagraphs):
146         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
147         add buffer as argument.
148
149 2004-10-24  José Matos  <jamatos@lyx.org>
150
151         * output_docbook.C (makeEnvironment, searchEnvironment): place
152         CDATA inside paragraphs and fix scope for listitems.
153
154 2004-10-24  José Matos  <jamatos@lyx.org>
155
156         * output_docbook.C: remove using statement for stack.
157
158 2004-10-23  José Matos  <jamatos@lyx.org>
159
160         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
161         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
162         docbook. The new scheme is recursive and makes use of iterators, the
163         same as latex export works.
164         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
165         directly with the paragraph contents. This code was moved up to
166         output_docbook.C (docbookParagraphs).
167         * sgml.C (openTag, closeTag): removed unneeded newlines.
168         (closeEnvTags) removed.
169
170 2003-10-23  André Pönitz  <poenitz@gmx.net>
171
172         * undo.C (textUndoOrRedo):
173         * dociterator.C (asDocIterator): work around crash
174
175         * cursor.C (getStatus): replace ASSERT by more verbose error message
176           and manual correction of the problem. Should increase stability
177           while providing more sensible information.
178
179 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
180
181         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
182
183         * bufferlist.C (previous, next): new methods
184
185         * lfuns.h:
186         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
187
188 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
189
190         * buffer.C (makeDocBookFile): add dsssl stylesheet control
191         entities to preamble.
192
193 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
194
195         * messages.C (Pimpl): strip off translation context information
196
197 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
198
199         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
200         the cursor is correct (bug 1694)
201
202 2004-10-13  José Matos  <jamatos@lyx.org>
203
204         * output_docbook.C (docbookParagraphs): fix closing tags in the
205         end of the document.
206
207 2004-10-09  José Matos  <jamatos@lyx.org>
208
209         * buffer.C: format up to 237.
210         * bufferparams.C (write): use tostr to convert booleans to strings.
211
212 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
213
214         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
215
216 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
217
218         * LaTeX.C: implement use of babel language in xindy.
219
220 2004-10-05  José Matos  <jamatos@lyx.org>
221
222         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
223         Add new translators to help reading and writing the lyx file.
224
225 2004-10-05  José Matos  <jamatos@lyx.org>
226
227         * ParagraphParameters.C (read):
228         * text.C (readParToken): replace nexToken by more appropriate lex
229         methods.
230
231 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
232
233         * LaTeX.C (runMakeIndex):
234         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
235         (usually 'makeindex') configurable.
236
237         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
238         with a variable rather than with a number.
239
240 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
241
242         * output_latex.C (TeXOnePar): make sure font setting is the first
243         thing that gets output (and the last at the end). Should fix bug
244         1404.
245
246 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
247
248         * pch.h: use proper signal include
249
250         * LaTeX.h: Use preferred calling of Boost.Signal
251         * buffer.h: ditto
252
253 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
254
255         * pch.h: dont include <boost/function/function0.hpp>
256
257         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
258
259         * paragraph_pimpl.h: remove usage of ShareContainer
260
261         * paragraph_pimpl.C: remove initialization of ShareContainer.
262
263 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
264
265         Fix bug #1666
266
267         * BufferView.C (putSelectionAt): change the semantics when
268         backwards == true: now, this just swaps cursor and anchor wrt the
269         forward case
270
271         * BufferView.h (putSelectionAt): add some documentation
272
273         * lyxfind.C (findBackwards): rewrite using while(). In particular,
274         make sure backwardChar is done at least once (to avoid getting
275         stuck)
276         (findNextChange): use putSelectionAt in the forward direction
277         (operator()): use Paragraph::isWord
278
279 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
280
281         * Spacing.C (set): c_str fix
282
283 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
284
285         * lyx_cb.C (Reconfigure): quote the name of configure script in
286         case it contains spaces
287
288 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
289
290         * client: new dir
291
292         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
293         (BOOST_LIBS): use top_buildir when looking for the file
294
295 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
296
297         * pch.h: do not use include boost/format.hpp, multiple symbols
298                 will result (gcc bug)
299
300
301 2004-08-23  José Matos  <jamatos@lyx.org>
302
303         * bufferparams.C (readToken): fix reading of the author field.
304
305 2004-08-20  José Matos  <jamatos@lyx.org>
306
307         * lyxrc.C: remove support/translator.h inclusion since it is not used.
308
309 2004-08-20  José Matos  <jamatos@lyx.org>
310
311         * lyxlex.[Ch] (findToken): remove function.
312
313         * ParagraphParameters.C (findToken):
314         * bufferparams.C (findToken): replace call for previous function
315         with local copy. This local function has one more argument, the
316         read string argument.
317
318 2004-08-16  José Matos  <jamatos@lyx.org>
319
320         * ParagraphParameters.C (write):
321         * Spacing.C (writeFile):
322         * bufferparams.C (writeLaTeX):
323         * lyx_cb.C (Reconfigure):
324         * paragraph.C (write):
325         * tabular.C (write): remove unnecessary space at end of line.
326
327
328 2004-08-16  José Matos  <jamatos@lyx.org>
329
330         * text.C (readParagraph): remove debug message.
331
332 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
333
334         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
335         crash
336
337         * output_plaintext.C (asciiParagraph): set depth correctly
338
339         * outputparams.h: add member depth
340
341         * paragraph_funcs.C (ownerPar): remove.
342
343         * text2.C (setCounter): remove first_pit; comment out some
344         non-working code that uses ownerPar
345
346         * BufferView.C (getParentLanguage): remove. Not used anymore, and
347         uses ownerPar
348
349 2004-08-16  José Matos  <jamatos@lyx.org>
350
351         * text.C (readParToken, readParagraph, read): report all unknown tokens.
352         For the same level of importance use the same chanel to report problems.
353         (read): add code to deal with \begin_body and \end_body.
354
355
356 2004-08-15  José Matos  <jamatos@lyx.org>
357
358         * lyxlex.C (getString): fix comment, buffer::readBody is now
359         buffer:readDocument.
360
361         * tex-strings.C (string_papersize): Default -> default,
362         Custom -> custom, for consistency with other options.
363
364 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
365
366         * pch.h: new file
367
368         * Makefile.am: support pch
369
370 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
371
372         * text.C (readParToken): remove the static LyXFont variable and
373         pass it as a parameter instead. This fixes a nasty bug where an
374         inset will be inserted with a bad font in some situations
375         (readParagraph): adapt
376
377         * text2.C (setCounter): reduce number of calls to pars_[pit]
378
379         * text.C (singleWidth): add an assert, fix a test
380
381         * rowpainter.C (paintText): reduce number of calls to singleWidth
382
383         * paragraph.C (isHfill):
384         (isNewline): ws only
385
386 2004-08-14  André Pönitz  <poenitz@gmx.net>
387
388         * text.C:
389         * text2.C:
390         * rowpainter.C:
391         * lyxtext.h (several functions): use a Paragraph & argument
392         instead of par_type
393
394 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
395
396         * metricsinfo.h: add a new field ltr_pos to PainterInfo
397
398         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
399
400         * text.C (singleWidth): remove useless test
401
402 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
403
404         * tabular.h: remove bogus comments
405
406         * tabular.C (getDescentOfRow):
407         (isPartOfMultiColumn): add assertions
408
409         * lyxlength.C (inPixels): remove #warning
410
411 2004-08-14  André Pönitz  <poenitz@gmx.net>
412
413         * paragraph.h: inline getChar()
414
415         * BufferView.h: remove unused declarations
416
417 2004-08-14  José Matos  <jamatos@lyx.org>
418
419         * Buffer.[Ch] (readDocument): new name for old readBody.
420         * Buffer.C: new file format, new keywords: \begin_document,
421         \begin_header, \begin_body, \end_body.
422
423         * bufferparams.C (readToken): replace all calls to lex.nextToken
424         by lex.next(). Do the same to eatLine except where really needed.
425
426         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
427         line when writing to the lyx file.
428
429         * output_plaintext.C (asciiParagraph): fix Bibliography style
430         handling.
431
432         * text.C (read): fix end of file handling.
433
434 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
435
436         * MenuBackend.C (Menu::operator[]): new method to access
437         individual menu items
438         (Menu::hasFunc): new method. search for an item that corresponds
439         to a given func
440         (MenuBackend::specialMenu): new method
441         (MenuBackend::expand): if a special menu has been set, skip
442         entries whose func() appears in this menu
443
444 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
445
446         * text3.C: use Debug::DEBUG a bit more
447
448         * text.C (leftMargin): try to simplify a tiny bit change var x to
449         l_margin. Dont output the wide margins always.
450         (rightMargin): no margin in inner texts
451
452         * rowpainter.h (nestMargin): new func
453         (changebarMargin): new func
454         (rightMargin): new func
455
456         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
457         now functions.
458         (paintLast): ditto
459
460         * factory.C (createInset): modify setDrawFrame
461
462         * cursor.C: use Debug::DEBUG a bit more
463
464 2004-08-14  André Pönitz  <poenitz@gmx.net>
465
466         * coordcache.[Ch]:
467         * Makefile.am: new files to accomodate an 'external' (x,y)-position
468         cache for all insets in (at least partially) visible (top-level)
469         paragraphs.
470
471         * BufferView_pimpl.C: reset external coord cache before every update.
472         This means the coord cache only contains valid entries.
473
474 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
475
476         bug 1096
477         * BufferView_pimpl.C (getInsetByCode): move function out of class
478         and change in to a template in anon namespace. Also fix to do what
479         suits us better.
480
481 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
482
483         bug 1305
484         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
485         of char
486         (breakParagraph): rename par to par_offset and use a local
487         reference. Add code to keep the language over a rebreak.
488         (breakParagraphConservative): rename par to par_offset, use a
489         local reference
490         (mergeParagraph): ditto
491         (outerHook): ditto
492         (isFirstInSequence): ditto
493         (outerFont): rename pit to par_offset
494
495         * paragraph.C: ws change
496         * paragraph.h: ditto
497         * text3.C: ditto
498         * text.C: ditto
499
500 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
501
502         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
503         treatment for ']'
504
505         * paragraph.C (simpleTeXOnePar): when we have a \item with
506         optional argument, enclose the argument with curly brackets (in
507         case it contains a closing square bracket)
508
509         * text2.C (editXY):
510         * text2.C (editXY):
511         * text3.C (checkInsetHit): constify
512
513 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
514
515         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
516         documents (bug 1629)
517
518 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
519
520         Fix toggling of collapsable insets with the mouse (bug 1558)
521
522         * lyxfunc.C (dispatch): adapt to LCursor changes
523
524         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
525         make sure that dispatch is not invoked twice
526
527         * cursor.C (needsUpdate): new method
528         (dispatch): return void
529         (result): new method, to access the DispatchResult of the cursor.
530
531 2004-08-13  José Matos  <jamatos@lyx.org>
532
533         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
534
535 2004-08-13  André Pönitz  <poenitz@gmx.net>
536
537         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
538
539         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
540           multiple cells
541
542 2004-08-12  André Pönitz  <poenitz@gmx.net>
543
544         * text3.C: take out the 'cursor right' form insertInset and only
545         do it in those places when it is really needed. Fixes crash on
546         C-m...
547
548 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
549
550         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
551
552         * BufferView_pimpl.C (setBuffer): initialize the current font of
553         the underlying LyXText
554
555 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
556
557         * kbsequence.C (print): use UI native formatting for menu
558         shortcuts
559
560         * text.C (insertChar): call Paragraph::insertChar with a font
561         argument (cosmetic)
562
563         * paragraph.C (insertInset, insertChar): the version that takes a
564         LyXFont argument is now a wrapper around the other one (the
565         opposite used to be true).
566
567         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
568         argument. Font setting is done in Paragraph now.
569
570 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
571
572         * outputparams.h: add new members intitle and lang.
573
574         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
575         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
576
577 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
578
579         * text3.C (dispatch): remove special handling of button 4 and 5,
580         it is now taken care of in the frontend code.
581
582 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
583
584         * Spacing.h: add <string> (STLPort compile fix)
585
586 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
587
588         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
589
590 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
591
592         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
593         to bool.
594
595         * converter.C (showMessage): inherit from unary_function, make
596         operator() const.
597
598         * buffer.C (writeFile): initialize retval
599
600         * InsetList.h: rename private variable list to list_
601         * InsetList.[Ch]: adjust accordingly.
602
603 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
604
605         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
606         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
607         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
608         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
609         * ParagraphParameters.C, LaTeXFeatures.C: replace
610         "support/std_sstream.h" with <sstream>
611
612 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
613
614         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
615         * lyxsocket.C (LyXServerSocket): ditto
616         (serverCallback): ditto
617
618 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
619
620         * LaTeXFeatures.C: check release date when loading jurabib.
621
622 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
623
624         * lyxserver.C (startPipe): call register_socket_callback
625         (endPipe): call unregister_socket_callback
626
627 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
628
629         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
630         (LyXServerSocket): register the callback
631         (LyXServerSocket): unregister the callback
632         (fd): delete function
633         (serverCallback): improve error checking and setup the callbacks.
634         (dataCallback): change arg to fd.
635         (writeln): new func (copied fro the client socket) used for server
636         write to client.
637         (LyXDataSocket): simplify
638         (~LyXDataSocket): close ann unregiser callback
639         (server): delete function
640         (fd): delete function
641         (readln): small changes, improve some std::string usage
642         (writeln): constify a bit
643
644 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
645
646         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
647         Qt frontend
648
649 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
650
651         * BufferView_pimpl.C (setBuffer): set the layout combox value only
652         after it has been populated
653
654 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
655
656         * text2.C (insertInset): move cursor when inserting inset.
657
658 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
659
660         * kbmap.C (findbindings): a couple of new methods. returns a
661         container of kb_sequence objects. The real work is done by the
662         private recursive version
663         (printbindings): uses findbindings to print out a bracketed list
664         of bindings (renamed from findbinding).
665
666         * MenuBackend.C (binding): use kb_keymap::findbindings
667
668         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
669
670 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
671
672         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
673
674 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
675
676         * paragraph.C (isWord): return true on insets that report
677         isLetter().
678
679         * text.C (getWord): use Paragraph::isWord to decide what is in a
680         word and what is not; fix bug 1609.
681
682 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
683
684         * tex-strings.C: add "none" to string_paperpackages[], fixes
685         off-by-one-error in the paperpackage selection.
686
687         * lyxlex.[Ch]:
688         * tex-strings.[Ch]: char const * string[n]
689         -> char const * const string[]
690
691 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
692
693         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
694         command, return early.
695
696 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
697
698         * debug.h: add DEBUG to enum and fix size of ANY.
699
700         * debug.C: add support for Debug::DEBUG
701         (showTags): cast errorTags.level to unsigned int
702
703         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
704         (redoCurrentBuffer): ditto
705         (updateScrollbar): ditto
706         * cursor.C (dispatch): ditto
707         * text2.C (setLayout): ditto
708         (setFont): ditto
709         (updateCounters): ditto
710         (editXY): ditto
711         (deleteEmptyParagraphMechanism): ditto
712
713 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
714
715         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
716         annotations to cleanup the Makefile slightly.
717
718 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
719
720         * lyxrc.C: do not set user_email to a default value but use empty
721         instead. The entry used to be translated, which does not work
722         since at the point where lyxrc is constructed there is no
723         translation service available
724
725         * messages.C (getLocaleDir): remove and use directly
726         lyx_localedir() instead
727
728 2004-06-02  Angus Leeming  <leeming@lyx.org>
729
730         Fix crash caused by dereferencing null pointer 'exportdata' in
731         OutputParams by creating a new ExportData variable on the heap,
732         storing it in a boost::shared_ptr.
733         The crash was triggered when generating an Instant Preview
734         of an external inset.
735
736         * Makefile.am: add outputparams.C
737
738         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
739         (c-tor): allocate memory to it.
740
741         * exporter.C (c-tor): associated changes.
742
743 2004-06-01  Angus Leeming  <leeming@lyx.org>
744
745         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
746         contains data before calling isInset(0). (Bug 1513.)
747
748 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
749
750         * exporter.C (checkOverwrite): new method
751         * exporter.C (copyFile): new method
752         * exporter.C (Export): copy referenced files to the document dir
753         * exporter.[Ch]: new class ExportedFile
754         * exporter.[Ch]: new class ExportData. Contains currently the
755         names of referenced external files
756         * outputparams.h: add exportdata member.
757
758 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
759
760         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
761         version.C-tmp
762
763 2004-05-19  Angus Leeming  <leeming@lyx.org>
764
765         * LaTeXFeatures.C:
766         * ToolbarBackend.C:
767         * bufferparams.C:
768         * lyxfunc.C: small changes due to the introduction of namespace
769         lyx::frontend and the moving of namespace biblio to lyx::biblio.
770
771 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
772
773         * text3.C (dispatch): supress update when only moving the cursor
774         * cursor.C (selHandle): remove commented code
775
776 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
777
778         * paragraph.C (startTeXParParams): correct column count
779         * CutAndPaste.C (pasteSelection): remove const_cast
780         * output_docbook.C (docbookParagraphs): remove const_cast
781         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
782         const_cast and return ParagraphList::const_iterator
783         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
784         * output_plaintext.C (writeFileAscii): remove const_cast
785         * paragraph.[Ch] (simpleTeXOnePar): make const
786         * paragraph_funcs.C (outerPar): use const iterators
787         * paragraph_pimpl.C (validate): use const iterators
788         * text.C (setHeightOfRow): use const iterators
789
790 2004-05-17  Angus Leeming  <leeming@lyx.org>
791
792         * lfuns.h:
793         * LyXAction.C (init): new LFUN_INSET_REFRESH.
794
795         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
796         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
797         if the citation engine has changed.
798
799 2004-05-14  José Matos  <jamatos@lyx.org>
800
801         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
802         if the textclass does not provide it. Have it different for sgml and
803         xml.
804         support the language of document.
805         * output_docbook.C (docbookParagraphs):
806         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
807         first anchor as the id of the paragraph, remove special case code.
808         * sgml.C (escapeChar): escape only < & >.
809
810 2004-05-14  Angus Leeming  <leeming@lyx.org>
811
812         * bufferparams.h: move biblio::CiteEngine enum here to minimize
813         dependencies on src/frontends/controllers/biblio.h. Define a
814         CiteEngine_enum wrapper class to enable the enum to be forward
815         declared.
816
817 2004-05-12  Angus Leeming  <leeming@lyx.org>
818
819         * buffer.C: up LYX_FORMAT to 234.
820         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
821         use_numerical_citations with a single biblio::CiteEngine cite_engine
822         variable.
823         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
824
825 2004-05-13  José Matos  <jamatos@lyx.org>
826
827         * converter.h:
828         * converter.C (Converter, readFlags): add xml member.
829         * outputparams.h: add XML flavor.
830         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
831
832 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
833
834         * lyxfunc.C (dispatch):
835         (getStatus): fix handling of LFUN_SEQUENCE
836
837 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
838
839         * debug.C (showLevel): do not forget the end-of-line marker
840
841 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
842
843         * kbmap.C (read): do not stop parsing a bind file when an error
844         occurs (bug 1575)
845
846 2004-04-29  Angus Leeming  <leeming@lyx.org>
847
848         * cursor.C:
849         * factory.C:
850         * pariterator.C:
851         * text2.C: wrap a bunch of #warning statements
852         inside #ifdef WITH_WARNINGS blocks.
853
854 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
855
856         * buffer.C: increment format to 233.
857
858 2004-04-28  Angus Leeming  <leeming@lyx.org>
859
860         * BufferView_pimpl.C:
861         * lyxfunc.C:
862         * text3.C:
863         s/updateToolbar()/updateToolbars()/
864         s/Toolbar.h/Toolbars.h/
865
866 2004-04-28  Angus Leeming  <leeming@lyx.org>
867
868         * BufferView.[Ch] (c-tor):
869         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
870         No longer passes these data to the WorkArea generator.
871
872 2004-04-28  Angus Leeming  <leeming@lyx.org>
873
874         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
875
876 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
877
878         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
879
880 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
881
882         * output_latex.C (TeXEnvironment): make sure that there is a line
883         break before \end{foo} for the last paragraph of a document
884         (TeXOnePar): if the paragraph is at the end of the document (or
885         inset) and the language has to be reset, then make sure that the
886         line break is _before_ the language command, not after (fixes bug
887         1225); also make sure that the language reset command is the first
888         thing after the paragraph (to ensure proper nesting of
889         environments and thus fix bug 1404)
890
891 2004-04-21  John Levon  <levon@movementarian.org>
892
893         * ToolbarBackend.h:
894         * ToolbarBackend.C: make "name" be a programmatic name
895         and a gui_name field.
896
897         * lyxfunc.C: display the minibuffer on M-x
898
899 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
900
901         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
902         (bug 1526)
903
904 2004-04-19  Angus Leeming  <leeming@lyx.org>
905
906         * BufferView_pimpl.C (setBuffer): changed preview interface.
907
908         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
909         possible values.
910
911 2004-04-19  John Levon  <levon@movementarian.org>
912
913         * BufferView_pimpl.C:
914         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
915
916 2004-04-05  Angus Leeming  <leeming@lyx.org>
917
918         * text.C (redoParagraphs): add call to updateCounters(), thereby
919         fixing the missing "Figure #:" label from the caption of a
920         figure float.
921
922 2004-04-13  Angus Leeming  <leeming@lyx.org>
923
924         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
925         cursor is clicked out of an inset.
926
927 2004-04-13  Angus Leeming  <leeming@lyx.org>
928
929         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
930         than an InsetOld one.
931
932 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
933
934         * format.[Ch]: add editor to Format
935         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
936         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
937
938 2004-04-08  André Pönitz  <poenitz@gmx.net>
939
940         * metricsinfo.h: remove PainterInfo::width member
941
942 2004-04-08  Angus Leeming  <leeming@lyx.org>
943
944         * lyx_sty.C (boldsymbol_def): modify so that it outputs
945         "\providecommand" rather than "\newcommand", thereby preventing
946         clashes with packages that define "\boldsymbol" themselves.
947         Eg, beamer.
948
949 2004-04-08  Angus Leeming  <leeming@lyx.org>
950
951         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
952         thereby squashing an unnecessary warning.
953
954 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
955
956         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
957         setBuffer()
958
959 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
960
961         * BufferView.C (setCursor): call redoParagraph (some insets could
962         have been opened)
963         (putSelectionAt): remove the 'double update' trick
964
965         * BufferView_pimpl.C (fitCursor): call refreshPar
966         (workAreaDispatch): remove an uneeded update call
967         (dispatch): remove some manual update calls
968
969         * cursor.[Ch]: remove cached_y_, updatePos
970         (selHandle): set noUpdate when appropriate
971
972         * lyxfunc.C (dispatch): track if we need an update
973
974         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
975
976         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
977         (paintSelection): cheap optimization, do not call cursorX when not
978         needed
979         (paintPars): change signature
980         (refreshPar): add
981         (paintText): adjust
982         (paintTextInset): adjust
983
984         * text.C: adjust
985
986 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
987
988         * lengthcommon.C: compilation fix: remove explicit array size from
989         unit_name[] and friends
990
991 2004-04-05  Angus Leeming  <leeming@lyx.org>
992
993         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
994
995         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
996         present only for the preferences dialog.
997         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
998
999 2004-04-05  Angus Leeming  <leeming@lyx.org>
1000
1001         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1002         to enable the frontends to export changes to lyxrc correctly.
1003
1004         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1005
1006 2004-04-07  André Pönitz  <poenitz@gmx.net>
1007
1008         * cursor.[Ch] (selClear, adjust): remove math
1009
1010         * cursor_slice.C: more agressive assert
1011
1012         * lyxfunc.C:
1013         * BufferView_pimpl.C: rework mouse event dispatch
1014
1015         * dociterator.C:
1016         * paragraph.C:
1017         * text2.C:
1018         * text3.C: adjust
1019
1020 2004-04-05  André Pönitz  <poenitz@gmx.net>
1021
1022         * cursor.[Ch] (valign, halign...): remove unneeded functions
1023
1024 2004-04-05  Angus Leeming  <leeming@lyx.org>
1025
1026         * lyxlength.[Ch] (unit_name et al.): const-correct.
1027
1028 2004-04-05  Angus Leeming  <leeming@lyx.org>
1029
1030         * BufferView_pimpl.C:
1031         * buffer.C:
1032         * counters.C:
1033         * cursor.C:
1034         * lyxfunc.C
1035         * paragraph.C:
1036         * pariterator.C:
1037         * text.C:
1038         * text2.C:
1039         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1040
1041 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1042
1043         * text3.C (getStatus): add LFUN_BEGINNINGBUF
1044
1045 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1046
1047         * lyxfind.C: add a couple of inTexted() tests + other small fixes
1048         * BufferView_pimpl.[Ch] (getStatus)
1049         * BufferView.[Ch] (getStatus): add
1050         * lyxfunc.C (getStatus): move lfuns handled in
1051         BufferView::dispatch to te function above
1052         * Cursor.C (setSelection): set selection() = true
1053
1054 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1055
1056         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1057
1058 2004-03-31  Angus Leeming  <leeming@lyx.org>
1059
1060         * lyxfunc.C (dispatch): Fall through to the generic
1061         Dialogs::show("preamble").
1062
1063 2004-03-31  Angus Leeming  <leeming@lyx.org>
1064
1065         * lyxfunc.C (dispatch): Fall through to the generic
1066         Dialogs::show("spellchecker").
1067
1068 2004-03-31  Angus Leeming  <leeming@lyx.org>
1069
1070         * lyxfunc.C (getStatus, dispatch): changed invocation of the
1071         preferences dialog.
1072
1073 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1074
1075         * BufferView.C
1076         * cursor.[Ch]
1077         * dociterator.[Ch]:
1078         * insetiterator.[Ch]:
1079         * lyxfind.C:
1080         * lyxfunc.C:
1081         * pariterator.[Ch]:
1082         * text2.C:
1083         * undo.[Ch]: s/DocumentIterator/DocIterator/g
1084
1085 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1086
1087         * BufferView.C (setCursor, putSelectionAt): call edit to open the
1088         insets where we are putting the cursor.
1089
1090 2004-03-31  Angus Leeming  <leeming@lyx.org>
1091
1092         * lfuns.h:
1093         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1094
1095         * lyxrc.[Ch] (read, write): overloaded member functions taking
1096         a std::[io]stream arguments.
1097
1098         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1099
1100 2004-03-31  Angus Leeming  <leeming@lyx.org>
1101
1102         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1103         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1104
1105         * lyxtextclass.C (load): if the text class couldn't be loaded, then
1106         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1107
1108 2004-03-31  Angus Leeming  <leeming@lyx.org>
1109
1110         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1111         the LFUN_ALL_INSETS_TOGGLE code.
1112
1113 2004-03-30  Angus Leeming  <leeming@lyx.org>
1114
1115         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1116         has died. Fall through to the generic Dialogs::show("document").
1117
1118 2004-03-30  Angus Leeming  <leeming@lyx.org>
1119
1120         * lfuns.h:
1121         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1122         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1123
1124         * lyxfunc.C (getStatus, dispatch): define the actions for these
1125         lfuns. Little more than a cut and pste job from ControlDocument.C
1126
1127         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1128
1129 2004-03-30  Angus Leeming  <leeming@lyx.org>
1130
1131         * lfuns.h:
1132         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1133         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1134
1135         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1136         open/closed state of ollapsable insets. Usage:
1137
1138         all-inset-toggle <state> <name>, where
1139         <state> == "open" || "closed" || "toggle" and
1140         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1141
1142         * lyxtext.h, text2.C (toggleInset): removed.
1143
1144         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1145         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1146         now passes LFUN_INSET_TOGGLE to the found inset.
1147
1148         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1149         is now invoked as "all-insets-toggle toggle branch".
1150
1151 2004-03-30  Angus Leeming  <leeming@lyx.org>
1152
1153         * dociterator.C:
1154         * insetiterator.C:
1155         * pariterator.[Ch]: added/corrected header blurb.
1156
1157 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
1158
1159         * dociterator.[Ch]: add an inset_ member
1160         (backwardPos): implemented
1161         (backwardPos, forwardPos): use inset_ when the stack is empty.
1162         (doc_iterator_begin, doc_iterator_end): implemented
1163         * pariterator.[Ch]: adjust, add begin, end
1164         * insetiterator.[Ch]: adjust, add begin, end
1165         * cursor.C:
1166         * document.C:
1167         * BufferView.C:
1168         * BufferView_pimpl.C:
1169         * CutAndPaste.C: adjust
1170
1171 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1172
1173         * buffer.C: increment file format to 232.
1174         * LaTeXFeatures.C: add bibtopic package.
1175         * bufferparams.[Ch]: param \use_bibtopic.
1176
1177         * lyxrc.[Ch]: add lyxrc bibtex_command
1178         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1179
1180         * buffer.C: increment file format to 231.
1181
1182 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1183
1184         * dociterator.C: implement forwardPar
1185         * iterators.[Ch]: remove, replaced by
1186         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1187         * BufferView.C:
1188         * BufferView_pimpl.C:
1189         * CutAndPaste.C:
1190         * buffer.C:
1191         * bufferview_funcs.C:
1192         * cursor.C:
1193         * lyxfind.C
1194         * lyxfunc.C
1195         * paragraph_funcs.C
1196         * toc.C:
1197         * Makefile.am: adjust
1198
1199 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1200
1201         * CutAndPaste.C (pasteSelection): fix 2 crashes
1202         (eraseSelection): fix a crash
1203         * paragraph_funcs.C: remove a warning
1204
1205 2004-03-28  Angus Leeming  <leeming@lyx.org>
1206
1207         * lfuns.h:
1208         * LyXAction.C (init): new LFUN_PRINT.
1209
1210         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1211
1212 2004-03-27  Angus Leeming  <leeming@lyx.org>
1213
1214         * lfuns.h:
1215         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1216
1217         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1218
1219 2004-03-27  Angus Leeming  <leeming@lyx.org>
1220
1221         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1222         insetlist always contains non-null pointers to insets.
1223
1224 2004-03-26  Angus Leeming  <leeming@lyx.org>
1225
1226         * src/BufferView_pimpl.C:
1227         * src/CutAndPaste.C:
1228         * src/buffer.C:
1229         * src/iterators.C:
1230         * src/output_plaintext.C:
1231         * src/outputparams.h:
1232         * src/paragraph_funcs.C:
1233         * src/rowpainter.C:
1234         * src/text.C:
1235         * src/text2.C:
1236         * src/frontends/controllers/ControlErrorList.C:
1237         * src/frontends/gtk/FileDialogPrivate.C:
1238         * src/frontends/gtk/GPainter.C:
1239         * src/frontends/gtk/GToolbar.C:
1240         * src/frontends/qt2/QRef.C:
1241         * src/mathed/math_scriptinset.C: squash compiler warnings.
1242
1243 2004-03-26  Angus Leeming  <leeming@lyx.org>
1244
1245         * ispell.C (LaunchIspell::start):
1246         * lyx_cb.C (AutoSaveBuffer::start):
1247         invoke run(DontWait) rather than runNonBlocking().
1248
1249 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
1250
1251         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1252
1253 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1254
1255         * kbsequence.C (print): adjust
1256
1257         * kbmap.C (printKeySym): rename and change signature
1258         (printKey): use LyXKeySym::print()
1259
1260 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
1261
1262         * undo.C: add using std::advance to compile for stlport
1263
1264 2004-03-24  Angus Leeming  <leeming@lyx.org>
1265
1266         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1267         it leads to a crash when no buffer is present.
1268
1269 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1270             Martin Vermeer  <martin.vermeer@hut.fi>
1271
1272         * lyxfunc.C (dispatch):
1273         * bufferparams.C (readToken): use the new LColor::setColor
1274
1275         * LColor.[Ch] (setColor): new version that takes two strings as
1276         argument and creates a new color entry if necessary
1277
1278 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1279
1280         * buffer.C (makeLaTeXFile): if the main latex file that is
1281         processed is usually a subdocument of some master, then pretend
1282         for a while that it is actually the master
1283
1284 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1285
1286         * buffer.C (getLabelList):
1287         (getBibkeyList): use getMasterBuffer()
1288         (getMasterBuffer): new method. Returns the main document in the
1289         case where one is using included documents.
1290
1291 2004-03-25  André Pönitz  <poenitz@gmx.net>
1292
1293         * Makefile.am:
1294         * iterators.[Ch]:
1295         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1296
1297         * ParagraphList_fwd.h: change ParagraphList to a std::vector
1298
1299         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1300         text*.C over here. Rename namespace CutAndPaste to lyx::cap
1301
1302         * ParameterStruct.h: merge with ParagraphParameters
1303
1304         * lyxtext.h: remove LyXText::parOffset() and getPar()
1305
1306         * text3.C: Remove all 'manual' update calls. We do now one per user
1307         interaction which is completely sufficient.
1308
1309         * Bidi.C:
1310         * BufferView.[Ch]:
1311         * BufferView_pimpl.C:
1312         * FontIterator.[Ch]:
1313         * MenuBackend.C:
1314         * ParagraphParameters.[Ch]:
1315         * buffer.C:
1316         * buffer.h:
1317         * bufferlist.C:
1318         * cursor.[Ch]:
1319         * cursor_slice.[Ch]:
1320         * dociterator.[Ch]:
1321         * errorlist.[Ch]:
1322         * factory.C:
1323         * lfuns.h:
1324         * lyxfind.C:
1325         * lyxfunc.C:
1326         * output_docbook.[Ch]:
1327         * output_latex.[Ch]:
1328         * output_linuxdoc.[Ch]:
1329         * output_plaintext.[Ch]:
1330         * paragraph.[Ch]:
1331         * paragraph_funcs.[Ch]:
1332         * paragraph_pimpl.[Ch]:
1333         * rowpainter.C:
1334         * tabular.[Ch]:
1335         * text.C:
1336         * text2.C:
1337         * toc.C:
1338         * undo.[Ch]: adjust
1339
1340         * frontends/controllers/ControlDocument.C:
1341         * frontends/controllers/ControlErrorList.C:
1342         * frontends/controllers/ControlSpellchecker.C:
1343         * insets/inset.C:
1344         * insets/inset.h:
1345         * insets/insetbase.h:
1346         * insets/insetbibitem.C:
1347         * insets/insetbox.C:
1348         * insets/insetbranch.C:
1349         * insets/insetcaption.C:
1350         * insets/insetcharstyle.C:
1351         * insets/insetcharstyle.h:
1352         * insets/insetcollapsable.C:
1353         * insets/insetcollapsable.h:
1354         * insets/insetert.C:
1355         * insets/insetfloat.C:
1356         * insets/insetfoot.C:
1357         * insets/insetmarginal.C:
1358         * insets/insetnote.C:
1359         * insets/insetoptarg.C:
1360         * insets/insettabular.C:
1361         * insets/insettext.C:
1362         * insets/insettext.h:
1363         * insets/insetwrap.C:
1364         * mathed/math_mboxinset.C:
1365         * mathed/math_nestinset.C:
1366         * mathed/math_scriptinset.C:
1367         * mathed/math_scriptinset.h:
1368         * support/types.h:
1369
1370 2004-03-24  Angus Leeming  <leeming@lyx.org>
1371
1372         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1373         deal with any child processes that have finished but are waiting to
1374         communicate this fact to the rest of LyX.
1375
1376 2004-03-24  Angus Leeming  <leeming@lyx.org>
1377
1378         64-bit compile fixes.
1379
1380         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1381         (c-tor): pass lyx::pos_types rather than ints.
1382
1383         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1384         lyx::pos_type.
1385
1386         * text.C (Delete): compile fix.
1387         (getPar): ensure that function declaration is the same as that in
1388         the header file.
1389
1390 2004-03-23  Angus Leeming  <leeming@lyx.org>
1391
1392         * ispell.C (LaunchIspell):
1393         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1394         a boost::shred_ptr rather than a std::auto_ptr.
1395
1396 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1397
1398         * lyxfunc.C (getStatus): handle read-only buffers correctly;
1399         handle LFUN_FILE_INSERT_*
1400
1401         * lyxrc.C (setDefaults, getDescription, output, read):
1402         * lyxrc.h: remove ps_command
1403
1404 2004-03-22  Angus Leeming  <leeming@lyx.org>
1405
1406         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1407         Ensure that error_handler is processed once only and that all data
1408         is saved before attempting to output any warning messages.
1409
1410         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1411
1412 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
1413
1414         * tabular.C (TeXRow): crash fix (from Kayvan and André)
1415
1416 2004-03-19  André Pönitz  <poenitz@gmx.net>
1417
1418         * cursor.[Ch] (reset): take main text inset as argument
1419
1420         * BufferView: adjust
1421         * BufferView_pimpl.C: adjust
1422
1423         * paragraph.[Ch]: fix completely broken operator=()
1424
1425 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1426
1427         * LColor.C (getFromLyXName): make sure that the color name is used
1428         as lowercase.
1429
1430 2004-03-17  Angus Leeming  <leeming@lyx.org>
1431
1432         * lfuns.h:
1433         * LyXAction.C (init): remove LFUN_FORKS_KILL.
1434
1435         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1436         dialog and to kill a forked process.
1437
1438 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1439
1440         * text2.C (setCursorFromCoordinates): fix font problem
1441
1442 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1443
1444         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1445         bogus "rebuild cursor" code
1446
1447 2004-03-11  André Pönitz  <poenitz@gmx.net>
1448
1449         * buffer.[Ch]: use InsetText instead of LyXText as container for
1450         the main lyx text.
1451
1452         * dociterator.[Ch]: drop the BufferView * member which is not needed
1453         anymore after the change to buffer.C
1454
1455         * paragraph_funcs.C:
1456         * text.C:
1457         * text2.C:
1458         * BufferView.[Ch]:
1459         * BufferView_pimpl.[Ch]:
1460         * cursor.[Ch]:
1461         * cursor_slice.[Ch]: adjust
1462
1463         * text3.C: fix bug in mathDispatch
1464
1465 2004-03-08  André Pönitz  <poenitz@gmx.net>
1466
1467         * undo.[Ch]: use 'StableDocumentIterator' as base for
1468         the Undo struct.
1469
1470 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1471
1472         * LaTeXFeatures.C:
1473         * bufferparams.[Ch]: add jurabib support and param.
1474
1475         * LaTeX.C: add FIXME/comment.
1476
1477 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1478
1479         * buffer.C: increment file format to 230.
1480
1481 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
1482
1483         * cursor.C (dispatch): avoid infinite loops
1484
1485 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1486
1487         * rowpainter.C (paintSelection): fix x coordinates
1488
1489 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1490
1491         * text.C (rowBreakPoint): fix breaking before displayed insets
1492
1493 2004-03-01  André Pönitz  <poenitz@gmx.net>
1494
1495         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1496
1497         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1498
1499         * Makefile.am:
1500         * BufferView.C:
1501         * BufferView_pimpl.C:
1502         * buffer.C:
1503         * lyxfind.C:
1504         * lyxfunc.C:
1505         * text.C:
1506         * text2.C:
1507         * text3.C: adjust
1508
1509 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1510
1511         * lyxtext.h:
1512         * text.C:
1513         * text2.C:
1514         * rowpainter.C:
1515         * BufferView_pimpl.C: rename textwidth -> maxwidth,
1516         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1517
1518 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1519
1520         * Bidi.[Ch] (computeTables): const correctness
1521         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1522         fill_hfill, fill_label_hfill and x from Row
1523         * lyxtext.h: prepareToPrint returns a RowMetrics
1524         * rowPainter.C: adjust
1525         * text.C (prepareToPrint): use width, not textWidth. adjust
1526         (redoParagraphInternal, cursorX): adjust
1527         * text2.C (getColumnNearX): adjust
1528         (init): put a default value to the top LyXText::width
1529
1530 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1531
1532         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1533
1534 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1535
1536         * lyxtext.h: add FontIterator class
1537
1538         * text.C (FontIterator, operator*, operator->, operator++): add
1539         (rowBreakPoint, setRowWidth): adjust (fixing a
1540         rebreaking bug)
1541
1542 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1543
1544         * BufferView_pimpl.C (workAreaDispatch): allow also
1545         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1546
1547 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
1548
1549         * text.C (rowBreakPoint): fix a bug showing with very large insets
1550
1551 2004-02-25  André Pönitz  <poenitz@gmx.net>
1552
1553         * text3.C:
1554         * cursor.[Ch]: move some mathed specific code to mathed
1555
1556 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1557
1558         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1559         use_tempdir in preferences
1560         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1561         tempfile creation
1562         * lyx_main.C: ensure that tempdir is valid
1563         * lyxlex.h: correct typo
1564         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1565         * paragraph.[Ch] (isMultiLingual): make const
1566         * cursor.[Ch] (openable): make const
1567
1568 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1569
1570         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1571
1572 2004-02-20  André Pönitz  <poenitz@gmx.net>
1573
1574         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1575
1576         * cursor.[Ch]: prepare for localized getStatus()
1577
1578         * lyxtext.h:
1579         * tabular.C:
1580         * text.C:
1581         * text2.C:
1582         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
1583
1584 2004-02-20  André Pönitz  <poenitz@gmx.net>
1585
1586         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1587
1588 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1589
1590         * text2.C (setCursorFromCoordinates): switch to absolute coords
1591         (cursorUp): adjust
1592         (cursorDown): adjust
1593         * text3.C (dispatch): adjust
1594
1595 2004-02-16  André Pönitz  <poenitz@gmx.net>
1596
1597         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1598           insets/ChangeLog)
1599
1600         * cursor_slice.[Ch]: remove unneeded acessor function
1601
1602         * lyxtext.h: rename rtl() to isRTL()
1603
1604         * rowpainter.C:
1605         * tabular.C:
1606         * text.C:
1607         * text2.C:
1608         * text3.C: adjust
1609
1610 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1611
1612         * rowpainter.C (paintSelection): coord fix
1613
1614 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
1615
1616         * Spacing.C: compile fix
1617
1618 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1619
1620         * cursor.C (dispatch): restore current_ before returning
1621
1622 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1623
1624         * text2.C (cursorUp, cursorDown): fix coords
1625         (moveUp): fix crash
1626
1627 2004-02-12  André Pönitz  <poenitz@gmx.net>
1628
1629         * lyxtext.h:
1630         * text.C:
1631         * text2.C:
1632         * text3.C: add LCursor & parameter to most cursor movement functions
1633           remove usage of LyXText::cursorRow() and cursorPar()
1634
1635         * cursor.[Ch]: add textRow() needed members
1636
1637         * BufferView.C:
1638         * BufferView_pimpl.C:
1639         * paragraph.[Ch]:
1640         * BufferView.C:
1641         * BufferView_pimpl.C: adjust
1642
1643 2004-02-11  André Pönitz  <poenitz@gmx.net>
1644
1645         * lyxfunc.C:
1646         * BufferView.[Ch]:
1647         * BufferView_pimpl.C: shift undo/redo handling
1648
1649         * cursor.[Ch]: fix mathed crash
1650
1651         * lyxfind.C:
1652         * lyxtext.h: move selectionAsText to LCursor
1653
1654         * output_latex.C:
1655         * paragraph.C:
1656         * text.C:
1657         * text2.C:
1658         * text3.C: adjust
1659
1660         * rowpainter.C: fix excessive drawing
1661
1662 2004-02-06  André Pönitz  <poenitz@gmx.net>
1663
1664         * BufferView.[Ch]:
1665         * BufferView_pimpl.[Ch]:
1666         * text3.C: move some text specific LFUN handling
1667
1668 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
1669
1670         * text3.C (checkInsetHit): adjust coords
1671         * text2.C (getColumnNearX): adjust coords
1672         (edit): adjust coords
1673         * text.C (getRowNearY): add two asserts
1674
1675 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
1676
1677         * converter.C:
1678         * format.C: add using std::distance to compile on gcc 2.95/stlport
1679
1680 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
1681
1682         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1683
1684 2004-02-04  André Pönitz  <poenitz@gmx.net>
1685
1686         * BufferView.[Ch] (insertInset):
1687         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1688
1689         * text2.C:
1690         * text3.C: adjust
1691
1692 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1693
1694         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1695         on the default clause of the switch
1696         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1697         wasn't catched by LCursor::dispatch
1698
1699 2004-02-03  André Pönitz  <poenitz@gmx.net>
1700
1701         * BufferView.C:
1702         * cursor.[Ch]: some additional asserts
1703
1704         * undo.[Ch]: remove LyXText dependency in interface
1705
1706         * lyxfunc.C: adjust
1707
1708         * lyxtext.h (firstPar, lastPar): remove dead functions
1709
1710         * text.C:
1711         * text2.C:
1712         * text3.C:
1713         * paragraph.[Ch]: adjust
1714
1715 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1716
1717         * lyxfind.C (find): fix argument order in call to ::find
1718
1719 2004-02-02  André Pönitz  <poenitz@gmx.net>
1720
1721         * cursor.[Ch]: remove direct access to anchor
1722
1723         * text.C: remove findText() hack
1724
1725 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1726
1727         * iterators.[Ch] (lockPath): remove in favour of...
1728         * BufferView.[Ch] (setCursor): this addition
1729         * BufferView.C (putSelectionAt): adjust
1730         * undo.C (performUndoOrRedo): adjust
1731         * lyxfunc.C (dispatch): adjust
1732
1733 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1734
1735         * iterators.C (lockPath): add a missing slice
1736         * undo.C (performUndoOrRedo): remove redundant positioning code
1737
1738 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1739
1740         * vc-backend.C (scanMaster): ";" -> ';'
1741
1742 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
1743
1744         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1745         std::binary_function
1746
1747         * lyxtextclass.C (compare_name): rename to...
1748         (LayoutNamesEqual): ...this
1749
1750         * lyxlex_pimpl.C (compare_tags): inherit from
1751         std::binary_function, put back into anon namespace
1752
1753         * lyxfind.C (MatchString): inherig from std::binary_function
1754         (findChange): use empty() istead of !size()
1755
1756         * format.C (FormatNamesEqual): new functor
1757         (getFormat): use it
1758         (getNumber): use it
1759         (add): use it
1760         (erase): use it
1761         (setViewer): use it
1762
1763         * converter.C (compare_Converter): rename to...
1764         (ConverterEqual): ...this, and fixup a bit.
1765         (getConverter): use it, and make function const
1766         (getNumber): use it, and make function const
1767         (add): use it
1768         (erase): use it:
1769
1770         * bufferlist.C: add using boost::bind
1771
1772         * MenuBackend.C (MenuNamesEqual): new functor
1773         (hasMenu): use it, and make function const
1774         (hasSubmenu): use nested bind to get rid of compare_memfun.
1775
1776 2004-01-30  André Pönitz  <poenitz@gmx.net>
1777
1778         * BufferView_pimpl.C:
1779         * cursor.C:
1780         * cursor.h:
1781         * cursor_slice.[Ch]:
1782         * lyxfunc.C:
1783         * lyxtext.h:
1784         * paragraph_funcs.C:
1785         * paragraph_funcs.h:
1786         * rowpainter.C:
1787         * text.C:
1788         * text2.C:
1789         * text3.C: move some of the edit(x,y) handling to the insets
1790         some coordinate changes.
1791
1792 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1793
1794         * text.C: add using statements for std::advance and std::distance
1795
1796         * paragraph.C: add using statement for std::distance
1797
1798         * lyxfind.C: add using statement for std::advance
1799
1800         * cursor.C (region): remove std:: from swap
1801         (openable): use nucleus in stead of operator->
1802
1803         * BufferView.C: add using statements for std::distance and std::swap
1804
1805 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
1806
1807         * iterators.C: Remove the pimple, move the needed structures to
1808         the header file. Create accessor for the positions stack.
1809         (asPosIterator): remove function
1810
1811         * PosIterator.C (PosIterator): move constructors to top of file
1812         (PosIterator): reimplement the constructor taking a ParIterator in
1813         terms of setFrom.
1814         (setFrom): new function
1815         (operator!=): inline it
1816
1817 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1818
1819         * lyxfind.C (replaceAll): use std::advance
1820
1821         * iterators.h: inherit from std::iterator.
1822
1823         * PosIterator.C (advance, distance): remove
1824         * PosIterator.h: interit from std::iterator.
1825
1826 2004-01-26  André Pönitz  <poenitz@gmx.net>
1827
1828         * BufferView.[Ch]:
1829         * BufferView_pimpl.[Ch]:
1830         * InsetList.[Ch]:
1831         * PosIterator.[Ch]:
1832         * buffer.h:
1833         * bufferview_funcs.C:
1834         * cursor.[Ch]:
1835         * cursor_slice.h:
1836         * factory.[Ch]:
1837         * iterators.[Ch]:
1838         * lyxfind.C:
1839         * lyxfunc.C:
1840         * lyxtext.h:
1841         * output_docbook.C:
1842         * output_latex.C:
1843         * output_linuxdoc.C:
1844         * output_plaintext.C:
1845         * paragraph.[Ch]:
1846         * paragraph_funcs.[Ch]:
1847         * paragraph_pimpl.[Ch]:
1848         * rowpainter.C:
1849         * tabular.C:
1850         * tabular.h:
1851         * text.C:
1852         * text2.C:
1853         * text3.C: more IU:  dumps most of the rest of the mathcursor
1854     implementation into cursor.[Ch]; "globalize" a bit of it.
1855
1856 2004-01-25  Angus Leeming  <leeming@lyx.org>
1857
1858         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1859
1860 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1861
1862         * LaTeXFeatures.h: add nice_ and nice() const
1863         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1864
1865 2004-01-20  André Pönitz  <poenitz@gmx.net>
1866
1867         * BufferView.[Ch]:
1868         * BufferView_pimpl.C:
1869         * PosIterator.C:
1870         * bufferview_funcs.C:
1871         * cursor.[Ch]:
1872         * cursor_slice.[Ch]:
1873         * factory.C:
1874         * iterators.C:
1875         * lyx_cb.C:
1876         * lyxfind.C:
1877         * lyxfunc.C:
1878         * lyxtext.h:
1879         * rowpainter.C:
1880         * text.C:
1881         * text2.C:
1882         * text3.C:
1883         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1884           LCursor and mathcursor parts to LCursor and InsetBase.
1885
1886 2004-01-15  André Pönitz  <poenitz@gmx.net>
1887
1888         * cursor_slice.[Ch]: add a few covienience functions
1889
1890         * funcrequest.[Ch]: remove BufferView * member
1891
1892         * BufferView_pimpl.C:
1893         * cursor.C:
1894         * factory.[Ch]:
1895         * lyxfind.[Ch]:
1896         * lyxfunc.C:
1897         * lyxtext.h:
1898         * text3.C:
1899         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1900
1901 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
1902
1903         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1904         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1905
1906 2004-01-13  André Pönitz  <poenitz@gmx.net>
1907
1908         * textcursor.[Ch]:
1909         * lyxtext.h: hide cursor and selection anchor behind accessor function
1910
1911         * BufferView.C:
1912         * BufferView_pimpl.[Ch]:
1913         * PosIterator.C:
1914         * bufferview_funcs.C:
1915         * cursor.h:
1916         * lyxfind.C:
1917         * lyxfunc.C:
1918         * text.C:
1919         * text2.C:
1920         * text3.C:
1921         * undo.C: adjust
1922
1923         * cursor.h:
1924         * cursor_slice.[Ch]: some integer type changes for inset unification
1925
1926         * lyxcursor.[hC]: remove, it's CursorSlice now.
1927
1928         * Makefile.am:
1929         * BufferView_pimpl.[Ch]:
1930         * bufferview_funcs.C:
1931         * cursor_slice.C:
1932         * lyxtext.h:
1933         * text.C:
1934         * text2.C:
1935         * text3.C:
1936         * textcursor.[Ch]: adjust
1937
1938 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
1939
1940         * text2.C (undoSpan): add and use
1941         * text.C (breakParagraph): use undoSpan (fix bug 578)
1942         * lyxtext.h: adjust
1943
1944 2004-01-08  Angus Leeming  <leeming@lyx.org>
1945
1946         * BufferView_pimpl.C (MenuInsertLyXFile):
1947         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1948         * lyxfunc.C (menuNew, open, doImport):
1949         FileFilterList change to the FileDialog open and save functions.
1950
1951 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1952
1953         * ShareContainer.h: make isEqual and isUnique adaptable
1954
1955         * CutAndPaste.C: make resetOwnerAndChanges adaptable
1956
1957 2004-01-07  Angus Leeming  <leeming@lyx.org>
1958
1959         * LyXAction.C:
1960         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1961
1962         * BufferView_pimpl.C (dispatch): act on these LFUNs.
1963
1964         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1965         functions replacing find, replace and replaceAll.
1966
1967         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1968         LFUN_WORDFIND(FORWARD|BACKWARD).
1969
1970 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1971
1972         * text.C (breakParagraph): remove an outdated #warning
1973
1974 2004-01-07  André Pönitz  <poenitz@gmx.net>
1975
1976         * lyxfind.C: somewhat clearer logic
1977
1978         * text.C: prevent crash in cursorX on unitialized row cache
1979
1980 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1981
1982         * lyxcursor.[Ch] (operator>): add
1983         * textcursor.C (selStart, selEnd): use std::min and std::max
1984
1985 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1986
1987         * Chktex.C: include boost/format.hpp
1988
1989 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
1990
1991         * InsetList.C: replace functor MathcIt with adaptable functor
1992         InsetTablePosLess
1993         (insetIterator): modify accordingly
1994
1995         * BranchList.h: move the BranchNamesEqual functor here from...
1996         * BranchList.C: ... to here
1997
1998         * BranchList.C: new BranchListEqual fuctor, use it. Remove
1999         SameName and match.
2000         (add): replace a finding loop with std::find_if.
2001
2002 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
2003
2004         * output_docbook.C: moving LatexParam functionality into
2005         .layout files
2006
2007 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2008
2009         * buffer.C: increment format to 229.
2010
2011 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
2012
2013         * LaTeXFeatures.C:
2014         * lyx_sty.[Ch]: remove minipageindent_def
2015
2016         * LyXAction.C:
2017         * factory.C:
2018         * lfuns.h:
2019         * lyxfunc.C:
2020         * text3.C: remove LFUN_INSET_MINIPAGE
2021
2022 2003-12-28  Angus Leeming  <leeming@lyx.org>
2023
2024         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2025
2026 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
2027
2028         * text2.C (setParagraph): fix off-by-one crash
2029
2030 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
2031
2032         * output_docbook.C: header stuff for AGU
2033
2034 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2035
2036         * text2.C (redoCursor): remove
2037         * text.C:
2038         * text3.C:
2039         * BufferView_pimpl.C: remove calls to redoCursor and
2040         setCursor(cursor.par(), cursor.pos()) all around
2041
2042 2003-12-15  Angus Leeming  <leeming@lyx.org>
2043
2044         * buffer.C: up the format to 228.
2045
2046 2003-12-15  André Pönitz  <poenitz@gmx.net>
2047
2048         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2049         slices
2050
2051         * Makefile.am:
2052
2053         * BufferView_pimpl.C:
2054         * cursor.[Ch]:
2055         * lyxcursor.[Ch]:
2056         * rowpainter.[Ch]:
2057         * lyxtext.h:
2058         * text.C:
2059         * text2.C:
2060         * text3.C: adjust
2061
2062 2003-12-15  Angus Leeming  <leeming@lyx.org>
2063
2064         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2065         than getFromGUIName to manipulate the color.
2066
2067 2003-12-14  Angus Leeming  <leeming@lyx.org>
2068
2069         * BranchList.[Ch]: minimize the API.
2070         (Branch::getBranch, getColor): now return a 'const &'.
2071         (Branch::setSelected) now returns a bool set to true if the
2072         selection status changes.
2073         (BranchList::clear, size, getColor, setColor, setSelected,
2074         allBranches, allSelected, separator): removed.
2075         (BranchList::find): new functions, returning the Branch with
2076         the given name.
2077         (BranchList::add, remove): return a bool indicating that
2078         the operation was successful.
2079
2080         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2081         new InsetBranch::isBranchSlected member function.
2082
2083         * LColor.[Ch]: mimimize the API.
2084         (fill): renamed as addColor and made private.
2085         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2086         versions of these functions taking a string arg have been removed.
2087
2088         * bufferparams.C (readToken):
2089         * lyxfunc.C (dispatch):
2090         * lyxrc.C (read): changes due to the altered BranchList and
2091         LColor APIs.
2092
2093         * factory.C (createInset, readInset): changes due to altered
2094         InsetBranch c-tor.
2095
2096 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2097
2098         * factory.C:
2099         * lyxfunc.C: remove insetminipage. "minipage-insert"
2100         now produces a frameless minipage box inset.
2101
2102 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2103
2104         * textcursor.[Ch] (selStart,selEnd): add new methods
2105         remove selection::start, end, use LyXCursor::operator<
2106         * lyxcursor.[Ch] (operator<): add
2107         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2108         * BufferView.[Ch] (unsetXSel): add
2109         * text2.C (clearSelection): use unsetXSel,adjust
2110         * text.C: adjust
2111         * text3.C: adjust
2112         * rowpainter.C: adjust
2113         * bufferview_funcs.C (put_selection_at): adjust
2114
2115 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2116
2117         * BufferView_pimpl.C: small coord. correction
2118
2119 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2120
2121         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2122         dragging over the splash screen.
2123
2124 2003-12-11  Angus Leeming  <leeming@lyx.org>
2125
2126         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2127         as it is now handled in LyXText::dispatch.
2128
2129         * text3.C (doInsertInset): remove a level of nesting.
2130
2131 2003-12-11  Angus Leeming  <leeming@lyx.org>
2132
2133         * factory.C (createInset): changes due to the changed interface to
2134         InsetCommandMailer::string2params.
2135
2136 2003-12-10  Angus Leeming  <leeming@lyx.org>
2137
2138         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2139         'dialog-show-new-inset <inset name>'
2140
2141 2003-12-10  Angus Leeming  <leeming@lyx.org>
2142
2143         * buffer.C: up the format to 227.
2144
2145         * factory.C: the box inset is now identified simply by 'Box'.
2146
2147 2003-12-10  Angus Leeming  <leeming@lyx.org>
2148
2149         * buffer.C: up the format to 226.
2150
2151         * factory.C: the note inset is now identified simply by 'Note'.
2152
2153 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
2154
2155         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2156         when a pit is enough. Standarize a couple of loops.
2157
2158 2003-12-05  Angus Leeming  <leeming@lyx.org>
2159
2160         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2161         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2162         data to the re-worked "log" dialog.
2163
2164 2003-12-03  André Pönitz  <poenitz@gmx.net>
2165
2166         * PosIterator.C:
2167         * iterators.C:
2168         * lyxtext.h:
2169         * output_latex.C:
2170         * paragraph_funcs.C:
2171         * text.C:
2172         * text2.C: use Inset::getText instead of Inset::getParagraph
2173
2174 2003-12-03  André Pönitz  <poenitz@gmx.net>
2175
2176         * buffer.[Ch]:
2177         * lyxtext.h:
2178         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2179         InsetText::read() as LyXText::read()
2180
2181 2003-12-02  Angus Leeming  <leeming@lyx.org>
2182
2183         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2184         type. Add a comment in the implementation that the function uses
2185         the stream's bad() function rather than fail() as the std::streams
2186         would do.
2187
2188 2003-12-02  André Pönitz  <poenitz@gmx.net>
2189
2190         * lyxlex.[Ch]: make interface more similar to std::stream
2191
2192         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2193
2194 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
2195
2196         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2197
2198 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
2199
2200         * vspace.[Ch]: remove VSpace::NONE
2201
2202 2003-12-01  André Pönitz  <poenitz@gmx.net>
2203
2204         * buffer.[Ch]:
2205         * lyxtext.h: move ParagraphList member to LyXText
2206         rename LyXText::ownerParagraphs to LyXText::paragraph
2207
2208         * CutAndPaste.C:
2209         * bufferview_funcs.C:
2210         * iterators.[Ch]:
2211         * lyx_cb.C:
2212         * paragraph.C:
2213         * rowpainter.C:
2214         * tabular.C:
2215         * text.C:
2216         * text2.C:
2217         * text3.C: adjust
2218
2219         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2220
2221         * undo.C: fix cursor positioning
2222
2223 2003-12-01  John Levon  <levon@movementarian.org>
2224
2225         * BufferView_pimpl.C: fix a crash on exit with
2226         a buffer open
2227
2228 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
2229
2230         * BranchList.C: fix setSelected() method.
2231
2232 2003-11-28  André Pönitz  <poenitz@gmx.net>
2233
2234         * ParagraphParameters.[Ch]:
2235         * ParameterStruct.h: remove space above/below from Paragraph to
2236          InsetVSpace
2237
2238         * BufferView_pimpl.C:
2239         * factory.C:
2240         * lyxfunc.C:
2241         * lyxtext.h:
2242         * output_latex.C:
2243         * paragraph.C:
2244         * paragraph_funcs.C:
2245         * rowpainter.[Ch]:
2246         * text.C:
2247         * text2.C:
2248         * text3.C: adjust
2249
2250 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
2251
2252         * factory.C: Syntax change for CharStyles
2253
2254 2003-11-28  André Pönitz  <poenitz@gmx.net>
2255
2256         * BufferView.[Ch]:
2257         * BufferView.[Ch]:
2258         * buffer.[Ch]:
2259         * buffer.[Ch]: move LyXText member
2260
2261 2003-11-28  André Pönitz  <poenitz@gmx.net>
2262
2263         * BufferView.[Ch]: make LyXText * text a private member
2264
2265         * BufferView_pimpl.C:
2266         * cursor.C:
2267         * iterators.C:
2268         * lyx_cb.C:
2269         * lyxfind.C:
2270         * lyxtext.h:
2271         * rowpainter.[Ch]:
2272         * text.C:
2273         * text2.C:
2274         * undo.C: adjust
2275
2276         * output_plaintext.C: cleanup
2277
2278 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2279
2280         * buffer.C:
2281         * lyxtextclass.[Ch]: parametrize SGML document header
2282
2283 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2284
2285         * converter.[Ch]:
2286         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2287         getFlavor().
2288
2289 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
2290
2291         * text2.C (setFont): rework using PosIterator (no more recursive)
2292         (setCharFont): no more needed
2293         (setLayout): no more selection cursors fiddling (done by redoCursor)
2294         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2295         destroy remaining ones)
2296
2297 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
2298
2299         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2300         * lyxtext.h: ditto
2301         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2302         selection cursors
2303         * lyxfunc.C: adjust
2304         * text3.C: adjust + re-allow multi par depth changes
2305         * textcursor.C: simplify a bit
2306
2307 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
2308
2309         * src/buffer.C:
2310         * src/lyxlayout.C:
2311         * src/lyxlayout.h:
2312         * src/lyxtext.h:
2313         * src/output_docbook.C:
2314         * src/output_latex.C:
2315         * src/paragraph.C:
2316         * src/paragraph.h:
2317         * src/sgml.C:
2318         * src/sgml.h:
2319         * src/text2.C: Introducing a number of tags parametrizing various
2320         XML formats that we may want to support
2321
2322 2003-11-25  André Pönitz  <poenitz@gmx.net>
2323
2324         * InsetList.[Ch] (begein, end): inline as suggested by profiler
2325
2326         * lyxtext.h (leftMargin/rightMargin): simplify interface
2327
2328         * rowpainter.C:
2329         * text.C:
2330         * text2.C:
2331         * text3.C: adjust
2332
2333 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2334
2335         * lyxfunc.C (dispatch): propogate the bibtex databases from the
2336         master file to any child files. Fixes bug 546.
2337
2338 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2339
2340         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2341
2342 2003-11-24  André Pönitz  <poenitz@gmx.net>
2343
2344         * rowpainter.C: simplification
2345
2346         * text2.C (updateCounters): remove call to redoParagraph on
2347         changed labels as this is far too expensive.
2348
2349 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2350
2351         * converter.C (convert): fix a crash: this function gets
2352         called with buffer == 0 from importer code.
2353
2354 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2355
2356         * text3.C (cursorPrevious): make sure that we do not compare
2357         iterators form different containers.
2358         (cursorNext): ditto
2359
2360         * rowpainter.C (paintSelection): make sure that we do not compare
2361         iterators from different containers.
2362
2363         * text3.C (dispatch): [PRIOR] make sure that we do not compare
2364         iterators from different ParagraphList containers.
2365         [NEXT] ditto
2366
2367         * text2.C (LyXText): change order of initialization slightly
2368         (operator=): new function. copy all variables except cache_par_
2369         (moveUp): make sure that we do not compare iterators from
2370         different ParagraphList constainers.
2371         (moveDown): ditto
2372
2373         * text.C (firstPar): new function
2374         (lastPar): new function
2375         (endPar): new function
2376
2377         * lyxtext.h: move things around and group public functions, public
2378         variables, private functions, private variables
2379
2380 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
2381
2382         * factory.C: change call to InsetERT constructor to avoid
2383         additional invocation of method status
2384         * text2.C (toggleInset): remove redundant update() call
2385         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2386         instead of a Bufferview pointer
2387
2388 2003-11-21  André Pönitz  <poenitz@gmx.net>
2389
2390         * rowpainter.C: simplification
2391
2392 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2393
2394         * text3.C (dispatch): make possible to extend a word/row selection
2395         with the mouse
2396
2397 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2398
2399         * lyxtext.h: x0_,y0_ -> xo_,yo_
2400         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2401         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2402         * rowpainter.C (paintRows): paint full paragraphs
2403
2404 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2405
2406         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2407         screen coordinates)
2408
2409 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2410
2411         * lyxtext.h: add x0_, y0_
2412         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2413         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2414
2415 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
2416
2417         * text2.C (setCursorIntern): move the x_target update here *
2418         * text3.C: change some bv() to true/false in calls to
2419         cursorUp/Down/Right/Left
2420         * cursor.C: use helper function.
2421
2422 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2423
2424         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2425         * paragraph_funcs.[Ch]: correct comment
2426         * rowpainter.C: do not paint selections away from bv->cursor()
2427         Fix a long standing selection painting bug.
2428         * text3.C: generalize mouse-selection code to LyXTexts other that
2429         top one
2430         * textcursor.C: do not use y coords if we can use par offsets
2431
2432 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2433
2434         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2435         cursor position after e.g. inset insert)
2436
2437 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
2438
2439         * lyxfind.C (replace): adjust to locking removal + some
2440         code simplification
2441
2442 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
2443
2444         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2445         of the path
2446
2447 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
2448
2449         * lyxlayout.[Ch]:
2450         * output_docbook.C: XML sanitation: new layout
2451         parameters InnerTag and CommandDepth
2452
2453 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
2454
2455         * BufferView_pimpl.C:
2456         * factory.C:
2457         * text3.C: Fix the insertion and modification of button-style
2458         insets
2459
2460 2003-11-13  André Pönitz  <poenitz@gmx.net>
2461
2462         * InsetList.[Ch]: remove deleteLyXText
2463
2464         * paragraph.[Ch]: cache beginOfBody position
2465
2466         * Bidi.C:
2467         * text.C:
2468         * text2.C:
2469         * text3.C: remove superfluous update() calls
2470
2471         * vspace.C: cleanup
2472
2473 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
2474
2475         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2476         * BufferView.C (fitLockedInsetCursor): remove
2477         * cursor.[Ch] (getDim): add
2478         * text.C (getRowNearY): add faster version
2479         * text3.C: remove some update calls
2480
2481 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
2482
2483         * LaTeXFeatures.C:
2484         * LyXAction.C:
2485         * MenuBackend.C:
2486         * MenuBackend.h:
2487         * dispatchresult.h:
2488         * factory.C:
2489         * lfuns.h:
2490         * lyxfunc.C:
2491         * lyxtextclass.C:
2492         * lyxtextclass.h:
2493         * text3.C: The Character Style /XML short element patch.
2494
2495 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
2496
2497         * text3.C:
2498         * factory.C: Small step to solving 'unable to insert some insets'
2499         problem
2500
2501 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2502
2503         * cursor.[Ch] (updatePos): new function for updating the y
2504         position of the tip inset
2505         * bufferview_funcs.C (put_selection_at):
2506         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2507
2508 2003-11-11  André Pönitz  <poenitz@gmx.net>
2509
2510         * text.C: remove big comment on invalid Paragraph pointers as it is
2511         not valid anymore
2512
2513 2003-11-11  André Pönitz  <poenitz@gmx.net>
2514
2515         * text_funcs.[Ch]: merge with ...
2516
2517         * text.C: ... this
2518
2519         * lyxtext.h:
2520         * text2.C:
2521         * text3.C: adjust
2522
2523         * Makefile.am: remove text_funcs.[Ch]
2524
2525 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
2526
2527         * cursor.C (getPos): return absolute cached y coord
2528
2529         * BufferView_pimpl.C (fitCursor): new simplistic code
2530         (workAreaDispatch): add a fitCursor call
2531
2532 2003-11-10  André Pönitz  <poenitz@gmx.net>
2533
2534         * BufferView.[Ch]:
2535         * BufferView_pimpl.[Ch]: merge update() and updateInset()
2536
2537 2003-11-10  André Pönitz  <poenitz@gmx.net>
2538
2539         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2540         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2541         indicate that the cursor needs to leave an inset
2542
2543         * lyxtext.h: remove inset locking
2544
2545         * cursor.[Ch]: re-implement functionality provided by inset locking
2546
2547         * BufferView.[Ch]:
2548         * BufferView_pimpl.[Ch]:
2549         * LyXAction.C:
2550         * bufferview_funcs.[Ch]:
2551         * factory.C:
2552         * funcrequest.[Ch]:
2553         * iterators.C:
2554         * lyx_cb.C:
2555         * lyxfind.C:
2556         * lyxfunc.C:
2557         * text.C:
2558         * text2.C:
2559         * text3.C:
2560         * undo.C: adjust
2561
2562 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
2563
2564         * PosIterator.[Ch]: replace the stack with a vector, add inset
2565         accesor
2566         * iterators.[C]: adjust
2567
2568 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2569
2570         * lyxfind.C (replaceAll): mark the buffer dirty if something was
2571         replaced
2572         * paragraph_funcs.C (readParToken): put the correct id in the
2573         error item, not the id of the top paragraph
2574
2575 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2576
2577         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2578         * bufferview_funcs.C (put_selection_at): use the above
2579
2580 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2581
2582         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2583
2584 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2585
2586         * output_linuxdoc.h:
2587         * output_plaintext.h:
2588         * output.h:
2589         * output_docbook.h: add #include statements
2590
2591 2003-11-05  José Matos  <jamatos@lyx.org>
2592
2593         * output_docbook.[Ch]:
2594         * output_latex.[Ch]:
2595         * output_linuxdoc.[Ch]:
2596         * output_plaintext.[Ch]: New files for output formats.
2597         * output.[Ch]: New file for helper functions.
2598
2599         * buffer.[Ch]:
2600         * paragraph_funcs.[Ch]: output functions moved to new files.
2601
2602         * outputparams.h: rename of latexrunparams.h
2603
2604         * LaTeX.[Ch]:
2605         * buffer.[Ch]:
2606         * bufferlist.[Ch]:
2607         * converter.[Ch]:
2608         * exporter.C:
2609         * paragraph.[Ch]:
2610         * paragraph_funcs.[Ch]:
2611         * paragraph_pimpl.[Ch]:
2612         * tabular.[Ch]: rename ascii to plaintext
2613         and LatexRunParams to OutputParams.
2614
2615 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2616
2617         * iterators.[Ch] (text): require bv argument
2618         * undo.C (recordUndo):
2619         * lyxfunc.C (dispatch):
2620         * bufferview_funcs.C (put_selection_at): adjust
2621
2622 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
2623
2624         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2625
2626 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2627
2628         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2629         nestings
2630
2631 2003-11-04  André Pönitz  <poenitz@gmx.net>
2632
2633         * cursor.[Ch]: restructure
2634
2635         * BufferView.[Ch]:
2636         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2637
2638         * iterators.[Ch] (asCursor): remove
2639
2640         * lfuns.h: remove LFUN_INSET_EDIT
2641
2642         * lyxfunc.C:
2643         * tabular.C:
2644         * text.C:
2645         * text2.C:
2646         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2647
2648 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2649
2650         * lyxfind.[Ch]: complete overhaul
2651         * BufferView_pimpl.C:
2652         * lyxfunc.C: adjust
2653         * paragraph.[Ch] (insert): add
2654
2655 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2656
2657         * BufferView.[Ch]:
2658         * lyxtext.h:
2659         * text.C: remove dead spellcheck code
2660
2661 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2662
2663         * dispatchresult.h: add a val setter
2664
2665         * cursor.C (dispatch): use a tempvar for data_[i]
2666
2667 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2668
2669         * PosIterator.[Ch]: compile fix
2670
2671 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2672
2673         * text.C (cursorPar): deactivate the cursor cache
2674
2675 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2676
2677         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2678
2679 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2680
2681         * text3.C (dispatch): adjust for new DisptchResult semantics.
2682
2683         * lyxfunc.C (dispatch): handle update when return from
2684         Cursor::dispatch, adjust for new DispatchResult semantics.
2685
2686         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2687         DispatchResult(true) mean to not update. Add class functions for
2688         setting dispatched and update, as well as reading.
2689
2690         * cursor.C (dispatch): don't handle update here
2691
2692 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2693
2694         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2695         * trans_mgr.C: adjust
2696
2697         * paragraph_funcs.C (readParToken): exception safety
2698
2699         * lyxvc.h: store the vcs pointer in a scoped_ptr
2700         * lyxvc.C: adjust
2701
2702         * lyxsocket.C (serverCallback): exception safety
2703
2704         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2705
2706         * ispell.C (clone): make it return a auto_ptr
2707
2708         * factory.C (createInset): exception safety
2709         (readInset): exception safety
2710
2711         * bufferlist.C (newBuffer): exception safety
2712
2713         * Thesaurus.C (Thesaurus): use initialization for aik_
2714
2715         * MenuBackend.C (expandToc): exception safety.
2716
2717 2003-11-03  André Pönitz  <poenitz@gmx.net>
2718
2719         * buffer.C:
2720         * buffer.h:
2721         * bufferview_funcs.C: remove getInsetFromId()
2722
2723         * lyxcursor.[Ch]:
2724         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2725
2726         * lyxfunc.C:
2727         * text2.C:
2728         * text3.C: adjust
2729
2730 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2731
2732         * PosIterator.C (distance, advance): new
2733         * bufferview_funcs.[Ch] (put_selection_at): new
2734         * iterators.[Ch] (lockPath): new
2735
2736 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
2737
2738         * iterators.[Ch] (asPosIterator): added
2739         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2740         * PosIterator.[Ch]: added
2741
2742 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2743
2744         * text3.C:
2745         * lyxfunc.C:
2746         * cursor.C (dispatch):
2747         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2748
2749         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2750         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2751         contructor, add a class function dispatched. Remove operator>=
2752
2753 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2754
2755         * debug.C: only use the default constructor for debugstream
2756         (lyxerr) here.
2757
2758         * main.C (main): include debug.h and setup the lyxerr streambuf
2759         here.
2760
2761 2003-10-31  José Matos  <jamatos@lyx.org>
2762
2763         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2764
2765         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2766         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2767         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2768         * paragraph_pimpl.C (simpleTeXSpecialC):
2769         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2770         add LatexRunParams argument.
2771
2772         * exporter.C (Export): change call accordingly.
2773
2774         * latexrunparams.h: add new member to take care of the other backends.
2775 2003-10-30  José Matos  <jamatos@lyx.org>
2776
2777         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2778         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2779         factorise code for paragraph output.
2780         * buffer.[Ch]:
2781         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2782         move functions.
2783
2784 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2785
2786         * text3.C (dispatch):
2787         * lyxfunc.C (dispatch):
2788         * cursor.C (dispatch):
2789         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2790
2791         * dispatchresult.h: make the dispatch_result_t ctor explicit
2792
2793 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
2794
2795         * sgml.[Ch]:
2796         * buffer.C: small refactoring of docbook stuff
2797
2798 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2799
2800         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2801         meaning.
2802
2803 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2804
2805         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2806         operator dispatch_result_t, and operators for == != and >=
2807
2808         * cursor.C (dispatch): adjust for operator dispatch_result_t
2809         removal. comment out call to update
2810
2811         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2812
2813 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2814
2815         * text3.C:
2816         * text2.C:
2817         * text.C:
2818         * lyxtext.h:
2819         * lyxfunc.C:
2820         * cursor.C:
2821         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2822         (dispatch):
2823
2824         * dispatchresult.h: new file, DispatchResult broken out of
2825         insets/insetbase.h
2826
2827         * Makefile.am (lyx_SOURCES): add dispatchresult.h
2828
2829 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2830
2831         * text.C (rowBreakPoint): put a hack inside #if 0
2832
2833 2003-10-28  André Pönitz  <poenitz@gmx.net>
2834
2835         * lyxtext.h:
2836         * metricsinfo.C:
2837         * paragraph_funcs.C:
2838         * rowpainter.C:
2839         * text.C:
2840         * text2.C: general cleanup (lots of small stuff)
2841
2842 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2843
2844         * text2.C (cursorEnd): simple fix to the "end key goes to one
2845         before the end on last row" bug
2846
2847 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2848
2849         * text.C (backspace): fix the "zombie characters"
2850
2851 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2852
2853         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2854
2855 2003-10-27  André Pönitz  <poenitz@gmx.net>
2856
2857         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2858
2859         * factory.C: handle new InsetPagebreak, InsetLine
2860
2861         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2862         and move handling into new InsetPagebreak, InsetLine
2863
2864         * BufferView_pimpl.C:
2865         * LyXAction.C:
2866         * ParagraphParameters.C:
2867         * ParameterStruct.h:
2868         * lyxfunc.C:
2869         * lyxtext.h:
2870         * paragraph.C:
2871         * paragraph.h:
2872         * paragraph_funcs.C:
2873         * paragraph_pimpl.C:
2874         * rowpainter.C:
2875         * text.C:
2876         * text2.C:
2877         * text3.C: adjust
2878
2879 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2880
2881         * text.C:
2882         * lyxrow_funcs.[Ch]:
2883         * Bidi.C:
2884         * paragraph.C:
2885         * lyxtext.h:
2886         * rowpainter.C:
2887         * text2.C:
2888         * text3.C: remove lastPos uses in favour of Row::endpos
2889
2890 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2891
2892         * undo.C (performUndoOrRedo): fix two crashes by setting a
2893         cursor by hand and reordering some calls. Use bv->lockInset instead
2894         of inset->edit because the latter loses cursor information
2895
2896 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
2897
2898         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2899         by Martin
2900         (rowBreakPoint): fix width. change point to point + 1.
2901         Add a missing check.
2902
2903 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
2904
2905         * MenuBackend.C:
2906         * lyxfunc.C: fix (at least partly) the problems
2907         with the Nav menu and headers inside branch insets
2908         reported by Kayvan
2909
2910 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
2911
2912         * paragraph.C (getChar): add strong asserts
2913
2914         * lyxrow_funcs.C (lastPos): remove hideous hack
2915
2916         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2917         (fill): adjust to that (avoid an infinite loop)
2918
2919 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2920
2921         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2922
2923 2003-10-23  André Pönitz  <poenitz@gmx.net>
2924
2925         * RowList_fwd.h: change list<> to vector<> to gain speed
2926         after suggestion from Alfredo
2927
2928 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2929
2930         * lyxtext.h: move the bidi stuff from here...
2931         * text.C: and here
2932         * text2.C: and here
2933         * Bidi.[Ch]: ... to here
2934
2935 2003-10-23  André Pönitz  <poenitz@gmx.net>
2936
2937         * lyxtext.h:
2938         * text.C (isLastRow, isFirstRow): new functions
2939
2940         * paragraph.h: new width cache member
2941
2942         * rowpainter.C: replace RowList::iterator with Row & where possible
2943
2944         * lyxfunc.C: replace several view()->text with a single call
2945
2946         * toc.C: fix 'unused' warning
2947
2948 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2949
2950         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2951         when woring with stream::pos_type
2952         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2953
2954 2003-10-22  André Pönitz  <poenitz@gmx.net>
2955
2956         * lyxtext.h:
2957         * text.C: use Row & instead of RowList::iterator
2958
2959         * lyxrow.h: rename end() to endpos()
2960
2961         * rowpainter.C:
2962         * text.C:
2963         * text2.C: adjust
2964
2965 2003-10-22  Angus Leeming  <leeming@lyx.org>
2966
2967         * buffer.[Ch] (fully_loaded): new member function, returning true
2968         only when the file has been loaded fully.
2969         Used to prevent the premature generation of previews and by the
2970         citation inset to prevent computation of the natbib-style label.
2971
2972         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2973         templates are all set up.
2974
2975         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2976
2977 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
2978
2979         * text.C: fixed an "oops" in the "is a bit silly"
2980         bug fix
2981
2982 2003-10-21  André Pönitz  <poenitz@gmx.net>
2983
2984         * FuncStatus.[Ch]: small stuff, whitespace
2985
2986         * lyxfont.[Ch]: operator<<() for debug reasons
2987
2988         * lyxfunc.C:
2989         * lyxrow_funcs.C:
2990         * lyxtext.h: whitespace, spelling
2991
2992         * paragraph.C: naming of variables
2993
2994         * text.C:
2995         * text2.C: small stuff
2996
2997
2998 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
2999
3000         * text.C: (1) finish off the inset display() work;
3001         (2) fix the "is a bit silly" bug (accessing char
3002         past end of par).
3003
3004 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
3005
3006         * text.C: re-introduce display() for insets, fixing the
3007         various bugs (stretch of line above, math inset
3008         positioning, ...)
3009
3010 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3011
3012         * text.C (rightMargin): remove spurious semicolon
3013
3014         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3015         1415)
3016
3017 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
3018
3019         * text3.C: fix one crash due to wrong cursor def
3020
3021 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3022
3023         * vc-backend.C (scanMaster): make the regex static
3024
3025         * LaTeX.C (scanAuxFile): make the regexs static
3026
3027         * text3.C (doInsertInset, dispatch, dispatch):
3028         * text2.C (cursorUp, cursorDown):
3029         * text.C (selectNextWordToSpellcheck):
3030         * BufferView_pimpl.C (dispatch):
3031         * lyxfunc.C (dispatch):  localDispatch -> dispatch
3032
3033 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3034
3035         * lyxsocket.C: include <cerrno>
3036
3037 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3038
3039         * lyxfunc.C (dispatch): remove textcache stuff
3040
3041         * bufferlist.C (release): remove textcache stuff
3042         (closeAll): ditto
3043
3044         * TextCache.C: delete file
3045         * TextCache.h: delete file
3046
3047         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3048
3049         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3050         delete of the bv_->text.
3051         (resizeCurrentBuffer): remove texcache stuff
3052         (workAreaResize): ditto
3053
3054 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3055
3056         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3057         action.
3058
3059 2003-10-16  André Pönitz  <poenitz@gmx.net>
3060
3061         * lyxrow.[Ch]:
3062         * paragraph.h:
3063         * rowpainter.C:
3064         * text.C:
3065         * text2.C:
3066         * text3.C: speed up by storing y positions per paragraph plus per-row
3067         offset instead of having a 'full' y position in the row.
3068
3069 2003-10-15  André Pönitz  <poenitz@gmx.net>
3070
3071         * iterators.[Ch]:
3072         * iterators.[Ch]:
3073         * undo.[Ch]: make undo aware of inner insets
3074
3075 2003-10-14  Angus Leeming  <leeming@lyx.org>
3076
3077         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3078         static member functions LyX::ref() and LyX::cref.
3079         (lastfiles): new accessor functions for the new lastfiles_ member var.
3080         (addLyXView, views_): add a new LyXView to the list of views_.
3081         (updateInset): loop over all LyXViews to call their own updateInset
3082         member function, returning a pointer to the Buffer owning the inset.
3083
3084         * BufferView_pimpl.C (loadLyXFile):
3085         * MenuBackend.C (expandLastfiles):
3086         * bufferlist.C (MenuWrite, QuitLyX):
3087         lastfiles is no longer a global variable.
3088         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3089
3090         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3091         static function. Access through LyX::cref().emergencyCleanup().
3092
3093 2003-10-14  André Pönitz  <poenitz@gmx.net>
3094
3095         * iterators.[Ch]: new direct access to innermost LyXText and Inset
3096
3097         * undo.[Ch]: restoring part of 'undo in insets'
3098
3099         * Makefile.am:
3100         * undo_funcs.[Ch]: merge with undo.[Ch]
3101
3102         * tabular.C: small cleansing stuff
3103
3104 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
3105
3106         * paragraph_funcs.C (readParToken): report unknown insets as error
3107         boxes. Use the outer paragraph as location (also for unknown
3108         tokens).
3109
3110         * factory.C (readInset): do not abort on reading an unknown inset.
3111         Eat it and return 0.
3112
3113 2003-10-13  Angus Leeming  <leeming@lyx.org>
3114
3115         * lyx_main.C (LyX): remove call to setDisplayTranslator().
3116
3117         * lyxrc.C: displayTranslator is now a function,
3118         declared in GraphicsTypes.h.
3119
3120 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3121
3122         * format.C: new placeholder $$a to pass the socket address.
3123
3124         * bufferlist.[Ch]: new function getBufferFromTmp.
3125
3126         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3127           files in the temporary dir.
3128
3129 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3130
3131         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3132
3133         * Makefile.am: add lyxsocket.[Ch].
3134
3135         * lyx_main.C (error_handler): handle SIGPIPE.
3136
3137 2003-10-13  André Pönitz  <poenitz@gmx.net>
3138
3139         * BufferView_pimpl.C:
3140         * lyxtext.h:
3141         * text.C:
3142         * text2.C:
3143         * text3.C:
3144         * undo_funcs.[Ch]: use paroffset_type instead of
3145           ParagraphList::iterators to prevent multiple conversion
3146           (and get a more robust interface)
3147
3148 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3149
3150         * lyxfunc.C (dispatch): RESULT -> dispatch_result
3151         * lyxtext.h: ditto
3152         * text3.C (dispatch): ditto
3153
3154 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3155
3156         * LaTeX.C (handleFoundFile): move the static to smaller scope,
3157         move the onlyfile, use onlyfile instead of foundfile in a couple
3158         of places.
3159
3160         * DepTable.C (update): flush the error stream a bit more
3161
3162 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3163
3164         * lyxserver.C (callback): adjust
3165
3166         * lyxfunc.C (getStatus): add a missing brace in commented code
3167         (ensureBufferClean): reindent
3168         (dispatch): delete version taking a string
3169
3170 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3171
3172         * LaTeX.C (deplog): move found file handlig from here...
3173         (handleFoundFile): .. to new function here.
3174         (deplog): make sure to discover several files mentioned on the
3175         same log line.
3176
3177 2003-10-10  André Pönitz  <poenitz@gmx.net>
3178
3179         * lyxfunc.C:
3180         * lyxtext.h:
3181         * tabular.C:
3182         * text.C:
3183         * text2.C:
3184         * text3.C: fix some of the tabular crashes
3185
3186 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3187
3188         * MenuBackend.C (binding): put debug message into Debug::KBMAP
3189
3190         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3191
3192 2003-10-09  André Pönitz  <poenitz@gmx.net>
3193
3194         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3195
3196         * BufferView.C:
3197         * BufferView_pimpl.C:
3198         * bufferview_funcs.C:
3199         * lyx_cb.C:
3200         * lyxcursor.C:
3201         * lyxfind.C:
3202         * lyxfunc.C:
3203         * lyxtext.h:
3204         * text.C:
3205         * text2.C:
3206         * text3.C:
3207         * text_funcs.[Ch]:
3208         * textcursor.[Ch]:
3209         * undo_funcs.C: adjust
3210
3211 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3212
3213         * text2.C (incrementItemDepth): new function, use a backtracking
3214         algorithm to discover the correct item depth.
3215         (resetEnumCounterIfNeeded): new function, use a backtracking
3216         algorithm to discover if counter reset is needed.
3217         (setCounter): use them. Simplify a bit. Add different labels for
3218         different item depths for itemize.
3219
3220         * paragraph.C (Paragraph): remove initialization of enumdepth
3221         (operator=): ditto
3222
3223         * paragraph.h: get rid of enumdepth, and use itemdepth both for
3224         enumerate and itemize. Change the type of itemdepth to signed char.
3225
3226 2003-10-08  André Pönitz  <poenitz@gmx.net>
3227
3228         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3229           thing assignable.
3230         * text.C:
3231         * text2.C: adjust
3232
3233         * tabular.[Ch]: fix crash after 'row-insert'
3234
3235 2003-10-08  Angus Leeming  <leeming@lyx.org>
3236
3237         Fix doxygen warnings.
3238
3239         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3240         Remove CutAndPaste:: prefix from header file declaration.
3241
3242         * LColor.h (fill): remove LColor:: prefix from declaration.
3243
3244         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3245         use lyx::depth_type rather than Paragraph::depth_type so that
3246         header file and .C file match.
3247
3248         * converter.h (intToFormat): remove Converters:: prefix from declaration.
3249
3250         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3251         * aspell.C: \file aspell_local.C -> \file aspell.C
3252         * gettext.C: \file gettext.C -> \file src/gettext.C
3253         * gettext.h: \file gettext.h -> \file src/gettext.h
3254         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3255         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3256         * text.C: \file text.C -> \file src/text.C
3257
3258         * toc.C: move comment so that doxygen is not confused.
3259
3260 2003-10-07  Angus Leeming  <leeming@lyx.org>
3261
3262         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3263
3264 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3265
3266         * aspell.C:
3267         * aspell_local.h: add forgotten std::string's.
3268
3269 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3270
3271         * LaTeXFeatures.C:
3272         * LyXAction.C:
3273         * factory.C:
3274         * lfuns.h:
3275         * lyxfunc.C:
3276         * text3.C: The Box patch. Fancybox support, minipage, parbox
3277
3278 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3279
3280         * CutAndPaste.h:
3281         * DepTable.h:
3282         * FloatList.h:
3283         * LaTeXFeatures.h:
3284         * ParagraphParameters.h:
3285         * TextCache.h:
3286         * Thesaurus.h:
3287         * bufferlist.h:
3288         * exporter.h:
3289         * importer.h:
3290         * lastfiles.h:
3291         * lyxfind.h:
3292         * lyxfont.h:
3293         * lyxlex.h:
3294         * lyxtextclasslist.h:
3295         * messages.h:
3296         * paragraph.h:
3297         * paragraph_pimpl.C:
3298         * textcursor.h: add <string> and other small fixes to make Lars'
3299         std::string patch compile with STLport.
3300
3301 2003-10-06  Angus Leeming  <leeming@lyx.org>
3302
3303         * LColor.h: Add missing #include <string>.
3304
3305 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3306
3307         * All most all file in all subdirs: Make <string> be the prefered
3308         way of getting to std::string, add using declarations.
3309
3310 2003-10-06  André Pönitz  <poenitz@gmx.net>
3311
3312         * metricsinfo.C: initialize LyXFont before changing attribute.
3313         (fixes the 'math in \emph is upright' bug)
3314
3315 2003-10-06  André Pönitz  <poenitz@gmx.net>
3316
3317         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3318
3319 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
3320
3321         * graph.C:
3322         * paragraph_pimpl.C: Small fixes to build using STLport
3323
3324 2003-10-02  André Pönitz  <poenitz@gmx.net>
3325
3326         * lyxfunc.C:
3327         * text3.C: move handling of LFUN_DEPTH *; fix #1360
3328
3329 2003-10-01  André Pönitz  <poenitz@gmx.net>
3330
3331         * factory.C: assert early
3332
3333 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3334
3335         * lyx_main.C: remove the global debug object
3336
3337         * debug.h: adjust for new debugstream
3338
3339         * debug.C: adjust for new debugstream and keep the global debug
3340         object here.
3341
3342 2003-09-22  Angus Leeming  <leeming@lyx.org>
3343
3344         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3345         of g++ which otherwise complain that the scoped_ptr destructor can't delete
3346         an incomplete class LyXFont.
3347
3348 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
3349
3350         * factory.C: bug fix in branches
3351
3352 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3353
3354         * lyxfunc.C (processKeySym): adjust
3355         (dispatch): adjust
3356         (dispatch): change arg name from ev to func, adjust
3357         (sendDispatchMessage): ditto
3358
3359         * lyx_main.C (defaultKeyBindings): adjust keybindings
3360         (deadKeyBindings): ditto
3361
3362         * kbsequence.C (addkey): return a FuncRequest
3363
3364         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3365
3366         * kbmap.C (bind): take a FuncRequest as arg, adjust
3367         (read): adjust
3368         (lookup): adjust
3369         (defkey): change to take a FuncRequest as arg, adjust
3370         (findbinding): take a FuncRequest as arg, adjust.
3371
3372         * funcrequest.h (operator=): added
3373
3374         * funcrequest.C (FuncRequest): default kb_action changed from
3375         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3376
3377         * buffer.C (dispatch): simplify
3378         (dispatch): adjust to take a FuncRequest as arg, adjust
3379
3380         * boost.C (assertion_failed): change assertion message slightly
3381
3382         * ToolbarBackend.C (read): simplify
3383
3384         * MenuBackend.C (binding): adjust call to findbinding, add a
3385         message if no binding is found.
3386         (read): simplify
3387         (expandToc): correct by adding a empty FuncRequest
3388
3389         * LyXAction.C: include <boost/assert.hpp>
3390         (isPseudoAction): delete function
3391         (LookupFunc): change name to...
3392         (lookupFunc): this. change return type to FuncRequest.
3393         (getActionName): take kb_action as arg, simplify
3394         (funcHasFlag): add an assert, simplify.
3395
3396 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3397
3398         * toc.C (action): return a FuncRequest, simplify
3399
3400         * lyxfunc.C (processKeySym): adjust
3401         (getStatus): delete version that takes an int.
3402         (getStatus): adjust
3403         (dispatch): delete version that takes action as int
3404         (dispatch): adjust
3405         (sendDispatchMessage): simplify and adjust
3406
3407         * funcrequest.C (getArg): take unsigned int as arg
3408
3409         * ToolbarBackend.C (read): adjust
3410         (add): delete version that takes func as a string.
3411         (getIton): take a FuncRequest as arg
3412
3413         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3414         action.
3415
3416         * MenuBackend.C (MenuItem): add a new construct that only takes a
3417         Kind, simplify the constructor use for submenus.
3418         (add): adjust
3419         (expandLastfiles): adjust
3420         (expandDocuments): adjust
3421         (expandFormats): adjust
3422         (expandFloatListInsert): adjust
3423         (expandFloatInsert): adjust
3424         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3425
3426         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3427         Remove class variables lyx_pseudo_map and lyx_arg_map
3428
3429         * LyXAction.C (searchActionArg): delete function
3430         (getPseudoAction): delete function
3431         (retrieveActionArg): delete function
3432         (LookupFunc): make it return kb_action, simplify.
3433         (getActionName): simplify
3434
3435         * factory.C (createInset): fix new bug
3436
3437 2003-09-19  Angus Leeming  <leeming@lyx.org>
3438
3439         * CutAndPaste.C (pasteSelection): remove fudge used to set the
3440         masterFilename_ parameter in the include inset.
3441
3442         * factory.C (createInset): changes due to the changes to InsetInclude.
3443
3444 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3445
3446         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3447
3448 2003-09-18  Angus Leeming  <leeming@lyx.org>
3449
3450         * buffer.C:
3451         * BufferView.C: pass the buffer when calling Inset::getLabelList,
3452         Inset::fillWithBibKeys.
3453         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3454
3455 2003-09-18  Angus Leeming  <leeming@lyx.org>
3456
3457         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3458         variables.
3459         (ctor): pass and store a 'Buffer const &'
3460         (buffer): new member function.
3461
3462         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3463         '*this' to the LaTeXFeatures ctor.
3464
3465 2003-09-18  Angus Leeming  <leeming@lyx.org>
3466
3467         * LColor.h:
3468         * lyxfont.C:
3469         * lyxfont.h:
3470         * lyxtext.h:
3471         * text.C: rename EnumLColor as LColor_color.
3472
3473 2003-09-18  Angus Leeming  <leeming@lyx.org>
3474
3475         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3476         remove #include "insets/insetbase.h" from cursor.h.
3477
3478 2003-09-18  Angus Leeming  <leeming@lyx.org>
3479
3480         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3481         InsetOld_code to remove #include "inset.h".
3482
3483         * iterators.C: add #include "insets/inset.h"
3484
3485 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
3486
3487         * BufferView.C: remove more locking stuff that apparently doesn't
3488         do anything sensible.
3489
3490 2003-09-16  André Pönitz  <poenitz@gmx.net>
3491
3492         * paragraph.[Ch]:
3493         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3494           performance boost.
3495
3496 2003-09-16  Angus Leeming  <leeming@lyx.org>
3497
3498         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3499
3500         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3501         arg/return type.
3502
3503         * paragraph.h: remove #include "lyxfont.h". Forward declare
3504         LyXFont_size.
3505
3506 2003-09-16  Angus Leeming  <leeming@lyx.org>
3507
3508         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3509         of support/textutils.h.
3510         (isWord): move the contents of support/textutils.h's IsWordChar here.
3511
3512         * buffer.C:
3513         * lyxfind.C:
3514         * rowpainter.C:
3515         * text.C:
3516         * text2.C: add #include "paragraph.h".
3517
3518         * rowpainter.C:
3519         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3520
3521 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3522
3523         * main.C:
3524         * lyx_main.C:
3525         * lyx_cb.C:
3526         * buffer.C:
3527         * LaTeX.C: use namespace alias for lyx::support::os
3528
3529 2003-09-16  Angus Leeming  <leeming@lyx.org>
3530
3531         * bufferparams.C:
3532         * bufferview_funcs.C:
3533         * factory.C:
3534         * lyxfunc.C:
3535         * paragraph_pimpl.C:
3536         * rowpainter.C:
3537         * text.C: add #include "LColor.h".
3538
3539 2003-09-16  Angus Leeming  <leeming@lyx.org>
3540
3541         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3542         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3543         return LyXFont &.
3544         Store the FontBits::color variable as an int rather than as an
3545         LColor::colorso that we can move LColor.h out of the lyxfont.h header
3546         file.
3547
3548         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3549         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3550         string calls together.
3551
3552         * lyxrc.C: add #include "LColor.h".
3553
3554 2003-09-15  Angus Leeming  <leeming@lyx.org>
3555
3556         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3557         a cow_ptr.
3558
3559 2003-09-15  Angus Leeming  <leeming@lyx.org>
3560
3561         * LColor.h: add an EnumLColor wrapper for LColor::color.
3562
3563         * lyxfont.[Ch] (color, setColor, realColor):
3564         * lyxtext.h, text.C (backgroundColor):
3565         pass EnumLColor args to/from the functions, rather than LColor::color
3566         ones.
3567
3568         * lyxfont.h:
3569         * lyxtext.h: forward declare EnumLColor.
3570
3571         * lyx_main.C: add #include "LColor.h".
3572
3573 2003-09-15  Angus Leeming  <leeming@lyx.org>
3574
3575         * .cvsignore: add lyx-gtk.
3576
3577 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3578
3579         * Chktex.C
3580         * LaTeX.C
3581         * LaTeXFeatures.C
3582         * ParagraphParameters.C
3583         * Spacing.C
3584         * buffer.C
3585         * bufferparams.C
3586         * bufferview_funcs.C
3587         * chset.C
3588         * counters.C
3589         * funcrequest.C
3590         * lyxfont.C
3591         * lyxgluelength.C
3592         * lyxlength.C
3593         * paragraph.C
3594         * paragraph_funcs.C
3595         * text3.C
3596         * vc-backend.C: remove usage of STRCONV
3597
3598 2003-09-15  Angus Leeming  <leeming@lyx.org>
3599
3600         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3601         explicitly define the color passed to the painter.
3602
3603 2003-09-15  Angus Leeming  <leeming@lyx.org>
3604
3605         * bufferparams.C (BufferParams): reorder member initializers to avoid
3606         compiler warning.
3607
3608 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
3609
3610         * CutAndPaste.C (pasteSelection): remove an outdated #warning
3611         * text.C (updateRowPositions): remove an unusual nop
3612
3613 2003-09-12  André Pönitz  <poenitz@gmx.net>
3614
3615         * BufferView_pimpl.C:
3616         * Bullet.C:
3617         * layout.h:
3618         * lyxfunc.C:
3619         * lyxlayout.[Ch]:
3620         * lyxtextclass.C:
3621         * rowpainter.C:
3622         * text.C:
3623         * text2.C:
3624         * Counters.[Ch]: finish the 'automatic counters' job
3625
3626 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3627
3628         * aspell.C: include <boost/assert.cpp> (compile fix)
3629
3630 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
3631
3632         * boost.C (assertion_failed): use lyx::support::abort instead of
3633         assert.
3634
3635 2003-09-10  Angus Leeming  <leeming@lyx.org>
3636
3637         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3638         with their _fwd progeny.
3639
3640 2003-09-09  Angus Leeming  <leeming@lyx.org>
3641
3642         134 files throughtout the source tree: replace 'using namespace abc;'
3643         directives with the appropriate 'using abc::xyz;' declarations.
3644
3645 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3646
3647         * boost.C (emergencyCleanup): moved here from LAssert.c
3648         (assertion_failed): new function, called by BOOST_ASSERT
3649
3650         * several files: change Assert to BOOST_ASSERT
3651
3652 2003-09-09  Angus Leeming  <leeming@lyx.org>
3653
3654         * buffer.[Ch]: Add an Impl class and move Buffer's member
3655         variables into it. As a result move several header files out of
3656         buffer.h.
3657
3658         Add header files to lots of .C files all over the tree as a result.
3659
3660 2003-09-09  Angus Leeming  <leeming@lyx.org>
3661
3662         * buffer.[Ch]: make Buffer's member variables private. Add
3663         accessor functions.
3664
3665         Lots of changes all over the tree as a result.
3666
3667 2003-09-08  Angus Leeming  <leeming@lyx.org>
3668
3669         * graph.C: #include <config.h>.
3670
3671 2003-09-08  Angus Leeming  <leeming@lyx.org>
3672
3673         * BranchList.C:
3674         * BufferView.C:
3675         * BufferView_pimpl.C:
3676         * CutAndPaste.C:
3677         * DepTable.C:
3678         * LaTeX.C:
3679         * LaTeXFeatures.C:
3680         * LyXAction.C:
3681         * MenuBackend.C:
3682         * TextCache.C:
3683         * aspell.C:
3684         * buffer.C:
3685         * bufferlist.C:
3686         * changes.C:
3687         * chset.C:
3688         * converter.C:
3689         * counters.C:
3690         * debug.C:
3691         * graph.C:
3692         * ispell.C:
3693         * lyx_cb.C:
3694         * lyxfind.C:
3695         * lyxfunc.C:
3696         * lyxlex_pimpl.C:
3697         * lyxrc.C:
3698         * lyxrow.C:
3699         * paragraph.C:
3700         * rowpainter.C:
3701         * texrow.C:
3702         * text.C:
3703         * text2.C:
3704         * toc.C: remove redundant using directives.
3705
3706 2003-09-07  Angus Leeming  <leeming@lyx.org>
3707
3708         * LaTeXFeatures.h: remove #include "support/types.h".
3709         * ToolbarBackend.h: remove #include <algorithm>.
3710         * changes.h: remove #include <ctime>.
3711         * debug.h: remove #include <iosfwd>.
3712         * graph.h: remove #include "support/std_string.h".
3713         * lyx_main.h: remove #include <csignal>.
3714         * lyxlex_pimpl.h: remove #include <fstream>.
3715         * sgml.h: remove #include <algorithm>, <utility>.
3716         * toc.h: remove #include "support/std_ostream.h".
3717         Add #include <iosfwd>.
3718
3719 2003-09-07  Angus Leeming  <leeming@lyx.org>
3720
3721         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3722
3723         * converter.h: forward declare LatexRunParams.
3724         * encoding.h: remove #include "lyxrc.h".
3725         * lyxtext.h: remove #include "LColor.h".
3726         * lyxtextclass.h: remove #include "support/types.h".
3727         * trans.h: remove #include "tex-accent.h".
3728         * trans_mgr.h: remove #include "tex-accent.h".
3729         * insets/inset.h: remove #include "support/types.h", <vector>.
3730         * insets/insetcollapsable.h: remove #include "LColor.h".
3731         * insets/insetinclude.h: remove #include "dimension.h".
3732         * insets/insetlatexaccent.h: remove #include "dimension.h".
3733         * insets/insetoptarg.h:: remove #include "insettext.h".
3734         * insets/insettext.h: remove #include "dimension.h",
3735         <boost/shared_ptr.hpp>
3736
3737         * insets/renderers.h: add #include "dimension.h".
3738         * insets/updatableinset.h: add #include "support/types.h".
3739
3740         * many .C files: Associated changes.
3741
3742 2003-09-06  Angus Leeming  <leeming@lyx.org>
3743
3744         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3745         one, inside testInvariant.
3746
3747         * PrinterParams.C: new file.
3748         * PrinterParams.[Ch]: move the function bodies out of line.
3749
3750 2003-09-06  Angus Leeming  <leeming@lyx.org>
3751
3752         * ParagraphParameters.h: forward declare ParameterStruct rather than
3753         including its header file.
3754         (depth): moved out-of-line.
3755
3756 2003-09-06  Angus Leeming  <leeming@lyx.org>
3757
3758         * BufferView_pimpl.h:
3759         * kbmap.h:
3760         * kbsequence.h:
3761         * lyxfunc.h: forward declare LyXKeySym rather than
3762         #include "frontends/LyXKeySym.h".
3763
3764         * BufferView_pimpl.C:
3765         * kbmap.C:
3766         * kbsequence.C:
3767         * lyxfunc.C: associated changes.
3768
3769 2003-09-06  Angus Leeming  <leeming@lyx.org>
3770
3771         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3772         As a result, can remove the #include "insets/inset.h" from BufferView.h
3773
3774 2003-09-06  Angus Leeming  <leeming@lyx.org>
3775
3776         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3777         As a result, can remove the #include "insets/inset.h" from BufferView.h
3778
3779 2003-09-06  Angus Leeming  <leeming@lyx.org>
3780
3781         * buffer_funcs.C:
3782         * buffer.h:
3783         * bufferlist.C:
3784         * BufferView.C:
3785         * bufferview_funcs.C:
3786         * BufferView_pimpl.C:
3787         * CutAndPaste.C:
3788         * lyx_cb.C:
3789         * lyxfunc.C:
3790         * paragraph.h:
3791         * ParagraphParameters.C:
3792         * tabular.C:
3793         * text3.C:
3794         * toc.C:
3795         * undo_funcs.C:
3796         * frontends/controllers/ControlDocument.C:
3797         * insets/insetcaption.C: rearrange the #includes into some sort of
3798         coherent order.
3799
3800         * buffer.h: remove #includes ErrorList.h, undo.h
3801
3802 2003-09-06  Angus Leeming  <leeming@lyx.org>
3803
3804         * support/types.h: add a 'depth_type' typedef, used to store the
3805         nesting depth of a paragraph.
3806
3807         * paragraph.h:
3808         * ParameterStruct.h: use this lyx::depth_type typedef rather than
3809         defining explicitly.
3810
3811         * buffer.h:
3812         * paragraph_funcs.h:
3813         * ParagraphParameters.h:
3814         * sgml.h: use lyx::depth_type rather than Paragraph or
3815         ParameterStruct's depth_type.
3816
3817         * buffer.h
3818         * paragraph_funcs.h: no need to #include paragraph.h anymore.
3819
3820         * BufferView.C:
3821         * BufferView_pimpl.C:
3822         * CutAndPaste.C:
3823         * ParagraphParameters.C:
3824         * buffer_funcs.C:
3825         * bufferlist.C:
3826         * bufferview_funcs.C:
3827         * lyx_cb.C:
3828         * lyxfunc.C:
3829         * tabular.C:
3830         * text3.C:
3831         * toc.C:
3832         * undo_funcs.C:
3833         * frontends/LyXView.C:
3834         * frontends/controllers/ControlDocument.C:
3835         * frontends/controllers/ControlErrorList.C:
3836         * insets/insetbibitem.C:
3837         * insets/insetbranch.C:
3838         * insets/insetcaption.C:
3839         * insets/insetcollapsable.C:
3840         * insets/insetenv.C:
3841         * insets/insetert.C:
3842         * insets/insetfloat.C:
3843         * insets/insetfoot.C:
3844         * insets/insetfootlike.C:
3845         * insets/insetnewline.C:
3846         * insets/insetquotes.C:
3847         * insets/insettabular.C:
3848         * insets/insettext.C:
3849         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3850
3851         * frontends/controllers/ControlChanges.C: #include "changes.h".
3852
3853 2003-09-06  Angus Leeming  <leeming@lyx.org>
3854
3855         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3856         than #including paragraph.h.
3857
3858         * ParagraphList.h:
3859         * RowList.h: deleted. Superfluous.
3860
3861         * CutAndPaste.h:
3862         * iterators.h:
3863         * lyxcursor.h:
3864         * lyxtext.h:
3865         * text_funcs.h:
3866         * undo.h:
3867         * undo_funcs.h:
3868         * insets/inset.h:
3869         * insets/insettext.h: use ParagraphList_fwd.h rather than
3870         ParagraphList.h.
3871
3872         * paragraph.h: don't forward declare ParagraphList.
3873
3874         * buffer.h:
3875         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3876         rather than ParagraphList.h. paragraph.h is still needed for the
3877         Paragraph::depth_type parameters.
3878
3879         * textcursor.h: enable it to compile stand-alone in light of the
3880         above changes.
3881
3882         * bufferview_funcs.C:
3883         * iterators.C:
3884         * lyxfunc.C:
3885         * lyxrow_funcs.C:
3886         * paragraph.C:
3887         * rowpainter.C:
3888         * text.C:
3889         * text2.C:
3890         * text3.C:
3891         * text_funcs.C:
3892         * textcursor.C:
3893         * undo.C:
3894         * frontends/controllers/ControlParagraph.C:
3895         * frontends/controllers/ControlTabular.C:
3896         * insets/insetmarginal.C:
3897         * insets/insetminipage.C:
3898         * insets/insetnote.C:
3899         * insets/insetoptarg.C: add header files needed to compile again.
3900
3901 2003-09-06  Angus Leeming  <leeming@lyx.org>
3902
3903         * RowList_fwd.h: new file, forward-declaring Row rather than
3904         #including lyxrow.h.
3905
3906         * lyxrow_funcs.h:
3907         * lyxtext.h:
3908         * paragraph.h:
3909         * insets/insettext.h: use it instead of RowList.h
3910
3911         * bufferview_funcs.C:
3912         * lyxfunc.C:
3913         * lyxrow_funcs.C:
3914         * paragraph.C:
3915         * rowpainter.C:
3916         * text.C:
3917         * text2.C:
3918         * text3.C: #include "RowList.h".
3919
3920 2003-09-05  Angus Leeming  <leeming@lyx.org>
3921
3922         * factory.C (createInset):
3923         * vspace.C (c-tor): replace sscanf call with an istringstream.
3924         * ispell.C: re-add missing HP/UX headers.
3925         * lyxserver.C: re-add missing  os2 headers.
3926
3927 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
3928
3929         * BranchList.C:
3930         * graph.C:
3931         * ispell.C:
3932         * lastfiles.C:
3933         * lyx_cb.C:
3934         * lyxserver.C:
3935         * texrow.C:
3936         * text3.C: re-add missing system headers, needed for 2.95.2.
3937
3938 2003-09-05  Angus Leeming  <leeming@lyx.org>
3939
3940         Changes most place everywhere due to the removal of using directives
3941         from support/std_sstream.h.
3942
3943 2003-09-05  Angus Leeming  <leeming@lyx.org>
3944
3945         Replace LString.h with support/std_string.h,
3946         Lsstream.h with support/std_sstream.h,
3947         support/LIstream.h with support/std_istream.h,
3948         support/LOstream.h with support/std_ostream.h.
3949
3950         Changes resulting throughout the tree.
3951
3952 2003-09-05  Angus Leeming  <leeming@lyx.org>
3953
3954         * sgml.h: ensure that the header file can be compiled stand-alone.
3955         * *.C: strip out redundant #includes. (320 in total.)
3956
3957 2003-09-04  Angus Leeming  <leeming@lyx.org>
3958
3959         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3960         here (from getPackages).
3961
3962         * debug.[Ch]: add a new EXTERNAL tag.
3963
3964 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3965
3966         * text2.C (cursorEnd): simplify
3967         (setCursor): adjust
3968         (getColumnNearX): adjust
3969
3970         * text.C (computeBidiTables): adjust
3971         (fill): adjust
3972
3973         * rowpainter.C (paintChars): adjust
3974         (paintSelection): adjust
3975         (paintChangeBar): adjust
3976         (paintText): adjust
3977
3978         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3979         lastPos instead.
3980         (numberOfSeparators): adjust
3981
3982 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3983
3984         * LyXAction.C:
3985         * box.[Ch]:
3986         * lfuns.h:
3987         * lyxfunc.C:
3988         * text3.C: Restricts the mouse click functionality
3989         of insets like bibtex, include, toc and floatlist to the visible
3990         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3991         up the dialogs. Cursor has to be in front of the inset (i.e.
3992         start of row) for this to function.
3993
3994 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3995
3996         * bufferview_funcs.C (currentState): output row information
3997
3998 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3999
4000         * bufferview_funcs.C (currentState): output paragraph position
4001
4002 2003-09-04  Angus Leeming  <leeming@lyx.org>
4003
4004         * FloatList.h: move out #include "Floating.h".
4005         * LaTeX.h: move out #include "DepTable.h".
4006         * LyXAction.h: move out #include "funcrequest.h".
4007         * buffer.h: move out #include "author.h", "iterators.h".
4008         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4009         * lyx_main.h: move out #include "errorlist.h".
4010         * lyxfunc.h: move out #include "FuncStatus.h".
4011         * lyxtext: move out #include "lyxcursor.h".
4012         * paragraph_pimpl.h: move out #include "counters.h".
4013
4014 2003-09-03  Angus Leeming  <leeming@lyx.org>
4015
4016         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4017         preamble_snippets list, enabling us to add snippets to the preamble
4018         only if the snippet was not there already.
4019
4020 2003-09-04  Angus Leeming  <leeming@lyx.org>
4021
4022         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4023
4024 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4025
4026         * lyxfunc.C (dispatch): if fitCursor did something be sure to
4027         update
4028
4029 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4030
4031         * BranchList.C: point fix, earlier forgotten
4032
4033 2003-09-02  Angus Leeming  <leeming@lyx.org>
4034
4035         * box.C (contains): renamed from 'contained' after a fantastic
4036         amount of hot air.
4037
4038 2003-09-02  John Levon  <levon@movementarian.org>
4039
4040         * BufferView.C:
4041         * lyxcursor.h:
4042         * lyxcursor.C:
4043         * lyxfunc.C:
4044         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4045
4046 2003-09-02  John Levon  <levon@movementarian.org>
4047
4048         * text2.C: simplification of cursorEnd(), including partial
4049         fix for bug 1376
4050
4051 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4052
4053         * buffer.C (readFile): add a space
4054
4055 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
4056
4057         * BufferView_pimpl.C (update): remove bogus fitCursor() call
4058
4059 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4060
4061         * buffer.C (readFile): new function, take a filename and a
4062         ParagraphList::iterator
4063         (readFile): adjust
4064         (readFile): adjust, make it private. don't use setStream, make
4065         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4066         always contain the filename.
4067
4068         * BufferView.C (insertLyXFile): simplify and make it work for
4069         gzipped files.
4070
4071 2003-08-30  John Levon  <levon@movementarian.org>
4072
4073         * Makefile.am: fix dist (from Kayvan)
4074
4075 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4076
4077         * most files: change to use const Buffer refs
4078
4079 2003-08-27  André Pönitz  <poenitz@gmx.net>
4080
4081         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4082         on top of ownerPar().
4083
4084 2003-08-27  John Levon  <levon@movementarian.org>
4085
4086         * funcrequest.C: properly initialise POD members
4087
4088 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4089
4090         * lyxtext.h (top_y): move top_y from here
4091         * text.C:
4092         * text2.C:
4093         * text3.C:
4094         * BufferView.[Ch]:
4095         * BufferView_pimpl.[Ch]: to here
4096         * frontends/screen.C:
4097         * insets/insettabular.C:
4098         * insets/insettext.C: adjust
4099         * rowpainter.[Ch] (paintRows): remove LyXText & argument
4100
4101 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4102
4103         * BufferView.[Ch]:
4104         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4105
4106 2003-08-26  André Pönitz  <poenitz@gmx.net>
4107
4108         * paragraph_func.[Ch] (outerPar): new function
4109
4110         * paragraph.C:
4111         * paragraph_funcs.C:
4112         * paragraph_funcs.h:
4113         * paragraph_pimpl.C:
4114         * text2.C: remove Inset::par_owner
4115
4116 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
4117
4118         * lyxrow_funcs.C:
4119         * lyxtext.h:
4120         * text.C:
4121         * text2.C: eliminates the needFullRow/display() stuff
4122         altogether, putting the logic in metrics/draw in the insets.
4123
4124 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
4125
4126         * text2.C (redoParagraphInternal, redoParagraphs):
4127         * text.C (redoParagraph): add a call to updateRowPositions at the
4128         end of each 'metrics-like' call. Remove all others.
4129         (getRow): remove the 'y-computing' version.
4130         (getRowNearY): do not compute nor return the real y. Solve the
4131         'y < 0' problem and simplify.
4132
4133 2003-08-22  Angus Leeming  <leeming@lyx.org>
4134
4135         * *.[Ch]: clean-up of licence and author blurbs.
4136         Also move config.h out of a few .h files and into a few .C files.
4137
4138 2003-08-22  André Pönitz  <poenitz@gmx.net>
4139
4140         * lyxrow.[Ch]: add x_ and *fill_ members
4141
4142         * lyxtext.h:
4143         * text.C:
4144         * rowpainter.C:
4145         * text2.C: adjust/remove prepareToPrint() calls
4146
4147 2003-08-22  André Pönitz  <poenitz@gmx.net>
4148
4149         * lyxrow.[Ch]: add  end_ member
4150
4151         * lyxrow_funcs.C: use LyXRow::end_
4152
4153         * lyxtext.h (singleWidth): add LyXFont parameter
4154
4155         * rowpainter.C:
4156         * text2.C: adjust LyXText::singleWidth() calls
4157
4158         * text.C (redoParagraph): simplify row breaking logic
4159
4160
4161 2003-08-19  André Pönitz  <poenitz@gmx.net>
4162
4163         * funcrequest.C: initialize button_ member
4164
4165         * text3.C:
4166         * rowpainter.[Ch]: interface consolidation
4167
4168 2003-08-18  André Pönitz  <poenitz@gmx.net>
4169
4170         * BufferView.C:
4171         * BufferView_pimpl.C:
4172         * lyxfind.C:
4173         * paragraph_funcs.C:
4174         * rowpainter.C:
4175         * text3.C: remove LyXScreen::draw() and fitCursor calls
4176
4177         * BranchList.h: remove spurious semicolons
4178
4179         * MenuBackend.C: fix branchlist related crash
4180
4181 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
4182
4183         * BranchList.[Ch]:
4184         * InsetList.[Ch]:
4185         * LColor.[Ch]:
4186         * LyXAction.C:
4187         * Makefile.am:
4188         * MenuBackend.[Ch]:
4189         * bufferparams.[Ch]:
4190         * factory.C:
4191         * lfuns.h:
4192         * lyxfunc.C:
4193         * text3.C: implements the 'branch inset'
4194         idea. This allows the output of various versions of a document
4195         from a single source version, selectively outputing or suppressing
4196         output of parts of the text.
4197         This implementation contains a 'branch list editor' in a separate
4198         tab of the document settings dialog. Branches are user definable
4199         and have a "display colour" to distinguish them on-screen.
4200
4201         ColorHandler was somewhat cleaned up.
4202         (1) make possible a dynamically growing LColor list by allowing
4203         the graphic context cache to grow along (vector);
4204         (2) eliminate an IMHO unnecessary step in colour allocation.
4205
4206 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
4207
4208         * BufferView_pimpl.C: compile fix
4209
4210 2003-08-15  André Pönitz  <poenitz@gmx.net>
4211
4212         * rowpainter.C: remove extra metrics calls
4213
4214         * lyxtext.h: merge the two constructors into a single one,
4215           pass reference to owner's par list
4216
4217         * BufferView_pimpl.C:
4218         * text.C:
4219         * text2.C: adjust
4220
4221 2003-08-15  André Pönitz  <poenitz@gmx.net>
4222
4223         * lyxrow_funcs.[Ch]:
4224         * lyxtext.h:
4225         * paragraph.h:
4226         * paragraph_funcs.C:
4227         * rowpainter.C:
4228         * text.C:
4229         * text2.C:
4230         * text3.C:
4231         * text_funcs.C: split LyXText::rowlist_ into individual
4232         Paragraph::rows_ chunks
4233
4234         * BufferView.[Ch]:
4235         * BufferView_pimpl.[Ch]:
4236         * lyxfind.C:
4237         * lyxtext.h:
4238         * text3.C: remove toggleSelection()
4239
4240 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
4241
4242         * bufferlist.C: beautify two alerts (shorter text of buttons)
4243         * buffer.C: Remove redundant ' ' from message
4244         * tabular.h:
4245         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4246         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4247         rename VALIGN_CENTER to VALIGN_MIDDLE
4248
4249 2003-08-11  André Pönitz  <poenitz@gmx.net>
4250
4251         * lyxtext.h (getPar):
4252         * text.C: new function
4253
4254 2003-08-11  André Pönitz  <poenitz@gmx.net>
4255
4256         * Makefile.am:
4257         * tracer.[Ch]: remove unneeded files
4258
4259         * InsetList.[Ch]: remove resizeInsetsLyXText()
4260
4261         * lyxtext.h:
4262         * text.C:
4263         * text2.C:
4264         * text3.C: merge insertParagraphs() and appendParagraph()
4265         remove breakAgain(), update()
4266
4267         * BufferView_pimpl.[Ch]:
4268         * bufferview_funcs.[Ch]:
4269         * lyxfunc.C:
4270         * paragraph.[Ch]:
4271         * rowpainter.C:
4272         * tabular.C: adjust after text & InsetList changes.
4273
4274 2003-08-08  André Pönitz  <poenitz@gmx.net>
4275
4276         * text.C (insertChar, backspace): replace rowlist fiddling
4277         with rebreak of full par
4278
4279         * lyxtext.h:
4280         * text.C (breakAgainOneRow, redoHeightOfParagraph,
4281         checkParagraph, updateInset): removed
4282
4283 2003-08-07  André Pönitz  <poenitz@gmx.net>
4284
4285         * paragraph.C:
4286         * text3.C: merge some LFUN handlers, remove dead code
4287
4288 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4289
4290         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4291
4292 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
4293
4294         * text2.C (DEPM): fix part of bug 1255 and 1256
4295
4296 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4297
4298         * BufferView_pimpl.C (workAreaDispatch): change to use
4299         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4300         that are no mouse related.
4301
4302 2003-08-05  André Pönitz  <poenitz@gmx.net>
4303
4304         * BufferView.[Ch]:
4305         * BufferView_pimpl.[Ch]:
4306         * bufferview_funcs.C:
4307         * text2.C:
4308         * text3.C: rip out "deep update"
4309
4310         * textcursor.[Ch] (last_sel_cursor): remove unused member
4311
4312 2003-08-04  André Pönitz  <poenitz@gmx.net>
4313
4314         * BufferView.[Ch]:
4315         * BufferView_pimpl.[Ch]:
4316         * ParagraphParameters.C:
4317         * bufferview_funcs.C:
4318         * lyx_cb.C:
4319         * lyxfind.C:
4320         * lyxfunc.C:
4321         * text.C:
4322         * text2.C:
4323         * text3.C: replace "complicated" BufferView::update(...) calls with
4324         simpler ones.
4325
4326         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4327
4328 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
4329
4330         * Makefile.am (lyx_SOURCES): add paper.h
4331
4332 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4333
4334         * Makefile.am: move things around so that both lyx-qt and
4335         lyx-xforms can be built (according to --with-frontend). Then lyx
4336         is a symbolic link to lyx-[firstfrontend]
4337
4338 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
4339
4340         * Always use std::endl with lyxerr
4341
4342 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
4343
4344         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4345
4346 2003-08-01  André Pönitz  <poenitz@gmx.net>
4347
4348         * BufferView.[Ch]:
4349         * BufferView_pimpl.[Ch]:
4350         * lyxfunc.C:
4351         * text3.C: merge BufferView::repaint() and BufferView::update()
4352
4353 2003-08-01  José Matos  <jamatos@lyx.org>
4354
4355         * buffer.[Ch]: file_format is no longer a buffer data element.
4356
4357 2003-08-01  André Pönitz  <poenitz@gmx.net>
4358
4359         * BufferView.C:
4360         * lyxtext.h:
4361         * text.C:
4362         * text2.C: make redoParagraph more independent of current cursor
4363
4364         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4365         * text.C:
4366         * text2.C: remove unneeded members
4367
4368 2003-07-30  André Pönitz  <poenitz@gmx.net>
4369
4370         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4371
4372         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4373           create a single function...
4374
4375         * paragraph_funcs.C (moveItem): ... here.
4376
4377         * text.C:
4378           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4379
4380 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
4381
4382         * LColor.[Ch]: Add comment and greyedout logical colors.
4383
4384 2003-07-30  André Pönitz  <poenitz@gmx.net>
4385
4386         * tabular.C: don't use Assert too heavily. This crashes where it
4387           shouldn't
4388
4389 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
4390
4391         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4392         is disabled (bug 1232)
4393
4394 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4395
4396         * factory.C: limited 'arg' scope
4397
4398 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4399
4400         * factory.C: fixed Note submenu issues
4401
4402 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4403
4404         * factory.C: submenu for Note/Comment/Greyedout
4405
4406 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
4407
4408         * lyx_main.C (LyX):
4409         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4410
4411 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
4412
4413         * LaTeXFeatures.C:
4414         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4415         greyedout. Patch provided by Jürgen Spitzmüller.
4416
4417 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4418
4419         * kbmap.C (read): fix error message when reading bind files
4420
4421 2003-07-29  Angus Leeming  <leeming@lyx.org>
4422
4423         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4424         certainly does not do what it purports to do. I am doing it, and
4425         us, a favour by killing it.
4426
4427 2003-07-28  José Matos  <jamatos@lyx.org>
4428
4429         * buffer.C (readBody, do_writeFile):
4430         * paragraph.C(readParagraph): \end_document replaces \the_end.
4431
4432 2003-07-29  André Pönitz  <poenitz@gmx.net>
4433
4434         * BufferView.[Ch]:
4435         * BufferView_pimpl.[Ch]:
4436         * lyxfunc.C:
4437         * text2.C:
4438         * text3.C:
4439         * textcursor.[Ch]: remove toggleToggle & Co
4440
4441 2003-07-28  José Matos  <jamatos@fep.up.pt>
4442
4443         * buffer.C (readParagraph):
4444         * params_func (readParToken, readParagraph):
4445         * paragraph.C (write): \layout -> \begin_layout.
4446
4447 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4448
4449         * lyxlex_pimpl.C (setFile): clean up slightly.
4450
4451         * bufferparams.h: add compressed var
4452
4453         * buffer_funcs.C (readFile): adjust for LyXLex change
4454         (newFile): ditto + simplify
4455
4456         * buffer.C (writeFile): handle writing of compressed files
4457
4458         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4459         Check if the file is compressed and set a bufferparm if so.
4460
4461         * Makefile.am (lyx_LDADD): remove explicit -lz
4462
4463 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4464
4465         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4466         makeDocBookFile): put the real LyX version in the first line of
4467         the file
4468
4469         * version.h:
4470         * version.C.in: remove lyx_docversion
4471
4472         * tabular.C (write_attribute): add a template-based version to
4473         write enums properly
4474
4475 2003-07-28  André Pönitz  <poenitz@gmx.net>
4476
4477         * lyxtext.h:
4478         * text.C:
4479         * text2.C:
4480         * text3.C: use doubles again for x-coordinates. They are needed.
4481
4482 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4483
4484         * messages.C (getLocaleDir): use lyx_localedir()
4485
4486         * lyxlex_pimpl.C (setFile): compress stuff
4487
4488         * buffer.C (writeFile): add some compression stuff
4489         (do_writeFile): new func, dont call expliti close... will this
4490         breake anything?
4491
4492         * Makefile.am (lyx_LDADD): add -lz
4493
4494 2003-07-28  José Matos  <jamatos@fep.up.pt>
4495
4496         * buffer.C: increment file format.
4497         * paragraph_funcs (readParagraph, readParToken):
4498         * paragraph.C (readParagraph): add \end_layout.
4499
4500 2003-07-27  Angus Leeming  <leeming@lyx.org>
4501
4502         * Makefile.am: remove special casing for configure-time setting of
4503         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4504
4505         * lyx_main.C (init): remove all Jean-Marc's magic setting of
4506         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4507
4508 2003-07-26  André Pönitz  <poenitz@gmx.net>
4509
4510         * paragraph_func.[Ch]:
4511         * paragraph.C (realizeFont): inline it whereever it is used
4512
4513         * rowpainter.C:
4514         * text.C:
4515         * text2.C:
4516         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4517
4518
4519 2003-07-26  André Pönitz  <poenitz@gmx.net>
4520
4521         *       lyxtext.h:
4522         * text.C:
4523         * text2.C: get rid of LyXText::need_break_row
4524
4525 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4526
4527         * toc.[Ch]: put namespace toc inside namespace lyx
4528
4529         * MenuBackend.C (expandToc2): adjust for lyx::toc
4530         (expandToc): ditto
4531
4532         * lyxfunc.C (dispatch): adjust for lyx::find
4533
4534         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4535         lyx::find instead. Reorganize a bit.
4536         (LyXReplace): rename to replace
4537         (LyXFind): rename to find
4538
4539         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4540         (dispatch): ditto
4541
4542 2003-07-26  André Pönitz  <poenitz@gmx.net>
4543
4544         * text.C (setHeightOfRow): restrict scope of temporary variable
4545
4546         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
4547           code (never has been used?)
4548
4549 2003-07-27  Asger Alstrup  <alstrup@local>
4550
4551         * text.C (fill): Optimise algorithm to exploit that we can reuse
4552         the LyXFont for many characters.
4553         (setHeightOfRow): Same thing.
4554         (rowBreakPoint): Same thing.
4555
4556 2003-07-26  Asger Alstrup  <alstrup@local>
4557
4558         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4559
4560         * text.C (singleWidth): Spurious font copying in hot-spot
4561         singleWidth avoided. Reorder tests for arabic for efficiency.
4562
4563         * text.C (fill): handle empty paragraphs better.
4564
4565 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4566
4567         * ispell.C:
4568         * encoding.h: add includes
4569
4570         * lyxrc.C: remove reading of bind files
4571
4572         * lyx_main.C (init): setup bindings and menus only if we have a
4573         gui.
4574
4575         * kbmap.C (read): new method. Do the actual reading of bind
4576         files.
4577
4578         * converter.C (dvipdfm_options):
4579         * bufferparams.C:
4580         * lyxrc.C (read):
4581         (output): adapt PAPER_* enums.
4582
4583         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4584
4585         * bufferparams.h: remove paper-related enums from there
4586
4587         * paper.h: New file. A trivial header file to hold paper-related
4588         enums. It should later expand to contain many paper-related
4589         horrors access.
4590
4591         * lyxrc.C: declare extern displayTranslator
4592
4593 2003-07-27  José Matos  <jamatos@fep.up.pt>
4594
4595         * tabular.[Ch] (linuxdoc): add support for tables and figures
4596         (linuxdoc).
4597
4598 2003-07-27  José Matos  <jamatos@fep.up.pt>
4599
4600         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4601         consistency in both functions.
4602         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4603
4604 2003-07-26  Asger Alstrup  <alstrup@local>
4605
4606         * rowpainter.C (paintRows): Change algorithm to work directly on
4607         the insets rather than asking every character in the document
4608         whether its an inset.
4609
4610 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
4611
4612         * buffer.C (openFileWrite): factorize some code
4613
4614 2003-07-26  Angus Leeming  <leeming@lyx.org>
4615
4616         * lyx_cb.C:
4617         * lyx_main.[Ch]: replace occurances of system_tempdir with
4618         os::getTmpDir().
4619
4620 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4621
4622         * rename Inset to InsetOld
4623
4624 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
4625
4626         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4627         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4628         which I think is a bit clearer. EDIT is gone, since it was
4629         premature optimisation, and broken for mathed anyway.
4630         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4631         with cursor positioning in insets as well (math insets still do not
4632         work, but that's a different story anyway.) It mysteriously
4633         crashes sometimes with undo in the first paragraph, but I'm fairly
4634         confident that this is a compiler bug.
4635
4636 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4637
4638         * paragraph.C (Paragraph): adjust for new clone return type
4639         (operator==): ditto
4640         (copyIntoMinibuffer): ditto
4641
4642 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
4643
4644         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4645         by not having a special case, and always doing a full rebreak of
4646         the document after undo.
4647
4648 2003-07-23  Angus Leeming  <leeming@lyx.org>
4649
4650         * factory.C (createInset): InsetExternal::setParams now takes a
4651         Buffer const * arg.
4652
4653 2003-07-23  Angus Leeming  <leeming@lyx.org>
4654
4655         * factory.C (createInset): changed interface to the external and
4656         graphics mailers' string2params functions.
4657
4658 2003-07-23  Angus Leeming  <leeming@lyx.org>
4659
4660         * factory.C (createInset): pass a
4661         Buffer const * parameter to InsetExternalMailer's string2params.
4662
4663 2003-07-22  John Levon  <levon@movementarian.org>
4664
4665         * Thesaurus.h: include the right aiksaurus header
4666
4667 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4668
4669         * MenuBackend.C (expand): check menu shortcuts unconditionally
4670
4671 2003-07-21  Angus Leeming  <leeming@lyx.org>
4672
4673         * factory.C (createInset): pass a
4674         buffer_path parameter to InsetGraphicsMailer's string2params.
4675
4676 2003-07-21  Angus Leeming  <leeming@lyx.org>
4677
4678         * BufferView_pimpl.C (buffer):
4679         * buffer.C (d-tor):
4680         * lyx_main.C (LyX):
4681         * lyxfunc.C (dispatch):
4682         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4683         rather than the grfx shortcut.
4684
4685 2003-07-21  André Pönitz  <poenitz@gmx.net>
4686
4687         * rowpainter.C: remove unused variables
4688
4689         * tabular_funcs.C:
4690         * tabular_funcs.h: move to tabular.C
4691         * Makefile.am: adjust
4692
4693         * tabular.[Ch]: basic optical cleaning
4694
4695         * author.h: pass references, not values
4696
4697 2003-07-18  André Pönitz  <poenitz@gmx.net>
4698
4699         * lyxtext.h:
4700         * metricsinfo.C:
4701         * metricsinfo.h:
4702         * rowpainter.C:
4703         * text.C:
4704         * text2.C:
4705         * text3.C: two-phase drawing for InsetText and InsetTabular
4706         some float -> int changes.
4707
4708 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4709
4710         * lyx_main.C: fix the fix
4711
4712 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4713
4714         * lyx_main.C: fix a crash in batch mode if no files specified
4715         * converter.C: ws
4716
4717 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
4718
4719         * format.[Ch] (papersize): moved to BufferParams
4720         * converter.[Ch] (dvips_options): moved to BufferParams
4721         (dvipdfm_options): moved to anon namespace
4722         * bufferparams.[Ch]: added above functions.
4723
4724 2003-07-17  André Pönitz  <poenitz@gmx.net>
4725
4726         * lyxtext.h:
4727         * rowpainter.C:
4728         * text2.C: don't call inset->update() anymore
4729
4730         * metricsinfo.[Ch]: add convenience constructor
4731
4732 2003-07-16  André Pönitz  <poenitz@gmx.net>
4733
4734         * lyxcursor.[Ch]:
4735         * lyxfunc.[Ch]:
4736         * text.C:
4737         * text2.C: replace the LyXCursor::irow_ member with
4738          on-demand computation of the value
4739
4740 2003-07-16  John Levon  <levon@movementarian.org>
4741
4742         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4743
4744 2003-07-15  André Pönitz  <poenitz@gmx.net>
4745
4746         * text.C:
4747         * text2.C: remove no more needed refresh_row
4748
4749 2003-07-15  André Pönitz  <poenitz@gmx.net>
4750
4751         * lyxtext.h:
4752         * rowpainter.C:
4753         * text2.C:
4754         * text3.C: refresh_status tristate -> need_update bool
4755
4756 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
4757
4758         * lyxtext.h (init): remove reinit argument (act as if always true)
4759         * text2.C: adjust to that
4760
4761 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4762
4763         * bufferview_funcs.[Ch]: introduce function replaceSelection()
4764         * text3.C: use it to delete selections in some cases
4765         (bugs 441, 673, 702, 954).
4766
4767 2003-07-14  André Pönitz  <poenitz@gmx.net>
4768
4769         * rowpainter.[Ch]: reduce interface
4770
4771 2003-07-14  André Pönitz  <poenitz@gmx.net>
4772
4773         * BufferView_pimpl.C:
4774         * text2.C: adjust after removing unused BufferView * argument
4775
4776 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
4777
4778         * text2.C (init): fix a crash fired on resize
4779
4780 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
4781
4782         * buffer.[Ch]: added new closing signal
4783         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4784         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4785         BufferView::Pimpl via the closing the signal
4786
4787 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
4788
4789         * buffer.[Ch]: take out all bv-related from buffer
4790         * BufferView.C:
4791         * BufferView_pimpl.[Ch]: connect to new signals
4792         * CutAndPaste.C: removed useless asserts
4793         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4794         * lyxvc.[Ch]:
4795         * vc-backend.[Ch]:
4796         * lyxfunc.C: moved view-related funciontality from vc here
4797         * paragraph.C: removed outdated comments
4798         * text.C: ws
4799
4800 2003-07-10  André Pönitz  <poenitz@gmx.net>
4801
4802         * BufferView_pimpl.C:
4803         * tabular.h:
4804         * tabular_funcs.C:
4805         * text.C:
4806         * text2.C: remove InsetText::InnerCache, clean up consequences
4807
4808 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
4809
4810         * ispell.C: fix two typos in error messages
4811
4812 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
4813
4814         * Extend Note inset to other forms of annotation like Comment
4815         and Greyedout. Right button click gives dialog.
4816
4817         Files modified or added (+):
4818
4819         * insetnote.[Ch]
4820         * FormNote.[Ch]      +
4821         * ControlNote.[Ch]   +
4822         * form_note.fd       +
4823         * Makefile.am in frontends/xforms, frontends/xforms/forms,
4824         frontends/controllers
4825         * xforms/Dialogs.C
4826         * factory.C
4827
4828 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4829
4830         * aspell.C: add missing namespace lyx::support
4831
4832 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
4833
4834         * BufferView.[Ch] (newFile): Add
4835         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4836         * LaTeX.[Ch] (message): added this signal and use it
4837         * buffer.[Ch] (busy, message): added these signals and use them
4838         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4839         * converter.C:
4840         * exporter.C:
4841         * format.C:
4842         * importer.C: use buffer signals instead of direct bv calling
4843         * lyx_cb.[Ch] (ShowMessage): removed
4844         * lyx_main.C:
4845         * lyxfunc.C:
4846         * paragraph_funcs.C:
4847         * text2.C: use buffer signals
4848
4849 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4850
4851         * introduce namespace lyx::graphics
4852
4853 2003-07-02  André Pönitz  <poenitz@gmx.net>
4854
4855         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4856
4857 2003-07-01  André Pönitz  <poenitz@gmx.net>
4858
4859         * text.C:
4860         * text2.C:
4861         * text3.C:
4862         * text_funcs.[Ch]:
4863         * textcursor.h:
4864         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4865           text*.C to text_func.C
4866
4867 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4868
4869         * introduce namespace lyx::support
4870
4871 2003-06-30  André Pönitz  <poenitz@gmx.net>
4872
4873         * Chktex.C:
4874         * funcrequest.C:
4875         * lyxtext.h:
4876         * text.C: re-enable --with-included-string
4877
4878 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4879
4880         * textcursor.C: add <config.h>
4881
4882         * text.C (getWord): remove const from word_location arg
4883
4884         * lyxvc.C (getLogFile): fix const type order
4885
4886         * lyxtext.h: remove const from word_location arg, add arg name
4887
4888         * lyxlayout.h: currect type on labeltype.
4889
4890         * importer.C: correct \file
4891
4892         * converter.C (intToFormat): use std:: on ret val, ws changes
4893
4894         * bufferlist.h: correct \file
4895
4896         * buffer.C (makeLinuxDocFile): fix const type order
4897         (makeDocBookFile): ditto
4898         (fillWithBibKeys): use std:: on stdlib args.
4899
4900         * CutAndPaste.C: fix authors.
4901         (availableSelections): use std:: on return vector
4902
4903 2003-06-27  André Pönitz  <poenitz@gmx.net>
4904
4905         * BufferView_pimpl.C:
4906         * bufferview_funcs.C:
4907         * lyxcursor.C:
4908         * lyxcursor.h:
4909         * lyxfunc.C:
4910         * lyxtext.h:
4911         * rowpainter.C:
4912         * text.C:
4913         * text2.C:
4914         * text3.C: remove LyXCursor::row_ member
4915
4916         * lyxtext.h:
4917         * text.C: rename fullRebreak() to partialRebreak() and implement
4918           a fullRebreak() that really bereks fully
4919
4920         * textcursor.h: new struct for cursor-related data
4921
4922 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
4923
4924         * lyx_main.C (LyX): get full path of document loaded on the
4925         command line
4926
4927 2003-06-26  André Pönitz  <poenitz@gmx.net>
4928
4929         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4930           remove unused/broken operator>,<,>=.
4931
4932         *       text.C: remove only use of broken operator<= in an Assert().
4933
4934 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4935
4936         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4937         moved errorlist_.clear to showErrorList
4938
4939 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4940
4941         * converter.C (scanLog, runLaTeX):
4942         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4943         move the bv->showErrorList call to the callers
4944         * lyxfunc.C: i.e. here...
4945         * text2.C: and here
4946         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4947         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4948         namespace, the second to...
4949         * buffer_funcs (BufferFormat, parseErrors): added
4950         * errorlist.C (ErrorList(TeXErrors const &)): removed
4951
4952 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4953
4954         * ToolbarBackend.C (getIcon): complain when icon cannot be found
4955
4956 2003-06-24  "Garst R. Reese" <reese@isn.net>
4957
4958         * debug.C: fix typo
4959
4960 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4961
4962         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4963
4964         * version.C.in: change docversion to 1.4
4965
4966 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
4967
4968         * buffer.C: fix a bug just introduced
4969
4970 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
4971
4972         * buffer.[Ch]: added the parseError signal and use it, removed
4973         sgmlError
4974         * BufferView.[Ch] (addError): moved to ...
4975         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4976         to the Buffer::parseError signal to catch (guess what) parse errors
4977         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4978
4979 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
4980
4981         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4982         ability to create a buffer and to return an existing one from
4983         the list. Moved these functions to...
4984         * buffer_funcs.[Ch]: added
4985         * BufferView.[Ch] (loadLyXFile): added
4986         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4987         job removed from bufferlist::loadLyXFile.
4988         * buffer.C (setReadOnly): make it work without view
4989         (i.e added an if (users))
4990
4991 2003-06-19  Angus Leeming  <leeming@lyx.org>
4992
4993         * lfuns.h:
4994         * LyXAction.C (init):
4995         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4996         with LFUN_DIALOG_SHOW <name> <data>.
4997
4998 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4999
5000         * CutAndPaste.C (availableSelections): small compilation fix for
5001         ancient (gcc 2.9x) compilers
5002
5003 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
5004
5005         * text3.C (cursorNext): add tmp var
5006
5007         * text2.C (updateCounters): for function calling out of for clause
5008         (replaceSelectionWithString): ditto
5009         (insertStringAsParagraphs): ditto
5010         (getColumnNearX): add tmp var
5011         (setCursorFromCoordinates): add tmp var
5012         (cursorDownParagraph): add tmp var
5013         (deleteEmptyParagraphMechanism): add tmp var
5014
5015         * text.C (insertChar): add tmp var
5016
5017         * rowpainter.C (paintDepthBar): add tmp var
5018
5019         * CutAndPaste.C (availableSelections): potentially check all
5020         paragraphs in a cut to fill the shown strings.
5021
5022 2003-06-18  André Pönitz  <poenitz@gmx.net>
5023
5024         * kbmap.[Ch]: use vector<> instead of list<>
5025
5026 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
5027
5028         * text3.C (dispatch): handle arg to LFUN_PASTE, call
5029         pasteSelection with index
5030
5031         * text2.C (pasteSelection): modify, call pasteSelection with index
5032
5033         * paragraph.C (asString): reimplement version with no interval to
5034         call the one with interval.
5035
5036         * lyxtext.h: add index arg to pasteSelection
5037
5038         * MenuBackend.C (MenuItem): handle PasteRecent
5039         (Menu::read::Menutags): add md_pasterecent
5040         (read): handle it
5041         (expandPasteRecent): new function
5042         (expand): use it
5043
5044         * MenuBackend.h: add PasteRecent to MenuItem::Kind
5045
5046         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5047         the limited stack
5048         (availableSelections): new function
5049
5050 2003-06-17  Angus Leeming  <leeming@lyx.org>
5051
5052         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5053
5054 2003-06-17  Angus Leeming  <leeming@lyx.org>
5055
5056         * lfuns.h:
5057         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5058
5059         * lyxfunc.C (dispatch): invoke it.
5060
5061 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5062
5063         * iterators.C (operator++, ParPosition): reintroduce some
5064         const_cast for the benefit of older compilers.
5065
5066 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5067
5068         * text3.C (dispatch): do not modify clipboard when doing
5069         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5070         LFUN_DELETE_SKIP on a selection selection
5071
5072 2003-06-16  André Pönitz  <poenitz@gmx.net>
5073
5074         * BufferView.C:
5075         * buffer.C:
5076         * buffer.h:
5077         * paragraph.C:
5078         * tabular.[Ch]: IU of clone() and getLabelList();
5079
5080 2003-06-13  André Pönitz  <poenitz@gmx.net>
5081
5082         * tabular.h: compactification
5083
5084 2003-06-12  André Pönitz  <poenitz@gmx.net>
5085
5086         * tabular.C:
5087         * tabular.h:
5088         * tabular_funcs.h: some renaming plus whitespace
5089
5090 2003-06-12  André Pönitz  <poenitz@gmx.net>
5091
5092         * BufferView.C:
5093         * BufferView_pimpl.C:
5094         * CutAndPaste.C:
5095         * buffer.C:
5096         * iterators.[Ch]:
5097         * lyxfunc.C:
5098         * text.C:
5099         * toc.C: Return a Paragraph & for ParIterator::operator*()
5100
5101 2003-06-11  John Levon  <levon@movementarian.org>
5102
5103         * lyx_main.C:
5104         * ToolbarBackend.h:
5105         * ToolbarBackend.C: add "Toolbars" section and
5106         put the flags there
5107
5108 2003-06-10  Angus Leeming  <leeming@lyx.org>
5109
5110         * lfuns.h:
5111         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5112
5113         * lyxfunc.C (dispatch): invoke it.
5114
5115 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5116
5117         * main.C: protect <ios> with HAVE_IOS
5118         (main): protect sync_with_stdio with HAVE_IOS
5119
5120 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
5121
5122         * text2.C (cutSelection): adjust
5123         (pasteSelection): adjust
5124
5125         * messages.C: handle get of empty string
5126
5127         * main.C (main): use sync_with_stdio(false)
5128
5129         * lyxfunc.C (dispatch): adjust
5130
5131         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5132         (WriteAs): remove unneeded BufferView arg.
5133
5134         * bufferparams.h: use correct types on papersize, papersize2 and
5135         paperpackage.
5136
5137         * bufferparams.C (readToken): adjust for type
5138         (writeLaTeX): add missing cases to switch.
5139
5140         * bufferlist.C (quitWriteBuffer): adjust
5141         (close): adjust
5142
5143         * buffer.C (asciiParagraph): remove some commented code.
5144
5145         * CutAndPaste.C: remove current_view extern variable.
5146         (cutSelection): add BufferParams arg.
5147         (eraseSelection): add BufferParams arg.
5148         (pasteSelection): add Buffer const & arg
5149
5150 2003-06-07  John Levon  <levon@movementarian.org>
5151
5152         * buffer.C:
5153         * paragraph_funcs.C:
5154         * paragraph_pimpl.C:
5155         * text.C:
5156         * text2.C:
5157         * paragraph.h:
5158         * paragraph.C: allow InsetERT to freely space lines,
5159         and some consolidation of code
5160
5161 2003-06-06  José Matos  <jamatos@fep.up.pt>
5162
5163         * buffer.C (makeDocBookFile): fix bug #821
5164
5165 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
5166
5167         * BufferView_pimpl.C (dispatch): use Dialogs::visible
5168
5169 2003-06-04  Angus Leeming  <leeming@lyx.org>
5170
5171         * buffer.C: bump format to 224.
5172
5173 2003-06-05  André Pönitz  <poenitz@gmx.net>
5174
5175         * text2.C (redoParagraphs): remove two const_cast<>
5176
5177 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5178
5179         * ParagraphList.h: remove last remnants of NO_STD_LIST
5180
5181 2003-06-03  Angus Leeming  <leeming@lyx.org>
5182
5183         * factory.C (createInset): small change to the way InsetExternal's params
5184         are set.
5185
5186 2003-06-04  André Pönitz  <poenitz@gmx.net>
5187
5188         * buffer.h: use Undo directly instead of shared_ptr<Undo>
5189
5190         * paragraph_pimpl.h:
5191         * paragraph.[Ch]: some Inset -> UpdatableInset changes
5192
5193         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5194
5195         * undo_funcs.C: make some simple cases of undo work again
5196
5197 2003-06-03  John Levon  <levon@movementarian.org>
5198
5199         * ispell.C: HPUX doesn't have sys/select.h
5200         (from Albert Chin)
5201
5202 2003-06-03  John Levon  <levon@movementarian.org>
5203
5204         * CutAndPaste.C: update tabular and include inset
5205         buffer references
5206
5207         * buffer.h:
5208         * paragraph.h:
5209         * paragraph.C: remove owningBuffer(), don't pass Buffer
5210         to clone()
5211
5212         * factory.C: insetGraphicsParams changed
5213
5214 2003-06-02  John Levon  <levon@movementarian.org>
5215
5216         * LyXAction.C:
5217         * factory.C:
5218         * lfuns.h:
5219         * lyxfunc.C:
5220         * text3.C: remove insetparent
5221
5222 2003-06-02  John Levon  <levon@movementarian.org>
5223
5224         * buffer.h:
5225         * buffer.C: fix inset_iterator.end(), move out of line
5226         (bug 1149)
5227
5228 2003-06-01  John Levon  <levon@movementarian.org>
5229
5230         * text3.C: use a proper cut/paste when doing inset
5231         insert (from Jürgen Spitzmüller)
5232
5233 2003-06-01  John Levon  <levon@movementarian.org>
5234
5235         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5236
5237 2003-05-30  André Pönitz  <poenitz@gmx.net>
5238
5239         * rowpainter.C: unify second drawing phase
5240
5241 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5242
5243         * trans_mgr.C: remove one case of current_view
5244
5245         * text2.C (cursorBottom): delete NO_STD_LIST stuff
5246
5247         * paragraph_funcs.h: remove paragraph.h include
5248
5249         * paragraph.h: delete NO_STD_LIST stuff
5250
5251         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5252
5253         * buffer.h: remove paragraph.h include
5254
5255         * ParagraphList.C: delete file
5256
5257         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5258
5259         * toc.C (getTocList): adjust
5260
5261         * paragraph_pimpl.C (validate): adjust
5262
5263         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5264
5265         * paragraph.C (Paragraph): adjust
5266         (getPositionOfInset): use const_iterator, adjust
5267         (bibitem): use const_iterator, adjust
5268         (setInsetOwner): adjust
5269
5270         * iterators.C (operator++): adjust
5271
5272         * InsetList.[Ch]: Replace selfmade iterator with standard
5273         vector::iterator also introduce const_iterator. Remove getPos,
5274         getInset and setInset from InsetTable. Adjust accordingly.
5275
5276         * BufferView.C (lockInset): adjust
5277         (ChangeInsets): adjust
5278
5279         * tabular.[Ch]: delete commented same_id functions
5280
5281 2003-05-28  John Levon  <levon@movementarian.org>
5282
5283         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5284
5285 2003-05-28  André Pönitz  <poenitz@gmx.net>
5286
5287         * metricsinfo.[Ch]: remove 'fullredraw' member
5288
5289 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
5290
5291         * lyxtextclass.C (operator): remove caching.
5292
5293 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5294
5295         * text3.C: adjust
5296
5297         * text2.C (cursorBottom): adjust
5298         (setCounter): use ParagraphList::find, adjust
5299
5300         * text.C (workWidth): use ParagraphList::find, adjust
5301
5302         * lyxcursor.C (LyXCursor): adjust
5303
5304         * buffer.C (inset_iterator): adjust
5305
5306         * ParagraphList.h: make iterator(value_type) private, make
5307         ParagraphList a friend of iterator.
5308
5309         * ParagraphList.C (find): new function
5310
5311         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5312
5313 2003-05-27  André Pönitz  <poenitz@gmx.net>
5314
5315         * dimension.[Ch]: a -> asc, d -> des, w -> wid
5316
5317 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5318
5319         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5320
5321 2003-05-26  John Levon  <levon@movementarian.org>
5322
5323         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5324
5325 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5326
5327         * remove same_id from function signatures, adjust.
5328
5329 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5330
5331         * undo_funcs.C (createUndo): use the id functions directly, adjust.
5332
5333         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5334
5335         * paragraph.C (Paragraph): get rid of same_ids parameter
5336
5337         * ParagraphList.C (insert): adjust
5338         (push_back): adjust
5339
5340 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5341
5342         * paragraph_funcs.C (breakParagraph): adjust
5343         (breakParagraphConservative): adjust
5344
5345         * buffer.C (readParagraph): adjust
5346
5347         * ParagraphList.C (insert): take a reference instead of a pointer
5348         (insert): adjust
5349
5350         * paragraph.[Ch] (id): new function
5351
5352         * bufferlist.C (newFile): adjust
5353
5354         * ParagraphList.C (ParagraphList): adjust
5355         (assign): adjust
5356         (push_back): take a reference instead of a pointer.
5357
5358         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5359
5360         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5361         instead.
5362
5363         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5364         set else use old code.
5365
5366         * ParagraphList.C: remove all NO_NEXT code and only compile this
5367         code of NO_STD_LIST is set.
5368
5369 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5370
5371         * BufferView_pimpl.C:
5372         * TextCache.C:
5373         * TextCache.h:
5374         * bufferlist.C:
5375         * errorlist.h:
5376         * format.C:
5377         * format.h:
5378         * graph.C:
5379         * lyxfunc.C:
5380         * lyxrc.C:
5381         * graphics/GraphicsConverter.C:
5382         * graphics/PreviewLoader.C: header adjustment
5383
5384 2003-05-23  Angus Leeming  <leeming@lyx.org>
5385
5386         * LaTeXFeatures.[Ch] (useBabel): new method.
5387         * bufferparams.C (writeLaTeX): use it.
5388
5389 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5390
5391         * ParagraphList.h (set): remove unused function.
5392
5393 2003-05-23  André Pönitz  <poenitz@gmx.net>
5394
5395         * BufferView.C:
5396         * BufferView_pimpl.C:
5397         * buffer.C:
5398         * buffer.h:
5399         * lyxfunc.C:
5400         * undo_funcs.C: setUndo reworked
5401
5402         * iterators.[Ch]: add access to topmost ParagraphList
5403
5404         * lyxtext.[Ch] (workWidth): add a const
5405
5406 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5407
5408         * texrow.[Ch] (increasePos): remove function
5409         * exporter.C (export): removed unused var and outdated comment
5410
5411 2003-05-23  Angus Leeming  <leeming@lyx.org>
5412
5413         * latexrunparams.h: rename fragile as moving_arg.
5414         * paragraph.C (simpleTeXOnePar): ditto.
5415         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5416
5417 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5418
5419         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5420         (createUndo): ditto
5421         (textUndoOrRedo): comment out a currently unused var.
5422
5423         * paragraph.h (NO_NEXT): enable NO_NEXT
5424
5425         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5426
5427         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5428
5429         * exporter.C (Export): adjust for removeAutoInsets removal.
5430
5431         * buffer.C (runChktex): adjust for removeAutoInsets removal.
5432
5433         * LyXAction.C (init): remove LFUN_REMOVEERRORS
5434
5435         * BufferView.[Ch] (removeAutoInsets): delete function
5436
5437 2003-05-22  Angus Leeming  <leeming@lyx.org>
5438
5439         * latexrunparams.h: add a free_spacing variable.
5440
5441         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5442         to pass moving_arg, as the data is stored in runparams.fragile.
5443
5444         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5445         to Inset::latexOptional or to simpleTeXOnePar.
5446
5447         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5448         free_spacing arg to Inset::latexOptional.
5449
5450         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5451         free_spacing arg.
5452
5453 2003-05-22  Angus Leeming  <leeming@lyx.org>
5454
5455         * latexrunparams.h: add fragile and use_babel variables.
5456
5457         * bufferparams.[Ch] (writeLaTeX): return use_babel.
5458         * buffer.C (makeLaTeXFile): store this returned value in
5459         runparams.use_babel, thus passing it to the inset::latex methods.
5460
5461         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5462         simpleTeXSpecialChars as it is now stored in runparams.fragile.
5463
5464         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5465         longer has a fragile arg, as it is stored in runparams.fragile.
5466
5467         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5468         moving_arg parameter as the data is stored in runparams.fragile.
5469
5470         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5471         a fragile parameter as the data is stored in runparams.fragile.
5472
5473 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5474
5475         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5476
5477 2003-05-22  Angus Leeming  <leeming@lyx.org>
5478
5479         * latexrunparams.h: add a 'bool nice' which defaults to false.
5480
5481         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5482         now encapsulated within runparams.
5483
5484         * bufferlist.C (updateIncludedTeXfiles):
5485         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5486
5487 2003-05-22  Angus Leeming  <leeming@lyx.org>
5488
5489         * latexrunparams.h: new file containing struct LatexRunParams.
5490         * Makefile.am: add new file.
5491
5492         * LaTeX.[Ch] (c-tor, run):
5493         * buffer.[Ch] (makeLaTeXFile):
5494         * bufferlist.[Ch] (updateIncludedTeXfiles):
5495         * converter.C (convert, scanLog):
5496         * converter.[Ch] (runLaTeX):
5497         * exporter.C (Export):
5498         * paragraph.[Ch] (simpleTeXOnePar):
5499         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5500         * paragraph_funcs.[Ch] (latexParagraphs):
5501         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5502         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5503         pass around a LatexRunParams parameter.
5504
5505 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5506
5507         * paragraph.[Ch]: remove unused constructor
5508
5509         * ParagraphList.C (erase): new function, taking two iterators
5510
5511 2003-05-22  André Pönitz  <poenitz@gmx.net>
5512
5513         * undo_funcs.C: remove duplicated code
5514
5515         * iterator.[Ch]: operator=
5516
5517 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5518
5519         * tabular.C (SetMultiColumn): ws changes
5520
5521         * rowpainter.C (paintFirst): get rid of a ->previous
5522
5523         * lyx_cb.C (getPossibleLabel): parlist simplification
5524
5525         * BufferView.C (ChangeInsets): simplify slightly.
5526
5527 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
5528
5529         * LyXAction.C: new lfun space-insert, kill protected-space-insert
5530         * lfuns.h: new LFUN_SPACE
5531         * lyxfunc.C: protected space has a new lfun
5532         * paragraph_funcs.C: read new space insets
5533         * text3.C:
5534         * factory.C: handle new space insets
5535
5536 2003-05-22  André Pönitz  <poenitz@gmx.net>
5537
5538         * BufferView.C:
5539         * BufferView_pimpl.C:
5540         * buffer.[Ch]:
5541         * lyxfunc.C:
5542         * undo_funcs.C: return a ParIterator from getParFromID.
5543
5544         * iterators.[Ch]: add two const's
5545
5546 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5547
5548         * toc.C (getTocList): adjust
5549
5550         * iterators.[Ch]: rework for parlist
5551
5552         * buffer.C (par_iterator_begin): adjust
5553         (par_iterator_end): adjust
5554
5555         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5556
5557         * BufferView.C (removeAutoInsets): adjust
5558         (ChangeInsets): adjust
5559
5560 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
5561
5562         * text.C (top_y): fix bug 1110
5563
5564 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
5565
5566         * errorlist.[Ch]: added
5567         * buffer.C:
5568         * BufferView.[Ch]:
5569         * BufferView_pimpl.C:
5570         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5571         instead
5572
5573 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5574
5575         * Makefile.am: ensure that lyx is relinked upon changes to the
5576         various "convenience" libs.
5577
5578 2003-05-20  Angus Leeming  <leeming@lyx.org>
5579
5580         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5581         files are compiled in alphabetical order again.
5582
5583         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5584
5585 2003-05-19  Angus Leeming  <leeming@lyx.org>
5586
5587         * gettext.[Ch]: remove "char const * _(char const *)".
5588
5589 2003-05-19  André Pönitz  <poenitz@gmx.net>
5590
5591         * dimension.[Ch]: promote from mathed/dimension.[Ch]
5592
5593         * Makefile.am:
5594         * BufferView.C:
5595         * DepTable.h:
5596         * LaTeXFeatures.C:
5597         * buffer.C:
5598         * lyxfont.C:
5599         * lyxlex.h:
5600         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5601
5602 2003-05-19  André Pönitz  <poenitz@gmx.net>
5603
5604         * buffer.C:
5605         * lyxlayout.[Ch]:
5606         * lyxtextclass.[Ch]:
5607         * paragraph.C:
5608         * paragraph_funcs.[Ch]:
5609         * text2.C:
5610         * text3.C: more insetenv work
5611
5612 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
5613
5614         * ParagraphParameters.C (params2string): small bug fixed
5615
5616 2003-05-16  André Pönitz  <poenitz@gmx.net>
5617
5618         * debug.C:
5619         * bufferview_funcs.C: patch from Kornel Benko to prevent
5620           crash when _(...) is called twice in a statement
5621
5622 2003-05-16  André Pönitz  <poenitz@gmx.net>
5623
5624         * BufferView.C:
5625         * lyxfunc.C:
5626         * text.C:
5627         * text2.C:
5628         * text3.C:
5629         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5630
5631 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
5632
5633         * lyx_main.C (init): remove spurious static_cast
5634
5635 2003-05-14  André Pönitz  <poenitz@gmx.net>
5636
5637         * BufferView.C: fix format string
5638
5639 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
5640
5641         * BufferView.[Ch] (insertErrors): removed
5642         * BufferView.[Ch] (showErrorList): added
5643         * buffer.C (runChkTeX):
5644         * converter.C (scanLog): call showErrorList instead of inserterrors
5645
5646 2003-05-13  André Pönitz  <poenitz@gmx.net>
5647
5648         * BufferView_pimpl.C:
5649         * buffer.C:
5650         * bufferview_func.C:
5651         * MenuBackend.C:
5652         * lyxfunc.C:
5653         * lyxrc.C:
5654         * tex-accent.C:
5655         * text3.C:
5656         * toc.C:
5657         * tabular_funcs.h: tostr() from its own header
5658
5659         * ParagraphParameters.C:
5660         * ToolbarBackend.C:
5661         * bufferparams.C:
5662         * format.C:
5663         * lyxlex_pimpl.C:
5664         * text3.C: STRCONV()
5665
5666 2003-05-12  André Pönitz  <poenitz@gmx.net>
5667
5668         * BufferView.C:
5669         * BufferView_pimpl.C:
5670         * CutAndPaste.C:
5671         * LaTeX.C:
5672         * LaTeXFeatures.C:
5673         * ParagraphParameters.C:
5674         * buffer.C:
5675         * bufferlist.C:
5676         * bufferparams.C:
5677         * bufferview_funcs.C:
5678         * converter.C:
5679         * counters.C:
5680         * debug.C:
5681         * exporter.C:
5682         * format.C:
5683         * importer.C:
5684         * lyx_cb.C:
5685         * lyx_main.C:
5686         * lyxfont.C:
5687         * lyxfunc.C:
5688         * lyxvc.C:
5689         * paragraph.C:
5690         * paragraph_funcs.C:
5691         * tabular.C:
5692         * tabular_funcs.C:
5693         * text2.C:
5694         * text3.C:  boost::format -> bformat  all over the place
5695
5696
5697 2003-05-09  André Pönitz  <poenitz@gmx.net>
5698
5699         * LColor.[Ch]: Pimpl the #include <map> away
5700
5701 2003-05-09  John Levon  <levon@movementarian.org>
5702
5703         * bufferlist.C: never remove emergency saves
5704
5705 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5706
5707         * Makefile.am: better lib building
5708
5709 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
5710
5711         * texrow.[Ch]: remove dependency on Paragraph and just store a id
5712         instead.
5713         * paragraph_pimpl.C (simpleTeXBlanks): adjust
5714         (simpleTeXSpecialChars): adjust
5715         (simpleTeXSpecialChars): adjust
5716         * paragraph.C (simpleTeXOnePar): adjust
5717         * buffer.C (makeLaTeXFile): adjust
5718
5719         * Makefile.am (BOOST_LIBS): allow boost as system lib.
5720
5721         * text2.C (changeDepth): parlist cleanup
5722         (getColumnNearX): ditto
5723
5724         * rowpainter.C (getLabelFont): parlist cleanup
5725
5726         * bufferlist.C (newFile): parlist cleanup
5727
5728         * CutAndPaste.C (eraseSelection): parlist cleanup
5729
5730         * BufferView_pimpl.C (trackChanges): parlist cleanup
5731         (dispatch): ditto
5732
5733         * BufferView.C (lockInset): parlist cleanup.
5734         (ChangeInsets): ditto
5735
5736 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5737
5738         * CutAndPaste.h: Update file header.
5739
5740         * CutAndPaste.C: Update file header.
5741         Store the parts cut out of the Document in a limited_stack.
5742         (copySelection): adjust
5743         (pasteSelection): new function, takes the index in the limited stack.
5744         (nrOfParagraphs): adjust
5745         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5746         simplify error inset insertion.
5747         (checkPastePossible): adjust
5748
5749 2003-05-06  John Levon  <levon@movementarian.org>
5750
5751         * text2.C: don't cast wrap inset to float
5752
5753 2003-05-05  André Pönitz  <poenitz@gmx.net>
5754
5755         * iterator.C:
5756         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5757
5758         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5759           few naked Paragraph *.
5760
5761 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
5762
5763         * bufferparams.C: Output warning if a document with missing
5764         TeX document class is loaded
5765         * exporter.C: Disable TeX exports if the document class is missing
5766         * lyxtextclass.C:
5767         * lyxtextclass.h:
5768         * lyxtextclasslist.C: Handle new textclass.lst format; new method
5769         isTeXClassAvailable()
5770
5771 2003-05-03  John Levon  <levon@movementarian.org>
5772
5773         * BufferView.h:
5774         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5775         explicit cursor show/hide
5776
5777         * BufferView_pimpl.h:
5778         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5779         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5780
5781         * lyxfunc.C: hide cursor before dispatching.
5782
5783         * lyx_cb.C:
5784         * lyxfind.C:
5785         * text.C:
5786         * text3.C: remove explicit cursor hides
5787
5788 2003-05-02  André Pönitz  <poenitz@gmx.net>
5789
5790         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5791
5792         * undo_funcs.C:
5793         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5794           linked lists
5795
5796         * text2.C: tiny whitespace
5797
5798 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5799
5800         * undo_funcs.C: almost only ws changes.
5801
5802         * ParagraphList.C (splice): just return if pl is empty.
5803
5804 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5805
5806         * ParagraphList.C (splice): new function.
5807
5808         * CutAndPaste.C (pasteSelection): use it
5809
5810 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5811
5812         * CutAndPaste.C (pasteSelection): remove the last next and
5813         previous from this file.
5814
5815 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5816
5817         * CutAndPaste.C (pasteSelection): more clean up, user proper
5818         ParagraphList functions for pasteing.
5819
5820         * ParagraphList.C (insert): new function, three arg insert
5821
5822 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5823
5824         * ParagraphList.C (insert): new function, three arg insert
5825
5826         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5827         not on paragraphs.
5828
5829 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5830
5831         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5832
5833 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5834
5835         * CutAndPaste.C (pasteSelection): remove some unneeded code.
5836
5837 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5838
5839         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5840         (copySelection): clean up a bit.
5841         (pasteSelection): use make_pair
5842
5843         * ParagraphList.C (ParagraphList): implement copy constructor
5844         (operator=): implement, base on copy constructor.
5845         (assign): new func
5846
5847         * paragraph.C (erase): return a bool
5848
5849         * paragraph_pimpl.C (erasePos): remove function, move contents...
5850         (erase): ... here. Return a bool.
5851         (erase): call erase instead of erasePos.
5852
5853 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
5854
5855         * ParagraphList.h: define PitPosPair
5856         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5857         ParagraphList, fix a bug on pasting multiple pars
5858         * text2.C: change interface to C&P
5859
5860 2003-04-30  André Pönitz  <poenitz@gmx.net>
5861
5862         * undo_func.C: revert part of yesterday's patch 2
5863
5864 2003-04-30  John Levon  <levon@movementarian.org>
5865
5866         * LColor.C: s/tabular/table/
5867
5868 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5869
5870         * text3.C (dispatch): do not convert iterator -> pointer
5871         * undo_funcs.C (setCursorParUndo): ditto
5872         * text_funcs.C (transposeChars): ditto
5873
5874         * text2.C (setLayout): ws changes only
5875
5876         * text.C (breakParagraph): do not convert iterator -> pointer
5877         (insertChar): ditto
5878         (acceptChange): ditto
5879         (rejectChange): ditto
5880         (changeCase): ditto
5881         (Delete): ditto
5882         (backspace): ditto
5883
5884         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5885         pointer
5886
5887 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5888
5889         * text3.C (gotoInset): YABG (yet another bad getChar)
5890
5891 2003-04-29  André Pönitz  <poenitz@gmx.net>
5892
5893         * paragraph.h: make operator= private unimplemented as long as
5894           it is unusable
5895
5896         * ParagraphList.C: whitespace
5897
5898         * paragraph.[Ch]:
5899         * paragraph_pimpl.[Ch]:
5900         * paragraph_funcs.C:
5901         * CutAndPaste.C:
5902         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
5903
5904         * text2.C:
5905           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5906
5907 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5908
5909         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5910         * paragraph.[Ch] (erase):
5911         * paragraph_pimpl.[Ch] (erase): change return type and value
5912         * text2.C (cutSelection): some rework
5913
5914 2003-04-28  John Levon  <levon@movementarian.org>
5915
5916         * bufferlist.C: changes for unsaved changes dialog
5917
5918 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5919
5920         * bufferlist.C (newFile): set language (messages_) for new
5921         documents also.
5922
5923         * buffer.C (readFile): ws changes only.
5924
5925 2003-04-28  André Pönitz  <poenitz@gmx.net>
5926
5927         * undo_funcs.C:
5928         * lyxfunc.C:
5929         * buffer.[Ch]:
5930         * BufferView_pimpl.C:
5931         * BufferView.C: getParFromID related ParagraphList::iterator changes
5932
5933 2003-04-28  André Pönitz  <poenitz@gmx.net>
5934
5935         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5936           Changes
5937
5938 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5939
5940         * messages.C: remove one more localedir class variable.
5941
5942 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5943
5944         * messages.C (getLocaleDir): singleton generation function
5945         (Pimpl): use it.
5946         (Messages): add a default constructor.
5947
5948         * main.C (main): do not setup localedir here, do not call
5949         gettext_init.
5950
5951         * gettext.C (_): use it.
5952         (gettext_init): delete funciton
5953
5954 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5955
5956         * gettext.C (getLyXMessages): new singleton generating function.
5957
5958         * buffer.C (updateDocLang): adjust
5959
5960         * Makefile.am (messages.o): add target
5961         (main.o): remove target
5962
5963 2003-04-27  John Levon  <levon@movementarian.org>
5964
5965         * bufferlist.C:
5966         * lyx_cb.C:
5967         * lyxfunc.C:
5968         * lyxvc.C: specify cancel button in Alert::prompt
5969
5970 2003-04-26  John Levon  <levon@movementarian.org>
5971
5972         * text3.C:
5973         * lyxfunc.C:
5974         * lfuns.h:
5975         * LyXAction.C: add LFUN_INSET_SETTINGS
5976
5977         * lyxfunc.C: don't enable tabular-feature when there's
5978         just any locking inset
5979
5980 2003-04-26  John Levon  <levon@movementarian.org>
5981
5982         * bufferlist.C: re-add Cancel to buffer close question
5983
5984         * lyxfunc.C: fix import UI a bit
5985
5986 2003-04-25  John Levon  <levon@movementarian.org>
5987
5988         * gettext.C: remove the broken asserts for now
5989
5990 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5991
5992         * messages.C: make case where setlocale cannot comply work better.
5993
5994         * buffer.C (updateDocLang): new function
5995         (changeLanguage): use it
5996         (readFile): use it
5997
5998         * text2.C (setCounter): use B_ a bit.
5999
6000         * lyxlayout.C (Read): be sure to trim the label strings.
6001
6002         * messages.C (Messages): fix typo in comment
6003
6004         * buffer.C (readFile): set message_ after file is loaded.
6005         (makeDocBookFile): remove double return
6006         (changeLanguage): reset message_ upon language change.
6007         (B_): new func, use this to get translated buffer strings.
6008
6009         * main.C: add myself and Jean Marc as authors.
6010
6011 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6012
6013         * messages.[hC]: pimplify Messages, and three different pimpls to be
6014         used in different circumstances.
6015
6016         * gettext.[Ch]: change for use with new message code.
6017
6018 2003-04-24 André Pönitz <poenitz@gmx.net>
6019
6020         * factory.C: support for eqref
6021
6022 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6023
6024         * messages.[Ch]: add missing char
6025
6026         * Makefile.am (lyx_SOURCES): add messages.[Ch]
6027
6028         * messages.[Ch]: New files
6029
6030 2003-04-18  John Levon  <levon@movementarian.org>
6031
6032         * BufferView.h:
6033         * BufferView.C:
6034         * BufferView_pimpl.C:
6035         * lfuns.h:
6036         * LyXAction.C:
6037         * lyxtext.h:
6038         * text2.C: remove layout-copy/paste (bug 778)
6039
6040 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6041
6042         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6043
6044 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6045
6046         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6047         if they succeed. Act accordingly.
6048
6049 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6050
6051         * text2.C (setCharFont): adjust
6052         (setCounter): adjust
6053         (insertStringAsLines): adjust
6054
6055         * text.C (leftMargin): adjust
6056         (setHeightOfRow): adjust
6057
6058         * rowpainter.C (paintFirst): adjust
6059         (paintLast): adjust
6060
6061         * paragraph_funcs.C (depthHook): ParagraphList::iterators
6062         (outerHook): ditto
6063         (isFirstInSequence): ditto
6064         (getEndLabel): ditto
6065         (outerFont): adjust
6066
6067         * paragraph.C (getParLanguage): comment out some hard stuff.
6068
6069         * buffer.C (insertStringAsLines): take a ParagraphList as arg
6070         (sgmlError): ditto
6071         (simpleDocBookOnePar): ditto
6072         (makeDocBookFile): use ParagraphList::iterator
6073
6074         * CutAndPaste.C (pasteSelection): adjust
6075
6076 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6077
6078         * text2.C (getFont): adjust
6079         (getLayoutFont): adjust
6080         (getLabelFont): adjust
6081
6082         * paragraph_funcs.C (TeXOnePar): adjust
6083
6084         * buffer.C (simpleLinuxDocOnePar): adjust
6085         (simpleDocBookOnePar): adjust
6086
6087         * CutAndPaste.C (pasteSelection): adjust
6088
6089         * BufferView.C (getEncoding): adjust
6090
6091         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6092
6093 2003-04-16  John Levon  <levon@movementarian.org>
6094
6095         * lyxfind.C: use parlist stuff for search/changes
6096
6097 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6098
6099         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6100
6101         * text2.C (deleteEmptyParagraphMechanism): adjust
6102
6103         * text2.[Ch] (ownerParagraph): delete func (both of them
6104
6105 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6106
6107         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6108
6109 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6110
6111         * ParagraphList.C: prepare for NO_NEXT
6112
6113 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6114
6115         * text2.C (getFont): adjust
6116         (getLayoutFont): adjust
6117         (getLabelFont): adjust
6118
6119         * paragraph.C (getFont): adjust
6120         (getLabelFont): adjust
6121         (getLayoutFont): adjust
6122
6123         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6124
6125 2003-04-15  John Levon  <levon@movementarian.org>
6126
6127         From Angus Leeming
6128
6129         * lyx_main.C: handle Include in .ui files
6130
6131 2003-04-15  John Levon  <levon@movementarian.org>
6132
6133         * MenuBackend.C: make the doc files length shorter
6134
6135         * ToolbarBackend.h:
6136         * ToolbarBackend.C: handle toolbar placement flags,
6137         Minibuffer
6138
6139 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6140
6141         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6142         adjust
6143
6144         * paragraph_funcs.C (TeXOnePar): adjust
6145
6146         * paragraph.C (getLabelFont): add outerfont arg, adjust
6147         (getLayoutFont): ditto
6148         (simpleTeXOnePar): adjust
6149
6150         * paragraph_pimpl.C (realizeFont): delete func
6151
6152 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
6153
6154         * text2.C (beforeFullRowInset): added a bad getchar check, removed
6155         row argument, constify cur argument.
6156
6157 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6158
6159         * text2.C (getFont): adjust
6160         (getLayoutFont): adjust
6161         (getLabelFont): adjust
6162
6163         * paragraph_funcs.C (TeXOnePar): adjust
6164         (outerFont): new func...
6165         (realizeFont): ...moved out from here, changed this to facilitate
6166         transition
6167
6168         * paragraph.C (getFont): take outerfont as arg, adjust
6169         (simpleTeXOnePar): add outerfont arg, adjust
6170
6171         * buffer.C (simpleLinuxDocOnePar): adjust
6172         (simpleDocBookOnePar): adjust
6173
6174         * CutAndPaste.C (pasteSelection): adjust
6175
6176         * BufferView.C (getEncoding): adjust
6177
6178 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6179
6180         * text2.C (setCharFont): adjust
6181         (setCounter): adjust
6182
6183         * text.C (leftMargin): adjust
6184         (setHeightOfRow): adjust
6185
6186         * rowpainter.C (paintFirst): adjust
6187         (paintLast): adjust
6188
6189         * paragraph_pimpl.C (realizeFont): adjust
6190
6191         * paragraph.C (isFirstInSequence): move from here...
6192         * paragraph_funcs.C (isFirstInSequence): ...to here
6193
6194         * paragraph.C (outerHook): move from here...
6195         * paragraph_funcs.C (outerHook): ...to here
6196
6197         * paragraph.C (depthHook): move from here...
6198         * paragraph_funcs.C (depthHook): ...to here
6199
6200         * paragraph.C (getEndLabel): move from here...
6201         * paragraph_funcs.C (getEndLabel): ...to here
6202
6203         * text2.C (realizeFont): move from here...
6204         * paragraph_funcs.C (realizeFont): ...to here
6205
6206 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6207
6208         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6209
6210 2003-04-14  Angus Leeming  <leeming@lyx.org>
6211
6212         * LColor.[Ch]: scrap LColor mathcursor.
6213
6214 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6215
6216         * lyxlex.[Ch] (text): delete function
6217         * trans.C (Load): adjust
6218         * paragraph_funcs.C (readParToken): adjust
6219
6220 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6221
6222         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6223         vector<char> instead of a char[].
6224
6225         * lyxlex_pimpl.C (getString): adjust
6226         (next): adjust
6227         (lex): use getString
6228         (eatLine): adjust
6229         (nextToken): adjust
6230
6231         * lyxlex.C (text): use pimpl_->getString()
6232         (getBool): ditto
6233         (findToken): ditto
6234
6235 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6236
6237         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6238         (makeFontEntriesLayoutSpecific): temp var for par.size()
6239         (setLayout): temp var for ownerParagraphs().end()
6240         (fullRebreak): temp var for rows().end()
6241         (selectionAsString): temp var for boost::next(startpit), realize
6242         that the while really is a regular for loop.
6243         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6244         setCursor in one place.
6245         (setParagraph): temp vr for ownerParagraphs().end()
6246         (updateCounters): make the while loop a for loop
6247         (cutSelection): temp var for ownerParagraphs().end()
6248         (updateInset): make the do {} while() a regular for loop
6249         (getCursorX): use temp vars
6250         (setCurrentFont): use temp vars
6251         (getColumnNearX): use temp vars
6252
6253 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6254
6255         * text.C (transformChar): use temp var for getChar
6256         (computeBidiTables): use temp var for row->par()
6257         (fill): move temp vars for row->par() and pit->layout() earlier in
6258         the function.
6259         (labelFill): use temp var for row->par()
6260         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6261         asc and desc, realize that pit never changes and that firstpit is
6262         just a duplicate and not needed. Exchange rit->par() with pit in a
6263         lot of places.
6264         (breakAgain): use a temp var for boost::next(rit)
6265         (breakAgainOneRow): ditto
6266         (breakParagraph): use a temp var for rows().begin()
6267         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6268         (cursorRightOneWord): use temp var for cursor.par() and
6269         cursor.pos(), remove usage of tmpcursor.
6270         (cursorLeftOneWord): use temp var for cursor.par() and
6271         cursor.pos() only set cur at end of function.
6272
6273 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6274
6275         * text.C, text2.C: exchange all usage of Paragraph::next with
6276         boost::next(ParagraphList::iterator)
6277
6278         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6279
6280         * text2.C (cursorTop): simplify implementation
6281         (cursorBottom): ditto
6282         (setParagraph): use ParagraphList::iterator
6283         (setCurrentFont): adjust
6284         (getColumnNearX): adjust
6285         (cursorRight): adjust
6286         (cursorLeft): remove usage of Paragraph::previous
6287         (cursorUpParagraph): ditto
6288         (deleteEmptyParagraphMechanism): slight cleanup
6289
6290         * text.C (isBoundary): take a Paragraph const & instead of a
6291         pointer as arg.
6292         (addressBreakPoint): ditto
6293         (leftMargin): remove usage of Paragraph::previous.
6294         (setHeightOfRow): ditto
6295         (cursorLeftOneWord): ditto
6296         (selectNextWordToSpellcheck): ditto
6297         (Delete): ditto
6298         (backspace): ditto
6299         (breakParagraph): remove one usage of Paragraph::next
6300         (redoParagraph): ditto
6301         (acceptChange): ditto
6302         (insertChar): adjust
6303         (rowBreakPoint): adjust
6304
6305         * bufferview_funcs.C (toggleAndShow): adjust
6306
6307 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
6308
6309         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6310         methods to access it.
6311         * lyxtext.h:
6312         * text.C: Added updateRowPositions to compute all row positions.
6313         Make top_y and getRowNearY() to use the cached y position
6314
6315 2003-04-11  John Levon  <levon@movementarian.org>
6316
6317         * text.C (rowBreakPoint): reintroduce the labelEnd
6318         checks, code copied from the row fill stuff. Deep voodoo.
6319
6320         * text.C (fill): add a comment and debugging for the
6321         next poor soul.
6322
6323 2003-04-11  John Levon  <levon@movementarian.org>
6324
6325         * text.C: make sure fullrow insets get wrapped to the next line,
6326         even when they're in a manual label
6327
6328 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6329
6330         * text2.C (insertParagraph): make it take ParagraphList::iterator
6331         as arg.
6332         (setLayout): make it return ParagraphList::iterator
6333         (redoParagraphs): ditto
6334         (setCounter): ditto
6335         (checkParagraph): ditto
6336
6337         * text.C (getRow): make getrow take ParagraphList::iterator as arg
6338
6339         * text2.C: adjust several funcs.
6340         (realizeFont): take a ParagraphList::iterator as arg.
6341         (getLayoutFont): ditto
6342         (getLabelFont): ditto
6343         (setCharFont): ditto
6344
6345         * text.C: adjust several funcs.
6346
6347 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6348
6349         * text.C (selectNextWordToSpellcheck): don't accidentally
6350         skip insets
6351
6352 2003-04-10  John Levon  <levon@movementarian.org>
6353
6354         * ToolbarBackend.C (getIcon): special handling for
6355         LFUN_MATH_DELIM
6356
6357 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6358
6359         * text2.C (cursorRight): a getChar assert fixed
6360
6361 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6362
6363         * text2.C (getFont): change to take a ParagraphList::iterator
6364         instead of Paragraph*
6365         Adjust several functions.
6366
6367         * text.C (transformChar): change to take a ParagraphList::iterator
6368         instead of Paragraph*
6369         (singleWidth): ditto
6370         Adjust several functions.
6371
6372         * rowpainter.C: adjust several functions
6373         * rowpainter.h:store a ParagraphList::iterator and not a
6374         Paragraph&.
6375
6376
6377 2003-04-09  John Levon  <levon@movementarian.org>
6378
6379         * lyxfunc.C:
6380         * lfuns.h:
6381         * LyXAction.h:
6382         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6383         and the "help" bits as well
6384
6385 2003-04-09  John Levon  <levon@movementarian.org>
6386
6387         * ToolbarBackend.h:
6388         * ToolbarBackend.C: allow multiple toolbars
6389
6390 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6391
6392         * undo_funcs.C (setCursorParUndo): adjust
6393
6394         * text_funcs.C (transposeChars): adjust
6395
6396         * text3.C (gotoNextInset): adjust
6397         (dispatch): adjust
6398
6399         * text2.C (setLayout): adjust
6400         (changeDepth): adjust
6401         (setFont): adjust
6402         (redoParagraphs): adjust
6403         (selectionAsString): adjust
6404         (setParagraph): adjust
6405         (insertInset): adjust
6406         (cutSelection): adjust
6407         (copySelection): adjust
6408         (pasteSelection): adjust
6409         (insertStringAsLines): adjust
6410         (updateInset): adjust
6411         (setCursor): change to take a ParagraphList::iterator parameter
6412         (setCursorIntern): change to take a ParagraphList::iterator parameter
6413         (setCurrentFont): adjust
6414         (cursorLeft): adjust
6415         (cursorRight): adjust
6416         (deleteEmptyParagraphMechanism): adjust
6417
6418         * text.C (breakParagraph): adjust
6419         (insertChar): adjust
6420         (acceptChange): adjust
6421         (rejectChange): adjust
6422         (selectNextWordToSpellcheck): adjust
6423         (changeCase): adjust
6424         (Delete): adjust
6425         (backspace): adjust
6426
6427         * lyxfind.C (SearchForward): adjust
6428         (SearchBackward): adjust
6429         (nextChange): adjust
6430
6431         * lyxcursor.C (par): adjust
6432
6433         * lyxcursor.h: store a ParagraphList::iterator instead of a
6434         Paragraph*
6435
6436         * lyx_cb.C (getPossibleLabel): adjust
6437
6438         * bufferview_funcs.C (toggleAndShow): adjust
6439
6440         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6441         (dispatch): adjust
6442
6443         * BufferView.C (removeAutoInsets): adjust
6444         (lockedInsetStoreUndo): adjust
6445
6446 2003-04-09  John Levon  <levon@movementarian.org>
6447
6448         * ToolbarBackend.C: try icon without argument
6449         if with argument fails
6450
6451 2003-04-08  John Levon  <levon@movementarian.org>
6452
6453         * ToolbarBackend.h:
6454         * ToolbarBackend.C: add getIcon(), handle tooltip,
6455         and change from "Icon" to "Item".
6456
6457 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6458
6459         * BufferView.C (lockInset): another bad getchar crunched
6460
6461 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6462
6463         * text2.C (changeDepth): do not setUndo on test_only (make undo work
6464         again)
6465
6466 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
6467
6468         * lyxfind.C (searchForward, searchBackwards): bug 782
6469
6470 2003-04-07  John Levon  <levon@movementarian.org>
6471
6472         * paragraph.C: remove dead comment
6473
6474         * text.C: remove troublesome depth-fiddling code
6475         in leftMargin() and rightMargin() (bug 1017)
6476
6477         * text.C: fix breaking of rows in nested lists
6478         (bug 1004)
6479
6480         * text2.C (updateCounters): fix up depth values
6481         (bug 1013)
6482
6483 2003-04-07  John Levon  <levon@movementarian.org>
6484
6485         * BufferView_pimpl.C: clear message when doc finishes resizing,
6486         and after a mouse event
6487
6488         * lyxfunc.C: clear message after exiting inset
6489
6490 2003-04-07  John Levon  <levon@movementarian.org>
6491
6492         * bufferview_funcs.C: show math status not outside
6493         status in the statusbar
6494
6495 2003-04-07  John Levon  <levon@movementarian.org>
6496
6497         * lyxfunc.C: note status changed after a depth change
6498
6499 2003-04-04  Angus Leeming  <leeming@lyx.org>
6500
6501         * LaTeX.h: move AuxInfo operator==, != out of line.
6502         Remove LaTeX virtual destructor; nothing derives from it.
6503         Move operator()() out of public area and rename it startscript().
6504         Change protected for private.
6505
6506 2003-04-04  Angus Leeming  <leeming@lyx.org>
6507
6508         * lyxfunc.C:
6509         * text2.C: remove unneeded #includes.
6510
6511 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6512
6513         * text2.C (dEPM): fix the heigth of the next row
6514
6515 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6516
6517         * text.C: squashed an invalid getChar requester + some ws changes
6518
6519 2003-04-03  John Levon  <levon@movementarian.org>
6520
6521         * bufferview_funcs.h:
6522         * bufferview_funcs.C:
6523         * lyxfunc.C:
6524         * lyxtext.h:
6525         * text2.C: make getStatus work for the env depth lfuns
6526
6527 2003-04-03  John Levon  <levon@movementarian.org>
6528
6529         * bufferview_funcs.h:
6530         * bufferview_funcs.C:
6531         * lyxfunc.C:
6532         * lyxtext.h:
6533         * text2.C: parlistize decDepth(), by merging it with incDepth()
6534
6535 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6536
6537         * lyxrow.h: store a ParagraphList::iterator instead of a
6538         Paragraph* and adjust other class functions to suit.
6539
6540         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6541         above.
6542
6543 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6544
6545         * text2.C (setCursor): do not anchor to cursor row for the time being
6546
6547 2003-04-02  John Levon  <levon@movementarian.org>
6548
6549         * LyXAction.C:
6550         * lfuns.h:
6551         * lyx_main.C:
6552         * lyxtext.h:
6553         * text.C:
6554         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6555
6556 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6557
6558         * paragraph.h: make ParagraphList and ParagraphList::iterator
6559         friends of Paragraph.
6560
6561         * buffer.C (makeLinuxDocFile): move towards ParagraphList
6562
6563         * ParagraphList.C: Use the private next_ and previous_ from
6564         Paragraph.
6565
6566 2003-04-01  John Levon  <levon@movementarian.org>
6567
6568         * ToolbarBackend.h:
6569         * ToolbarBackend.C:
6570         * Makefile.am: rename, remove defaults gunk
6571
6572         * MenuBackend.h:
6573         * MenuBackend.C: remove defaults gunk
6574
6575         * Languages.h:
6576         * Languages.C: remove defaults gunk
6577
6578         * lyx_main.h:
6579         * lyx_main.C: error out if files couldn't be found.
6580
6581 2003-04-02  John Levon  <levon@movementarian.org>
6582
6583         * text2.C: make incDepth() use parlist
6584
6585 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6586
6587         * undo_funcs.C (firstUndoParagraph): adjust
6588
6589         * text3.C (gotoInset): adjust
6590         (dispatch): adjust, and rewrite loop.
6591
6592         * text2.C (init): adjust, and rewrite loop.
6593         (redoParagraphs): adjust
6594         (updateInset): adjust, and rewrite loop.
6595         (deleteEmptyParagraphMechanism): adjust
6596
6597         * tabular.C (LyXTabular): adjust
6598         (SetMultiColumn): adjust
6599         (TeXRow): adjust
6600
6601         * lyxtext.[Ch] (ownerParagraph): delete function
6602         (ownerParagraphs): new function returns a ParagraphList.
6603
6604         * BufferView.C (removeAutoInsets): adjust
6605         (insertErrors): adjust
6606         (setCursorFromRow): adjust
6607
6608 2003-04-01  Angus Leeming  <leeming@lyx.org>
6609
6610         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6611         in the frontends.
6612
6613 2003-04-02  John Levon  <levon@movementarian.org>
6614
6615         * lyxtext.h:
6616         * text.C:
6617         * Makefile.am:
6618         * text_funcs.h:
6619         * text_funcs.C: make transposeChars a free function
6620
6621         * lyxrow_funcs.C: remove wrong comment
6622
6623 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6624
6625         * lyxtext.h: adjust
6626         * rowpainter.C: adjust
6627         * text.C: adjust
6628         * text2.C: adjust
6629         * text3.C: adjust
6630
6631         * lyxrow_funcs. [Ch]: new files
6632
6633         * lyxrow.[Ch]: remove next and previous pointers
6634         (next,previous): remove accessor functions
6635         (isParEnd): move to lyxrow_funcs
6636         (lastPos): move to lyxrow_funcs
6637         (nextRowIsAllInset): move to lyxrow_funcs
6638         (lastPrintablePos): move to lyxrow_funcs
6639         (numberOfSeparators): move to lyxrow_funcs
6640         (numberOfHfills): move to lyxrow_funcs
6641         (numberOfLabelHfills): move to lyxrow_funcs
6642         (hfillExpansion): move to lyxrow_funcs
6643
6644         * lyxfunc.C: adjust
6645
6646         * bufferview_funcs.C (toggleAndShow): adjust
6647
6648         * RowList.h: Remove class RowList from file leave just a
6649         std::list<Row>.
6650
6651         * RowList.C: delete file
6652
6653         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6654         and lyxrow_funcs.h
6655
6656 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6657
6658         * text3.C (cursorPrevious): adjust
6659         (cursorNext): adjust
6660         (dispatch): adjust
6661
6662         * text2.C (redoHeightOfParagraph): adjust
6663         (redoDrawingOfParagraph): adjust
6664         (setCursor): adjust
6665
6666         * text.C (breakParagraph): adjust
6667         (insertChar): adjust
6668         (backspace): adjust
6669
6670         * rowpainter.C (RowPainter): adjust
6671         (leftMargin): simplify and adjust
6672         (most rowpainter functions): adjust.
6673
6674         * rowpainter.h: store the row as RowList::iterator not as Row*
6675
6676         * lyxcursor.C (row): taka RowList::iterator as arg
6677         (irow): ditto
6678
6679         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6680         of Row*.
6681
6682 2003-04-01  Angus Leeming  <leeming@lyx.org>
6683
6684         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6685         stuff like bool Bool.
6686
6687 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6688
6689         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6690         rewrite a loop
6691
6692 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6693
6694         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6695         RowList::iterator.
6696
6697         * lyxtext.h (rows): drop one version and leve a const variant that
6698         returns a RowList::iterator.
6699
6700 2003-03-31  Angus Leeming  <leeming@lyx.org>
6701
6702         * text.C (fill): ensure that the signature is the same as that in the
6703         header file.
6704
6705 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
6706
6707         * text2.C (redoParagraphs): adjust
6708         (updateCounters): adjust
6709         (checkParagraph): adjust
6710         (getColumnNearX): adjust and reformat a bit.
6711
6712         * text.C (top_y): adjust
6713         (workWidth): adjust
6714         (leftMargin): adjust
6715         (prepareToPrint): adjust
6716         (getRow): adjust
6717         (getRowNearY): adjust
6718
6719         * lyxtext.h: make rowlist_ mutable.
6720
6721         * RowList.h: add const_iterator
6722         * RowList.C: adjust for RowList::const_iterator.
6723
6724         * text2.C (getCursorX): make it take a RowList::iterator as arg,
6725         adjust.
6726
6727 2003-03-31  John Levon  <levon@movementarian.org>
6728
6729         * lyxrc.h:
6730         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6731
6732         * lyx_main.C: set default fonts from using lyx_gui funcs
6733
6734         * exporter.C: pdf_mode moved from lyxrc
6735
6736         * lyx_cb.C:
6737         * lyxfunc.C: changes from above
6738
6739 2003-03-31  John Levon  <levon@movementarian.org>
6740
6741         * lyx_main.C: fix to the last fix
6742
6743 2003-03-31  John Levon  <levon@movementarian.org>
6744
6745         * bufferlist.C: "Load original" -> "Load Original"
6746
6747         * converter.C:
6748         * exporter.C:
6749         * importer.C:
6750         * lyx_main.C:
6751         * format.C: more Alert cleanups
6752
6753 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6754
6755         * text2.C (removeParagraph): make it take a RowList::iterator as
6756         arg, adjust.
6757         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6758         (postRowPaint): make it take a RowList::iterator as arg, adjust.
6759
6760         * text.C (anchor_row): make it take a RowList::iterator as arg,
6761         adjust.
6762         (computeBidiTables): make it take a const reference to Row instead
6763         of Row pointer, adjust.
6764         (leftMargin): make it take a RowList::iterator as arg, adjust.
6765         (rowBreakPoint): adjust
6766         (breakAgainOneRow): make it take a RowList::iterator as arg,
6767         adjust.
6768         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6769
6770         * bufferview_funcs.C (toggleAndShow): adjust
6771
6772 2003-03-30  John Levon  <levon@movementarian.org>
6773
6774         * Makefile.am:
6775         * BoostFormat.h:
6776         * boost-inst.C: moved to support
6777
6778         * several files: changes as a result
6779
6780 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6781
6782         * text2.C (LyXText): adjust.
6783         (init): adjust
6784         (removeRow): make it take a RowList::iterator as arg, adjust.
6785         (fullRebreak): adjust
6786         (deleteEmptyParagraphMechanism): adjust
6787         (clearPaint): adjust
6788         (postPaint): adjust
6789
6790         * text.C (top_y): adjust
6791         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6792         (breakAgain): make it take a RowList::iterator as arg, adjust.
6793         (breakParagraph): adjust
6794         (insertChar): adjust
6795         (backspace): adjust
6796
6797         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6798         need_break_row, and refresh_row.
6799
6800         * text3.C (dispatch): adjust
6801
6802         * text2.C (checkParagraph): adjust
6803         (setCursor): adjust
6804         (setCursorFromCoordinates): adjust
6805
6806         * text.C (top_y): adjust
6807         (workWidth): adjust
6808         (getRow): make it return a RowList::iterator, adjust
6809         (getRowNearY): make it return a RowList::iterator, adjust
6810
6811         * text2.C (init): adjust
6812         (insertRow): remove function
6813         (insertParagraph): adjust
6814         (redoParagraphs): adjust
6815         (fullRebreak): adjust
6816         (updateCounters): adjust
6817
6818         * text.C (top_y): rewrite to use RowList iterators.
6819         (top_y): adjust
6820         (setHeightOfRow): rewrite to sue RowList iterators.
6821         (appendParagraph): adjust
6822         (breakAgain): adjust
6823         (breakAgainOneRow): adjust
6824         (breakParagraph): adjust
6825         (getRow): adjust
6826         (getRowNearY): adjust, and remove commented code.
6827
6828         * lyxtext.h (firstRow): delete function
6829         (lastRow): delete function
6830         (rows): new function (const and non-const versions.)
6831         (insertRow): delete function
6832
6833         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6834
6835 2003-03-29  John Levon  <levon@movementarian.org>
6836
6837         * BufferView_pimpl.C: always update scrollbar top
6838         because pasting text when we're anchored could mean we
6839         miss an update altogether
6840
6841 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6842
6843         * text2.C (init): use rowlist_.end() and not 0.
6844         (insertRow): change to take a RowList::iterator as arg, adjust
6845         for this.
6846         (insertParagraph): change to take a RowList::iterator as arg,
6847         adjust for this.
6848         (redoParagraphs): remove some debug msgs.
6849
6850         * text.C (appendParagraph): change to take a RowList::iterator
6851         arg, adjust for this.
6852         (breakAgain): add an assert
6853         (breakAgainOneRow): ditto
6854
6855 2003-03-29  John Levon  <levon@movementarian.org>
6856
6857         * text2.C: do not clear selection after inc/decDepth
6858         (bug 550)
6859
6860 2003-03-29  John Levon  <levon@movementarian.org>
6861
6862         * BufferView.C:
6863         * buffer.C: fix broken strerrors according to Lars
6864
6865 2003-03-29  John Levon  <levon@movementarian.org>
6866
6867         * converters.C: more Alert cleanups
6868
6869 2003-03-29  John Levon  <levon@movementarian.org>
6870
6871         * bufferview_funcs.C: remove pointless Alert
6872
6873         * buffer.C: fix confusing error message when
6874         a template is chmoded 000
6875
6876 2003-03-29  John Levon  <levon@movementarian.org>
6877
6878         * BufferView.C:
6879         * BufferView.h:
6880         * BufferView_pimpl.C: Alert fixes
6881
6882         * Makefile.am:
6883         * tabular.C:
6884         * tabular-old.C: remove unused table compat reading
6885
6886 2003-03-29  John Levon  <levon@movementarian.org>
6887
6888         * BufferView.C:
6889         * buffer.C:
6890         * lyx_cb.h:
6891         * lyx_cb.C: more Alert cleanups
6892
6893         * lyxfunc.C: don't allow chktex if not latex document
6894
6895 2003-03-29  John Levon  <levon@movementarian.org>
6896
6897         * lyx_cb.C:
6898         * BufferView.C:
6899         * buffer.C: warnings pushed down from support/,
6900         kill err_alert
6901
6902 2003-03-29  John Levon  <levon@movementarian.org>
6903
6904         * lyxfunc.C: safety check for C-r (revert)
6905
6906 2003-03-29  John Levon  <levon@movementarian.org>
6907
6908         * bufferlist.h:
6909         * bufferlist.C: several UI fixes using Alert::prompt.
6910         Fix the pointless looping quit code. Fix stupid revert
6911         behaviour (bug 938)
6912
6913         * lyxvc.h:
6914         * lyxvc.C:
6915         * lyx_cb.C: use Alert::prompt
6916
6917         * lyx_main.C: remove a silly question
6918
6919         * lyxfunc.C: remove a couple of silly questions,
6920         use Alert::prompt
6921
6922 2003-03-28  John Levon  <levon@movementarian.org>
6923
6924         * text2.C: fix bug 974 (End on empty par)
6925
6926 2003-03-28  John Levon  <levon@movementarian.org>
6927
6928         * BufferView_pimpl.C:
6929         * LyXAction.C:
6930         * lfuns.h: remove do-nothing math greek lfuns
6931
6932 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6933
6934         * lyxgluelength.h (isValidGlueLength): add default arg on
6935         parameter 2. Remove default arg from friend in class.
6936
6937         * lyxlength.h (isValidLength): add default arg on parameter 2.
6938         Remove default arg from friend in class.
6939
6940         * text2.C (LyXText): adjust, initialize refresh_row.
6941         (init): adjust
6942         (removeRow): adjust
6943         (insertRow): adjust
6944         (insertParagraph): adjst
6945         (redoParagraphs): adjust
6946         (fullRebreak): adjust
6947         (updateCounters): adjust
6948         (deleteEmptyParagraphMechanism): first attempt at fixing a
6949         crashing bug.
6950
6951         * text.C (top_y): adjust
6952         (setHeightOfRow): adjust
6953         (getRow): adjust
6954         (getRowNearY): adjust
6955
6956         * lyxtext.h: include RowList.h
6957         (~LyXText): not needed anymore, deleted.
6958         (firstRow): modify for RowList
6959         (lastRow): new function
6960         Delete firstrow and lastrow class variables, add a Rowlist
6961         rowlist_ class variable.
6962
6963         * lyxrow.C (lastPos): use empty() and not !size() to check if a
6964         paragraph is empty.
6965
6966         * RowList.C (insert): fix case where it == begin().
6967
6968 2003-03-26  Angus Leeming  <leeming@lyx.org>
6969
6970         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6971         the thesaurus dialog.
6972
6973 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6974
6975         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6976
6977         * RowList.[Ch]: new files
6978
6979         * ParagraphList.C (erase): handle the case where it == begin
6980         correctly.
6981
6982 2003-03-25  John Levon  <levon@movementarian.org>
6983
6984         * Makefile.am:
6985         * aspell_local.h:
6986         * aspell.C: add new aspell support
6987
6988         * lyxrc.h:
6989         * lyxrc.C: Make use_pspell be use_spell_lib. Always
6990         have it accessible.
6991
6992 2003-03-25  Angus Leeming  <leeming@lyx.org>
6993
6994         * lfuns.h:
6995         * LyXAction.C (init): new LFUN_INSET_INSERT.
6996
6997         * BufferView_pimpl.C (dispatch): split out part of the
6998         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6999
7000         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7001         LFUN_INSET_APPLY.
7002
7003 2003-03-25  Angus Leeming  <leeming@lyx.org>
7004
7005         * lyxfunc.C (dispatch): changes to the Dialogs interface.
7006
7007 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
7008
7009         * text2.C:
7010         * text3.C: remove useless row->height(0)
7011
7012 2003-03-25  John Levon  <levon@movementarian.org>
7013
7014         * lyxtext.h:
7015         * text2.C:
7016         * text3.C: rename the refreshing stuff to better names
7017
7018 2003-03-24  John Levon  <levon@movementarian.org>
7019
7020         * BufferView_pimpl.h:
7021         * BufferView_pimpl.C: update layout choice on a mouse
7022         press/release
7023
7024 2003-03-23  John Levon  <levon@movementarian.org>
7025
7026         * Makefile.am: fix commandtags.h reference
7027
7028 2003-03-22  John Levon  <levon@movementarian.org>
7029
7030         * BufferView_pimpl.C:
7031         * lyxtext.h:
7032         * rowpainter.C:
7033         * rowpainter.h:
7034         * text.C:
7035         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7036
7037 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
7038
7039         * lyxtext.h:
7040         * text.C: take the rtl methods out of line
7041
7042 2003-03-21 André Pönitz <poenitz@gmx.net>
7043
7044         * metricsinfo.[Ch]: new files containing structures to be passed around
7045         during the two-phase-drawing...
7046
7047 2003-03-21 André Pönitz <poenitz@gmx.net>
7048
7049         * lyxtextclass.C: read 'environment' tag.
7050
7051 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
7052
7053         * text2.C (removeRow): fix bug 964
7054
7055 2003-03-20  John Levon  <levon@movementarian.org>
7056
7057         * rowpainter.C:
7058         * text.C:
7059         * text2.C: paint cleanups. Inset::update() dropped font
7060         parameter
7061
7062 2003-03-19  John Levon  <levon@movementarian.org>
7063
7064         * lyxfunc.C: only fitcursor/markDirty if available()
7065
7066 2003-03-19  John Levon  <levon@movementarian.org>
7067
7068         * commandtags.h: rename to ...
7069
7070         * lfuns.h: ... this, and renumber / cleanup
7071
7072 2003-03-19  John Levon  <levon@movementarian.org>
7073
7074         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7075         fit the cursor after an lfun
7076
7077         * BufferView.h:
7078         * BufferView.C:
7079         * BufferView_pimpl.h:
7080         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7081
7082         * LyXAction.C: layout-character should have ReadOnly
7083
7084         * ParagraphParameters.C:
7085         * buffer.C:
7086         * bufferview_funcs.C:
7087         * lyx_cb.C:
7088         * lyxfind.C:
7089         * lyxtext.h:
7090         * text.C:
7091         * text2.C:
7092         * text3.C:
7093         * undo_funcs.C: changes from above
7094
7095 2003-03-18  John Levon  <levon@movementarian.org>
7096
7097         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7098         remove it from update()
7099
7100         * lyxfunc.C: update layout choice after an lfun
7101
7102         * text3.C: remove extra updateLayoutChoice()s
7103
7104 2003-03-18  John Levon  <levon@movementarian.org>
7105
7106         * text.C: top_y change means full repaint, fix
7107         a drawing bug with cursor movement
7108
7109 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7110
7111         * lyxtext.h:
7112         * text.C:
7113         * text2.C: anchor row on setCursor
7114
7115 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7116
7117         * lyxtext.h: remove almost all mutable keywords
7118         * text.C:
7119         * text2.C:
7120         * text3.C: remove const keywords accordingly
7121
7122 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7123
7124         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7125         anon namespace
7126         (TeXEnvironment): ditto
7127         (TeXOnePar): ditto
7128
7129 2003-03-17  John Levon  <levon@movementarian.org>
7130
7131         * text.C (rowBreakPoint): remove attempt to fix displayed
7132         math insets inside a manual label
7133
7134 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7135
7136         * lyxtext.h: remove BufferView* as first arg from almost all class
7137         functions.
7138         * other files: adjust.
7139
7140 2003-03-17  John Levon  <levon@movementarian.org>
7141
7142         * lyxtext.h:
7143         * undo_funcs.C:
7144         * text2.C: more paint cleanups
7145
7146         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7147
7148         * rowpainter.h:
7149         * rowpainter.C: remove "smart" background painting code
7150
7151 2003-03-16  John Levon  <levon@movementarian.org>
7152
7153         * lyxtext.h:
7154         * text.C:
7155         * text2.C:
7156         * text3.C: add helper functions for setting refresh_row/y
7157
7158 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
7159
7160         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7161         newline inset which *can* get inserted in the pass_thru layouts.
7162         This is primarily for literate documents.
7163
7164 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
7165
7166         * buffer.C: increment LYX_FORMAT to 223
7167
7168 2003-03-14 André Pönitz <poenitz@gmx.net>
7169
7170         * textclass.h: prepare for environment handling, ws changes
7171         * lyxlayout.C: read latexheader and latexfooter tags
7172
7173 2003-03-14  John Levon  <levon@movementarian.org>
7174
7175         * text2.C: rewrite ::status() a bit
7176
7177 2003-03-13  John Levon  <levon@movementarian.org>
7178
7179         * lyxtext.h: add some docs
7180
7181 2003-03-13  John Levon  <levon@movementarian.org>
7182
7183         * lyxtext.h:
7184         * text.C:
7185         * text2.C:
7186         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7187
7188 2003-03-13  John Levon  <levon@movementarian.org>
7189
7190         * text3.C: fix appendix redrawing
7191
7192 2003-03-13  John Levon  <levon@movementarian.org>
7193
7194         * text.C (setHeightOfRow):
7195         * rowpainter.h:
7196         * rowpainter.C: make appendix mark have the text
7197           "Appendix" so the user knows what it is
7198
7199         * LColor.h:
7200         * LColor.C: s/appendixline/appendix/ from above
7201
7202 2003-03-13  John Levon  <levon@movementarian.org>
7203
7204         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7205
7206         * text.C: fix a getChar(pos) bug properly
7207
7208 2003-03-13  Angus Leeming  <leeming@lyx.org>
7209
7210         * commandtags.h:
7211         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7212         Probably only temporary. Let's see how things pan out.
7213
7214         * BufferView.C (unlockInset):
7215         * BufferView_pimpl.C (fitCursor):
7216         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7217
7218         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7219         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7220
7221         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7222         new functions that convert ParagraphParameters to and from a string.
7223
7224         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7225         BufferView::Pimpl's dispatch.
7226         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7227
7228 2003-03-13 André Pönitz <poenitz@gmx.net>
7229
7230         * lyxfunc.C:
7231         * text3.C:
7232         * factory.C: make it aware of InsetEnv
7233
7234 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7235
7236         * text2.C (setCursor): never ask for one past last
7237         (setCursor): add some debugging messages.
7238
7239         * text.C (singleWidth): never ask for one past last
7240         (singleWidth): ditto
7241         (leftMargin): ditto
7242         (rightMargin): ditto
7243         (rowBreakPoint): ditto
7244         (setHeightOfRow): ditto
7245         (prepareToPrint): ditto
7246
7247         * rowpainter.C (paintBackground): never ask for one past last
7248         (paintText): never ask for one past last
7249
7250         * paragraph_pimpl.C (getChar): make the assert stricter, never
7251         allow the one past last pos to be taken
7252
7253         * paragraph.C (getChar): ws changes only
7254
7255         * lyxrow.C (nextRowIsAllInset): never ask for one past last
7256         (numberOfSeparators): ditto
7257         (numberOfHfills): ditto
7258
7259 2003-03-12  John Levon  <levon@movementarian.org>
7260
7261         * author.h:
7262         * author.C:
7263         * bufferparams.h:
7264         * bufferparams.C:
7265         * paragraph_funcs.C: fix per-buffer authorlists
7266
7267 2003-03-12  John Levon  <levon@movementarian.org>
7268
7269         * text.C: fix newline in right address
7270
7271 2003-03-12  Angus Leeming  <leeming@lyx.org>
7272
7273         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7274         duplicate those in LyXFunc::dispatch.
7275
7276         * commandtags.h:
7277         * LyXAction.C:
7278         * ToolbarDefaults.C:
7279         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7280         Add LFUN_FONTFREE_UPDATE.
7281
7282         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7283         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7284
7285         * bufferview_func.[Ch]: several new functions to facilliate
7286         transfer of data to and from the character dialog.
7287
7288 2003-03-12  John Levon  <levon@movementarian.org>
7289
7290         * buffer.C:
7291         * paragraph.h:
7292         * paragraph.C:
7293         * paragraph_funcs.C:
7294         * paragraph_pimpl.C:
7295         * sgml.C:
7296         * tabular.C:
7297         * text.C:
7298         * text3.C: remove META_NEWLINE in favour of an inset
7299
7300         * rowpainter.h:
7301         * rowpainter.C: remove paintNewline (done by inset)
7302
7303 2003-03-12  John Levon  <levon@movementarian.org>
7304
7305         * paragraph_pimpl.C: complain about bad getChar()s
7306         for a while at least
7307
7308 2003-03-12  John Levon  <levon@movementarian.org>
7309
7310         * buffer.h:
7311         * buffer.C: move paragraph read into a separate function,
7312         a little renaming to reflect that.
7313
7314         * bufferparams.h:
7315         * bufferparams.C: remove the author_ids map, not necessary now
7316
7317         * factory.h:
7318         * factory.C: moved Buffer::readInset to here
7319
7320         * paragraph_funcs.h:
7321         * paragraph_funcs.C: readParagraph free function moved from
7322         buffer.C
7323
7324         * tabular.C: name change
7325
7326 2003-03-12  John Levon  <levon@movementarian.org>
7327
7328         * buffer.C:
7329         * ParagraphParameters.C: move par params input to
7330         a read() method
7331
7332         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7333         behave like a normal read from the stream wrt reading
7334         a line vs. a \\token
7335
7336 2003-03-12  John Levon  <levon@movementarian.org>
7337
7338         * paragraph.C:
7339         * ParagraphParameters.h:
7340         * ParagraphParameters.C: move output code to a
7341         ::write() method
7342
7343 2003-03-12  John Levon  <levon@movementarian.org>
7344
7345         * BufferView.C (insertLyXFile):
7346         * buffer.h:
7347         * buffer.C:
7348         * tabular.C: use a parlist iterator for creating the
7349           document.
7350
7351 2003-03-12  John Levon  <levon@movementarian.org>
7352
7353         * buffer.C: make current_change static local not
7354           static file-scope
7355
7356 2003-03-12  John Levon  <levon@movementarian.org>
7357
7358         * buffer.C: fix insertStringAsLines for change tracking
7359
7360 2003-03-12  John Levon  <levon@movementarian.org>
7361
7362         * BufferView.C:
7363         * tabular.C:
7364         * buffer.h:
7365         * buffer.C:
7366         * bufferparams.h:
7367         * bufferparams.C: move author list into params. Rename some
7368           functions. Move the header reading into a separate token
7369           loop. Move the header token reading into BufferParams.
7370
7371 2003-03-12  John Levon  <levon@movementarian.org>
7372
7373         * changes.C: put debug inside lyxerr.debugging() checks
7374
7375 2003-03-11 André Pönitz <poenitz@gmx.net>
7376
7377         * factory.C: make it aware of InsetHFill
7378
7379 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7380
7381         * buffer.C (latexParagraphs): move function from here...
7382         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7383         args.
7384
7385 2003-03-10  Angus Leeming  <leeming@lyx.org>
7386
7387         * LyXAction.C (init): fix bug in poplating array with multiple entries
7388         with the same LFUN (spotted by JMarc).
7389
7390 2003-03-10  John Levon  <levon@movementarian.org>
7391
7392         * text.C:
7393         * text2.C: move getColumnNearX() near its
7394         only call site
7395
7396 2003-03-10  John Levon  <levon@movementarian.org>
7397
7398         * text.C: fix break before a minipage
7399
7400 2003-03-10  John Levon  <levon@movementarian.org>
7401
7402         * text.C: fix the last commit
7403
7404 2003-03-09  John Levon  <levon@movementarian.org>
7405
7406         * lyxtext.h:
7407         * text.C:
7408         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7409         bug 365 (don't break before insets unless needed). Don't
7410         return a value > last under any circumstances.
7411
7412 2003-03-09  Angus Leeming  <leeming@lyx.org>
7413
7414         * BufferView_pimpl.C (trackChanges, dispatch): call
7415         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7416
7417 2003-03-09  Angus Leeming  <leeming@lyx.org>
7418
7419         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7420         than Dialogs::showAboutlyx().
7421
7422 2003-03-09  Angus Leeming  <leeming@lyx.org>
7423
7424         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7425         than Dialogs::showTabularCreate().
7426
7427 2003-03-09  John Levon  <levon@movementarian.org>
7428
7429         * lyxtext.h:
7430         * text.C:
7431         * text2.C: 3rd arg to nextBreakPoint was always the same.
7432           Use references.
7433
7434 2003-03-08  John Levon  <levon@movementarian.org>
7435
7436         * lyxrow.C:
7437         * paragraph.C:
7438         * paragraph.h:
7439         * rowpainter.C:
7440         * text.C:
7441         * text2.C: Remove the "main" bit from the "main body"
7442           notion.
7443
7444 2003-03-08  John Levon  <levon@movementarian.org>
7445
7446         * text.C (leftMargin): The left margin of an empty
7447         manual label paragraph should not include the label width
7448         string length.
7449
7450         * text.C (prepareToPrint): don't attempt to measure hfills
7451         for empty manual label paragraphs - the answer should be 0
7452
7453 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7454
7455         * CutAndPaste.C: remove commented code and reindent.
7456
7457 2003-03-08  John Levon  <levon@movementarian.org>
7458
7459         * lyxfunc.h:
7460         * lyxfunc.C: move reloadBuffer()
7461
7462         * BufferView.h:
7463         * BufferView.C: to here
7464
7465         * lyxvc.C: add comment
7466
7467         * vc-backend.h:
7468         * vc-backend.C: call bv->reload() to avoid
7469           getStatus() check on MENURELOAD
7470
7471 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
7472
7473         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7474         to an old format .dep file.
7475
7476 2003-03-07  Angus Leeming  <leeming@lyx.org>
7477
7478         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7479         when the LFUN_MOUSE_RELEASE should have been handled by
7480         inset->localDispatch.
7481
7482 2003-03-07  Angus Leeming  <leeming@lyx.org>
7483
7484         * BufferView_pimpl.C (dispatch):
7485         * LyXAction.C (init):
7486         * ToolbarDefaults.C (init):
7487         * commandtags.h:
7488         * lyxfunc.C (getStatus):
7489         remove LFUN_INSET_GRAPHICS.
7490
7491         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7492
7493 2003-03-07  Angus Leeming  <leeming@lyx.org>
7494
7495         * commandtags.h:
7496         * LyXAction.C (init):
7497         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7498
7499         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7500
7501         * commandtags.h:
7502         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7503
7504         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7505         localDispatch method LFUN_INSET_DIALOG_UPDATE.
7506
7507 2003-03-07  Angus Leeming  <leeming@lyx.org>
7508
7509         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7510         remove "ert".
7511
7512 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7513
7514         * ParagraphList.C (front): new function
7515         (back): implement
7516
7517 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
7518
7519         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7520         and top_row_offset_. removed var first_y.
7521         * text.C (top_y):
7522         * text2.C (LyXText, removeRow):
7523         * text3.C:
7524         * BufferView_pimpl.C:
7525         use these methods instead of using first_y
7526
7527 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7528
7529         * text2.C (pasteSelection): adjust for checkPastePossible
7530
7531         * CutAndPaste.C: remove Paragraph * buf and replace with
7532         ParagraphList paragraphs.
7533         (DeleteBuffer): delete
7534         (cutSelection): change the tc type to textclass_type
7535         (copySelection): change the tc type to textclass_type
7536         (copySelection): adjust for ParagraphList
7537         (pasteSelection): change the tc type to textclass_type
7538         (pasteSelection): adjust for Paragraphlist
7539         (nrOfParagraphs): simplify for ParagraphList
7540         (checkPastePossible): simplify for ParagraphList
7541         (checkPastePossible): remove unused arg
7542
7543         * ParagraphList.C (insert): handle the case where there are no
7544         paragraphs yet.
7545
7546         * CutAndPaste.h: make CutAndPaste a namespace.
7547
7548         * text3.C (dispatch): adjust
7549
7550         * text.C (breakParagraph): add a ParagraphList as arg
7551
7552         * paragraph_funcs.C (breakParagraph): change to take a
7553         BufferParams and a ParagraphList as args.
7554         (breakParagraphConservative): ditto
7555         (mergeParagraph): ditto
7556         (TeXDeeper): add a ParagraphList arg
7557         (TeXEnvironment): ditto
7558         (TeXOnePar): ditto
7559
7560         * buffer.C (readLyXformat2): adjust
7561         (insertStringAsLines): adjust
7562         (latexParagraphs): adjust
7563
7564         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7565         (cutSelection): adjust
7566         (pasteSelection): adjust
7567
7568         * BufferView_pimpl.C (insertInset): adjust
7569
7570 2003-03-05  Angus Leeming  <leeming@lyx.org>
7571
7572         * commandtags.h:
7573         * LyXAction.C (init):
7574         * BufferView_pimpl.C (dispatch):
7575         * lyxfunc.C (getStatus):
7576         remove LFUN_CHILD_INSERT.
7577
7578         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7579
7580 2003-03-05  Angus Leeming  <leeming@lyx.org>
7581
7582         * commandtags.h:
7583         * LyXAction.C (init):
7584         * src/factory.C (createInset):
7585         * lyxfunc.C (getStatus):
7586         * text3.C (dispatch):
7587         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7588
7589         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7590
7591 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7592
7593         * ParagraphList.C (insert): handle insert right before end()
7594         (erase): fix cases where it can be first or last paragraph.
7595
7596 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7597
7598         * paragraph_funcs.C (TeXEnvironment): remove all usage of
7599         Paragraph::next and Paragraph::previous
7600         (TeXOnePar): ditto
7601
7602         * text.C (breakParagraph): adjust
7603
7604         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7605         BufferParams& as arg.
7606         (breakParagraph): use ParagraphList::insert
7607         (breakParagraphConservative): take a Buffer* instead of a
7608         BufferParams& as arg.
7609         (breakParagraphConservative): use ParagraphList::insert.
7610
7611         * buffer.C (insertStringAsLines): un-const it
7612         (insertStringAsLines): adjust
7613
7614         * ParagraphList.C (insert): new function
7615
7616         * CutAndPaste.C (pasteSelection): adjust
7617
7618         * text.C (backspace): adjust
7619
7620         * tabular.C (SetMultiColumn): adjust
7621
7622         * CutAndPaste.C (cutSelection): adjust
7623         (pasteSelection): adjust
7624
7625         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7626         Buffer const * as arg
7627
7628         * ParagraphList.C (erase): new function
7629         * paragraph_funcs.C (mergeParagraph): use it
7630         (mergeParagraph): make it take a Buffer* instead of a
7631         BufferParams* as arg
7632
7633         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7634         as arg
7635         (breakParagraphConservative): ditto
7636
7637         * paragraph.h: remove the breakParagraph friend
7638
7639         * paragraph.C (eraseIntern): new function
7640         (setChange): new function
7641
7642         * paragraph_funcs.C (mergeParagraph): make it take a
7643         ParagraphList::iterator instead of a Paragraph *, adjust
7644         accordingly.
7645
7646         * paragraph.h: move an #endif so that the change tracking stuff
7647         also works in the NO_NEXT case.
7648
7649 2003-03-04  Angus Leeming  <leeming@lyx.org>
7650
7651         * commandtags.h:
7652         * LyXAction.C: new LFUN_INSET_MODIFY.
7653
7654         * BufferView_pimpl.C (dispatch): if an inset is found to be open
7655         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7656
7657 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7658
7659         * several files: ws changes only
7660
7661         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7662         (TeXEnvironment): ditto
7663         (TeXDeeper): ditto
7664
7665         * buffer.C (makeLaTeXFile): adjust
7666         (latexParagraphs): make it take ParagraphList::iterator as args
7667
7668 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7669
7670         * buffer.C (latexParagraphs): adjust
7671
7672         * paragraph.C (TeXOnePar): move function...
7673         (optArgInset): move function...
7674         (TeXEnvironment): move function...
7675         * paragraph_pimpl.C (TeXDeeper): move function...
7676         * paragraph_funcs.C: ...here
7677
7678         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7679
7680 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7681
7682         * buffer.C (readInset): remove compability code for old Figure and
7683         InsetInfo insets
7684
7685 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7686
7687         * buffer.C: ws changes
7688         (readInset):
7689
7690         * BufferView_pimpl.C: ditto
7691         * author.C: ditto
7692         * buffer.h: ditto
7693         * bufferlist.h: ditto
7694         * changes.h: ditto
7695         * lyxfunc.C: ditto
7696
7697 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
7698
7699         * converter.[Ch]: split into itself +
7700         * graph.[Ch]
7701         * format.[Ch]
7702         * Makefile.am: += graph.[Ch] + format.[Ch]
7703         * MenuBackend.C
7704         * buffer.C
7705         * exporter.C
7706         * importer.C
7707         * lyx_main.C
7708         * lyxfunc.C
7709         * lyxrc.C: added #include "format.h"
7710
7711 2003-02-27  Angus Leeming  <leeming@lyx.org>
7712
7713         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7714           a label.
7715
7716         * factory.C (createInset): add "label" to the factory.
7717
7718         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7719           string and do no more.
7720
7721 2003-02-27  Angus Leeming  <leeming@lyx.org>
7722
7723         * commandtags.h:
7724         * LyXAction.C (init):
7725         * factory.C (createInset):
7726         * BufferView_pimpl.C (dispatch):
7727           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7728
7729         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7730
7731         * lyxfunc.C (dispatch):
7732         * text3.C (dispatch): pass name to params2string.
7733
7734 2003-02-26  Angus Leeming  <leeming@lyx.org>
7735
7736         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7737           blocks together.
7738           Rearrange the ~includes. Strip out the unnecessary ones.
7739
7740         * factory.C (createInset): reformat.
7741           create new insets for the various LFUN_XYZ_APPLY lfuns.
7742
7743 2003-02-26  John Levon  <levon@movementarian.org>
7744
7745         * lyxrow.h:
7746         * lyxrow.C: add isParStart,isParEnd helpers
7747
7748         * paragraph.h: make isInserted/DeletedText take refs
7749
7750         * paragraph_funcs.h:
7751         * paragraph_funcs.C: remove #if 0'd code
7752
7753         * lyxtext.h:
7754         * text3.C:
7755         * text2.C:
7756         * text.C: use lyxrow helpers above.
7757           Move draw and paint routines to RowPainter.
7758           Make several methods use refs not pointers.
7759           Make backgroundColor() const.
7760           Add markChangeInDraw(), isInInset().
7761           Merge changeRegionCase into changeCase.
7762           Make workWidth() shouldn't-happen code into an Assert.
7763
7764         * rowpainter.h:
7765         * rowpainter.C: new class for painting a row.
7766
7767         * vspace.h:
7768         * vspace.C: make inPixels take a ref
7769
7770 2003-02-26  Angus Leeming  <leeming@lyx.org>
7771
7772         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7773         LFUN_REF_APPLY.
7774
7775 2003-02-25  John Levon  <levon@movementarian.org>
7776
7777         * ispell.C: give the forked command a more accurate name
7778
7779 2003-02-22  John Levon  <levon@movementarian.org>
7780
7781         * toc.h:
7782         * toc.C: make TocItem store an id not a Paragraph *
7783           (bug #913)
7784
7785 2003-02-21  Angus Leeming  <leeming@lyx.org>
7786
7787         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7788           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7789           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7790           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7791           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7792           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7793
7794         * BufferView_pimpl.C (dispatch):
7795         * LyXAction.C (init):
7796         * factory.C (createInset):
7797         * lyxfunc.C (getStatus, dispatch):
7798         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7799
7800 2003-02-21  Angus Leeming  <leeming@lyx.org>
7801
7802         * BufferView_pimpl.C (MenuInsertLyXFile):
7803         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7804         * lyxfunc.C (menuNew, open, doImport):
7805           no longer pass a LyXView & to fileDlg.
7806
7807 2003-02-21  Angus Leeming  <leeming@lyx.org>
7808
7809         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7810         * LyXAction.C: change, BIBKEY to BIBITEM.
7811         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7812         Change InsetBibKey to InsetBibitem.
7813         Change BIBKEY_CODE to BIBITEM_CODE.
7814         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7815         * factory.C: replace insetbib.h with insetbibitem.h.
7816         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7817         * paragraph.C: replace insetbib.h with insetbibitem.h.
7818         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7819         Change bibkey() to bibitem().
7820         * text.C: remove insetbib.h.
7821         * text2.C: replace insetbib.h with insetbibitem.h.
7822         change bibkey() to bibitem().
7823         * text3.C: remove insetbib.h.
7824         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7825
7826 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7827
7828         * lyxrc.C (output): enclose user email in quotes (in case there are
7829         several words)
7830
7831 2003-02-18  John Levon  <levon@movementarian.org>
7832
7833         * buffer.h: add std::
7834
7835 2003-02-17  John Levon  <levon@movementarian.org>
7836
7837         * SpellBase.h:
7838         * ispell.h:
7839         * ispell.C:
7840         * pspell.h:
7841         * pspell.C: reworking. Especially in ispell, a large
7842           number of clean ups and bug fixes.
7843
7844         * lyxfunc.C: fix revert to behave sensibly
7845
7846 2003-02-17 André Pönitz <poenitz@gmx.net>
7847
7848         * LyXAction.C:
7849         * commandtags.h: new LFUN_INSERT_BIBKEY
7850
7851         * layout.h:
7852         * lyxlayout.C:
7853         * buffer.C:
7854         * factory.C:
7855         * text.C:
7856         * text2.C:
7857         * text3.C:
7858         * paragraph.[Ch]:
7859         * paragraph_func.C: remove special bibkey handling
7860
7861 2003-02-17  John Levon  <levon@movementarian.org>
7862
7863         * text.C (Delete): fix case where delete at the end of
7864           the very first paragraph would not merge the pars
7865
7866 2003-02-17  John Levon  <levon@movementarian.org>
7867
7868         * lyxrow.C: fix lastPrintablePos()
7869
7870 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7871
7872         * bufferparams.C (writeLaTeX): add a std:here
7873
7874         * buffer.C: and remove a using directive there
7875
7876 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7877
7878         * buffer.C (makeLaTeXFile): move the code that generates the
7879           preamble...
7880
7881         * bufferparams.C (writeLaTeX): ... in this new method
7882
7883         * LaTeXFeatures.C (getEncodingSet): make const
7884           (getLanguages): make const
7885
7886         * MenuBackend.C (binding): returns the binding associated to this
7887           action
7888           (add): sets the status of each item by calling getStatus. Adds
7889           some intelligence.
7890           (read): add support for OptSubMenu
7891           (expand): remove extra separator at the end of expanded menu
7892
7893 2003-02-15  John Levon  <levon@movementarian.org>
7894
7895         * BufferView.C:
7896         * BufferView_pimpl.C:
7897         * bufferlist.h:
7898         * bufferlist.C: remove pointless BufferStorage bloat. Remove
7899           inset code that had no actual effect. Remove unneeded status
7900           code.
7901
7902 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7903
7904         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7905           in preamble
7906
7907 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
7908
7909         * text.C (drawLengthMarker): also draw an arrow marker for
7910           symbolic lengths (medskip...)
7911
7912 2003-02-14  John Levon  <levon@movementarian.org>
7913
7914         * tabular.h:
7915         * tabular.C: better method names
7916
7917 2003-02-14  John Levon  <levon@movementarian.org>
7918
7919         * BufferView_pimpl.C:
7920         * bufferlist.C:
7921         * buffer.C:
7922         * converter.C:
7923         * lyx_cb.C:
7924         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7925           it's a more accurate name. Remove some pointless uses.
7926
7927 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7928
7929         * text2.C (LyXText): change order of initilizers to shut off
7930           warnings
7931
7932 2003-02-14  John Levon  <levon@movementarian.org>
7933
7934         * buffer.C: use ParIterator for getParFromID()
7935
7936         * paragraph.h:
7937         * paragraph.C:
7938         * paragraph_pimpl.h:
7939         * paragraph_pimpl.C: remove unused getParFromID()
7940
7941 2003-02-14  John Levon  <levon@movementarian.org>
7942
7943         * buffer.C: remove some very old #if 0'd parse code
7944
7945 2003-02-13  John Levon  <levon@movementarian.org>
7946
7947         * text.h:
7948         * text.C:
7949         * text2.C: move hfillExpansion(), numberOfSeparators(),
7950           rowLast(), rowLastPrintable(), numberofHfills(),
7951           numberOfLabelHfills() ...
7952
7953         * lyxrow.h:
7954         * lyxrow.C: ... to member functions here.
7955
7956         * paragraph.h:
7957         * paragraph.C:
7958         * lyxtext.h:
7959         * text.C: remove LyXText::beginningOfMainBody(), and call
7960           p->beginningOfMainBody() directly. Move the check for
7961           LABEL_MANUAL into the latter.
7962
7963         * text.h:
7964         * text.C:
7965         * text2.C:
7966         * vspace.C:
7967         * BufferView.h:
7968         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7969
7970         * text.h:
7971         * text.C:
7972         * text2.C:
7973         * text3.C:
7974         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7975           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7976
7977 2003-02-13  John Levon  <levon@movementarian.org>
7978
7979         * CutAndPaste.C: remove debug
7980
7981 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7982
7983         * paragraph.C (asString): remove two unused variables
7984
7985         * lyxtextclass.C (readTitleType):
7986           (Read):
7987           (LyXTextClass): handle new members titletype_ and titlename_
7988
7989         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7990
7991 2003-02-09  John Levon  <levon@movementarian.org>
7992
7993         * buffer.h:
7994         * buffer.C: replace hand-coded list with a map for the dep clean
7995
7996 2003-02-08  John Levon  <levon@movementarian.org>
7997
7998         * LaTeX.C: consolidate code into showRunMessage() helper
7999
8000 2003-02-08  John Levon  <levon@movementarian.org>
8001
8002         * lyxfind.C:
8003         * lyxtext.h:
8004         * text2.C:
8005         * BufferView.C: change setSelectionOverString() to setSelectionRange()
8006           and pass the size in explicitly
8007
8008         * BufferView_pimpl.h:
8009         * BufferView_pimpl.C:
8010         * BufferView.h:
8011         * BufferView.C: add getCurrentChange()
8012
8013         * BufferView_pimpl.h:
8014         * BufferView_pimpl.C: handle change lfuns
8015
8016         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8017           for changes. Mark pasted paragraphs as new.
8018
8019         * support/lyxtime.h:
8020         * support/lyxtime.C:
8021         * DepTable.C: abstract time_t as lyx::time_type
8022
8023         * LColor.h:
8024         * LColor.C: add colours for new text, deleted text, changebars
8025
8026         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8027           package use "usenames" option.
8028
8029         * commandtags.h:
8030         * lyxfunc.C:
8031         * LyXAction.C: add change lfuns
8032
8033         * Makefile.am:
8034         * author.h:
8035         * author.C: author handling
8036
8037         * buffer.h:
8038         * buffer.C: add a per-buffer author list, with first entry as
8039           current author. Handle new .lyx tokens for change tracking. Output
8040           author list to .lyx file. Output dvipost stuff to .tex preamble.
8041           Bump lyx format to 222.
8042
8043         * bufferlist.h:
8044         * bufferlist.C: add setCurrentAuthor() to reset current author details
8045           in all buffers.
8046
8047         * bufferparams.h:
8048         * bufferparams.C: add param for tracking
8049
8050         * bufferview_funcs.C: output change info in minibuffer
8051
8052         * Makefile.am:
8053         * changes.h:
8054         * changes.C: add change-tracking structure
8055
8056         * debug.h:
8057         * debug.C: add CHANGES debug flag
8058
8059         * lyxfind.h:
8060         * lyxfind.C: add code for finding the next change piece
8061
8062         * lyxrc.h:
8063         * lyxrc.C: add user_name and user_email
8064
8065         * lyxrow.h:
8066         * lyxrow.C: add a metric for the top of the text line
8067
8068         * lyxtext.h:
8069         * text.C: implement accept/rejectChange()
8070
8071         * lyxtext.h:
8072         * text.C: paint changebars. Paint new/deleted text in the chosen
8073         colours. Strike through deleted text.
8074
8075         * paragraph.h:
8076         * paragraph.C:
8077         * paragraph_pimpl.h:
8078         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8079           in the current change to the insert functions. Rework erase to
8080           mark text as deleted, adding an eraseIntern() and a range-based
8081           erase(). Implement per-paragraph change lookup and
8082           accept/reject.
8083
8084         * paragraph_funcs.C: Fixup paste for change tracking.
8085
8086         * tabular.C: mark added row/columns as new.
8087
8088         * text.C: fix rowLast() to never return -1. Don't allow
8089           spellchecking of deleted text. Track transpose changes. Don't
8090           allow paragraph break or merge where appropriate.
8091
8092         * text2.C: leave cursor at end of selection after a cut.
8093
8094 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8095
8096         * text.C (getLengthMarkerHeight):
8097         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8098         visible on screen too.
8099
8100 2003-02-07  John Levon  <levon@movementarian.org>
8101
8102         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8103
8104 2003-02-05  Angus Leeming  <leeming@lyx.org>
8105
8106         * lyxserver.C (read_ready): revert my patch of 11 September last year
8107         as it sends PC cpu through the roof. Presumably this means that
8108         the lyxserver will no longer run on an Alpha...
8109
8110 2003-01-30  Angus Leeming  <leeming@lyx.org>
8111
8112         * factory.C (createInset): create an InsetCommandParam of type "index"
8113         and use it to 'do the right thing'.
8114
8115         * text2.C (getStringToIndex): ensure that cursor position is always
8116         reset to the reset_cursor position.
8117
8118 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8119
8120         * lyxfunc.C (getStatus): "buffer-export custom" should never be
8121         disabled.
8122
8123 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
8124
8125         * bufferview.C:
8126         * lyxcb.C:
8127         * lyxfunc.C: Output messages with identical spelling, punctuation,
8128         and spaces
8129
8130 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
8131
8132         * MenuBackend.C (expandFormats): List only viewable export formats
8133         in "View" menu
8134
8135         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8136         message
8137
8138         * lyxfunc.C (getStatus): Make sure that formats other than
8139         "fax" can also be disabled
8140
8141 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8142
8143         * text3.C (dispatch): put the lfuns that insert insets in 3
8144         groups, and call doInsertInset with appropriate arguments.
8145         (doInsertInset): new function, that creates an inset and inserts
8146         it according to some boolean parameters.
8147
8148 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8149
8150         * buffer.C (readFile): remember to pass on 'par' when calling
8151         readFile recursively.
8152
8153 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8154
8155         * MenuBackend.C (expandFormats): add "..." to import formats.
8156
8157 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
8158
8159         * paragraph.C (asString): Remove XForms RTL hacks.
8160
8161 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
8162         * buffer.C: fix typo
8163
8164 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8165
8166         * Makefile.am (LIBS): delete var
8167         (lyx_LDADD): add @LIBS@ here instead.
8168
8169 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
8170
8171         * Clarify the meaning of "wheel mouse jump"
8172
8173 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8174
8175         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8176         tabular in a float
8177
8178 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8179
8180         * importer.C (Loaders): do not preallocate 3 elements in the
8181         vector, since one ends up with 6 elements otherwise
8182
8183 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8184
8185         * DepTable.C (write): write the file name as last element of the
8186         .dep file (because it may contain spaces)
8187         (read): read info in the right order
8188
8189 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8190
8191         * paragraph_pimpl.C (simpleTeXBlanks):
8192         (simpleTeXSpecialChars):
8193         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8194
8195         * tabular.C (latex): add some missing case statements. Reindent.
8196
8197         * MenuBackend.C (expandToc): remove unused variable.
8198
8199 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
8200
8201         * LColor.C:
8202         * LaTeX.C:
8203         * LyXAction.C:
8204         * MenuBackend.C:
8205         * buffer.C:
8206         * exporter.C:
8207         * lyxfunc.C:
8208         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8209         and the like.
8210
8211 2003-01-05  John Levon  <levon@movementarian.org>
8212
8213         * BufferView.h:
8214         * BufferView.C: add getEncoding()
8215
8216         * kbsequence.h:
8217         * kbsequence.C: do not store last keypress
8218
8219         * lyxfunc.h:
8220         * lyxfunc.C: store last keypress here instead. Pass encoding
8221           to getISOEncoded()
8222
8223 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8224
8225         * lyx_main.C (init): remove annoying error message when following
8226         symbolic links (bug #780)
8227
8228 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8229
8230         * text.C (insertChar):
8231         * lyxrc.C (getDescription): remove extra spaces
8232
8233 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8234
8235         * lyxrc.C (getDescription): remove extra spaces
8236
8237 2002-12-20  John Levon  <levon@movementarian.org>
8238
8239         * text3.C: hack fix for page up/down across tall rows
8240
8241 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8242
8243         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8244         not been invoked
8245
8246 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8247
8248         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8249         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8250         thesaurus is not compiled in
8251
8252 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
8253
8254         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
8255
8256 2002-12-16  Angus Leeming  <leeming@lyx.org>
8257
8258         * lyxrc.[Ch]:
8259         * lyx_main.C (init): remove override_x_deadkeys stuff.
8260
8261 2002-12-12  John Levon  <levon@movementarian.org>
8262
8263         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8264           insert. Only remove shift modifier under strict
8265           circumstances.
8266
8267 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8268
8269         * MenuBackend.C (expandToc): fix crash.
8270
8271 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8272
8273         * MenuBackend.C (expandToc): gettext on float names.
8274
8275 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
8276
8277         * lyxlength.[Ch]: set default unit to UNIT_NONE,
8278         implement bool empty() [bug 490]
8279
8280 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8281
8282         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8283
8284 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8285
8286         * several files: ws changes
8287
8288 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8289
8290         * text2.C (setCounter): clean up a bit, use boost.format.
8291         (updateCounters): initialize par upon declaration.
8292
8293         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8294         if the layout exists. We do not just store the layout any more.
8295         (SwitchLayoutsBetweenClasses): use boost.format
8296
8297 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8298
8299         * converter.C (convert): if from and to files are the same, use a
8300         temporary files as intermediary
8301
8302 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8303
8304         * commandtags.h:
8305         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8306
8307 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
8308
8309         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8310
8311 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8312
8313         * tabular.C (asciiPrintCell): use string(size, char) instead of
8314         explicit loop.
8315
8316         * sgml.C (openTag): fix order of arguments to string constructor
8317         (closeTag): ditto
8318
8319         * lyxfunc.C (dispatch): use boost.format
8320
8321         * lots of files: change "c" -> 'c'
8322
8323 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
8324
8325         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8326
8327 2002-11-25  Angus Leeming  <leeming@lyx.org>
8328
8329         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8330
8331         * lyx_main.C (init): compile fix.
8332
8333 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8334
8335         * lyx_cb.C (start): boost.formatify
8336         do not include <iostream>
8337
8338         * lengthcommon.C: ws only
8339
8340         * boost-inst.C,BoostFormat.h: add more explict instantations
8341
8342 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8343
8344         * lots of files: handle USE_BOOST_FORMAT
8345
8346 2002-11-21  John Levon  <levon@movementarian.org>
8347
8348         * pspell.C: fix compile
8349
8350 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8351
8352         * lyxfunc.C (dispatch): use boost::format
8353         (open): ditto
8354         (doImport): ditto
8355
8356         * lyxfont.C (stateText): use boost::format
8357
8358         * lyx_main.C (LyX): use boost::format
8359         (init): ditto
8360         (queryUserLyXDir): ditto
8361         (readRcFile): ditto
8362         (parse_dbg): ditto
8363         (typedef boost::function): use the recommened syntax.
8364
8365         * importer.C (Import): use boost::format
8366
8367         * debug.C (showLevel): use boost::format
8368
8369         * converter.C (view): use boost::format
8370         (convert): ditto
8371         (move): ditto
8372         (scanLog): ditto
8373
8374         * bufferview_funcs.C (currentState): use boost::format
8375
8376         * bufferlist.C (emergencyWrite): use boost::format
8377
8378         * buffer.C (readLyXformat2): use boost::format
8379         (parseSingleLyXformat2Token): ditto
8380
8381         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8382
8383         * LaTeX.C (run): use boost::format
8384
8385         * Chktex.C (scanLogFile): use boost::format
8386
8387         * BufferView_pimpl.C (savePosition): use boost::format
8388         (restorePosition): ditto
8389         (MenuInsertLyXFile): ditto
8390
8391         * BoostFormat.h: help file for explicit instation.
8392
8393 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
8394
8395         * tabular.C (latex): Support for block alignment in fixed width
8396         columns.
8397
8398 2002-11-17  John Levon  <levon@movementarian.org>
8399
8400         * BufferView_pimpl.C:
8401         * lyx_cb.C:
8402         * lyxfunc.C: split filedialog into open/save
8403
8404 2002-11-08  Juergen Vigna  <jug@sad.it>
8405
8406         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8407         by my last patch (hopefully).
8408
8409 2002-11-08  John Levon  <levon@movementarian.org>
8410
8411         * iterators.h:
8412         * iterators.C:
8413         * buffer.h:
8414         * buffer.C:
8415         * paragraph.h:
8416         * paragraph.C:
8417         * toc.h:
8418         * toc.C: ParConstIterator, and use it (from Lars)
8419
8420 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
8421
8422         * lyxtextclass.[Ch]: revise and add doxygen comments
8423
8424 2002-11-07  John Levon  <levon@movementarian.org>
8425
8426         * text.C: fix progress value for spellchecker
8427
8428         * toc.C: fix navigate menu for insetwrap inside minipage
8429
8430         * paragraph_funcs.C: added FIXME for suspect code
8431
8432 2002-11-07  John Levon  <levon@movementarian.org>
8433
8434         * BufferView_pimpl.C: fix redrawing of insets
8435           on buffer switch
8436
8437 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8438
8439         * text2.C (updateCounters): fix bug 668
8440
8441 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
8442
8443         * text3.C (dispatch): Do not make the buffer dirty when moving the
8444         cursor.
8445
8446 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8447
8448         * vc-backend.C: STRCONV
8449         (scanMaster): ditto
8450
8451         * text2.C (setCounter): STRCONV
8452
8453         * paragraph.C (asString): STRCONV
8454
8455         * lyxlength.C (asString): STRCONV
8456         (asLatexString): ditto
8457
8458         * lyxgluelength.C (asString): STRCONV
8459         (asLatexString): ditto
8460
8461         * lyxfunc.C (dispatch): STRCONV
8462         (open): ditto
8463
8464         * lyxfont.C (stateText): STRCONV
8465
8466         * importer.C (Import): STRCONV
8467
8468         * counters.C (labelItem): STRCONV
8469         (numberLabel): ditto
8470         (numberLabel): remove unused ostringstream o
8471
8472         * chset.C: STRCONV
8473         (loadFile): ditto
8474
8475         * bufferview_funcs.C (currentState): STRCONV
8476
8477         * buffer.C (readFile): STRCONV
8478         (asciiParagraph): ditto
8479         (makeLaTeXFile): ditto
8480
8481         * Spacing.C (writeEnvirBegin): STRCONV
8482
8483         * LaTeXFeatures.C (getLanguages): STRCONV
8484         (getPackages): ditto
8485         (getMacros): ditto
8486         (getBabelOptions): ditto
8487         (getTClassPreamble): ditto
8488         (getLyXSGMLEntities): ditto
8489         (getIncludedFiles): ditto
8490
8491         * LaTeX.C: STRCONV
8492         (run): ditto
8493         (scanAuxFile): ditto
8494         (deplog): ditto
8495
8496         * LString.h: add the STRCONV macros
8497
8498         * BufferView_pimpl.C (savePosition): STRCONV
8499         (restorePosition): ditto
8500         (MenuInsertLyXFile): ditto
8501
8502         * vc-backend.C (scanMaster): change from submatch[...] to
8503         submatch.str(...)
8504
8505         * funcrequest.C: include config.h
8506
8507         * factory.C: include config.h
8508
8509         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8510
8511         * box.C: include config.h
8512
8513         * LaTeX.C (scanAuxFile): change from submatch[...] to
8514         submatch.str(...)
8515         (deplog): ditto
8516
8517 2002-10-25  Angus Leeming  <leeming@lyx.org>
8518
8519         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8520
8521         * ispell.[Ch] (setError): new method.
8522         * ispell.C (c-tor): move out child process into new class LaunchIspell.
8523         Use setError() insetead of goto END.
8524
8525         * lyx_cb.C (AutoSave): move out child process into new class
8526         AutoSaveBuffer.
8527
8528 2002-10-30  John Levon  <levon@movementarian.org>
8529
8530         * text3.C: make start appendix undoable
8531
8532 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
8533
8534         * lyxlength.C (inPixels): Fix returned value.
8535
8536         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8537         environment.
8538
8539 2002-10-24  Angus Leeming  <leeming@lyx.org>
8540
8541         * lyxgluelength.h: no need to forward declare BufferParams
8542         or BufferView, so don't.
8543
8544 2002-10-21  John Levon  <levon@movementarian.org>
8545
8546         * BufferView.C: menuUndo ->undo, redo
8547
8548         * BufferView.h: document, remove dead, make some methods private
8549
8550         * paragraph_funcs.h:
8551         * paragraph_funcs.C:
8552         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8553
8554         * buffer.h:
8555         * buffer.C:
8556         * sgml.h:
8557         * sgml.C: move sgml open/close tag into sgml.C
8558
8559         * bufferview_funcs.h: unused prototype
8560
8561         * lyxfunc.h:
8562         * lyxfunc.C: remove unused
8563
8564         * lyxtext.h:
8565         * text.C: remove unused
8566
8567 2002-10-21  John Levon  <levon@movementarian.org>
8568
8569         * BufferView.h:
8570         * BufferView.C:
8571         * BufferView_pimpl.h:
8572         * BufferView_pimpl.C: fix mouse wheel handling based on
8573           patch from Darren Freeman
8574
8575 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
8576
8577         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8578
8579 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
8580
8581         * lyxlength.C (inPixels): Fix hanfling of negative length.
8582         Fix LyXLength::MU case.
8583
8584 2002-10-16  John Levon  <levon@movementarian.org>
8585
8586         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8587
8588 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8589
8590         * converter.C (view): add support for $$i (file name) and $$p
8591         (file path) for the viewer command. If $$i is not specified, then
8592         it is appended to the command (for compatibility with old syntax)
8593
8594 2002-10-14  Juergen Vigna  <jug@sad.it>
8595
8596         * undo_funcs.C (textHandleUndo): alter the order in which the
8597         new undopar is added to the LyXText, as we have to set first
8598         the right prev/next and then add it as otherwise the rebuild of
8599         LyXText is not correct. Also reset the cursor to the right paragraph,
8600         with this IMO we could remove the hack in "redoParagraphs()".
8601
8602 2002-10-09  Angus Leeming  <leeming@lyx.org>
8603
8604         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8605         to turn off an optimisation if a new inset is to be inserted.
8606
8607 2002-10-11 André Pönitz <poenitz@gmx.net>
8608
8609         * lyxtext.h: make some functions public to allow access
8610         from inset/lyxtext for handling LFUN_PRIOR/NEXT
8611
8612 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8613
8614         * text3.C (dispatch): when changing layout, avoid an infinite loop
8615         [bug #652]
8616
8617 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8618
8619         * lyxrc.C (read): treat a viewer or converter command of "none" as
8620         if it were empty.
8621
8622         * MenuBackend.C (expandFormats): for an update, also allow the
8623         formats that are not viewable
8624
8625         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8626         script if it is newer than the lyxrc.defaults in user directory
8627
8628 2002-10-07 André Pönitz <poenitz@gmx.net>
8629
8630         * text.C: Vitaly Lipatov's small i18n fix
8631
8632 2002-09-25  Angus Leeming  <leeming@lyx.org>
8633
8634         * ispell.h: doxygen fix.
8635
8636 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
8637
8638         * buffer.h (readFile): Add a new argument to the method, to allow
8639         reading of old-format templates.
8640
8641 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
8642
8643         * toc.C (getTocList): Get TOC from InsetWrap.
8644
8645 2002-09-16  John Levon  <levon@movementarian.org>
8646
8647         * lyxfunc.C: check tabular for cut/copy too
8648
8649 2002-09-12  John Levon  <levon@movementarian.org>
8650
8651         * LyXAction.C: tidy
8652
8653         * factory.h:
8654         * factory.C: add header
8655
8656         * paragraph_funcs.h:
8657         * paragraph_funcs.C: cleanup
8658
8659 2002-09-11  John Levon  <levon@movementarian.org>
8660
8661         * PrinterParams.h: odd/even default to true
8662
8663 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
8664
8665         * PrinterParams.h: update printer parameters for new xforms dialog
8666
8667 2002-09-11  Angus Leeming  <leeming@lyx.org>
8668
8669         * lyxserver.C (read_ready): re-write to make it more transparent
8670         and to make it work in coherent fashion under Tru64 Unix.
8671
8672 2002-09-11  André Pönitz <poenitz@gmx.net>
8673
8674         * commandtags.h:
8675         * LyXAction.C:
8676         * text3.C: implement LFUN_WORDSEL
8677
8678 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8679
8680         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8681         make floatlist_ a boost::shared_ptr<FloatList>
8682
8683         * lyxtextclass.C: include FloatList.h
8684         (LyXTextClass): initialize floatlist_
8685         (TextClassTags): add TC_NOFLOAT
8686         (Read): match "nofloat" to TC_NOFLOAT and use it.
8687         (readFloat): modify call to floatlist_
8688         (floats): ditto
8689         (floats): ditto
8690
8691         * FloatList.[Ch] (FloatList): remove commented out float
8692         initialization.
8693         (erase): new function
8694
8695 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8696
8697         * MenuBackend.C (expandToc): fix crash when there is no document
8698         open
8699
8700 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
8701
8702         * many files: Add insetwrap.
8703
8704 2002-09-09  John Levon  <levon@movementarian.org>
8705
8706         * text2.C: remove confusing and awkward depth wraparound
8707
8708 2002-09-09  John Levon  <levon@movementarian.org>
8709
8710         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8711
8712         * buffer.h:
8713         * buffer.C: remove getIncludeonlyList()
8714
8715         * paragraph.C:
8716         * lyxfunc.C: remove headers
8717
8718 2002-09-09  Juergen Vigna  <jug@sad.it>
8719
8720         * text.C (getColumnNearX): fix form Michael this is most
8721         probably a cut&paste bug.
8722
8723 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8724
8725         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8726
8727         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8728         references, ws changes.
8729
8730         * text2.C (init): update counters after init
8731         (insertParagraph): no need to set counter on idividual paragraphs.
8732         (setCounter): access the counters object in the textclass object
8733         on in the buffer object.
8734         (updateCounters): ditto
8735
8736         * lyxtextclass.C: include counters.h, add variable ctrs_ as
8737         shared_ptr<Counters> to avoid loading counters.h in all
8738         compilation units.
8739         (LyXTextClass): initialize ctrs_
8740         (TextClassTags): add TC_COUNTER, and ...
8741         (Read): use it here.
8742         (CounterTags): new tags
8743         (readCounter): new function
8744         (counters): new funtion
8745         (defaultLayoutName): return a const reference
8746
8747         * counters.C (Counters): remove contructor
8748         (newCounter): remove a couple of unneeded statements.
8749         (newCounter): simplify a bit.
8750         (numberLabel): some small formatting changes.
8751
8752         * buffer.[Ch]: remove all traces of counters, move the Counters
8753         object to the LyXTextClass.
8754
8755 2002-09-06  Alain Castera  <castera@in2p3.fr>
8756
8757         * tabular.C: uses \tabularnewline; uses >{...} construct from array
8758         package to set the horizontal alignment on fixed width columns.
8759
8760         * lyx_sty.C:
8761         * lyx_sty.h: added tabularnewline macro def.
8762
8763         * LaTeXFeatures.C: added NeedTabularnewline macro feature
8764
8765 2002-09-06  John Levon  <levon@movementarian.org>
8766
8767         * LyXAction.C: tooltips for sub/superscript
8768
8769         * MenuBackend.C: a bit more verbose
8770
8771         * lyxfunc.C: tiny clean
8772
8773         * undo_funcs.C: document undo_frozen
8774
8775 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8776
8777         * counters.C (Counters): add missing algorithm counter.
8778
8779         * text2.C (setCounter): lookup the counter with layouts latexname
8780         instead of by section number.
8781         (setCounter): use a hackish way to lookup the correct enum
8782         counter.
8783         a float name->type change
8784         reset enum couners with counter name directly instead of depth value.
8785
8786         * counters.C (Counters): remove the push_backs, change to use the
8787         float type not the float name.
8788         (labelItem): remove unused string, float name->type change
8789
8790         * counters.h: don't include vector, loose the enums and sects vectors
8791
8792 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8793
8794         * lyxtextclass.C (TextClassTags): add TC_FLOAT
8795         (Read): add float->TC_FLOAT to textclassTags
8796         (Read): and handle it in the switch
8797         (readFloat): new function
8798
8799         * FloatList.C (FloatList): comment out the hardcoded float
8800         definitions.
8801
8802         * lyxlayout.h: ws change.
8803
8804 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
8805
8806         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8807
8808 2002-09-03  Angus Leeming  <leeming@lyx.org>
8809
8810         * BufferView_pimpl.h: qualified name is not allowed in member
8811         declaration: WorkArea & Pimpl::workarea() const;
8812
8813         * factory.C: added using std::endl directive.
8814
8815         * text3.C: added using std::find and std::vector directives.
8816
8817 2002-08-29  André Pönitz <poenitz@gmx.net>
8818
8819         * lyxtext.h:
8820         * text2.C: remove unused member number_of_rows
8821
8822         * Makefile.am:
8823         * BufferView2.C: remove file, move contents to...
8824         * BufferView.C: ... here
8825
8826         * BufferView_pimpl.C:
8827         * factory.C: move more inset creation to factory
8828
8829         * vspace.C: avoid direct usage of LyXText, ws changes
8830
8831         * BufferView.[Ch]:
8832                 don't provide direct access to WorkArea, use two simple
8833                 acessors haveSelction() and workHeight() instead
8834
8835
8836 2002-08-29  John Levon  <levon@movementarian.org>
8837
8838         * BufferView_pimpl.C (dispatch): do not continue when
8839           no buffer
8840
8841 2002-08-28  André Pönitz <poenitz@gmx.net>
8842
8843         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8844
8845         * BufferView.h:
8846         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8847
8848 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
8849
8850         * buffer.C: increment LYX_FORMAT to 221
8851
8852         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8853         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8854
8855         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8856
8857         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8858
8859 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8860
8861         * factory.C (createInset): use LyXTextClass::floats
8862
8863         * MenuBackend.C (expandFloatListInsert):
8864         (expandFloatInsert):
8865         (expandToc):
8866
8867         * text2.C (setCounter):
8868
8869         * LaTeXFeatures.C (useFloat):
8870         (getFloatDefinitions):
8871
8872         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8873
8874         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8875         floatlist_, with accessor floats().
8876
8877         * FloatList.h: remove global FloatList
8878
8879 2002-08-26  André Pönitz <poenitz@gmx.net>
8880
8881         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8882
8883         * BufferView.h:
8884         * BufferView2.C:
8885         * BufferView_pimpl.C:
8886         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8887
8888 2002-08-25  John Levon  <levon@movementarian.org>
8889
8890         * LyXAction.C: fix margin note description
8891
8892 2002-08-24  John Levon  <levon@movementarian.org>
8893
8894         * buffer.C:
8895         * bufferlist.C:
8896         * bufferview_funcs.C:
8897         * lyxfont.C:
8898         * undo_funcs.C: cleanups
8899
8900         * lyxfunc.C: disable CUT/COPY when no selection
8901
8902 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
8903
8904         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8905         in "enum UNIT"; e.g. PTW for Percent of TextWidth
8906
8907         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8908         Add backward compatibility to "mono", "gray" and "no".
8909
8910 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
8911
8912         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8913         (and file_format >= 200).
8914
8915 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8916
8917         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8918
8919 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8920
8921         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8922
8923 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
8924
8925         * BufferView_pimpl.C:
8926         * LyXAction.C:
8927         * buffer.C:
8928         * commandtags.h:
8929         * lyxfunc.C:
8930         * paragraph.[Ch]:
8931         * text2.C:
8932         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8933         inset and code to make it  work with the paragraph code. The inset
8934         can be anywhere in the paragraph, but will only do the expected
8935         thing in LaTeX if the layout file contains the parameter line
8936                         OptionalArgs    1
8937         (or more generally, a nonzero value) for that layout.
8938
8939 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
8940
8941         * paragraph.h: remove the declaration of undefined counters class
8942         function.
8943
8944 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
8945
8946         * text2.C (setCounter):  fixed enumeration mis-count as reported by
8947         Dr. Richard Hawkins.
8948
8949 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8950
8951         * paragraph_funcs.h: remove some unneeded includes
8952
8953         * text.C (backspace): pasteParagraph now in global scipe
8954
8955         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8956         (pasteSelection): ditto
8957
8958         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8959         * paragraph_funcs.C (pasteParagraph): ... here
8960
8961 2002-08-20  André Pönitz <poenitz@gmx.net>
8962
8963         * commandtags.h: new LFUNs for swapping/copying table row/colums
8964
8965         * LyXAction.C:
8966         * lyxfunc.C: support for new lfuns
8967
8968 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
8969
8970         * tabular.C:
8971         * buffer.[Ch]: remove NO_COMPABILITY stuff
8972
8973 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
8974
8975         * boost.C (throw_exception): new file, with helper function for
8976         boost compiled without exceptions.
8977
8978         * paragraph.h:
8979         * lyxlength.C:
8980         * buffer.C:
8981         * ParameterStruct.h:
8982         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8983
8984         * bufferlist.C (emergencyWriteAll): use boost bind
8985
8986         * BufferView_pimpl.C (moveCursorUpdate): remove inline
8987
8988         * text.C: include paragraph_funcs.h
8989         (breakParagraph): breakParagraph is now in global scope
8990
8991         * paragraph_funcs.[Ch]: new files
8992
8993         * paragraph.C (breakParagraph,breakParagraphConservative): move to
8994         global scope
8995
8996         * buffer.C: include paragraph_funcs.h
8997         (insertStringAsLines): breakParagraph is now in global scope
8998
8999         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9000         paragraph_funcs.C
9001
9002         * CutAndPaste.C: include paragraph_funcs.h
9003         (cutSelection): breakParagraphConservative is now in global scope
9004         (pasteSelection): ditto
9005
9006         * buffer.h: declare oprator== and operator!= for
9007         Buffer::inset_iterator
9008
9009         * bufferlist.C (emergencyWrite): don't use fmt(...)
9010
9011         * text3.C: add using std::endl
9012
9013         * BufferView.C (moveCursorUpdate): remove default arg
9014
9015 2002-08-20  André Pönitz <poenitz@gmx.net>
9016
9017         * buffer.[Ch]: move inline functions to .C
9018
9019         * BufferView2.C:
9020         * BufferView_pimpl.C:
9021         * text.C:
9022         * buffer.[Ch]: use improved inset_iterator
9023
9024         * buffer.C:
9025         * paragraph.[Ch]: write one paragraph at a time
9026
9027 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9028
9029         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9030         style if style is not specified.
9031
9032 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9033
9034         * text2.C (setCounter): when searching for right label for a
9035         caption, make sure to recurse to parent insets (so that a caption
9036         in a minipage in a figure float works) (bug #568)
9037
9038 2002-08-20  André Pönitz <poenitz@gmx.net>
9039
9040         * text3.C: new file for LyXText::dispatch() and helpers
9041
9042         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9043
9044         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9045
9046 2002-08-19  André Pönitz <poenitz@gmx.net>
9047
9048         * lyxtext.h:
9049         * text.C: new LyXText::dispatch()
9050
9051         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9052
9053 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
9054
9055         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9056
9057         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9058         Hebrew text.
9059
9060 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9061
9062         * Makefile.am: use $(variables) instead of @substitutions@
9063
9064 2002-08-15  André Pönitz <poenitz@gmx.net>
9065
9066         * lyxfunc.C:
9067         * BufferView_pimpl.C: streamlining mathed <-> outer world
9068         interaction
9069
9070         * commandtags.h:
9071         * LyXAction.C: remove unused LFUN_MATH
9072
9073 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9074
9075         * paragraph.[Ch]: add some NO_NEXT ifdefs.
9076
9077 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9078
9079         * paragraph.C (Paragraph): reformat a bit
9080         (cutIntoMinibuffer): use builtin InsetList function instad of
9081         doing it manually.
9082         (getInset): ditto
9083
9084         * buffer.C: include boost/bind.hpp, add using std::for_each
9085         (writeFileAscii): use ParagraphList iterators
9086         (validate): use for_each for validate traversal of paragraphs
9087         (getBibkeyList): use ParagraphList iterators
9088         (resizeInsets): use for_each to resizeInsetsLyXText for all
9089         paragraphs.
9090         (getParFromID): use ParagraphList iterators
9091
9092         * BufferView2.C (lockInset): use paragraph list and iterators
9093
9094 2002-08-14  John Levon  <levon@movementarian.org>
9095
9096         * lyxserver.C: remove spurious xforms include
9097
9098 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9099
9100         * lyxfunc.C (getStatus): disable math-extern outside of math mode
9101
9102 2002-08-13  André Pönitz <poenitz@gmx.net>
9103
9104         * LyXAction.[Ch]:
9105         * lyxfunc.C: further cleaning
9106
9107 2002-08-13  André Pönitz <poenitz@gmx.net>
9108
9109         * funcrequest.h: new constructor
9110
9111         * funcrequest.C: move stuff here from .h
9112
9113         * Makefile.am:
9114         * BufferView_pimpl.C:
9115         * LyXAction.C:
9116         * toc.C:
9117         * lyxfunc.C: subsequent changes
9118
9119         * lyxfunc.h: new view() member function
9120
9121         * lyxfunc.C: subsequent changes
9122
9123 2002-08-13  Angus Leeming  <leeming@lyx.org>
9124
9125         * BufferView2.C:
9126         * BufferView_pimpl.C:
9127         * buffer.C:
9128         * converter.C:
9129         * importer.C:
9130         * lyxfunc.C:
9131         * lyxvc.C:
9132         * toc.C:
9133         * vc-backend.C:
9134         changes due to the changed LyXView interface that now returns references
9135         to member variables not pointers.
9136
9137 2002-08-13  Angus Leeming  <leeming@lyx.org>
9138
9139         * WordLangTuple (word, lang_code): return references to strings,
9140         not strings.
9141
9142         * BufferView.h:
9143         * SpellBase.h:
9144         * lyxtext.h: forward-declare WordLangTuple.
9145
9146         * BufferView2.C:
9147         * ispell.C:
9148         * pspell.C:
9149         * text.C: #include "WordLangTuple.h".
9150
9151         * lyxtext.h:
9152         * text.C: (selectNextWordToSpellcheck): constify return type.
9153
9154 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
9155
9156         * buffer.C:
9157         * buffer.h:
9158         * lyxtext.h:
9159         * paragraph.C:
9160         * paragraph_pimpl.h:
9161         * text.C:
9162         * text2.C:
9163         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9164         suggested by Angus.
9165         Made updateCounter always count from start of buffer, and removed
9166         second argument (par).
9167         Reverted floats number display to '#'. Perhaps I'll try again when the
9168         code base is sanitized a bit.
9169
9170 2002-08-12  Angus Leeming  <leeming@lyx.org>
9171
9172         * buffer.[Ch] (getLabelList): constify.
9173
9174 2002-08-07  André Pönitz <poenitz@gmx.net>
9175
9176         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9177
9178         * funcrequest.h: extension to keep mouse (x,y) position
9179
9180 2002-08-12  Juergen Vigna  <jug@sad.it>
9181
9182         * BufferView2.C (insertErrors): forbid undo when inserting error
9183         insets.
9184
9185         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9186
9187 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9188
9189         * ParagraphList.[Ch]: new files
9190
9191         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9192
9193         * BufferView2.C (lockInset): ParagraphList changes
9194         * toc.C: ditto
9195         * text2.C: ditto
9196         * bufferlist.C: ditto
9197         * buffer.h: ditto
9198         * buffer.C: ditto
9199
9200 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9201
9202         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9203         unused class variable counter_,
9204
9205         * paragraph.[Ch] (getFirstCounter): delete unused function
9206
9207         * counters.C: include LAssert.h
9208         (reset): add a new function with no arg, change other version to
9209         not have def. arg and to not allow empty arg.
9210
9211         * text2.C (setCounter): remove empty arg from call to Counters::reset
9212
9213 2002-08-11  John Levon  <levon@movementarian.org>
9214
9215         * Makefile.am: add WordLangTuple.h
9216
9217 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9218
9219         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9220         lyxfunc.C lyxlex_pimpl.C: ws changes only.
9221
9222         * insets/insettext.C: InsetList changes
9223
9224         * graphics/GraphicsSupport.C (operator()): InsetList changes
9225
9226         * toc.C (getTocList): InsetList changes
9227
9228         * paragraph_pimpl.[Ch]: InsetList changes
9229
9230         * paragraph.[Ch]: InsetList changes
9231
9232         * buffer.C (inset_iterator): InsetList changes
9233         (setParagraph): ditto
9234         * buffer.h (inset_iterator): ditto
9235         * iterators.C (operator++): ditto
9236         * iterators.h: ditto
9237
9238         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9239
9240         * InsetList.[Ch]: new files, most InsetList handling moved out of
9241         paragraph.C.
9242
9243         * BufferView2.C (removeAutoInsets): InsetList changes
9244         (lockInset): ditto
9245         (ChangeInsets): ditto
9246
9247 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
9248
9249         * paragraph_pimpl.h (empty): new function
9250
9251         * paragraph.[Ch] (empty): new function
9252
9253         * other files: use the new Paragraph::empty function
9254
9255 2002-08-09  John Levon  <levon@movementarian.org>
9256
9257         * lyxtext.h: remove unused refresh_height
9258
9259 2002-08-09  John Levon  <levon@movementarian.org>
9260
9261         * Makefile.am:
9262         * sgml.h:
9263         * sgml.C:
9264         * buffer.C:
9265         * paragraph.h:
9266         * paragraph.C: move sgml char escaping out of paragraph
9267
9268         * paragraph.h:
9269         * paragraph.C: remove id setter
9270
9271         * buffer.C:
9272         * paragraph.C:
9273         * paragraph_pimpl.C: remove dead tex_code_break_column
9274
9275         * bufferview_funcs.C: small cleanup
9276
9277         * lyxfunc.C: remove dead proto
9278
9279         * lyxtext.h: make some stuff private. Remove some dead stuff.
9280
9281         * lyxgluelength.C: make as[LyX]String() readable
9282
9283 2002-08-08  John Levon  <levon@movementarian.org>
9284
9285         * LyXAction.h:
9286         * LyXAction.C:
9287         * MenuBackend.C:
9288         * ToolbarDefaults.C:
9289         * lyxfunc.C:
9290         * lyxrc.C:
9291         * toc.C: lyxaction cleanup
9292
9293 2002-08-08  John Levon  <levon@movementarian.org>
9294
9295         * BufferView2.C: small cleanup
9296
9297         * lyxfind.h:
9298         * lyxfind.C: move unnecessary header into the .C
9299
9300 2002-08-08  John Levon  <levon@movementarian.org>
9301
9302         * funcrequest.h: just tedious nonsense
9303
9304         * lyx_main.h:
9305         * lyx_main.C: cleanups
9306
9307         * buffer.C:
9308         * vspace.C: remove dead header lyx_main.h
9309
9310 2002-08-07  Angus Leeming  <leeming@lyx.org>
9311
9312         * Paragraph.[Ch]:
9313         * paragraph_pimpl.h:
9314         Forward declare class Counters in paragraph.h by moving the ctrs member
9315         variable into Paragraph::Pimpl.
9316         (counters): new method, returning a reference to pimpl_->ctrs.
9317
9318         * text2.C: ensuing changes.
9319
9320 2002-08-07  John Levon  <levon@movementarian.org>
9321
9322         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9323
9324         * BufferView_pimpl.C: announce X selection on double/triple
9325           click
9326
9327         * lyx_main.C: use correct bool in batch dispatch
9328
9329         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9330
9331 2002-08-07  André Pönitz <poenitz@gmx.net>
9332
9333         * funcrequest.h: new class to wrap a kb_action and its argument
9334
9335         * BufferView.[Ch]:
9336         * BufferView_pimpl[Ch]:
9337         * LaTeX.C:
9338         * LyXAction.[Ch]:
9339         * lyxfunc.[Ch]:
9340         * lyxrc.C: subsequent changes
9341
9342
9343 2002-08-07  John Levon  <levon@movementarian.org>
9344
9345         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9346           document options change.
9347
9348 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
9349
9350         * counters.[Ch]
9351         * text2.C
9352         * paragraph.[Ch]
9353         * makefile.am: move counters functionality over from
9354         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9355
9356 2002-08-06  John Levon  <levon@movementarian.org>
9357
9358         * WordLangTuple.h: new file for word + language code tuple
9359
9360         * SpellBase.h:
9361         * pspell.h:
9362         * pspell.C:
9363         * ispell.h:
9364         * ispell.C:
9365         * lyxtext.h:
9366         * text.C:
9367         * text2.C:
9368         * BufferView.h:
9369         * BufferView2.C: use WordLangTuple
9370
9371         * layout.h:
9372         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9373
9374 2002-08-06  John Levon  <levon@movementarian.org>
9375
9376         * lyx_main.C: fix cmdline batch handling
9377
9378 2002-08-06  André Pönitz <poenitz@gmx.net>
9379
9380         * lyxrc.C: set default for show_banner to true
9381
9382 2002-08-06  John Levon  <levon@movementarian.org>
9383
9384         * pspell.C: fix a crash, and allow new aspell to work
9385
9386 2002-08-06  John Levon  <levon@movementarian.org>
9387
9388         * lyxfunc.C:
9389         * kbmap.C: small cleanup
9390
9391         * vspace.h:
9392         * vspace.C: add const
9393
9394 2002-08-05  John Levon  <levon@movementarian.org>
9395
9396         * LyXAction.C: back to tabular-insert
9397
9398 2002-08-04  John Levon  <levon@movementarian.org>
9399
9400         * BufferView.h:
9401         * BufferView.C: cosmetic change
9402
9403         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9404
9405         * bufferlist.C:
9406         * buffer.h:
9407         * buffer.C:
9408         * lyxcb.h:
9409         * lyxcb.C:
9410         * lyxserver.C:
9411         * lyxvc.C:
9412         * vc-backend.C:
9413         * BufferView2.C: purge all "Lyx" not "LyX" strings
9414
9415         * lyxcursor.h:
9416         * lyxcursor.C: attempt to add some documentation
9417
9418         * lyxfunc.C:
9419         * commandtags.h:
9420         * LyXAction.C:
9421         * ToolbarDefaults.C:
9422         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9423           merge with LFUN_TABULAR_INSERT
9424
9425         * Makefile.am:
9426         * SpellBase.h:
9427         * ispell.h:
9428         * ispell.C:
9429         * pspell.h:
9430         * pspell.C: split up i/pspell implementations into separate
9431           files, many cleanups
9432
9433         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9434
9435         * text2.C: some cleanup
9436
9437         * lyxfunc.C: don't check for isp_command == "none" any more, it
9438           didn't make any sense
9439
9440 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
9441
9442         * counters.[Ch]
9443         * text2.C
9444         * paragraph.[Ch]
9445         * makefile.am: move counters functionality over
9446         from text2.C/paragraph.[Ch] to counters.[Ch], and
9447         make proper C++.
9448 2002-08-02  John Levon  <levon@movementarian.org>
9449
9450         * buffer.C: s/lyxconvert/lyx2lyx/
9451
9452 2002-08-02  Angus Leeming  <leeming@lyx.org>
9453
9454         * lyxlex.C: revert John's change as it breaks reading of the user
9455         preamble.
9456
9457 2002-08-02  Angus Leeming  <leeming@lyx.org>
9458
9459         * importer.C (Import):
9460         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9461         changes due to LyXView::view() now returning a boost::shared_ptr.
9462
9463 2002-08-02  John Levon  <levon@movementarian.org>
9464
9465         * lyxlex.C: small cleanup
9466
9467 2002-08-02  John Levon  <levon@movementarian.org>
9468
9469         * text2.C (status): small cleanup, no logic change
9470
9471 2002-08-01  John Levon  <levon@movementarian.org>
9472
9473         * buffer.h:
9474         * buffer.C (writeFile): don't output alerts, caller
9475           handles this
9476
9477         * bufferlist.C:
9478         * lyx_cb.C: from above
9479
9480         * lyxfunc.C: allow to open non-existent files
9481
9482 2002-07-31  John Levon  <levon@movementarian.org>
9483
9484         * lyxserver.C: don't let incidental errors get
9485           in the way (errno)
9486
9487 2002-07-30  John Levon  <levon@movementarian.org>
9488
9489         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9490
9491 2002-07-30  John Levon  <levon@movementarian.org>
9492
9493         * lyxserver.h:
9494         * lyxserver.C: remove I/O callback too
9495
9496 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9497
9498         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9499         log.
9500
9501 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9502
9503         * many files: strip,frontStrip -> trim,ltrim,rtrim
9504
9505 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
9506
9507         * PrinterParams.h: remove extern containsOnly, and include
9508         support/lstrings.h instead.
9509
9510         * LaTeX.C (scanAuxFile): modify because of strip changes
9511         (deplog): ditto
9512         * buffer.C (makeLaTeXFile): ditto
9513         * bufferparams.C (writeFile): ditt
9514         * lyxfont.C (stateText): ditto
9515         * lyxserver.C (read_ready): ditto
9516         * vc-backend.C (scanMaster): ditto
9517
9518         * BufferView_pimpl.h: ws changes
9519
9520         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9521
9522 2002-07-26  André Pönitz <poenitz@gmx.net>
9523
9524         * kb_sequence.C: remove unnedred usings
9525
9526 2002-07-26  Juergen Vigna  <jug@sad.it>
9527
9528         * lyxfind.C (LyXReplace): we have to check better if the returned
9529         text is not of theLockingInset()->getLockingInset().
9530
9531 2002-07-25  Juergen Vigna  <jug@sad.it>
9532
9533         * lyxfind.C (LyXReplace): don't replace if we don't get the
9534         right LyXText.
9535
9536         * undo_funcs.C (createUndo): remove debugging code.
9537
9538 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
9539
9540         * buffer.C (parseSingleLyXformat2Token): Use default placement
9541         when reading old floats.
9542
9543         * FloatList.C (FloatList): Change the default placement of figure
9544         and tables to "tbp".
9545
9546 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
9547
9548         * MenuBackend.C: using std::max
9549
9550 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9551
9552         * MenuBackend.C (expandToc):
9553         (expandToc2): code moved from xforms menu frontend. It is now
9554         generic and TOCs are transparent to menu frontends.
9555
9556 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9557
9558         * toc.C (getTocList): protect against buf=0
9559
9560         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9561         Menu as first parameter. Now, this calls itself recursively to
9562         expand a whole tree (this will be useful for TOC handling)
9563         (expandFloatInsert): remove 'wide' version of floats
9564
9565         * MenuBackend.h (submenuname): returns the name of the submenu.
9566         (submenu): returns the submenu itself, provided it has been
9567         created by MenuBackend::expand
9568
9569 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9570
9571         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9572         insets which have noFontChange == true. (bug #172)
9573
9574 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9575
9576         * BufferView_pimpl.C: add connection objects and use them...
9577         (Pimpl): here.
9578
9579 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9580
9581         * MenuBackend.C (expandLastfiles):
9582         (expandDocuments):
9583         (expandFormats):
9584         (expandFloatListInsert):
9585         (expandFloatInsert):
9586         (expand): split expand in parts
9587
9588 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9589
9590         * lyx_gui.C: use lyx_gui::exit()
9591
9592 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9593
9594         * LyXAction.C: show the failing pseudo action
9595
9596 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
9597
9598         * buffer.C (readFile): Run the lyxconvert script in order to read
9599         old files.
9600
9601 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9602
9603         * LyXAction.C:
9604         * commandtags.h:
9605         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9606
9607 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9608
9609         * LyXAction.C:
9610         * commandtags.h:
9611         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9612
9613 2002-07-22  Herbert Voss  <voss@lyx.org>
9614
9615         * lengthcommon.C:
9616         * lyxlength.[Ch]: add support for the vertical lengths
9617
9618 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
9619
9620         * toc.[Ch]: std:: fixes
9621
9622 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9623
9624         * lyxrc.C: do not include lyx_main.h
9625
9626         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9627         for layouts
9628
9629         * lyxrc.C:
9630         * encoding.C:
9631         * bufferlist.C:
9632         * BufferView2.C: include "lyxlex.h"
9633
9634         * tabular.h:
9635         * bufferparams.h: do not #include "lyxlex.h"
9636
9637         * lyxtextclasslist.C (Add): remove method
9638         (classlist): renamed to classlist_
9639
9640         * paragraph_pimpl.C:
9641         * paragraph.C:
9642         * text2.C:
9643         * CutAndPaste.C:
9644         * bufferview_funcs.C:
9645         * bufferlist.C:
9646         * text.C:
9647         * LaTeXFeatures.C:
9648         * buffer.C:
9649         * toc.C (getTocList): use BufferParams::getLyXTextClass
9650
9651         * toc.C (getTocList): use InsetFloat::addToToc
9652
9653         * toc.[Ch]: new files, containing helper functions to handle table
9654         of contents
9655
9656         * lyxfunc.C (dispatch): no need to remove spaces around command
9657         given as a string
9658         (getStatus): handle LFUN_SEQUENCE by returning the status of the
9659         first command of the sequence; it is not very clever, but I do not
9660         have a better idea, actually
9661
9662         * LyXAction.C (LookupFunc): make sure to remove space at the
9663         beginning and end of the command
9664
9665 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9666
9667         * MenuBackend.C (getMenubar): new method: return the menubar of
9668         this menu set
9669         (read): treat differently reading of menu and menubar (in
9670         particular, the menubar has no name now)
9671         (Menu::menubar): remove
9672
9673         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9674         saving is finished
9675
9676 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9677
9678         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9679         a bibitem inset in a RTL paragraph.
9680
9681 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
9682
9683         * paragraph_pimpl.C: constify
9684
9685         * BufferView_pimpl.C:
9686         * LaTeX.C:
9687         * lyxfunc.C: fix dispatch in a nicer way
9688
9689 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9690
9691         * lyxfunc.C (dispatch):
9692         * BufferView_pimpl.C:
9693         * BufferView_pimpl.h:
9694         * BufferView.C:
9695         * BufferView.h: rename Dispatch() to dispatch()
9696
9697         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9698
9699         * lyxlayout.C (Read): honor DependsOn tag
9700
9701         * lyxlayout.[Ch] (depends_on): new method
9702
9703         * version.C.in: update lyx_docversion
9704
9705         * LaTeXFeatures.C (getMacros): only define \LyX when needed
9706
9707         * paragraph.C (validate): remove from here...
9708         * paragraph_pimpl.C (validate): ... and move here
9709         (isTextAt): make it const
9710
9711         * buffer.C (getLists): ws cleanup
9712
9713 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9714
9715         * language.C (read): Use iso8859-1 encoding in latex_lang
9716         (this prevents LyX from crashing when using iso10646-1 encoding).
9717
9718 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9719
9720         * text2.C (toggleInset): if cursor is inside an inset, close the
9721         inset and leave cursor _after_ it
9722
9723 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9724
9725         * lyxfunc.C: move minibuffer completion handling out of here
9726
9727 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9728
9729         * BufferView_pimpl.C:
9730         * LaTeX.C: fix dispatch calls
9731
9732 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
9733
9734         * text.C (drawChars): Fix Arabic text rendering.
9735
9736 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
9737
9738         * LyXAction.C:
9739         * commandtags.h:
9740         * lyxfunc.C: remove message-push/pop
9741
9742         * lyxserver.C:
9743         * lyxfunc.h:
9744         * lyxfunc.C: rationalise some code by removing verboseDispatch
9745           in favour of a bool argument to dispatch()
9746
9747 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9748
9749         * lyx_main.C (init): make sure to read symlinks as absolute paths
9750
9751 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9752
9753         * lyxfunc.h:
9754         * lyxfunc.C: no need for commandshortcut to be a member
9755
9756 2002-07-15  André Pönitz <poenitz@gmx.net>
9757
9758         * converter.C: add support for $$s (scripts from lib/scripts dir)
9759         * lyx_main.C: white space
9760
9761 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9762
9763         * bufferlist.C:
9764         * lyxrc.h:
9765         * lyxrc.C: remove second exit confirmation
9766
9767 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9768
9769         * BufferView.h:
9770         * BufferView.C:
9771         * BufferView2.C:
9772         * BufferView_pimpl.h:
9773         * BufferView_pimpl.C:
9774         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9775
9776 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9777
9778         * MenuBackend.C (expand): add numeric shortcuts to document menu
9779
9780         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9781
9782 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9783
9784         * lyxfont.C (setLyXFamily):
9785         (setLyXSeries):
9786         (setLyXShape):
9787         (setLyXSize):
9788         (setLyXMisc):
9789         (lyxRead):
9790         * debug.C (value):
9791         * buffer.C (asciiParagraph): use ascii_lowercase
9792
9793 2002-07-15  Mike Fabian  <mfabian@suse.de>
9794
9795         * lyxlex_pimpl.C (search_kw):
9796         * lyxlex.C (getLongString):
9797         * converter.h (operator<):
9798         * converter.C (operator<):
9799         * buffer.C (parseSingleLyXformat2Token):
9800         (asciiParagraph):
9801         * ToolbarDefaults.C (read):
9802         * MenuBackend.C (checkShortcuts):
9803         (read):
9804         * LColor.C (getFromGUIName):
9805         (getFromLyXName): use the compare_ascii_no_case instead of
9806         compare_no_case, because in turkish, 'i' is not the lowercase
9807         version of 'I', and thus turkish locale breaks parsing of tags.
9808
9809 2002-07-16  Angus Leeming  <leeming@lyx.org>
9810
9811         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9812         now takes a Buffer const & argument.
9813
9814 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
9815
9816         * BufferView.C (resize): check there's a buffer to resize
9817
9818 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
9819
9820         * lyxfunc.C: remove dead code
9821
9822         * lyxserver.h:
9823         * lyxserver.C: use lyx_guii::set_read_callback
9824
9825 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
9826
9827         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9828         an inset in a RTL paragraph.
9829
9830 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9831
9832         * lyxfunc.C: repaint after a font size update
9833
9834 2002-07-15  André Pönitz <poenitz@gmx.net>
9835
9836         * lyxlength.C: inBP should be able to return negative values
9837
9838 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9839
9840         * lyxfunc.C: use lyx_gui::update_fonts()
9841
9842 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9843
9844         * lyxfunc.C: use lyx_gui::update_color()
9845
9846 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9847
9848         * bufferlist.C:
9849         * lyxfunc.h:
9850         * lyxfunc.C:
9851         * lyxrc.h:
9852         * lyxrc.C: remove file->new asks for name option, and let
9853           buffer-new take an argument
9854
9855 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9856
9857         * BufferView_pimpl.C: remove unneeded extra repaint()
9858
9859 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
9860
9861         * LyXAction.C: allow command-sequence with NoBuffer
9862
9863         * lyxfunc.C: don't insist on trailing ';' for command-sequence
9864
9865 2002-07-10  Angus Leeming  <leeming@lyx.org>
9866
9867         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9868
9869 2002-07-09  Angus Leeming  <leeming@lyx.org>
9870
9871         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9872
9873 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9874
9875         * lengthcommon.h: whitespace
9876
9877         * lyxfunc.C: update scrollbar after goto paragraph
9878
9879         * lyxtext.h: factor out page break drawing, and fix it so
9880           page break/added space paints as selected nicely
9881
9882 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9883
9884         * BufferView_pimpl.C: add FIXMEs, clean up a little
9885
9886 2002-07-09  André Pönitz <poenitz@gmx.net>
9887
9888         * lyxfont.[Ch]: support for wasy symbols
9889
9890 2002-07-08  André Pönitz <poenitz@gmx.net>
9891
9892         * BufferView_pimpl.C: apply John's patch for #93.
9893
9894 2002-07-05  Angus Leeming  <leeming@lyx.org>
9895
9896         * BufferView_pimpl.C (buffer): generate previews if desired.
9897
9898         * LColor.h: add "preview" to the color enum.
9899
9900         * LColor.C (LColor): add a corresponding entry to the items array.
9901
9902         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9903         with this buffer.
9904
9905 2002-07-05  Angus Leeming  <leeming@lyx.org>
9906
9907         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9908         The body of the code is now in the method that is passed an ostream &
9909         rather than a file name.
9910         Pass an additional only_preamble parameter, useful for the forthcoming
9911         preview stuff.
9912
9913 2002-07-03  André Pönitz <poenitz@gmx.net>
9914
9915         * lyxfunc.C: simplify getStatus() a bit for math stuff
9916
9917 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9918
9919         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9920
9921 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9922
9923         * text.C (changeRegionCase): do not change case of all the
9924         document when region ends at paragraph end (bug #461)
9925
9926 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9927
9928         * paragraph.C (startTeXParParams):
9929         (endTeXParParams): add \protect when necessary
9930
9931 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9932
9933         * BufferView_pimpl.C (workAreaExpose): remove warning
9934
9935 2002-06-27  Angus Leeming  <leeming@lyx.org>
9936
9937         * Makefile.am: add lyxlayout_ptr_fwd.h.
9938
9939 2002-06-26  André Pönitz <poenitz@gmx.net>
9940
9941         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9942
9943 2002-06-25  Angus Leeming  <leeming@lyx.org>
9944
9945         * lyxfunc.C (dispatch): Comment out the call to
9946         grfx::GCache::changeDisplay. The method no longer exists now that the
9947         pixmap generation part of the graphics loader has been moved into
9948         InsetGraphics.
9949
9950 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9951
9952         * text2.C: layout as layout
9953
9954         * text.C: layout as layout
9955
9956         * tabular.C (OldFormatRead): layout as layout
9957
9958         * paragraph_pimpl.C (TeXDeeper): layout as layout
9959         (realizeFont): layout as layout
9960
9961         * paragraph.C (writeFile): layout as layout
9962         (validate): layout as layout
9963         (getFont): layout as layout
9964         (getLabelFont): layout as layout
9965         (getLayoutFont): layout as layout
9966         (breakParagraph): layout as layout
9967         (stripLeadingSpaces): layout as layout
9968         (getEndLabel): layout as layout
9969         (getMaxDepthAfter): layout as layout
9970         (applyLayout): layout as layout
9971         (TeXOnePar): layout as layout
9972         (simpleTeXOnePar): layout as layout
9973         (TeXEnvironment): layout as layout
9974         (layout): layout as layout
9975         (layout): layout as layout
9976
9977         * lyxtextclass.C (compare_name): new functor to work with
9978         shared_ptr, layout as layout
9979         (Read): layout as layout
9980         (hasLayout): layout as layout
9981         (operator): layout as layout
9982         (delete_layout): layout as layout
9983         (defaultLayout): layout as layout
9984
9985         * lyxlayout_ptr_fwd.h: new file
9986
9987         * lyxlayout.C (Read): layout as layout
9988
9989         * lyx_cb.C (MenuInsertLabel): layout as layout
9990
9991         * bufferlist.C (newFile): layout as layout
9992
9993         * buffer.C (readLyXformat2): layout as layout
9994         (parseSingleLyXformat2Token): layout as layout
9995         (insertStringAsLines): layout as layout
9996         (asciiParagraph): layout as layout
9997         (latexParagraphs): layout as layout
9998         (makeLinuxDocFile): layout as layout
9999         (simpleLinuxDocOnePar): layout as layout
10000         (makeDocBookFile): layout as layout
10001         (simpleDocBookOnePar): layout as layout
10002         (getLists): layout as layout
10003
10004         * LaTeXFeatures.C (getTClassPreamble): layout as layout
10005
10006         * CutAndPaste.C (cutSelection): layout as layout
10007         (pasteSelection): layout as layout
10008         (SwitchLayoutsBetweenClasses): layout as layout
10009
10010         * BufferView_pimpl.C (Dispatch): layout as layout
10011         (smartQuote): layout as layout
10012
10013         * BufferView2.C (unlockInset): layout as layout
10014
10015 2002-06-24  André Pönitz <poenitz@gmx.net>
10016
10017         * lyxfunc.C: fix #487
10018
10019 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10020
10021         * lyxrc.h:
10022         * lyxrc.C:
10023         * lyxfunc.C: remove display_shortcuts, show_banner
10024
10025 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10026
10027         * Buffer_pimpl.C: oops, update on resize
10028
10029 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10030
10031         * buffer.C:
10032         * converter.C:
10033         * exporter.C:
10034         * lyxfunc.C:
10035         * BufferView.h:
10036         * BufferView.C: use repaint()
10037
10038         * BufferView_pimpl.h:
10039         * BufferView_pimpl.C: s/updateScreen()/repaint()/
10040           as it's a clearer description. Remove superfluous
10041           redraws.
10042
10043 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10044
10045         * text.C: fix bug 488. Not ideal, but getting
10046           getWord() to work properly for the insets that
10047           matter is more difficult ...
10048
10049 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10050
10051         * BufferView_pimpl.C:
10052         * LyXAction.C:
10053         * commandtags.h:
10054         * lyxfunc.C: remove the six million index lyxfuncs to just
10055           one, and DTRT (bug 458)
10056
10057 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10058
10059         * BufferView.h:
10060         * BufferView.C:
10061         * BufferView_pimpl.h:
10062         * BufferView_pimpl.C: clean up resize() stuff,
10063           and unnecessary updateScreen()s
10064
10065 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10066
10067         * BufferView.h:
10068         * BufferView.C:
10069         * BufferView_pimpl.h:
10070         * BufferView_pimpl.C:
10071         * lyxfind.h:
10072         * lyxfind.C:
10073         * minibuffer.C: remove focus management of workarea,
10074           not needed. Use screen's greyOut()
10075
10076 2002-06-17  Herbert Voss  <voss@lyx.org>
10077
10078         * converter.C: (convert) do not post a message, when converting
10079         fails, let the calling function decide what to do in this case
10080
10081 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
10082
10083         * lyxfunc.C: tidy up a little
10084
10085 2002-06-16    <alstrup@diku.dk>
10086
10087         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10088         Got rid of FORMS_H_LOCATION include. Now we are
10089         GUII.
10090
10091 2002-06-15  LyX Development team  <lyx@rilke>
10092
10093         * buffer.[Ch] (sgmlOpenTag):
10094         (sgmlCloseTag): Added support for avoiding pernicious mixed
10095         content. Return number of lines written.
10096
10097         (makeLinuxDocFile):
10098         (makeDocBookFile): Fixed calls to sgml*Tag.
10099         Simple white space clean.
10100
10101         (simpleDocBookOnePar): Simple white space clean.
10102
10103         * tabular.[Ch] (docBook): Renamed to docbook and got another
10104         argument to related with the pernicious mixed content.
10105
10106         (docbookRow): Fixed calls for docbook inset method.
10107
10108 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
10109
10110         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10111         so it's X11 independent.
10112
10113         * kb*.[Ch]: ditto.
10114
10115         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10116
10117 2002-06-15  Lyx Development team  <lyx@electronia>
10118
10119         * intl.h: Renamed getTrans to getTransManager.
10120
10121 2002-06-14  Angus Leeming  <leeming@lyx.org>
10122
10123         * Makefile.am: nuke forgotten stl_string_fwd.h.
10124
10125 2002-06-12  Angus Leeming  <leeming@lyx.org>
10126
10127         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10128
10129 2002-06-13  Angus Leeming  <leeming@lyx.org>
10130
10131         * LaTeX.C:
10132         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10133
10134 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
10135
10136         * kbmap.C (getiso): add support for cyrillic and greek
10137
10138 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10139
10140         * BufferView.h:
10141         * BufferView.C:
10142         * BufferView_pimpl.h:
10143         * BufferView_pimpl.C: move bogus scrolling logic
10144           to xforms
10145
10146 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10147
10148         * lyxfunc.C:
10149         * BufferView_pimpl.C: view->resize() change
10150
10151 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10152
10153         * BufferView_pimpl.C: topCursorVisible
10154           prototype change
10155
10156 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10157
10158         * Makefile.am:
10159         * lyx_gui.h:
10160         * lyx_gui.C: move to frontends/
10161
10162         * main.C:
10163         * lyx_main.h:
10164         * lyx_main.C: changes from above
10165
10166 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10167
10168         * intl.C:
10169         * intl.h:
10170         * kbmap.C:
10171         * kbsequence.C:
10172         * lyx_cb.C:
10173         * lyx_main.C: minor tidy
10174
10175 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10176
10177         * BufferView_pimpl.h:
10178         * BufferView_pimpl.C:
10179         * BufferView.h:
10180         * BufferView.C: make painter() const,
10181           remove dead code
10182
10183         * BufferView2.C: use screen() accessor
10184
10185         * lyx_main.h:
10186         * lyx_main.C: some minor cleanup
10187
10188 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10189
10190         * BufferView_pimpl.h:
10191         * BufferView_pimpl.C: remove enter/leaveView,
10192           use workHeight()
10193
10194 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10195
10196         * BufferView.h:
10197         * BufferView.C:
10198         * BufferView2.C:
10199         * BufferView_pimpl.h:
10200         * BufferView_pimpl.C: only construct screen once,
10201           rename
10202
10203         * lyxrc.C: remove pointless comment
10204
10205 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10206
10207         * BufferView.h:
10208         * BufferView.C: remove active() and belowMouse()
10209
10210         * BufferView_pimpl.h:
10211         * BufferView_pimpl.C: use workarea() not workarea_,
10212           and make it use a scoped_ptr instead
10213
10214 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10215
10216         * lyx_gui.C: add debug message on BadWindow
10217
10218 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10219
10220         * sp_spell.C: fdopen is not part of the C++ standard.
10221
10222         * paragraph.C (InsetIterator): use >= instead of ==
10223
10224 2002-06-07  Angus Leeming  <leeming@lyx.org>
10225
10226         Fixes needed to compile with Compaq cxx 6.5.
10227         * BufferView_pimpl.C:
10228         * DepTable.C:
10229         * buffer.C:
10230         * converter.C:
10231         * encoding.C:
10232         * lyx_gui.C:
10233         * lyx_main.C:
10234         * lyxtextclasslist.C:
10235         * minibuffer.C:
10236         * sp_spell.C:
10237         * tabular_funcs.C:
10238         * vc-backend.C:
10239         all c-library variables have been moved into namespace std. Wrap
10240         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10241
10242         * lyxlength.C:
10243         * tabular-old.C:
10244         * tabular.C:
10245         Add a using std::abs declaration.
10246
10247         * kbmap.h (modifier_pair):
10248         * paragraph.h (InsetTable, InsetList):
10249         * lyxfont.h (FontBits):
10250         type definition made public.
10251
10252         * bufferlist.C (emergencyWriteAll): the compiler complains that
10253         there is more than one possible lyx::class_fun template to choose from.
10254         I re-named the void specialisation as lyx::void_class_fun.
10255
10256         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10257
10258         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10259         the compiler is is unable to find tostr in write_attribute.
10260
10261 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10262
10263         * buffer.C (sgmlError): hide #warning
10264
10265 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10266
10267         * xtl/*: get rid of xtl, which is not in use anyway
10268
10269         * LyXAction.C (init):
10270         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10271         were unimplemented xtl experimentation
10272
10273 2002-06-04  André Pönitz <poenitz@gmx.net>
10274
10275         * lyxfunc.C: disable array operation on simple formulae
10276
10277 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
10278
10279         * converter.C: constify a bit
10280
10281 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
10282
10283         * lyx_gui.C: check xforms version correctly
10284
10285 2002-04-30  Herbert Voss  <voss@lyx.org>
10286
10287         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10288         "keep" option
10289
10290 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
10291
10292         * lyxvc.C: fix bug 416 (make sure buffer is saved before
10293           attempt to register it with a VCS)
10294
10295 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10296
10297         * lyx_main.C (init): honor variables LYX_DIR_13x and
10298         LYX_USERDIR_13x
10299
10300 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10301
10302         * buffer.h:
10303         * buffer.C:
10304         * lyx_main.C: fix a crash on bad command line,
10305           and give a useful exit status on error
10306
10307         * lyxfunc.C (doImport): allow -i lyx to work
10308
10309 2002-03-30  André Pönitz <poenitz@gmx.net>
10310
10311         * lyxfunc.C: mathed font changes
10312
10313 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10314
10315         * LaTeX.C:
10316         * importer.h:
10317         * importer.C:
10318         * lyx_sty.h:
10319         * lyx_sty.C:
10320         * lyxlex.C:
10321         * lyxrow.h:
10322         * lyxtext.h:
10323         * paragraph.h:
10324         * paragraph.C:
10325         * texrow.h:
10326         * texrow.C:
10327         * text.C:
10328         * trans_mgr.h: srcdocs, and some minor cleanups
10329
10330 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10331
10332         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10333         call getFont all the time)
10334
10335 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10336
10337         * switch from SigC signals to boost::signals
10338
10339 2002-05-29  André Pönitz <poenitz@gmx.net>
10340
10341         * paragraph_pimpl.C (getChar): don't call size() too often...
10342
10343 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10344
10345         * paragraph_pimpl.C (insertChar): do not try to update tables when
10346         appending (pos == size())
10347
10348         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10349         in order to reduce drastically the number of comparisons needed to
10350         parse a large document
10351
10352 2002-05-29  André Pönitz <poenitz@gmx.net>
10353
10354         * text.C:
10355         * text2.C:
10356         * lyxtextclass.C:
10357         * sp_pspell.h:
10358         * textclasslist.[Ch]:
10359         * sp_ispell.h: whitespace change
10360
10361 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10362
10363         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10364         lyxaction directly now.
10365
10366 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
10367
10368         * trans.C:
10369         * lyxfont.C:
10370         * lyxvc.C: remove unused headers
10371
10372 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10373
10374         * Makefile.am:
10375         * buffer.h:
10376         * undostack.h:
10377         * undostack.C:
10378         * undo_funcs.h:
10379         * undo_funcs.C: some cleanups. Use shared_ptr
10380           and a template for the undo stacks.
10381
10382 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10383
10384         * BufferView_pimpl.h:
10385         * BufferView_pimpl.C:
10386         * kbmap.h:
10387         * kbmap.C:
10388         * kbsequence.h:
10389         * kbsequence.C:
10390         * lyxfunc.h:
10391         * lyxfunc.C:
10392         * text2.C: use key_state/mouse_state
10393
10394 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10395
10396         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10397         and LSubstring
10398
10399         * chset.C: change include order
10400         (loadFile): use boost regex and get rid of LRegex and LSubstring
10401
10402         * Makefile.am (BOOST_LIBS): new variable
10403         (lyx_LDADD): use it
10404
10405         * LaTeX.C: change include order.
10406         (scanAuxFile): use boost regex and get rid of LRegex and
10407         LSubstring
10408         (deplog): ditto
10409
10410 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10411
10412         * ColorHandler.h:
10413         * ColorHandler.C:
10414         * FontInfo.h:
10415         * FontInfo.C: moved to frontends/xforms/
10416
10417         * FontLoader.h:
10418         * FontLoader.C: moved into frontends for GUIIzation
10419
10420         * Makefile.am:
10421         * lyx_gui.C:
10422         * lyxfont.C:
10423         * lyxfunc.C: changes from above
10424
10425 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10426
10427         * LColor.C: remove spurious X include
10428
10429         * BufferView_pimpl.C:
10430         * Makefile.am:
10431         * font.h:
10432         * font.C:
10433         * text.C:
10434         * text2.C: move font metrics to frontends/
10435
10436 2002-05-24  Juergen Vigna  <jug@sad.it>
10437
10438         * undo_funcs.C (textHandleUndo): fix the cursor selection after
10439         setting the undo_cursor.
10440
10441         * ParagraphParameters.h: include local includes first.
10442
10443 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10444
10445         * BufferView_pimpl.C:
10446         * BufferView_pimpl.h:
10447         * Makefile.am:
10448         * WorkArea.h:
10449         * WorkArea.C:
10450         * screen.C: move WorkArea into frontends/
10451
10452         * lyxscreen.h:
10453         * screen.C:
10454         * text.C:
10455         * BufferView.C:
10456         * BufferView2.C: move LyXScreen into frontends/
10457
10458         * lyxlookup.h:
10459         * lyxlookup.C:
10460         * lyx_gui.C: move lyxlookup into frontends/xforms/
10461
10462 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10463
10464         * BufferView2.C:
10465         * BufferView_pimpl.C:
10466         * FontLoader.C:
10467         * LyXView.h:
10468         * LyXView.C:
10469         * Makefile.am:
10470         * WorkArea.C:
10471         * XFormsView.h:
10472         * XFormsView.C:
10473         * buffer.C:
10474         * bufferlist.C:
10475         * bufferview_funcs.C:
10476         * converter.C:
10477         * importer.C:
10478         * lyx_cb.C:
10479         * lyx_gui.C:
10480         * lyx_main.C:
10481         * lyx_find.C:
10482         * lyxfunc.C:
10483         * lyxvc.C:
10484         * minibuffer.C:
10485         * text.C:
10486         * text2.C:
10487         * trans.C:
10488         * vc-backend.C: move LyX/XFormsView into frontends/
10489
10490 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10491
10492         * Makefile.am:
10493         * PainterBase.C:
10494         * PainterBase.h:
10495         * Painter.C:
10496         * Painter.h:
10497         * WorkArea.C:
10498         * WorkArea.h:
10499         * screen.C:
10500         * tabular.C:
10501         * text.C:
10502         * text2.C: move Painter to frontends/
10503
10504 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10505
10506         * buffer.C: comment out some some code that depend upon lyx_format
10507         < 220
10508
10509         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10510         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10511
10512         * buffer.h (NO_COMPABILITY): turn off compability
10513
10514         * ColorHandler.C: include scoped_array.hpp
10515
10516         * font.C: Use more specific smart_ptr header.
10517         * Painter.C: ditto
10518         * gettext.C: ditto
10519         * ShareContainer.h: ditto
10520         * lyx_main.h: ditto
10521         * kbmap.h: ditto
10522         * FontInfo.h: ditto
10523         * BufferView_pimpl.h: ditto
10524         * ColorHandler.h: ditto
10525
10526         * kbmap.C (defkey): change call to shared_ptr::reset
10527
10528 2002-05-21  Juergen Vigna  <jug@sad.it>
10529
10530         * buffer.C (insertErtContents): fix to insert ert asis if it is
10531         non empty. Skip it completely if it contains only whitespaces.
10532
10533 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
10534
10535         * BufferView_pimpl.C:
10536         * BufferView2.C: clear selection on paste (bug 393)
10537
10538 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10539
10540         * DepTable.C: include ctime
10541
10542 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
10543
10544         * buffer.C (latexParagraphs): Add new argument (moving_arg).
10545
10546 2002-05-14  Juergen Vigna  <jug@sad.it>
10547
10548         * text.C (breakParagraph): fixed function to honor the keepempty
10549         layout in the right maner and also to permit the right breaking
10550         algorithm on empty or non empyt keepempty paragraphs.
10551
10552         * paragraph.C (breakParagraph): we have to check also if the par
10553         is really empty (!size()) for isempty otherwise we do the wrong
10554         paragraph break.
10555
10556 2002-05-10  Juergen Vigna  <jug@sad.it>
10557
10558         * buffer.[Ch] : The following are only changes to the ert
10559         compatibility read reading old LaTeX layout and font stuff and
10560         convert it to ERTInsets.
10561
10562         * buffer.h: added isErtInset().
10563
10564         * buffer.C (struct ErtComp): add a fromlayout bool to check
10565         if we're inside a LaTeX layout.
10566         (isErtInset): new helper function.
10567         (insertErtContents): look for other ert insets before this one
10568         and insert the contents there, so that we don't have subsequent
10569         ERT insets with nothing between them. This way we create only one
10570         inset with multiple paragraphs. Also check if we don't insert only
10571         spaces ' ' as they are ignored anyway afterwards in the .tex file
10572         so if we have only spaces we will ignore this latex part in the
10573         new file.
10574         (parseSingleLyXformat2Token \\layout): better compatibility when
10575         reading layout-latex stuff.
10576         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10577         language tag.
10578         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10579         stuff after reading the inset only get the information back from
10580         the stack.
10581
10582 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
10583
10584         * buffer.C (makeLaTeXFile): Put language options after loading babel.
10585
10586         * LaTeXFeatures.C (getBabelOptions): New method.
10587
10588 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10589
10590         * BufferView_pimpl.C (Dispatch): work around missing argument for
10591         'layout'
10592
10593 2002-05-08  Juergen Vigna  <jug@sad.it>
10594
10595         * text.C (leftMargin): handle paragraph leftindent.
10596
10597         * paragraph.C (writeFile): write the new \\leftindent tag.
10598         (validate): handle leftindent code.
10599         (TeXEnvironment): handle paragraphleftindent code again.
10600
10601         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10602
10603         * buffer.C (parseSingleLyXformat2Token): added compatibility code
10604         for paragrap_extra indent code and new token \\leftindent.
10605         (latexParagraphs): handle the leftindent as environment.
10606
10607         * ParameterStruct.h: added leftindent support.
10608
10609         * ParagraphParameters.C (leftIndent): added support functions for
10610         the paragraph left indent.
10611
10612         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10613         more appropriate.
10614
10615 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
10616
10617         * paragraph.C (isRightToLeftPar): Return false for a paragraph
10618         inside insetERT.
10619
10620         * text.C (computeBidiTables): No bidi in insetERT.
10621
10622         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10623         in RTL documents.
10624
10625 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10626
10627         * version.C.in: pre 5
10628
10629 2002-05-02  José Matos  <jamatos@fep.up.pt>
10630         * buffer.C (makeDocBookFile): white space changes, add newline to
10631         command styles.
10632         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10633
10634         * tabular.C (docBook): fix typo.
10635
10636 2002-05-03  Juergen Vigna  <jug@sad.it>
10637
10638         * screen.C (drawFromTo): recalculate the rowpointer if we had a
10639         change in LyXText as we can not be sure it was not freed.
10640         (drawOneRow): remove unused code.
10641
10642         * text.C (drawInset): redo the calculation of the need_break_row as
10643         it could have a row which was already freed.
10644         (draw): look at the return value of drawInset and return false if
10645         it also returned false.
10646         (paintRowText): look at the return value of draw and return false if
10647         it also returned false.
10648
10649         * lyxtext.h: added bool return type to drawInset() and draw() so that
10650         if we have a change in the row so that the rowbreak has to be redone
10651         we abort drawing as it will be called again.
10652
10653 2002-05-02  Juergen Vigna  <jug@sad.it>
10654
10655         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10656         a change in the maintext also if we're inside an inset.
10657         (Dispatch): set the cursor again after a break line and after the
10658         screen has been updated as it could be we're in a different row.
10659
10660         * text2.C (fixCursorAfterDelete): check to make sure we don't request
10661         to set the cursor behind the pargraph with > size().
10662         (setCursor): check also for the same paragraph when checking where
10663         to put the cursor if we have a NFR inset.
10664
10665         * buffer.C (parseSingleLyXformat2Token): move the compatibility
10666         parts of layout read further up as it still was in the wrong
10667         position.
10668
10669 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10670
10671         * screen.C (drawFromTo): change sine fullRebreak always return
10672         true.
10673
10674         * buffer.C (parseSingleLyXformat2Token): reindent some
10675
10676         * BufferView_pimpl.C (update): change since fullRebreak always
10677         return true.
10678         (Dispatch): git rid of the last hardcoded "Standard"s.
10679
10680 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10681
10682         * text2.[Ch] (fullRebreak): make it return void now that we always
10683         returned true.
10684
10685 2002-04-30  Juergen Vigna  <jug@sad.it>
10686
10687         * buffer.C (parseSingleLyXformat2Token): reset the font before the
10688         ert compatibility check for "latex" layout.
10689
10690 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
10691
10692         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10693         minipages: use col% instead of p%, and also use the current font.
10694         (makeLaTeXFile): Fix use babel condition.
10695         (parseSingleLyXformat2Token): Correct font when reading old floats.
10696
10697 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
10698
10699         * BufferView_pimpl.C (Dispatch): Check that float type exists when
10700         inserting list of floats.
10701
10702 2002-04-25  Herbert Voss  <voss@lyx.org>
10703
10704         * MenuBackend.C (expand): don't add the graphics extensions to the
10705         export menu
10706
10707 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10708
10709         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10710         non-existing layout, do not complain if it was the default layout
10711         of the original class (bug #342)
10712
10713 2002-04-24  Juergen Vigna  <jug@sad.it>
10714
10715         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10716         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10717
10718 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
10719
10720         * buffer.C (getBibkeyList): If using \bibliography, return the
10721         option field with the reference itself. Enables us to provide natbib
10722         support when using \bibliography.
10723
10724 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
10725
10726         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10727
10728         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10729         natbib is provided by the LaTeX class.
10730
10731 2002-04-23  Juergen Vigna  <jug@sad.it>
10732
10733         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10734         Wakeup functions.
10735
10736         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10737
10738 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10739
10740         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10741
10742         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10743         ensuremath around textordmasculine, textordfeminine and
10744         textdegree.
10745
10746 2002-04-19  Juergen Vigna  <jug@sad.it>
10747
10748         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10749         reinitializing the buffer otherwise row-dimensions may be wrong.
10750         (update): reset also the selection cursors if they do exits otherwise
10751         their x/y positions may be wrong.
10752
10753         * text2.C (cursorDown): don't enter the inset if we came from a row
10754         above and are one row over the inset.
10755
10756         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10757         really leaving an inset.
10758
10759 2002-04-18  Juergen Vigna  <jug@sad.it>
10760
10761         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10762         of the selected paragraph does not have the selected layout also if
10763         the last one had!
10764
10765         * text2.C (setLayout): fixed bug which did not change last selected
10766         paragraph.
10767
10768         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10769         changed the read and substituted \\end_float with \\end_inset!
10770
10771         * BufferView_pimpl.C (cursorPrevious):
10772         (cursorNext): fixed to make it work with rows heigher than the work
10773         area without moving the cursor only the draw of the row.
10774         (workAreaMotionNotify): fix jumping over high rows.
10775
10776 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10777
10778         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10779         Ressler.
10780
10781 2002-04-16  Juergen Vigna  <jug@sad.it>
10782
10783         * text2.C (setCursor): set also the irow().
10784         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10785         (cursorUp):
10786         (cursorDown): support for locking an inset if the x_fix value goes
10787         inside it. That way I can transverse insets too with cursor up/down.
10788
10789         * lyxrow.h: added irow helper function same as other (i) functions.
10790
10791         * BufferView_pimpl.C (cursorPrevious):
10792         (cursorNext): fixed for insets!
10793
10794 2002-04-15  Juergen Vigna  <jug@sad.it>
10795
10796         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10797         position otherwise it is wrong in some cases.
10798
10799         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10800         inside the inset before the call.
10801
10802 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
10803
10804         * buffer.[Ch] (getBibkeyList): make it const.
10805
10806 2002-04-12  Juergen Vigna  <jug@sad.it>
10807
10808         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10809
10810         * text2.C (getCursorX): new helper function
10811         (setCursor): compute also ix_
10812         (setCursorFromCoordinates): set also ix.
10813
10814         * lyxcursor.h: added ix_ and helper functions.
10815
10816         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10817
10818         * buffer.C (insertStringAsLines): dont break paragraph if the this
10819         paragraph is inside an inset which does not permit it!
10820
10821         * text.C (breakParagraph): honor keepempty flag and break the paragraph
10822         also with no chars on this paragraph.
10823         (paintRowText): only paint stuff if it's inside the workarea!
10824
10825         * paragraph.C (breakParagraph): honor keepempty flag and break the
10826         paragraph always below not above.
10827
10828         * BufferView2.C (unlockInset): update the paragraph layout on inset
10829         unlock as we changed paragraph in such a case.
10830
10831         * lyxfind.C (LyXFind): clear the former selection if not found!
10832
10833         * text2.C (insertInset): freeze Undo after setUndo so that it is not
10834         again called in insertChar().
10835
10836         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10837         an inset which uses the whole row!
10838         (rightMargin): ditto.
10839         (insertChar): force a rebreak if we inserted an inset!
10840
10841 2002-03-28  Herbert Voss  <voss@lyx.org>
10842
10843         * lyxlength.[Ch]: add inBP() to get the right PS-point
10844         units (BigPoint). With inPixels we have rounding errors
10845
10846 2002-04-11  Juergen Vigna  <jug@sad.it>
10847
10848         * text2.C (setCursorFromCoordinates): set iy to the right value.
10849         (setCursor): add check if row->previous exists!
10850
10851         * buffer.C (parseSingleLyXformat2Token): reset font after read of
10852         an old float_type as this was the case in the old code!
10853
10854         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10855
10856         * BufferView2.C (showLockedInsetCursor): use iy
10857         (fitLockedInsetCursor): ditto
10858
10859         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10860         locked insets as there we have the right value now.
10861
10862         * lyxcursor.C: added iy_ variable and iy functions to set to the
10863         baseline of cursor-y of the locked inset.
10864
10865         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10866         (setCursor): fixed for insets which need a full row.
10867
10868         * text.C (rowLastPrintable): don't ignore the last space when before
10869         an inset which needs a full row.
10870         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10871         as last character of a row when before a inset which needs a full row.
10872
10873 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10874
10875         * version.C.in: update date
10876
10877         * text2.C (fullRebreak): try to always return true and see what
10878         happens...
10879
10880 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10881
10882         * MenuBackend.C (expand): use Floating::listName
10883
10884         * FloatList.C (FloatList): add listName argument to the built-in
10885         floats
10886
10887         * Floating.[Ch]: add listName member, which is the 'List of XXX'
10888         text associated with the float.
10889
10890 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10891
10892         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10893
10894 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10895
10896         * ShareContainer.h: add a couple of missing typenames.
10897
10898 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
10899
10900         * lyxrc.C (getDescription): use _() correctly rather than N_().
10901
10902 2002-03-28  Herbert Voss  <voss@lyx.org>
10903
10904         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10905         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10906
10907 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10908
10909         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10910         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10911
10912 2002-03-29  Juergen Vigna  <jug@sad.it>
10913
10914         * lyxfunc.C (dispatch): add a missing fitCursor call.
10915
10916         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10917         it was scrolled by a cursor move, so return the bool status.
10918
10919         * BufferView.C (fitCursor): return the bool flag also to the outside
10920         world as this is needed.
10921
10922         * screen.C (toggleToggle): don't subtract the offset if it's positive.
10923
10924         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10925         call the edit() as it is not needed (and wrong) IMO.
10926         (workAreaButtonPress): set the screen_first variable before evt.
10927         unlock the inset as this may change screen_first and then we have
10928         a wrong y position for the click!
10929
10930 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10931
10932         * MenuBackend.C (expand): another translation that I missed
10933
10934 2002-03-28  Juergen Vigna  <jug@sad.it>
10935
10936         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10937
10938         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10939
10940 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10941
10942         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10943
10944         * MenuBackend.C (expand): fix export/view/update when there is no
10945         document open.
10946
10947 2002-03-27  Herbert Voss  <voss@lyx.org>
10948
10949         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10950         and text%
10951
10952 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10953
10954         * bufferview_funcs.C (currentState): only show paragraph number
10955         for is DEVEL_VERSION is set.
10956
10957         * lyxfunc.C (dispatch): put warning in INFO channel
10958
10959         * MenuBackend.C (expand): translate the name of floats
10960
10961         * FloatList.C (FloatList): mark the float names for translation
10962
10963         * converter.C (convert): use LibScriptSearch
10964
10965 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10966
10967         * MenuBackend.C (defaults): fix default menu (we might as well get
10968         rid of it...)
10969
10970 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10971
10972         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10973         directory.
10974
10975 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10976
10977         * lyxvc.C: reorder includes.
10978
10979 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
10980
10981         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10982           properly
10983
10984 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
10985
10986         * CutAndPaste.C: change layouts earlier on paste
10987           to avoid crashing when calling getFont()
10988
10989 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
10990
10991         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10992         irritating #error.
10993
10994 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10995
10996         * WorkArea.C: remove 'Pending' debug message.
10997
10998         * most files: ws cleanup
10999
11000         * buffer.[Ch]: ws changes
11001
11002         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11003
11004 2002-03-21  Juergen Vigna  <jug@sad.it>
11005
11006         * tabular.C (SetMultiColumn): collapse also the contents of the
11007         cells and set the last border right. Added a Buffer const * param.
11008
11009 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11010
11011         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11012         linking or not.
11013
11014 2002-03-19  Juergen Vigna  <jug@sad.it>
11015
11016         * text2.C (clearSelection): reset also xsel_cache.
11017
11018         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11019         where it needs to be called (John tells us to do so too :)
11020         (selectionLost): reset sel_cache.
11021
11022         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11023
11024 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11025
11026         * text2.C (setCursorIntern): put debuging code in INSETS channel
11027
11028 2002-03-19  André Pönitz <poenitz@gmx.net>
11029
11030         * lyxfunc.C: tiny whitespace change
11031
11032 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11033
11034         * ToolbarDefaults.C (init):
11035         * LyXAction.C (init):
11036         * commandtags.h:
11037         * BufferView_pimpl.C (Dispatch):
11038         * lyxfunc.C (dispatch): remove LFUN_DEPTH
11039
11040 2002-03-19  Allan Rae  <rae@lyx.org>
11041
11042         * exporter.C (Export): removeAutoInsets before doing anything else.
11043         While I've just introduced a dependency on BufferView this really is
11044         the best place to clean the buffer otherwise you need to cleanup in
11045         a dozen places before calling export or cleanup in a dozen functions
11046         that export calls.
11047
11048         * converter.C (runLaTeX):
11049         (scanLog): Better handling of removeAutoInsets and screen updates.
11050
11051         * lyxfunc.C (dispatch): small whitespace changes
11052
11053 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11054
11055         * WorkArea.C (C_WorkAreaEvent): return a value.
11056         (event_cb): return 1 if we handled the event, 0 otherwise.
11057
11058         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11059
11060 2002-03-18  Juergen Vigna  <jug@sad.it>
11061
11062         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11063         (GetAdditionalWidth): ditto.
11064         (RightLine): ditto.
11065         (LeftLine): ditto.
11066
11067         * BufferView2.C (copy): use getLyXText() so that we do it inside an
11068         inset if we're there actually (probably not used right now but this
11069         is the direction to go for unifying code).
11070         (paste): disable code to clear the selection.
11071
11072         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11073         inside an InsetText and move the check further up as it is in the
11074         wrong place.
11075
11076         * text2.C (pasteSelection): set a selection over the pasted text.
11077
11078 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
11079
11080         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11081         and libgraphics to build on Cygwin.
11082
11083 2002-03-15  Juergen Vigna  <jug@sad.it>
11084
11085         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11086         inserting an Inset into the paragraph. I know this is not the best
11087         fix but we already use current_view in CutAndPaste so we will remove
11088         all of it's using at the same time.
11089
11090         * buffer.C (sgmlError): deactivated function till it is rewritten in
11091         the right mode, now it can create problems.
11092
11093         * paragraph.C (isLineSeparator): check if getInset returns != 0,
11094         before accessing it.
11095
11096 2002-03-14  Juergen Vigna  <jug@sad.it>
11097
11098         * undo_funcs.C (textHandleUndo): do the right thing when updating
11099         the inset after the undo/redo.
11100
11101         * text2.C (setCursor): just some testcode for #44 not ready yet.
11102
11103         * undo_funcs.C (textHandleUndo): set the next() and previous()
11104         pointers of the paragraph to 0 before deleting otherwise we have
11105         problems with the Paragraph::[destructor].
11106
11107         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11108         on a paragraph insertion.
11109
11110 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11111
11112         * buffer.C (asciiParagraph): use += operator for char append to
11113         string.
11114
11115         * paragraph.C (getFontSettings): compare >= not just >
11116         (highestFontInRange): ditto
11117         (setFont): ditto
11118
11119 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11120
11121         * paragraph.C: change several algorithm to be more appripriate for
11122         the problem domain. This is lookip in FontList and in the InsetList.
11123
11124 2002-03-13  André Pönitz <poenitz@gmx.net>
11125
11126         * commandtags.h:
11127         * LyXAction.C: remove unused LFUN_MATH_MACROARG
11128
11129 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
11130
11131         * commandtags.h:
11132         * LyXAction.C:
11133         * lyxfunc.C:
11134         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11135
11136 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11137
11138         * Painter.C (display): anon helper function, adjust code for this
11139         change.
11140         (pixmap): remove function.
11141
11142         * Painter.h: remove private display variable.
11143
11144         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11145
11146 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
11147
11148         * WorkArea.[Ch]: remove figinset_canvas cruft.
11149
11150 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11151
11152         * lyxtextclass.C (operator): add one item cache optimization.
11153
11154         * bufferlist.h: doxy changes
11155
11156         * bufferlist.C: ws changes
11157
11158         * DepTable.[Ch] (ext_exist): place const in the right spot.
11159
11160         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11161         call resizeInsets.
11162         (workAreaExpose): call resizeInsets when the with BufferView changes.
11163         (Dispatch): adjust for protectedBlank removal
11164         (specialChar): call updateInset if the insert went ok.
11165
11166         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11167         specialChar instead.
11168
11169         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11170
11171         * BufferView.h: doxy change
11172
11173         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11174
11175         * lyxtextclass.C (operator[]): remove non-const version
11176         (defaultLayout): remove non-const version
11177
11178 2002-03-12  Juergen Vigna  <jug@sad.it>
11179
11180         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11181         did resize the LyXText too.
11182
11183         * buffer.C (readLyXformat2): set layout information on newly allocated
11184         paragraphs.
11185
11186         * tabular.C (OldFormatRead): set layout information on the paragraph.
11187
11188 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11189
11190         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11191
11192 2002-03-11  Juergen Vigna  <jug@sad.it>
11193
11194         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11195         plainly wrong.
11196         (resizeCurrentBuffer): force also the insets to resize themselfes.
11197         (moveCursorUpdate): fixed up for InsetText.
11198
11199 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
11200
11201         * commandtags.h:
11202         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11203         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11204         value of Dialogs::tooltipsEnabled().
11205         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11206
11207 2002-03-08  Juergen Vigna  <jug@sad.it>
11208
11209         * BufferView_pimpl.C (updateInset): update inset inside inset also
11210         if it isn't inside theLockingInset().
11211
11212 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11213
11214         * buffer.C (asciiParagraph): redo some of the word and line length
11215         handling.
11216         (getLists): look for Caption instead of caption.
11217
11218 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11219
11220         * buffer.C (Buffer): initialize niceFile to true
11221         (makeLaTeXFile):
11222         (makeLinuxDocFile):
11223         (makeDocBookFile): make sure niceFile is true on exit
11224
11225 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11226
11227         * buffer.C (makeLaTeXFile): escape ~ in \input@path
11228
11229 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
11230
11231         * LyXSendto.C: remove.
11232         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11233         * lyx_gui.C: remove now-redundant comment.
11234         * ColorHandler.h: remove forward declaration of class WorkArea.
11235         * lyxfunc.C: remove #include "WorkArea.h".
11236
11237 2002-03-07  Juergen Vigna  <jug@sad.it>
11238
11239         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11240         got moved away with the DEPM and also set the inset_owner always
11241         right which before could have been omitted.
11242
11243 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11244
11245         * buffer.C (parseSingleLyXformat2Token): use default layout is the
11246         wanted layout is not found.
11247
11248 2002-03-07  Juergen Vigna  <jug@sad.it>
11249
11250         * CutAndPaste.C (cutSelection): another layout settings forgotten.
11251
11252 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11253
11254         * paragraph.C (breakParagraph): use default layout not layout of
11255         prev paragraph.
11256         (Paragraph): clear ParagraphParameters.
11257
11258 2002-03-06  Juergen Vigna  <jug@sad.it>
11259
11260         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11261         otherwise it would not be a valid lenght. Fixed a special case in
11262         the minipage compatibility read where we end the document with a
11263         minipage.
11264
11265         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11266         was set as it could be 0 for InsetTexts first entry.
11267
11268 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11269
11270         * paragraph.C (writeFile): if layout is empty write out
11271         defaultLayoutName().
11272
11273         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11274         file without named layout we set layout to defaultLayoutName().
11275
11276 2002-03-06  Juergen Vigna  <jug@sad.it>
11277
11278         * CutAndPaste.C (copySelection): set layout for new paragraph.
11279
11280         * text.C (prepareToPrint): leave ERT inset left aligned
11281         (leftMargin): don't indent paragraphs inside ERT insets
11282
11283 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11284
11285         * paragraph.C (breakParagraph): dont call clear do the work manually
11286
11287         * paragraph.[Ch] (clear): remove function
11288
11289 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11290
11291         * paragraph.C (Paragraph): dont call clear, the work has already
11292         been done.
11293
11294         * lyxtextclass.C (operator): assert if n is empty
11295
11296         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11297         work manually instead.
11298
11299 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11300
11301         * BufferView_pimpl.C: protect selectionLost against text == 0
11302
11303 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11304
11305         * text.C (breakParagraph): fix a setting layout to '0' problem.
11306
11307 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11308
11309         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11310         final location of file, for the included files, and graphics.
11311
11312 2002-03-05  Juergen Vigna  <jug@sad.it>
11313
11314         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11315
11316 2002-03-04  Juergen Vigna  <jug@sad.it>
11317
11318         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11319
11320         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11321         last column of multicolumn cells.
11322         (SetWidthOfMulticolCell): recalculate NMC and real columns.
11323
11324 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11325
11326         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11327         file if it doesn't go to a temporary file.
11328
11329         * buffer.C (sgmlOpenTag):
11330         (sgmlCloseTag):  remove extra newline insertion.
11331
11332 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11333
11334         * text.C (getRowNearY): comment out debug msg
11335
11336 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11337
11338         * text2.C: first -> first_y
11339
11340         * text.C (getRowNearY): add some attemts at a possible
11341         optimization, not working.
11342
11343         * tabular.[Ch]: add BufferParams to several function so that newly
11344         created paragraph can be initialized to he default layotu for the
11345         buffers textclass.
11346
11347         * tabular-old.C (ReadOld): add buf->params to call of Init
11348
11349         * screen.C: rename text->first to text->first_y
11350
11351         * paragraph.C (breakParagraph): always set layout in the broken
11352         paragraph
11353
11354         * lyxtextclass.C (Read): remove lowercase
11355         (hasLayout): ditto
11356         (operator): ditto
11357         (delete_layout): ditto
11358
11359         * lyxtext.h: rename first -> first_y
11360
11361         * lyxlayout.C (Read): remove lowercase
11362         (name): ditto
11363         (setName): ditto
11364         (obsoleted_by): ditto
11365
11366         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11367
11368         * buffer.C (insertErtContents): add params are to InsetERT
11369         (parseSingleLyXformat2Token): add code to check if a paragraphs
11370         layout really exist.
11371         (parseSingleLyXformat2Token): add params to several inset
11372         constructors
11373         (asciiParagraph): remove lowercase, do the layout comparisons with
11374         no_case
11375
11376         * BufferView_pimpl.C (cursorNext): first -> first_y
11377         (resizeCurrentBuffer): first -> first_y
11378         (updateScrollbar): first -> first_y
11379         (scrollCB): first -> first_y
11380         (workAreaMotionNotify): first -> first_y
11381         (workAreaButtonPress): first -> first_y
11382         (checkInsetHit): first -> first_y
11383         (cursorPrevious): first -> first_y
11384         (cursorNext): first -> first_y
11385         (Dispatch): add buffer_->params to severl inset contructors
11386
11387 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11388
11389         * lyxlayout.C (Read): remove some debug info that I forgot.
11390
11391         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11392         clean up the code slightly.
11393         (makeLinuxDocFile): ditto
11394         (makeDocBookFile): ditto
11395
11396         * text2.C: layout as string
11397
11398         * text.C: layout as string
11399
11400         * paragraph_pimpl.C: layout as string
11401
11402         * paragraph.[Ch]: layout as string
11403
11404         * lyxtextclasslist.[Ch]: layout as string
11405
11406         * lyxtextclass.[Ch]: layout as string
11407
11408         * lyxtext.h: layout as string
11409
11410         * lyxlayout.[Ch]: layout as string
11411
11412         * lyx_cb.C: layout as string
11413
11414         * bufferview_funcs.C: layout as string
11415
11416         * bufferparams.C: layout as string
11417
11418         * buffer.C: layout as string
11419
11420         * LyXView.[Ch]: layout as string
11421
11422         * LaTeXFeatures.[Ch]: layout as string
11423
11424         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11425
11426         * BufferView_pimpl.C: change current_layout to string, remove
11427         lyx::layout_type.
11428         (Dispatch):
11429         (smartQuote):
11430         (insertInset):
11431         (workAreaButtonRelease): layout as string
11432
11433         * BufferView2.C (unlockInset): adjust
11434
11435         * vspace.C (asLatexCommand): use an explict temp variable.
11436
11437 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11438
11439         * Makefile.am: use FRONTEND_*
11440
11441 2002-03-01  Juergen Vigna  <jug@sad.it>
11442
11443         * tabular.C (SetWidthOfMulticolCell): changed to something better
11444         I hope but still work in progress.
11445         (recalculateMulticolumnsOfColumn): renamed function from
11446         recalculateMulticolCells as it is more appropriate now.
11447         (SetWidthOfCell): calculate multicols better.
11448
11449 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11450
11451         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11452
11453         * lyxfunc.C (processKeySym): print sequence also if it is
11454         `deleted' (complete)
11455
11456         * kbsequence.C (print): print sequence even if it is deleted
11457         (complete would be a better word, actually).
11458
11459         * lyxfunc.C (dispatch): print complete options after a prefix key
11460
11461         * vspace.C (asLatexCommand): rewrite in a slightly different form.
11462
11463 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
11464
11465         * text2.C (setCharFont): eliminate setCharFont code duplication.
11466
11467 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11468
11469         * BufferView_pimpl.C (Dispatch): remove bogus handling of
11470         LFUN_TABULAR_FEATURE (bug #177)
11471
11472 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
11473
11474         * Makefile.am: remove figure.h
11475
11476 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
11477
11478         * Bufferview_pimpl.C:
11479         * CutAndPasteC:
11480         * LaTeX.C:
11481         * LyXSendto.C:
11482         * buffer.C:
11483         * bufferlist.C:
11484         * converter.C:
11485         * language.C:
11486         * lyxfunc.C:
11487         * lyxvc.C:
11488         * paragraph.C:
11489         * text.C:
11490         * text2.C: remove #include "lyx_gui_misc.h".
11491
11492         * LaTeX.C: added #include <cstdio>
11493
11494 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11495
11496         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11497         that the paragraph following this one can have.
11498
11499         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11500
11501         * vspace.C (asLatexCommand): fix bogus gcc warning
11502
11503         * Makefile.am (lyx_SOURCES): remove vms_defines.h
11504
11505 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
11506
11507         * text2.C (setLayout): get rid of redundant code
11508
11509 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
11510
11511         * text2.C (incDepth): make sure depth cannot be increased beyond
11512         reasonable values.
11513
11514 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
11515
11516         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11517         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11518
11519         * PainterBase.h (image):
11520         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11521         a LyXImage const *.
11522
11523 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11524
11525         * BufferView.C:
11526         * BufferView.h:
11527         * BufferView_pimpl.C:
11528         * BufferView_pimpl.h:
11529         * LaTeXFeatures.C:
11530         * LyXAction.C:
11531         * LyXView.C:
11532         * Makefile.am:
11533         * UpdateList.h:
11534         * UpdateList.C:
11535         * buffer.C:
11536         * figure.h:
11537         * figureForm.C:
11538         * figureForm.h:
11539         * figure_form.C:
11540         * figure_form.h:
11541         * lyx_cb.C:
11542         * lyx_gui.C:
11543         * lyx_gui_misc.C:
11544         * lyxfunc.C:
11545         * sp_base.h:
11546         * sp_ispell.h:
11547         * sp_pspell.h:
11548         * sp_spell.C: remove fig inset, and the crap house of
11549           cards that follows it
11550
11551 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11552
11553         * Makefile.am:
11554         * lyxserver.C:
11555         * os2_defines.h:
11556         * os2_errortable.h:
11557         * nt_defines.h: move .h into support/
11558
11559         * vms_defines.h: remove
11560
11561         * WorkArea.C: add space in debug output
11562
11563         * text2.C:
11564         * paragraph.C:
11565         * buffer.C: add WITH_WARNINGS
11566
11567         * vc-backend.h:
11568         * vc-backend.C:
11569         * bufferlist.C: s/retrive/retrieve/, add docs
11570
11571         * vspace.h:
11572         * vspace.C:
11573         * kbmap.h:
11574         * lyxlength.h:
11575         * lyxgluelength.h:
11576         * length_common.h:
11577         * chset.h:
11578         * chset.C: add docs
11579
11580         * lyxgui.C: add ID to X error handler
11581
11582         * lyxtestclass.c: fix typo
11583
11584 2002-02-26  Juergen Vigna  <jug@sad.it>
11585
11586         * tabular_funcs.C (write_attribute): changed so that some default
11587         attributes are not written at all.
11588         (getTokenValue): set default values before trying to read the
11589         value so we have the return value always set as default if we don't
11590         find the token we search for.
11591
11592         * tabular.C (Write): write bools as bools not as strings!
11593
11594 2002-02-22  Juergen Vigna  <jug@sad.it>
11595
11596         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11597         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11598
11599         * text.C (leftMargin): don't add an indent for paragraphs inside
11600         tabular cells (fix #208).
11601
11602 2002-02-21  José Matos  <jamatos@fep.up.pt>
11603
11604         * tabular.C (docBook): fixed support for long tables.
11605
11606 2002-02-20  Juergen Vigna  <jug@sad.it>
11607
11608         * text2.C (getFont): get the drawing font of the Inset if this
11609         paragraph is inside an inset (only important for InsetERT for now).
11610
11611         * buffer.C (insertErtContents): use new lanugage params in ERT
11612         constructor.
11613
11614         * CutAndPaste.C: commenting out seemingly uneeded code.
11615
11616 2002-02-19  Allan Rae  <rae@lyx.org>
11617
11618         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11619         Iterators might be simple to use but they also get invalidated.
11620         (removeAutoInsets): renamed saved cursor tracking variables and added
11621         some comments to clarify what everything does.
11622
11623 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
11624
11625         * Chktex.C:
11626         * LaTeX.C:
11627         * LyXSendto.C:
11628         * converter.C:
11629         * lyx_cb.C:
11630         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11631         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11632
11633         * lyxfunc.C:
11634         * vc-backend.h: remove #include "support/syscall.h"
11635
11636         * LaTeX.C:
11637         * LyXSendto.C:
11638         * converter.C: rearrange #includes in Lars' approved fashion.
11639
11640         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11641         forward declare class Timeout in the header file.
11642
11643         * XFormsView.C: changes due to the above.
11644
11645         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11646         similar to LyXView.
11647
11648         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11649         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11650
11651 2002-02-18  José Matos  <jamatos@fep.up.pt>
11652
11653         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11654         insets contents.
11655
11656 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
11657
11658         * a lot of small ws changes
11659         * add a lot of using std::XXX
11660         * use std construcs some places where approp.
11661         * use some exisint stuff from lyxfunctional where approp.
11662         * Make file changes to use partial linking (lets test this now...)
11663
11664 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11665
11666         * Chktex.C:
11667         * buffer.C:
11668         remove #include "support/syscontr.h" as it's redundant. Always has been.
11669
11670         * Chktex.C:
11671         * LaTeX.C:
11672         * LyXSendto.C:
11673         * converter.C:
11674         * lyx_cb.C:
11675         * vc-backend.C:
11676         change Systemcalls::System to Systemcalls::Wait and
11677         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11678         No change of functionality, just reflects the stripped down Systemcalls
11679         class.
11680
11681 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11682
11683         * debug.[Ch]: add a GRAPHICS type to the enum.
11684
11685 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11686
11687         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11688
11689         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11690         there is an inset.
11691
11692 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11693
11694         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11695         match the changes below.
11696
11697         * text2.C (toggleInset): if there is not editable inset at cursor
11698         position, try to see if cursor is _inside_ a collapsable inset
11699         and close it.
11700
11701 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11702
11703         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11704         document menu has a nice checkbox
11705
11706 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11707
11708         * lyxlength.C (asLatexString): change PW to output as percent of
11709         \textwidth.
11710
11711         * lengthcommon.C: change '%' to 't%'
11712
11713         * lyxfunc.C (dispatch): a few comments from Martin
11714
11715 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
11716
11717         * WorkArea.h:
11718         * WorkArea.C:
11719         * BufferView_pimpl.h:
11720         * BufferView_pimpl.C: clear our selection when X tells us we've lost
11721           the X selection.
11722
11723 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11724
11725         * vspace.C (inPixels): fix compiler warning
11726
11727 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11728
11729         * lyxfunc.C (getStatus): fix status message for disabled commands.
11730
11731 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
11732
11733         * BufferView_pimpl.C: fix crash on close buffer
11734         during selection (#227)
11735
11736 2002-01-27  Herbert Voss  <voss@lyx.org>
11737
11738         * buffer.C: link old Figure to new graphic inset
11739
11740 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
11741
11742         * FontLoader.C (getFontinfo): Change the latex font names in order
11743         to match the names of type1inst.
11744
11745 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11746
11747         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11748
11749         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11750         (extchanged): ditto
11751         (ext_exist): ditto
11752         (remove_files_with_extension): ditto
11753         (remove_file): ditto
11754         (write): ditto
11755
11756         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11757         document is smaller than the work area height. Do not initialize
11758         static variables to 0.
11759
11760 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11761
11762         * lyx_gui.C (init): give the toolbar tooltips a normal font.
11763
11764         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11765         LFUN_LAYOUT_PARAGRAPHS.
11766
11767         * tabular.C (GetCellFromInset): new method. Finds an inset in a
11768         tabular. It is possible to provide a possible cell, which will
11769         typically be the actcell from the corresponding insettabular
11770
11771         * lyxfunc.C (getStatus): small cleanup; disable
11772         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11773         true
11774
11775 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11776
11777         * tabular.C (Validate): remove broken optimization (fixes bug #201)
11778
11779         * paragraph.C (startTeXParParams):
11780         (endTeXParParams): new methods. The LaTeX code to
11781         start/end paragraph formatting
11782         (simpleTeXOnePar): call startTeXParParams also when paragraph is
11783         empty (fixes bug #200)
11784
11785         * vspace.C (inPixels): adapt to the change below
11786         (inPixels): [later] more cleanups (remove unused variables)
11787
11788         * lyxlength.C (inPixels): change to use a width and a height as
11789         parameter.
11790
11791 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11792
11793         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11794         Replaced with \paperwidth
11795
11796         * DepTable.C (insert): add std:: qualifier
11797
11798 2002-01-18  Allan Rae  <rae@lyx.org>
11799
11800         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
11801         updated also?
11802
11803         * text.C (drawInset): Turned out I didn't know enough about how
11804         rebreaking worked.  This fixes most of the redraw problems.  I see
11805         an occasional cursor trail when a line is broken now and the cursor
11806         placement can seem out by a few pixels also after a rebreak.
11807
11808 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11809
11810         * buffer.C (parseSingleLyXformat2Token): update because minipage
11811         width is now a LyXLength
11812
11813         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11814
11815         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11816         math insets
11817
11818 2002-01-17  Juergen Vigna  <jug@sad.it>
11819
11820         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11821
11822         * BufferView2.C (lockInset): call edit() so that theLockingInset()
11823         is set correctly and the inset is updated correctly.
11824
11825 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11826
11827         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11828         the beginning of the loop.
11829
11830 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
11831
11832         * lyxrc.C: improve help for use_scalable_fonts
11833
11834 2002-01-17  Allan Rae  <rae@lyx.org>
11835
11836         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11837
11838 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11839
11840         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11841         make sure to set their inset_owner to the right value (bug #171)
11842
11843 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
11844
11845         * DepTable.h
11846         * DepTable.C: Implement mtime checking to reduce time spent doing
11847         CRCs.
11848
11849 2002-01-16  Juergen Vigna  <jug@sad.it>
11850
11851         * tabular.C (GetAdditionalHeight): one of error fixed.
11852
11853         * lyxrc.C (output): small fix in writing use_pspell.
11854
11855 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
11856
11857         * sp_base.h: #include LString.h
11858
11859 2002-01-16  Allan Rae  <rae@lyx.org>
11860
11861         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
11862         Can someone check this please?
11863
11864         * text.C (drawInset): It was possible that p.row would be removed by
11865         breakAgainOneRow upsetting a few other settings.  There may be another
11866         small tweak possible by setting need_break_row = 0 when p.row has been
11867         removed but I don't know enough about the logic here.
11868
11869 2002-01-15  Allan Rae  <rae@lyx.org>
11870
11871         * text.C (insertChar): removed conditional truism.
11872
11873         * BufferView2.C (removeAutoInsets): More tweaks.
11874         cur_par_prev could be a stray pointer.  Check for trailing empty line
11875         in case last line was cur_par and only had an error inset on it.
11876
11877 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11878
11879         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11880         absolute
11881
11882         * vc-backend.C (most methods):
11883         * exporter.C (Export):
11884         * converter.C (convert):
11885         (runLaTeX):
11886         * LyXSendto.C (SendtoApplyCB):
11887         * lyxfunc.C (dispatch):
11888         (menuNew):
11889         (open):
11890         (doImport):
11891         * lyx_cb.C (AutoSave):
11892         (InsertAsciiFile):
11893         * BufferView_pimpl.C (MenuInsertLyXFile):
11894         * buffer.C (runChktex): use Buffer::filePath().
11895
11896         * buffer.h: rename filename to filename_; rename filepath to
11897         filepath_ and make it private
11898         (filePath): new method
11899
11900         * buffer.C (writeFile): use fileName()
11901         (getLatexName):
11902
11903         * lyx_main.C (init): fix starting  of LyX when the binary is a
11904         link from so,ewhere else.
11905
11906         * minibuffer.C: include <cctype> for isprint
11907
11908 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11909
11910         * buffer.C (parseSingleLyXformat2Token): changes associated with the
11911         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11912         name clash with InsetCollapsable's width function.
11913
11914 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11915
11916         * lastfiles.C: include <iterator>
11917
11918 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11919
11920         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11921         std::count.
11922
11923         * buffer.C (makeLaTeXFile): ditto.
11924         Also make loop operation more transparent.
11925
11926 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11927
11928         * ToolbarDefaults.C: remove trailing comma closing namespace.
11929
11930         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11931
11932         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11933         as in WorkArea.
11934
11935         * trans.C (Load): comment out unused variable, allowed.
11936
11937 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11938
11939         * minibuffer.[Ch] (append_char): new method to recieve input from the
11940         drop-down completion browser. If a key was pressed, then recieve this
11941         char and append it to the existing string.
11942         (peek_event): modify the positioning data passed to the completion
11943         browser so that it can be placed above the minibuffer rather than below.
11944 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11945
11946         * LyXAction.C (init): alloe error-next for readonly documents.
11947
11948         * BufferView2.C (ChangeRefsIfUnique): use standard version of
11949         count.
11950
11951 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11952
11953         * bufferlist.C (readFile): create the buffer _after_ checking that
11954         the file exists.
11955
11956         * lyxfunc.C (verboseDispatch): fix handling of arguments
11957
11958         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11959
11960         * lyxrc.C: use string::erase() instead of initializing to "".
11961
11962
11963 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11964
11965         * BufferView_pimpl.h:
11966         * BufferView_pimpl.C:
11967         * WorkArea.h:
11968         * WorkArea.C:
11969         * text2.C: tell X when we have made a selection for copying
11970
11971 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11972
11973         * BufferView_pimpl.C (MenuInsertLyXFile):
11974         * lyxfunc.C (menuNew):
11975         (open):
11976         (doImport): add shortcuts to directory buttons
11977
11978         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11979         open a float)
11980
11981         * lyxfunc.C (setStatusMessage):
11982         (getStatusMessage): new methods
11983         (getStatus):use setStatusMessage instead of setErrorMessage
11984         (dispatch): when function is disabled, set error message here
11985         [instead of in getStatus previously]
11986
11987         * BufferView_pimpl.C (workAreaButtonRelease): update
11988         toolbar/menubar here too.
11989
11990 2002-01-13  Allan Rae  <rae@lyx.org>
11991
11992         * BufferView2.C (removeAutoInsets): finished off earlier fix.
11993         Now seems indestructible.  Remaining task is to audit all other
11994         code affected by deleteEmptyParagraphMechanism.  One small quirk
11995         left is that an empty document with an error in the preamble can
11996         be made to report an error but no error box appears.  I don't know
11997         where it goes.
11998         (removeAutoInsets): Improved comments.
11999
12000 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
12001
12002         * Thesaurus.h:
12003         * Thesaurus.C: update for Aiksaurus 0.14
12004
12005 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12006
12007         * text2.C (firstParagraph): removed member function, all uses
12008         replaces with ownerParagraph
12009         (redoParagraphs): here
12010         (updateInset): here
12011         (toggleAppendix): here
12012         * BufferView2.C (insertErrors): here
12013         (setCursorFromRow): here
12014
12015 2002-01-13  Allan Rae  <rae@lyx.org>
12016
12017         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12018         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12019         There is still a way to segfault this although you may have to do this
12020         multiple times: Have an InsetERT with an unknown command in it.
12021         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12022         <down-arrow>, <Enter> again, View->DVI, BANG!
12023
12024         * text2.C (setCursor):
12025         (deleteEmptyParagraphMechanism):
12026         * lyxtext.h (setCursor):
12027         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12028         Making use of the return value may help fix other bugs.
12029
12030 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12031
12032         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12033
12034         * LyXView.C (updateMenubar): call MenuBar::update here
12035         (updateToolbar): but not here
12036         (showState): do not update toolbar/menubar
12037
12038         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12039         should need to care about that.
12040
12041         * lyxfunc.C (verboseDispatch): simplify a bit
12042         (getStatus): have a version which takes a pseudoaction, and
12043         another which requires a (kb_action,string).
12044
12045         * LyXAction.C (retrieveActionArg): make it work also when action
12046         is not a pseudo-action.
12047         (getActionName): simplify a bit
12048         (helpText):
12049
12050 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12051
12052         * lyxfunc.C (verboseDispatch): new families of methods with
12053         several ways to specify a command and a bool to indicate whether
12054         the command name and shortcut should be displayed in minibuffer
12055         (eventually, we could extend that to a finer bitmask like
12056         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12057         (dispatch): the pristine dispatch command which just, well,
12058         dispatchs! Note it still sets its result to minibuffer; I'm not
12059         sure we want that.
12060
12061         * lyxfunc.h: remove setHintMessage
12062
12063         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12064
12065 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12066
12067         * BufferView_pimpl.C (specialChar): delete new inset if we have
12068         not been able to insert it.
12069
12070         * kbmap.C: revert to using int instead of kb_action, since all we
12071         are dealing with is pseudo-actions.
12072
12073         * LyXAction.C (searchActionArg): change to return int instead of
12074         kb_action, since the result is a pseudoaction.
12075
12076 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
12077
12078         * buffer.C (insertErtContents): Fix (partially) the font bug.
12079
12080 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12081
12082         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12083         as the other one is broken on my machine!
12084
12085 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
12086
12087         * commandtags.h:
12088         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12089
12090 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
12091
12092         * lyxrc.[Ch]: change names and descriptions of popup font variables to
12093         reflect their actual use. Provide compatibility code for older lyxrc
12094         files.
12095
12096         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12097         FL_NORMAL_STYLE.
12098         change names of popup font variables in line with the changes to lyxrc.C
12099
12100 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12101
12102         * buffer.C (asciiParagraph): avoid outputing a word twice after
12103         an inset.
12104
12105         * lyxrc.C (getDescription): document that document_path and
12106         template_path can be empty.
12107
12108 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12109
12110         * LaTeXFeatures.C (getMacros):
12111         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12112
12113         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12114
12115         * LaTeXFeatures.C (useFloat): require "float" here instead of in
12116         getPackages.
12117         (getPackages): rename feature "floats" to "float". Use an array to
12118         iterate over 'simple' features (i.e. just a \usepackage). Add
12119         handling of "amsmath" (renamed from "amsstyle").
12120
12121 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
12122
12123         * LaTeXFeatures.C (require): Prevent duplicate entries in the
12124         features list.
12125
12126 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
12127
12128         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12129         FuncStaus::FuncStatus & FuncStaus::some_method().
12130
12131 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
12132
12133         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12134         of the func_satus stuff. Edited and massaged in various ways by
12135         JMarc.
12136
12137         * lyxfunc.C (getStatus): use FuncStatus
12138
12139 2002-01-08  Juergen Vigna  <jug@sad.it>
12140
12141         * text.C (nextBreakPoint): use function Inset::isChar().
12142
12143         * paragraph.C (TeXOnePar): use function
12144         Inset::forceDefaultParagraphs.
12145
12146         * buffer.C (latexParagraphs): use function
12147         Inset::forceDefaultParagraphs.
12148
12149 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12150
12151         * lyx_gui.C (init): set the style of the menu popups to
12152         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12153
12154 2002-01-07  Juergen Vigna  <jug@sad.it>
12155
12156         * text.C (setHeightOfRow): small fix
12157         (prepareToPrint): don't look at alignment if we don't have the place
12158         for doing it.
12159
12160 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12161
12162         * box.C: New file. Move the Box methods and functions out of box.h,
12163         following Lars' suggestion.
12164
12165 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12166
12167         * box.h: #include "support/LOstream.h", needed for inlined function.
12168
12169         * lyxtextclass.C:
12170         * lyxtextclasslist.C: added some using std declarations.
12171
12172 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
12173
12174         * box.h: make signed dimensions to allow insets wider than
12175           the screen (bug #162)
12176
12177         * BufferView_pimpl.C: add some insetHit debug
12178
12179 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
12180
12181         * vc-backend.C: add FIXME
12182
12183 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12184
12185         * lyxfunc.C (getStatus): enable code for showing math font status
12186         in toolbar/menu.
12187
12188 2002-01-07  Juergen Vigna  <jug@sad.it>
12189
12190         * text.C (nextBreakPoint): removed debug output not needed anymore.
12191
12192 2002-01-06  Juergen Vigna  <jug@sad.it>
12193
12194         * text.C (nextBreakPoint): fixed up this function we had this bug
12195         since ever but now hopefully we break row better.
12196         (insertChar): we have to check if an inset is the next char as it
12197         could now happen that a large inset is causing a break.
12198
12199 2002-01-05  Juergen Vigna  <jug@sad.it>
12200
12201         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12202         if it doesn't like to be drawed.
12203
12204 2002-01-04  Juergen Vigna  <jug@sad.it>
12205
12206         * BufferView2.C (lockInset): forgot to set a cursor.
12207
12208         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12209
12210 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
12211
12212         * FormMathsPanel.C:
12213         * FormMathsPanel.h
12214         * MathsSymbols.C:
12215         * form_maths_panel.C:
12216         * form_maths_panel.h:
12217         * form_maths_panel.fd: implemented sub- and super- buttons in math
12218         panel.
12219
12220         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12221         (or ^ space) to be used as in TeX (req'd by André).
12222
12223         * lyxfunc.C: Allow ^ and _ again to be used both as
12224         super/subscript (mathed) and as themselves (in text).
12225
12226 2002-01-03  Allan Rae  <rae@lyx.org>
12227
12228         * LyXView.C (updateWindowTitle): Setup a short icon title of either
12229         "LyX" or the filename of the current buffer if it has one.  This is a
12230         modified form of John Levon's patch.
12231
12232         * XFormsView.C (setWindowTitle): also set icon title.
12233
12234         * LyXView.h (setWindowTitle): signature changed.
12235         * XFormsView.h (setWindowTitle): ditto.
12236
12237 2002-01-02  Juergen Vigna  <jug@sad.it>
12238
12239         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12240
12241 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12242
12243         * screen.C (topCursorVisible): introduce a temp var for
12244         text->cursor.row(), handle the case where this row is null. (kindo
12245         hachish)
12246
12247         * text2.C (setCursor): add a couple of asserts.
12248
12249         * paragraph.h (inset_iterator): add -> operator
12250
12251         * paragraph.[Ch] (autoDeleteInsets): remove member function
12252
12253         * BufferView2.C (removeAutoInsets): rewrite to handle the old
12254         cursor pos correctly and handle inset deletion by itself.
12255         (insertErrors): move iterator declaration out of for expression
12256
12257         * lyxtextclass.C: add <algorithm>
12258
12259         * Makefile.am: added the new files to sources, removed layout.C
12260
12261         * layout.C: removed file
12262
12263         * layout.h: remove LYX_DUMMY_LAYOUT
12264
12265         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12266         layout.
12267
12268         * lyxlayout.[Ch]:
12269         * lyxtextclass.[Ch]:
12270         * lyxtextclasslist.[Ch]: new files
12271
12272         * include order changes to a lot of files, also changes because of
12273         the six new files.
12274
12275 2001-12-27  Juergen Vigna  <jug@sad.it>
12276
12277         * buffer.C (asciiParagraph): more fixes.
12278
12279         * tabular.C (ascii): make ascii export support export of only the
12280         data separated by a column-delimiter.
12281         (ascii): better support for ascii export.
12282
12283         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12284
12285 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12286
12287         * tabular_funcs.C: use a "using std::getline" instead of the
12288         previous fix from Angus (necessary for cxx + lyxstring)
12289
12290 2001-12-24  Juergen Vigna  <jug@sad.it>
12291
12292         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12293
12294         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12295         problems. First check a minipage also if we have some ert-contents
12296         (not only on par->size(), second set the right depth of the paragraph
12297         on the relink to the root-paragraph-list!
12298
12299         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12300         which then did not anymore update the main paragraphs on undo/redo!
12301
12302 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12303
12304         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12305         code. Support all font-changing funcs (even those which are not in
12306         menu currently). Support for reporting font settings in
12307         mathed (disabled until Andre provides a function on mathed's side).
12308
12309         * func_status.h (toggle): small helper function to set toggle
12310         state on a flag.
12311
12312 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
12313
12314         * tabular_funcs.C: getline -> std::getline
12315
12316 2001-12-21  Juergen Vigna  <jug@sad.it>
12317
12318         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12319         accessed and could be 0 (I couldn't generate this but it seems
12320         Michael could!).
12321
12322 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12323
12324         * tabular_funcs.C: add LIstream.h, move write_attribute to..
12325         * tabular_funcs.h: here and include iosfwd
12326
12327 2001-12-20  Juergen Vigna  <jug@sad.it>
12328
12329         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12330         inside inset but undo_par was.
12331
12332 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12333
12334         * Thesaurus.C: always include <config.h> in sources.
12335
12336         * Painter.h:
12337         * lyxlookup.h:
12338         * box.h: do not include <config.h> in header files
12339
12340         * text.C (paintLastRow): remove unused variable
12341
12342         * text.C (transformChar):
12343         (insertChar):
12344         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12345
12346         * Painter.C (text):
12347         * font.C (width): rewrite to use uppercase() instead of
12348         islower/toupper.
12349
12350         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12351
12352 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
12353
12354         * lyxfind.C: clean up of find failure position change
12355
12356 2001-12-20  Juergen Vigna  <jug@sad.it>
12357
12358         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12359
12360         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12361         (TeXRow): added to LaTeX a single tabular row.
12362         (TeXLongtableHeaderFooter): added to output LT-h/f data.
12363         (Latex): simplified and finally good LT-h/f support.
12364         (various_functions): just small adaptions for LT-h/f support.
12365
12366         * tabular_funcs.[hC]: added and moved here all not classfunctions
12367         of LyXTabular.
12368
12369 2001-12-19  Juergen Vigna  <jug@sad.it>
12370
12371         * tabular.[Ch]: better support for longtabular options (not finished
12372         yet!)
12373
12374 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12375
12376         * text.C (paintLastRow): use the label font instead of the font of
12377         the last character to compute the size of *_BOX. This makes more
12378         sense and avoids a crash with empty paragraphs.
12379         Use Painter::rectangle to draw EMPTY_BOX.
12380
12381 2001-12-19  Juergen Vigna  <jug@sad.it>
12382
12383         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12384         the paragraphs if the replaced paragraph is not the first one!
12385         Tried to delete not used paragraphs but does not work yet so for
12386         now it's inside #ifdef's and by default off!
12387
12388 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12389
12390         * MenuBackend.C: include "lyx_main.h" instead of declaring
12391         lastfiles (actually was declared as LastFiles* instead of a
12392         scoped_ptr).
12393
12394 2001-12-17  Juergen Vigna  <jug@sad.it>
12395
12396         * tabular.C (AppendColumn): applied John's fix
12397
12398 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
12399
12400         * BufferView.h:
12401         * BufferView.C:
12402         * BufferView_pimpl.h:
12403         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12404
12405         * Makefile.am:
12406         * box.h: new start of class for above
12407
12408         * lyxfunc.C: ignore space-only minibuffer dispatches.
12409           Show the command name when it doesn't exist
12410
12411         * minibuffer.C: don't add empty lines to the history
12412
12413         * minibuffer.C: add a space on dropdown completion
12414
12415 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
12416
12417         * text.C: fix line above/below drawing in insets
12418
12419 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12420
12421         * lyxlength.C (LyXLength): Initialize private variables.
12422
12423 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
12424
12425         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12426         when inserting error insets.
12427
12428 2001-12-13  Juergen Vigna  <jug@sad.it>
12429
12430         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12431         actually sometimes the before-paragraph.
12432         (setUndo): don't clear the redostack if we're not actually undoing!
12433
12434 2001-12-06  Juergen Vigna  <jug@sad.it>
12435
12436         * undo_funcs.C (textHandleUndo): well after John's hint I got here
12437         and fixed redoing of main paragraph, so we can use it now ;)
12438
12439         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12440
12441 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12442
12443         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12444         Juergen's request
12445
12446 2001-12-13  André Pönitz <poenitz@gmx.net>
12447
12448         * undostack.[Ch]:
12449         * undo_func.C: minor cleanup
12450
12451 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12452
12453         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12454         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12455         font in urw-fonts package which is marked as -urw-fontspecific and
12456         does not work (incidentally, changing the encoding in the
12457         fonts.dir of this package to -adobe-fontspecific fixes the
12458         problem).
12459
12460         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12461         is a crash when undoing first paragraph (Juergen, please take a
12462         look). THis does not mean the undo fix is wrong, just that it
12463         uncovers problems.
12464
12465         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12466         the (Paragraph*) version when needed instead of duplicating the
12467         code.
12468
12469         * text.C (workWidth): use Inset::parOwner to find out where the
12470         inset has been inserted. This is a huge performance gain for large
12471         documents with lots of insets. If Inset::parOwner is not set, fall
12472         back on the brute force method
12473
12474         * paragraph_pimpl.C (insertInset):
12475         * paragraph.C (Paragraph):
12476         (cutIntoMinibuffer): set parOwner of insets when
12477         inserting/removing them
12478
12479         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12480
12481 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
12482
12483         * commandtags.h:
12484         * LyXAction.C:
12485         * lyx_main.C:
12486         * lyxfunc.C:
12487         * mathed/formulabase.C:
12488         * mathed/math_cursor.[Ch]:
12489         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12490
12491
12492 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12493
12494         * lyxlength.[Ch] (operator!=): new function
12495
12496 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12497
12498         * text.C (workWidth): use Inset::parOwner to find out where the
12499         inset has been inserted. This is a huge performance gain for large
12500         documents with lots of insets. If Inset::parOwner is not set, fall
12501         back on the brute force method
12502
12503         * paragraph_pimpl.C (insertInset):
12504         * paragraph.C (Paragraph):
12505         (cutIntoMinibuffer): set parOwner of insets when
12506         inserting/removing them
12507
12508         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12509
12510 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12511
12512         * tabular-old.C (getTokenValue):
12513         * tabular.C (getTokenValue):
12514         (write_attribute): new versions for LyXLength
12515         (everywhere): adjust the use of widths
12516
12517         * tabular.h: change the type of widths from string to LyXLength
12518
12519 2001-12-11  Ben Stanley <bds02@uow.edu.au>
12520
12521         * paragraph.C: fixed missing line number count when exporting
12522         Environments to LaTeX file
12523
12524         * buffer.C: added informational message for checking line numbers.
12525
12526 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12527
12528         * text2.C (deleteEmptyParagraphMechanism): if there is only one
12529         paragraph, do the 'double space' part, but not the 'empty
12530         paragraph' one.
12531
12532         * text.C (workWidth): small optimization
12533         (getLengthMarkerHeight): use minimal size for negative lengths.
12534
12535 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
12536
12537         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12538
12539         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12540
12541 2001-12-11  André Pönitz <poenitz@gmx.net>
12542
12543         * FontLoader.C:
12544         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12545
12546 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12547
12548         * text2.C: keep selection on a setFont()
12549
12550 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12551
12552         * lyx_cb.C: another bv->text misuse, from insert label
12553
12554 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12555
12556         * kbsequence.h:
12557         * kbsequence.C: re-instate nmodifier mask
12558
12559 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
12560
12561         * lyx_main.h: make lyxGUI private.
12562
12563 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12564
12565         * lyxfind.C: place the cursor correctly on failed search
12566
12567 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12568
12569         * text.C (getLengthMarkerHeight): for small heights, the arrows
12570         are not always on top/bottom of the text
12571         (drawLengthMarker): smaller arrows; take the left margin in
12572         account; draw also vfills.
12573         (paintFirstRow):
12574         (paintLastRow): remove special code for vfill and standard spaces,
12575         since everything is handled in drawLengthMarker now.
12576
12577 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12578
12579         * buffer.C (insertErtContents): try to handle font and language
12580         interaction a bit better.g
12581
12582         * ColorHandler.C (updateColor): change the hash to cover the whole
12583         LColor enum, ws cleanup
12584         (getGCLinepars): ditto
12585         (getGCLinepars): only lookup in the linecache once.
12586
12587 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
12588
12589         * iterators.C (operator++): Make the iterator more robust
12590
12591         * BufferView2.C (removeAutoInsets): Use paragraph iterators
12592         (John's patch)
12593         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12594
12595 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12596
12597         * lyxtext.h:
12598         * text.C: better added space drawing
12599
12600 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12601
12602         * LyXView.C:
12603         * BufferView2.C: fix layout combo update on inset unlock
12604
12605 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12606
12607         * Makefile.am: don't compile unused files
12608
12609 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12610
12611         * lyxfunc.C:
12612         * commandtags.h:
12613         * LyXAction.C: remove old LFUN_LAYOUTNO
12614
12615 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12616
12617         * paragraph_pimpl.h:
12618         * paragraph_pimpl.C: isTextAt() doesn't need font param
12619
12620 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12621
12622         * lyxlex.h:
12623         * lyxlex.C: little cleanup
12624
12625 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12626
12627         * BufferView_pimpl.C: fix insertAscii for insets
12628
12629 2001-12-05  Juergen Vigna  <jug@sad.it>
12630
12631         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12632         set the right font on the "multi" paragraph paste!
12633
12634 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12635
12636         * trans_decl.h:
12637         * trans_mgr.[Ch]:
12638         * trans.[Ch]:
12639         * lyxgluelength.C:
12640         * lyxlength.C: remove out-commented code.
12641
12642         * BufferView_pimpl:
12643         * CutAndPaste.C:
12644         * DepTable.C:
12645         * buffer.C:
12646         * chset.C:
12647         * lastfiles.C:
12648         * lyxlex.C:
12649         * lyxlex_pimpl.C:
12650         * lyxserver.C:
12651         * screen.C:
12652         * tabular-old.C:
12653         * tabular.C:
12654         * text.C:
12655         * trans_mgr.C:
12656         * vc-backend.C: change "while(" to "while ("
12657
12658         * lyxlength.[Ch]: add zero function to check if length is zero or
12659         not
12660         * lyxgluelength.C: use it
12661
12662 2001-12-05  Allan Rae  <rae@lyx.org>
12663
12664         * lyxlength.C: Attempted a fix for the abs(int) header selection.
12665         Works for 2.95.3, from what I understand of Garst's reports this should
12666         work for other g++ versions.  We're screwed if the abs(int) definition
12667         changed between bugfix releases of gcc.
12668
12669 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12670
12671         * text.C: fix chapter label offset !
12672
12673 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12674
12675         * lyxtext.h:
12676         * text.C: fix hfill at end of line, clean up
12677
12678 2001-12-04  Juergen Vigna  <jug@sad.it>
12679
12680         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12681         that we force an update of the inset and it's owners if neccessary.
12682
12683 2001-12-03  Juergen Vigna  <jug@sad.it>
12684
12685         * text.C (rowLast): simplified code
12686
12687 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12688
12689         * lyxfunc.C: fix show options on timeout
12690
12691 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12692
12693         * screen.C (topCursorVisible): scroll half a page when the cursor
12694         reached top of bottom of screen
12695
12696 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
12697
12698         * minibuffer.C: deactivate on loss of focus
12699
12700 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12701
12702         * vspace.[Ch] (operator!=): add operator.
12703
12704 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
12705
12706         * BufferView_pimpl.C: refuse to open an inset when
12707         there's a selection.
12708
12709 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
12710
12711         * BufferView_pimpl.C: allow to click on RHS of full row insets
12712
12713 2001-11-30  Juergen Vigna  <jug@sad.it>
12714
12715         * tabular.C (LyXTabular): add a same_id to set the same id's in the
12716         insets for undo reasons.
12717
12718 2001-11-28  André Pönitz <poenitz@gmx.net>
12719
12720         * vspace.[Ch]: cosmetical changes
12721
12722 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12723
12724         * LyXAction.h:
12725         * LyXAction.C:
12726         * lyxfunc.h:
12727         * lyxfunc.C:
12728         * kbmap.h:
12729         * kbmap.C:
12730         * lyxrc.C:
12731         * kbsequence.h:
12732         * kbsequence.C: part re-write of old kb code
12733
12734         * Painter.C:
12735         * WorkArea.C: remove Lgb_bug_find_hack
12736
12737 2001-11-30  José Matos <jamatos@fep.up.pt>
12738
12739         * buffer.C (makeDocBookFile): add a comment to point a hack.
12740         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12741         Fixed a double write of labels.
12742
12743 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12744
12745         * LaTeX.C:
12746         * LaTeX.h Fixed bug in LaTeX class where it would not
12747         re-run latex if no depfiles were changed, but the .dvi was removed.
12748
12749 2001-11-28  André Pönitz <poenitz@gmx.net>
12750
12751         * all the files from the change on 2001/11/26:
12752         use lyx::layout_type instead of LyXTextClass::size_type
12753         use lyx::textclass_type instead of LyXTextClassList::size_type
12754
12755 2001-11-29  Juergen Vigna  <jug@sad.it>
12756
12757         * text.C: added support for paragraph::isFreeSpacing()
12758
12759         * buffer.C: same as above
12760
12761         * paragraph.h: inserted isFreeSpacing() function to enable
12762         FreeSpacing inside InsetERT.
12763
12764         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12765         of the paragraph's in the cut/copy buffer to 0!
12766
12767         * text2.C (removeRow): remove the assert as it can!
12768
12769         * lyxtext.h: added helper function firstRow returning firstrow and
12770         made firstrow private again.
12771
12772         * BufferView2.C (lockInset): don't relock if we're already locked!
12773
12774         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12775         the only paragraph.
12776         (removeRow): added Assert::(firstrow)
12777
12778         * debug.C: forgot to add INSETTEXT here.
12779
12780 2001-11-28  Juergen Vigna  <jug@sad.it>
12781
12782         * sp_spell.C (initialize): changed error text to more general
12783         spellchecker command use (not only ispell!)
12784
12785         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12786
12787         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12788
12789 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12790
12791         * vspace.C: initialise lyxgluelength on failure
12792
12793 2001-11-28  Allan Rae  <rae@lyx.org>
12794
12795         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12796         declaration & definition that looks like a function declaration.
12797
12798 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12799
12800         * BufferView2.C (copy):
12801         (copyEnvironment): do not clear the selection when doing a copy.
12802
12803         * text.C (paintFirstRow): compilation fix
12804
12805 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
12806
12807         * tabular.C (Latex): correct line count when writing latex.
12808
12809 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
12810
12811         * paragraph_pimpl.h:
12812         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12813           bug a bit
12814
12815 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12816
12817         * text.C:
12818         * LColor.h:
12819         * LColor.C: change vfillline->added_space
12820
12821         * text.C: add markers and text for added space
12822
12823         * vspace.C: fix comment
12824
12825 2001-11-28  André Pönitz <poenitz@gmx.net>
12826
12827         * paragraph.C: whitespace changes
12828         * all the other files from the change on 2001/11/26:
12829         change *::pos_type into lyx::pos_type
12830
12831 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
12832
12833         * buffer.C (parseSingleLyXformat2Token): Set the language to the
12834         language of the document when inserting error insets.
12835
12836 2001-11-26  André Pönitz <poenitz@gmx.net>
12837
12838         * BufferView_pimpl.[Ch]:
12839         *       CutAndPaste.C:
12840         * buffer.[Ch]:
12841         * lyxcursor.[Ch]:
12842         * lyxfind.C:
12843         * lyxfunc.C:
12844         * lyxrow.[Ch]:
12845         * paragraph.[Ch]:
12846         * paragraph_pimpl.[Ch]:
12847         * sp_spell.C:
12848         * text.C:
12849         * text2.C: reduce header dependencies, introduce type for positions
12850
12851 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12852
12853         * <various>: change to use Alert.h
12854
12855 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
12856
12857         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12858         when encountering an unknown token.
12859         (readLyXformat2): Show an error message if there were unknown tokens.
12860
12861 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
12862
12863         * BufferView2.C:
12864         * BufferView_pimpl.C:
12865         * buffer.C:
12866         * paragraph.h:
12867         * text.C:
12868         * text2.C: use par->isInset()
12869
12870 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12871
12872         * paragraph_pimpl.h:
12873         * paragraph_pimpl.C: cleanup
12874
12875 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12876
12877         * text2.C (removeRow):
12878         * text.C (setHeightOfRow): remove useless (and costly) call to
12879         getRow.
12880
12881 2001-11-20  Allan Rae  <rae@lyx.org>
12882
12883         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12884         Now need Inset*::checkInsertChar() to return true for appropriate
12885         cases so that the characters in the minibuffer will actually be
12886         inserted.
12887
12888 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12889
12890         * text.C: change the order of the includes.
12891         (workWidth): initialize it at once.
12892         (workWidth): make maxw unsigned
12893         (setHeightOfRow): remove unused variable (inset)
12894         (selectSelectedWord): remove unused variable (inset)
12895         (paintRowText): fix drawing of hfill characters, and clean up a bit.
12896
12897 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12898
12899         * lyxserver.C (emergencyCleanup): do not try to close pipes if
12900         server is not running.
12901         (openConnection):
12902         (closeConnection): add debug info when server is disabled.
12903
12904         * ColorHandler.C (getGCForeground): send debug message to GUI
12905         channel.
12906
12907         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12908
12909         * kbmap.C (bind): modify because return conventions of
12910         kb_sequence::parse have changed.
12911
12912         * kbsequence.C (parse): only ignore spaces and not any stupid
12913         control character. This avoids tests like s[i] <= ' ', which are
12914         guaranteed to fail with 8bit characters and signed chars.
12915         Change return code to string::npos when there have been no error
12916         (0 was a bad idea when error is at first character)
12917
12918 2001-11-14  José Matos  <jamatos@fep.up.pt>
12919
12920         * buffer.h:
12921         * buffer.C (simpleDocBookOnePar): removed unused argument.
12922
12923 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12924
12925         * text.C (selectNextWordToSpellcheck): do not test explicitely for
12926         insets which are part of a word. Paragraph::isLetter takes care of
12927         that now. Use Paragraph::isInset to identify insets.
12928         (selectSelectedWord): do not test for hyphenation break.
12929
12930         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12931         that protected spaces are considered as spaces.
12932
12933         * paragraph.C (isLetter): cleanup the code for ispell extras; use
12934         Inset::isLetter.
12935
12936 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
12937
12938         * lyxserver.h:
12939         * lyxserver.C: fix it. and small cleanup.
12940
12941 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12942
12943         * BufferView_pimpl.C: use inline helpers
12944
12945         * LaTeXFeatures.h:
12946         * LaTeXFeatures.C: fix typos
12947
12948         * Spacing.h:
12949         * Spacing.C: move spacing_string into class
12950
12951         * ToolbarDefaults.C: move stuff into namespace anon
12952
12953         * layout.h: update enum
12954
12955         * lyxfunc.C: use better debug
12956
12957         * minibuffer.h: fix typo
12958
12959         * debug.h:
12960         * debug.C:
12961         * WorkArea.C: add and use Debug::WORKAREA
12962
12963         * lyxtext.h:
12964         * text.C:
12965         * text2.C: code re-organisation, inline helpers
12966
12967 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
12968
12969         * Layout.C: replaced a few cases of std::vector.size() == 0 with
12970         std::vector.empty().
12971
12972 2001-11-09  Allan Rae  <rae@lyx.org>
12973
12974         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12975         '\n's after tables.  Tabular and ERT inset work now makes this no
12976         longer necessary.
12977
12978 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12979
12980         * minibuffer.h:
12981         * minibuffer.C: fix crash, improve drop-down completion
12982
12983 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
12984
12985         * lyxserver.h:
12986         * lyxserver.C: invalidate fd's when doing endPipe()
12987
12988 2001-11-08  José Matos  <jamatos@fep.up.pt>
12989
12990         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12991         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12992
12993         * paragraph.h:
12994         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12995
12996 2001-11-07  José Matos  <jamatos@fep.up.pt>
12997
12998         * buffer.h:
12999         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13000         const qualifier.
13001
13002         * buffer.C (sgmlOpenTag):
13003         * buffer.C (sgmlCloseTag): removed debug info.
13004
13005         * buffer.h (sgmlOpenTag):
13006         * buffer.h (sgmlCloseTag): made public.
13007
13008 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13009
13010         * buffer.C (saveParamsAsDefaults):
13011         * lyx_cb.C (MenuLayoutSave): remove
13012
13013         * LyXAction.C (init):
13014         * commandtags.h:
13015         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13016
13017 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13018
13019         * buffer.C (setPaperStuff): removed from here...
13020
13021         * bufferparams.C (setPaperStuff): ... and moved there.
13022
13023 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
13024
13025         * minibuffer.h:
13026         * minibuffer.C:
13027         * XFormsView.C: add support for drop-down completion
13028
13029 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
13030
13031         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13032         commands.
13033
13034 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13035
13036         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13037         disabled.
13038
13039 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
13040
13041         * lyx_main.C: change ref to known bugs
13042
13043 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
13044
13045         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13046         to work around older babel problems.
13047
13048 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13049
13050         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13051
13052 2001-10-24  Juergen Vigna  <jug@sad.it>
13053
13054         * tabular-old.C (ReadOld): below variable changes reflected.
13055
13056         * tabular.[Ch]: added ltType struct for longtable header/footer
13057         defines and changed all instances where they are used. Added
13058         future support for double top/bottom rows.
13059
13060 2001-10-24  José Matos  <jamatos@fep.up.pt>
13061
13062         * buffer.h (docbookHandleCaption):
13063         * buffer.C (docbookHandleCaption): removed unused function.
13064         (makeDocBookFile): moved docbook supported version to v4.1.
13065
13066 2001-10-24  José Matos  <jamatos@fep.up.pt>
13067
13068         * tabular.h:
13069         * tabular.C (docbookRow): new function to export docbook code of a row.
13070         (DocBook): now honors the longtable flags.
13071
13072 2001-10-23  José Matos  <jamatos@fep.up.pt>
13073
13074         * LaTeXFeatures.h:
13075         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13076         of the lyx defined sgml entities used in a docbook/linuxdoc document.
13077
13078         * buffer.C (makeLinuxDocFile):
13079         (makeDocBookFile): reworked the preamble, more clean, and with
13080         support for lyx defined entities. Changed the document declaration
13081         to be more XML friendly.
13082
13083         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13084         if we need to output XML that should be done with a filter.
13085
13086 2001-10-22  Juergen Vigna  <jug@sad.it>
13087
13088         * sp_pspell.h (class PSpell): add alive function needed in the
13089         controller to see if the spellchecker could be started.
13090
13091 2001-10-22  Juergen Vigna  <jug@sad.it>
13092
13093         * buffer.C (insertStringAsLines): modify the font for inserting
13094         chars in certain conditions by calling checkInsertChar(font).
13095
13096 2001-10-19  Juergen Vigna  <jug@sad.it>
13097
13098         * text.C (workWidth): use getRow instead of wrong algorithm.
13099         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13100
13101 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
13102
13103         * lyxserver.h:
13104         * lyxserver.C:
13105         * lyx_main.h:
13106         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13107
13108 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13109
13110         * text.C (workWidth): do not search for the exact row when
13111         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13112         optimization for big documents.
13113
13114 2001-10-18  Juergen Vigna  <jug@sad.it>
13115
13116         * text.C (workWidth): new function with added Inset * parameter.
13117
13118 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13119
13120         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13121
13122         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13123         change return type of getColumnNearX.
13124
13125
13126         * text.C (changeRegionCase): use uppercase/lowercase instead of
13127         toupper/tolower.
13128         (leftMargin):
13129         (rightMargin): simplify code by factoring out the uses of
13130         textclasslist.
13131         (labelFill):
13132         (numberOfHfills):
13133         (setHeightOfRow):
13134         (appendParagraph): use Paragraph::size_type
13135
13136 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13137
13138         * vspace.C (asLatexString): add a missing break
13139
13140 2001-10-15  Herbert Voss  <voss@perce.de>
13141
13142         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13143
13144 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13145
13146         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13147         is not available.
13148
13149 2001-10-10  André Pönitz <poenitz@gmx.net>
13150
13151         * lyxfunc.C: removed greek_kb_flag.
13152
13153 2001-10-10  Herbert Voss  <voss@perce.de>
13154
13155         * lyx_main.C: delete global string help_lyxdir.
13156
13157 2001-10-09  Herbert Voss  <voss@perce.de>
13158
13159         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13160
13161         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13162
13163         * lyx_main.C: added global string help_lyxdir.
13164
13165         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13166
13167 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13168
13169         * lyxrc.C (set_font_norm_type): support iso8859-4
13170
13171 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
13172
13173         * LaTeX.C (deplog): add another regex for MikTeX
13174
13175 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13176
13177         * lyxrc.C (set_font_norm_type): support iso8859-3
13178
13179 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13180
13181         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13182
13183         * LaTeXFeatures.C: remove special case of french and index
13184
13185         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13186         before \begin{document}). This solves several incompatibilities.
13187
13188 2001-10-03  Garst Reese  <reese@isn.net>
13189
13190         * lyx_cb.C: change CheckTex error msg.
13191
13192 2001-10-03  José Matos  <jamatos@fep.up.pt>
13193
13194         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13195
13196 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13197
13198         * .cvsignore: update
13199
13200         * lyx_main.C (commandLineVersionInfo): use new style version info.
13201
13202         * buffer.C (writeFile):
13203         (makeLaTeXFile):
13204         (makeLinuxDocFile):
13205         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13206
13207         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13208
13209         * version.h: update to use stuff in version.C
13210
13211         * version.C.in: new file. Contains version information determined
13212         at compile time. This is a merging of version.h and
13213         version_info.h.in.
13214
13215 2001-10-03  Juergen Vigna  <jug@sad.it>
13216
13217         * BufferView_pimpl.C (update): don't change "dirty" status in
13218         updateInset call.
13219
13220 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
13221
13222         * WorkArea.C (c-tor): re-position version string slightly.
13223
13224 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
13225
13226         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13227         revert to previous code.
13228
13229         WorkArea.[Ch]: (show, destroySplash): methods removed.
13230
13231         WorkArea.C: rework code so that it's an amalgam of the codes before and
13232         after the splash screen was moved to WorkArea.
13233
13234 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13235
13236         * lyxrc.C (read):
13237         * vspace.C (inPixels):
13238         (lyx_advance):
13239         * kbmap.C (bind):
13240         * buffer.C (insertStringAsLines):
13241         (asciiParagraph): fix types to be large enough
13242
13243         * lyxlex_pimpl.h: change member status from short to int
13244
13245         * layout.h: fix type of endlabeltype
13246
13247         * kbmap.C (bind):
13248         * kbsequence.C (parse): change return type to string::size_type
13249
13250         * LaTeX.C (updateBibtexDependencies): comment out unneeded
13251         variable
13252
13253         * Bullet.C (bulletSize):
13254         (bulletEntry): do not use short ints as parameters
13255
13256         * BufferView2.C (insertLyXFile): change a char to an int.
13257
13258         * WorkArea.C (WorkArea): remove unneeded floats in computation
13259
13260 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
13261
13262         * buffer.C (asciiParagraph): Treat '\\' as other chars.
13263
13264         * paragraph.C (asString): Do not ignore newline/hfill chars when
13265         copying to the clipboard.
13266
13267 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
13268
13269         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13270         after a multi-line inset.
13271
13272 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
13273
13274         * paragraph.C (validate): Set NeedLyXFootnoteCode
13275
13276 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13277
13278         * lyxfont.C (LyXSizeNames): changed increase-error to increase
13279         and decrease-error to decrease.
13280
13281 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13282
13283         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13284         it more readable (should be equivalent)
13285
13286 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13287
13288         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13289
13290 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13291
13292         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13293         of a cursor (row, etc.) after a character has been deleted
13294         (deleteEmptyParagraphMechanism): call the method above on _all_
13295         cursors held by the LyXText when a double space has been
13296         detected/deleted.
13297
13298 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13299
13300         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13301         pixmap.
13302         (resizeCurrentBuff): remove code to destroy the old splash dialog.
13303
13304         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13305         background. Use greyOut() and the new show() methods to toggle between
13306         the foreground and background. Add code to remove the splash after
13307         its initial showing.
13308
13309         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13310         (create_forms): no longer call Dialogs::showSplash.
13311
13312 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13313
13314         * .cvsignore: add version_info.h
13315
13316 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13317
13318         * version_info.h.in: new file
13319
13320         * Makefile.am: add version_info.h.in
13321
13322         * lyx_main.C (commandLineVersionInfo): use version_info defined in
13323         version_info.h instead of VERSION_INFO
13324
13325 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
13326
13327         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13328         The ERT inset now returns string().
13329
13330 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
13331
13332         * lyxtext.h, text.C (selectNextWord): renamed as
13333         selectNextWordToSpellcheck.
13334
13335         * text.C (selectNextWordToSpellcheck): Modified to not select
13336         words inside an ERT inset.
13337
13338 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13339
13340         * lyx_cb.C (MenuLayoutSave): change a bit the question
13341
13342         * sp_base.h: include <sys/types.h>
13343
13344 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
13345
13346         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13347
13348 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
13349
13350         * several files: fix typos in user-visible strings
13351
13352 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13353
13354         * text2.C (pasteSelection): do not set the selection, since it
13355         will be cleared later. Actually, the intent was to fix the way the
13356         selection was set, but I figured rmoving the code was just as good.
13357
13358 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
13359
13360         * FontLoader.C (available): Check if font is available without
13361         loading the font.
13362
13363 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
13364
13365         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13366
13367 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
13368
13369         * lyxrc.[Ch]: added display_graphics variable and associated code.
13370
13371 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13372
13373         * bufferparams.C (hasClassDefaults): new method. Returns true if
13374         the buffer parameters correspond to known class defaults
13375
13376 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
13377
13378         * XFormsView.C (show): set minimum size to the main window.
13379
13380 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13381
13382         * text2.C (copySelection):
13383         (cutSelection):
13384         * lyxfind.C (LyXReplace):
13385         * BufferView_pimpl.C (Dispatch): pass the correct flag to
13386         LyXText::selectionAsString.
13387
13388         * paragraph.C (asString): add "label" argument to the second form
13389
13390         * text2.C (selectionAsString): add "label" argument and pass it to
13391         Paragraph::asString.
13392
13393 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13394
13395         * lyx_main.C (commandLineHelp): remove version information
13396
13397 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
13398
13399         * lyx_main.C: add -version commandline option
13400
13401 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13402
13403         * paragraph.h: make the optional constructor arg required instead.
13404         some modifications to other files because of this.
13405
13406         * minibuffer.C (C_MiniBuffer_peek_event): make it static
13407
13408         * lyxserver.C (C_LyXComm_callback): make it static
13409
13410         * lyx_main.C (error_handler): make it static
13411
13412         * lyx_gui.C (LyX_XErrHandler): make it static
13413
13414         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13415
13416         * WorkArea.C: make the extern "C" methods static.
13417
13418         * Makefile.am (lyx_LDADD): simplify
13419
13420 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13421
13422         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13423         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13424
13425         * LyXAction.C (init):
13426         * lyxfunc.C (dispatch): associated code removal.
13427
13428 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13429
13430         * lyxfont.h (isSymbolFont): shut off warning
13431
13432         * text.C (setHeightOfRow):
13433         (getVisibleRow): fix crash with empty paragraphs which have a
13434         bottom line
13435
13436 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
13437
13438         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13439         code.
13440
13441 2001-09-04  José Matos  <jamatos@fep.up.pt>
13442         * buffer.C
13443         * buffer.h
13444         * tabular.C (docbook): rename docBook method to docbook.
13445
13446 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13447
13448         * Makefile.am: add dependencies to main.o.
13449
13450 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
13451
13452         * FontLoader.C (available): Return false if !lyxrc.use_gui
13453
13454 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
13455
13456         * FontInfo.C (query):
13457         * converter.C (view):
13458         * importer.C (Import):
13459         * exporter.C (Export): Can not -> cannot.
13460
13461 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
13462
13463         * BufferView_pimpl.C: allow to create index inset even if
13464           string is empty
13465
13466 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13467
13468         * buffer.C (getLists): replace boost::tie code with an explicit pair
13469         as boost::tie can break some compilers.
13470
13471         * iterators.h: Added a std:: declaration to the return type of
13472         ParIterator::size.
13473
13474 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
13475
13476         * lyxrc.C: add help for view_dvi_paper_option, default to safe
13477           case.
13478
13479 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
13480
13481         * iterators.[Ch]: New files. Provide paragraph iterators.
13482
13483         * buffer.C (changeLanguage): Use paragraph iterators.
13484         (isMultiLingual): ditto
13485
13486         * BufferView2.C (ChangeInsets): Use paragraph iterators.
13487
13488 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
13489
13490         * FontLoader.C: Support for cmr font.
13491
13492 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
13493
13494         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13495         (available): New method.
13496
13497         * FontInfo.C (getFontname): Use scalable fonts even when
13498         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13499         found.
13500
13501 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13502
13503         * converter.C (Formats::view): reverted! Incorrect fix.
13504
13505 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13506
13507         * converter.C (Formats::view): only output the -paper option
13508         if the dvi viewer is xdvi, thereby fixing bug #233429.
13509
13510 2001-08-23  Herbert Voss  <voss@perce>
13511
13512         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13513
13514 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
13515
13516         * Spacing.h (Spacing): Set space to Default on in the default
13517         constructor.
13518
13519 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13520
13521         * vc-backend.h (RCS::versionString): add RCS to version
13522         (CVS::versionString): add CVS to version
13523
13524         * vc-backend.C (scanMaster): do not add CVS to version.
13525         (scanMaster): do not add RCS to version
13526
13527         * lyxvc.C (versionString): new method
13528
13529         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13530
13531 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13532
13533         * Spacing.C (set): initialize fval
13534
13535 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
13536
13537         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13538         " or \.
13539
13540 2001-08-16  Juergen Vigna  <jug@sad.it>
13541
13542         * lyxfunc.C (dispatch): implemented the new FINISHED states.
13543
13544 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13545
13546         * BufferView_pimpl.C:
13547         * figureForm.C:
13548         * lyxtext.h:
13549         * text2.C: setParagraph takes linespacing now
13550
13551 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
13552
13553         * LyxAction.C: add internal LFUN_CITATION_INSERT
13554
13555         * LyXView.C: actually apply fix
13556
13557         * bufferlist.C: fix open non-existent file
13558
13559         * lyxfind.C: fix indentation
13560
13561         * lyxfunc.C: remove unneeded assert, fix typo
13562
13563 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13564
13565         * MenuBackend.C: use "Floatname List"
13566
13567 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
13568
13569         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13570         when converting LaTeX layout to insetERT.
13571         Generate a non-collapsed float when reading old float
13572
13573 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13574
13575         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13576         ERT insets.
13577
13578 2001-08-13  Juergen Vigna  <jug@sad.it>
13579
13580         * text.C (fill): return 0 instead of 20 as this seems to be the more
13581         correct value.
13582
13583 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13584
13585         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13586         lyxrc.font_norm.
13587
13588 2001-08-13  Juergen Vigna  <jug@sad.it>
13589
13590         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13591         casesensitive off.
13592         (SearchBackward): comment out the unlocking of the inset_owner this
13593         should not be needed!
13594
13595 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
13596
13597         * Many files: Remove inherit_language, and add latex_language
13598
13599         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13600         collapsible insets.
13601
13602 2001-08-10  Juergen Vigna  <jug@sad.it>
13603
13604         * text.C (prepareToPrint): fixed hfill-width in draw!
13605
13606         * BufferView2.C (selectLastWord): save the selection cursor as this
13607         now is cleared in the function LyXText::clearSelection!
13608
13609 2001-08-08  Juergen Vigna  <jug@sad.it>
13610
13611         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13612         BACKSPACE type functions.
13613
13614         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13615         is only cutted from the document but not put in the cut-buffer, where
13616         still the old stuff should be.
13617
13618         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13619
13620         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13621
13622         * tabular.C (SetWidthOfCell): fixed special case where the width
13623         was not updated!
13624         (LeftLine): handle '|' in align_special.
13625         (RightLine): ditto
13626         (LeftAlreadyDrawed): ditto
13627         (SetWidthOfCell): ditto
13628
13629 2001-08-07  Juergen Vigna  <jug@sad.it>
13630
13631         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13632
13633 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13634
13635         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13636         * lyxlex.[hC]: ditto
13637
13638 2001-08-06  Juergen Vigna  <jug@sad.it>
13639
13640         * text.C (getVisibleRow): fix up row clearing a bit.
13641
13642 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13643
13644         * minibuffer.C: make sure the X server sees the changes in the input.
13645
13646 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13647
13648         * paragraph.C (getFont): split into...
13649         (getLabelFont): this
13650         (getLayoutFont): and this
13651         * paragraph_pimpl.C (realizeFont): calling this
13652
13653         * text2.C (getFont): split into...
13654         (getLayoutFont): this
13655         (getLabelFont): and this
13656         (realizeFont): all three calling this
13657
13658         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13659         files where used.
13660
13661 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13662
13663         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13664
13665 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
13666
13667         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13668         layouts from the Quote inset insertion.
13669
13670 2001-08-03  Juergen Vigna  <jug@sad.it>
13671
13672         * BufferView_pimpl.C (update): do the fitCursor only at the end!
13673
13674         * screen.C (drawFromTo): don't call fitcursor here and do the loop
13675         only if status not is already CHANGED_IN_DRAW (second level).
13676
13677         * text.C (draw): don't set the need_break_row when inside an
13678         InsetText LyXText.
13679
13680 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13681
13682         * buffer.C (parseSingleLyXformat2Token): handle more latex
13683         conversion cases.
13684
13685         * bufferview_funcs.[hC]: change function names to
13686         begin with small char, adjust other files.
13687
13688 2001-08-02  André Pönitz <poenitz@gmx.net>
13689
13690         * lyxfunc.C:
13691         BufferView_pimpl.C: remove broken special code for math-greek
13692
13693 2001-08-02  Juergen Vigna  <jug@sad.it>
13694
13695         * BufferView_pimpl.C (update): redone this function so that we
13696         update the text again if there was a CHANGE_IN_DRAW.
13697
13698         * screen.C (cursorToggle): removed LyXText parameter and recoded.
13699         (drawFromTo): added a new internal bool which is used by draw() and
13700         redraw() function.
13701         (general): some cursor drawing problems fixed.
13702
13703 2001-08-01  Juergen Vigna  <jug@sad.it>
13704
13705         * lyxfind.C (LyXFind): fixed
13706         (SearchForward): ditto
13707         (SearchBackward): ditto
13708
13709         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13710         spurius drawing of the cursor in the main area.
13711
13712         * text2.C (status): small fix which could lead to a segfault!
13713         (clearSelection): remove unneeded BufferView param.
13714
13715 2001-08-01  André Pönitz <poenitz@gmx.net>
13716
13717         * lyxfunc.C: small change due to changed mathed interface
13718
13719 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13720
13721         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13722
13723 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
13724
13725         * lyxfunc.c: fail gracefully if file doesn't exist
13726
13727         * LyXSendto.C:
13728         * buffer.C:
13729         * lyxfunc.C:
13730         * BufferView_pimpl.C: IsDirWriteable() proto changed
13731
13732         * LyXView.C: fix updateWindowTitle() to store the last title
13733
13734 2001-07-31  Juergen Vigna  <jug@sad.it>
13735
13736         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13737         the font (wrong since using of Paragraph::highestFontInRange).
13738
13739         * paragraph.C (highestFontInRange): added a default_size parameter.
13740
13741         * text.C (getVisibleRow): minor clear row changes (still not perfect).
13742         (setHeightOfRow): reformat
13743
13744 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13745
13746         * converter.[hC] + affected files: move to (inital-char)lowercase
13747         function names.
13748
13749         * ParagraphParameters.C (ParagraphParameters): remove commented code
13750
13751         * PainterBase.[Ch]: remove commented code
13752
13753         * LaTeXFeatures.h: add "bool floats" for float.sty
13754
13755         * LaTeXFeatures.C (LaTeXFeatures): init floats
13756         (require): handle float
13757         (getPackages): do it with floats
13758
13759 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13760
13761         * BufferView_pimpl.C (Dispatch): improve handling of
13762         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13763
13764         * commandtags.h: #include lyxfont.h here temporarily to avoid
13765         keybinding bug.
13766
13767         * bufferlist.h: include LString.h here.
13768
13769 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13770
13771         * text2.C (getStringToIndex): new method.
13772
13773 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
13774
13775         * *: Reduced header file dependencies all over.
13776
13777 2001-07-30  Baruch Even  <baruch@lyx.org>
13778
13779         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13780
13781 2001-07-29  Baruch Even  <baruch@lyx.org>
13782
13783         * buffer.C (readInset): Changed GRAPHICS to Graphics.
13784
13785 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13786
13787         * ParameterStruct.h (endif): add a default constructor to make
13788         sure that all variables is initialized.
13789
13790         * ParagraphParameters.C (ParagraphParameters): adjust
13791
13792 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13793
13794         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13795         index; also, check that there is something to index, and that it
13796         does not span over several paragraphs.
13797         (doubleClick): use WHOLE_WORD_STRICT for double click.
13798
13799         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13800
13801         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13802         scheme.
13803
13804 2001-07-26  Baruch Even  <baruch@lyx.org>
13805
13806         * buffer.C (readInset): Changed to call up InsetGraphics when reading
13807         an InsetFig figure, backwards compatible reading of old figure code.
13808
13809 2001-07-27  Juergen Vigna  <jug@sad.it>
13810
13811         * text2.C: font.realize function adaption.
13812
13813         * text.C (draw): add a warnings lyxerr text if needed.
13814
13815         * layout.C: font.realize function adaption.
13816
13817         * language.C: add inherit_language and implement it's handlings
13818
13819         * bufferview_funcs.C (StyleReset): remove language parameter from
13820         font creation (should be language_inherit now).
13821
13822         * bufferparams.C (writeFile): handle ignore_language.
13823
13824         * paragraph.C (getFontSettings): the language has to be resolved
13825         otherwise we have problems in LyXFont!
13826
13827         * lyxfont.C (lyxWriteChanges): added document_language parameter
13828         (update): removed unneeded language parameter
13829
13830         * paragraph.C (validate): fixed wrong output of color-package when
13831         using interface colors for certain fonts in certain environments,
13832         which should not seen as that on the final output.
13833
13834 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
13835
13836         * BufferView_pimpl.C:
13837         * Thesaurus.h:
13838         * Thesaurus.C:
13839         * Makefile.am:
13840         * commandtags.h:
13841         * LyXAction.C: add thesaurus support
13842
13843         * lyxfind.h:
13844         * lyxfind.C: add "once" parameter, for thesaurus, to not
13845           move to the next match
13846
13847 2001-07-26  Juergen Vigna  <jug@sad.it>
13848
13849         * lyxfont.C (realize): honor ignore_language too!
13850         (resolved): ditto.
13851
13852         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13853
13854         * text.C (draw): one place more for ignore_language to not draw
13855         itself!
13856
13857 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
13858
13859         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13860
13861 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13862
13863         * buffer.C (parseSingleLyXformat2Token): a more general fix for
13864         the minipage conversion problem.
13865
13866 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13867
13868         * buffer.C (parseSingleLyXformat2Token): check minipage if we
13869         insert an inset.
13870
13871 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13872
13873         * BufferView.h: don't forward declare WorkArea
13874
13875         * BufferView.C: don't include WorkArea.h
13876
13877 2001-07-25  André Pönitz <poenitz@gmx.net>
13878
13879         * commandtags.h:
13880         * LyXAction.C:
13881         * lyxfunc.C:  new LFUN 'math-space'
13882
13883         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13884
13885 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13886
13887         * text2.C (toggleInset): call open/close
13888
13889 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13890
13891         * lyxfunc.C (dispatch): add debug for the disabled case
13892
13893         * font.C (buttonText): make similar to rectText
13894
13895         * buffer.C (readInset): comment out parsing of insetlist and
13896         insttheorem
13897
13898         * PainterBase.C (rectText): small correction
13899
13900         * BufferView_pimpl.C: comment out insettheorem and insetlist
13901         * LyXAction.C: ditto
13902         * commandtags.h: ditto
13903
13904 2001-07-24  Juergen Vigna  <jug@sad.it>
13905
13906         * text.C (draw): honor the ignore_language.
13907
13908         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13909
13910 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13911
13912         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13913         char inset.
13914
13915 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13916
13917         * lyxtext.h: remove unused (and unimplemented) methods
13918
13919 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13920
13921         * text.C (getVisibleRow): honor background color
13922
13923         * PainterBase.h:
13924         * Painter.h: remove default color argument for fillRectangle
13925
13926         * text.C (backgroundColor): new method
13927
13928 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13929
13930         * text.C (getVisibleRow): adjust
13931
13932         * font.[Ch] (rectText): new method, metrics
13933         (buttonText): new method, metrics
13934
13935         * PainterBase.[hC]: make rectText and buttonText always draw and take
13936         fewer paramteres.
13937
13938 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13939
13940         * ToolbarDefaults.C (read):
13941         * MenuBackend.C (read): allow escaping in all strings
13942
13943         * BufferView_pimpl.C (insertAndEditInset): new method.
13944         (Dispatch): use insertAndEditInset whenever appropriate.
13945
13946         * BufferView_pimpl.C (insertNote): removed
13947
13948         * BufferView_pimpl.C (smartQuote): new method, moved from
13949         BufferView; if an insetquote cannot be inserted, insert a '"'
13950         character instead.
13951
13952         * BufferView2.C: remove insertCorrectQuote();
13953
13954         * lyxfunc.C (getStatus): Add support for all remaingin
13955         inset-insert lfuns.
13956
13957         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13958
13959         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13960         command (necessary to pass " as parameter of self-insert.
13961
13962         * text.C (selectWordWhenUnderCursor):
13963         (selectWord): add word_location parameter
13964         (selectWordWhenUnderCursor): same + remove special code for word
13965         boundary.
13966         (selectNextWord): use kind() to guess type of insetspecialchar,
13967         not latex().
13968
13969         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13970         (insertErtContents): create ert insets as collapsed.
13971         (readInset): better compatibility code for Info inset.
13972
13973 2001-07-20  Juergen Vigna  <jug@sad.it>
13974
13975         * lyxfunc.C (dispatch): use always LyXFind now!
13976
13977         * text2.C (init): add a reinit flag so that the LyXText can be
13978         reinited instead of deleted and reallocated (used in InsetText).
13979
13980         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13981
13982         * text.C: ditto
13983
13984         * text2.C: ditto
13985
13986 2001-07-18  Juergen Vigna  <jug@sad.it>
13987
13988         * text.C (selectNextWord): handle insets inside inset by calling
13989         always the bv->text functions so that we can go up the_locking_inset!
13990
13991         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13992         in strange locations when inside an inset!
13993
13994         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13995         handling to include insets.
13996
13997         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13998
13999 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14000
14001         * LyXAction.C (init):
14002         * commandtags.h:
14003         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14004         LIGATURE_BREAK, since the name is so stupid.
14005
14006 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14007
14008         * buffer.C (readInset): enable reading of new InsetNotes as well as old
14009         InsetInfos.
14010
14011         * FontLoader.C: remove FORMS_H_LOCATION cruft.
14012
14013         * sp_form.[Ch]: remove.
14014
14015         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14016
14017         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14018         InsetInfo.
14019
14020         * src/buffer.C (readInset): ditto.
14021
14022 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14023
14024         * BufferView_pimpl.C (specialChar): new method. Obsoletes
14025         menuSeparator(), endOfSentenceDot(), ldots() and
14026         hyphenationPoint(), which are therefore removed.
14027         (Dispatch): handle LFUN_HYPHENATION_BREAK.
14028
14029         * LyXAction.C (init):
14030         * commandtags.h: add LFUN_HYPHENATION_BREAK.
14031
14032         * paragraph.C (getWord): removed.
14033
14034         * BufferView_pimpl.C (Dispatch): use last word or selection for
14035         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14036
14037         * lyx_main.C (queryUserLyXDir): do not ask before creating
14038         user_dir, except if it has been named explicitely.
14039
14040 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14041
14042         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14043         a document of zero size.
14044
14045 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
14046
14047         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14048         approriately in the c-tor and in require().
14049         (getPackages): output the appropriate LaTeX for natbib support.
14050
14051         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14052         variables "use_natbib" and "use_numerical_citations" when reading the
14053         LyX file.
14054         (readInset): read the various natbib cite commands.
14055         (validate): white-space change.
14056
14057         * bufferparams.[Ch]: new variables "bool use_natbib" and
14058         "bool use_numerical_citations".
14059         (writeFile): output them in the LyX file.
14060
14061 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14062
14063         * lyxfunc.C (getStatus): add support for all the inset insertion
14064         commands.
14065
14066         * text2.C (insertInset):
14067         * paragraph.C (insetAllowed):
14068         * BufferView_pimpl.C (insertInset): update to take in account the
14069         renaming of insertInsetAllowed
14070
14071         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14072
14073         * text2.C (getInset): new method. returns inset at cursor position.
14074
14075         * BufferView_pimpl.C (Dispatch): changes because of this.
14076
14077         * LyXAction.C (init): rename open-stuff to inset-toggle.
14078
14079         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14080
14081         * text2.C (toggleInset): renamed from openStuff; use
14082         Inset::open().
14083
14084 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
14085
14086         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14087
14088         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14089
14090 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
14091
14092         * buffer.C (readLyXformat2): Add filename to the error dialog
14093
14094 2001-07-18  Juergen Vigna  <jug@sad.it>
14095
14096         * tabular.C (GetCellNumber): put an assert here instead of the check!
14097
14098 2001-07-17  Juergen Vigna  <jug@sad.it>
14099
14100         * BufferView_pimpl.C (toggleSelection): adapted too.
14101
14102         * text.C (selectNextWord): adapted for use with insets.
14103         (selectSelectedWord): ditto
14104
14105 2001-07-17  Juergen Vigna  <jug@sad.it>
14106
14107         * sp_spell.C (PSpell): fix initialitation order.
14108
14109 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14110
14111         * paragraph.C: spacing
14112
14113 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
14114
14115         * sp_spell.C: repair language selection for pspell
14116
14117 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14118
14119         * lyxfunc.h: change more methods to begin with lower char.
14120
14121 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
14122
14123         * buffer.C (parseSingleLyXformat2Token): Generate error insets
14124         for unknown layouts.
14125
14126 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
14127
14128         * buffer.C (readLyXformat2): Generate an error dialog if there are
14129         unknown layouts.
14130
14131 2001-07-16  Juergen Vigna  <jug@sad.it>
14132
14133         * sp_spell.C: always compile ISpell part.
14134
14135         * lyxrc.C: added use_pspell entry and it's handling.
14136
14137 2001-07-13  Juergen Vigna  <jug@sad.it>
14138
14139         * sp_spell.C: removed double includes.
14140
14141 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
14142
14143         Consistent use of Lsstream.h:
14144         * Lsstream.h: added using std::stringstream for consistencies sake.
14145
14146         * buffer.C: removed using std::stringstream
14147
14148         * lyxfont.C (stateText):
14149         * paragraph.C (asString):
14150         * text.C (selectNextWord, selectSelectedWord):
14151         * text2.C (setCounter):
14152         * vspace.C (asString, asLatexString):
14153         std::ostringstream -> ostringstream.
14154
14155 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14156
14157         * LyXAction.C: add LFUN_HELP_ABOUTLYX
14158         * commandtags.h: add LFUN_HELP_ABOUTLYX
14159         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14160
14161 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14162
14163         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14164         cursorToggle()
14165         * lyx_gui_misc.C: remove spellchecker
14166         * lyxfunc.C: showSpellchecker
14167         * sp_base.h: added
14168         * sp_ispell.h: added
14169         * sp_pspell.h: added
14170         * sp_spell.C: added
14171         * sp_form.[Ch]: removed
14172         * spellchecker.[Ch]: removed
14173
14174 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
14175
14176         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14177         is set.
14178         (simpleTeXSpecialChars): Simply print the input character without
14179         any special translation if pass_thru is set.
14180
14181         * layout.h: Added bool pass_thru to layout class for being able to
14182         implement pass through of a paragraph for Literate Programming.
14183
14184         * layout.C: add LT_PASS_THRU to LayoutTags enum.
14185         * layout.C (LyXLayout): set pass_thru to flase in constructor.
14186         * layout.C (Read): add "passthru" to list of layout tags and add
14187         code to set the pass_thru boolean when it is read.
14188
14189 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14190
14191         * trans_decl.h: remove allowed from KmodInfo
14192
14193         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14194         remove allowed code
14195         (Load): adjust
14196
14197         * paragraph_pimpl.C (erase): use boost::prior
14198
14199         * Painter.C (text): use data() instead of c_str() when length is
14200         also provided.
14201         * WorkArea.C (putClipboard): ditto
14202         * font.h (width): ditto
14203
14204         * BufferView2.C: use it-> instead of (*it). for iterators
14205         * texrow.C: ditto
14206         * paragraph_pimpl.C: ditto
14207         * paragraph.C: ditto
14208         * minibuffer.C: ditto
14209         * language.C: ditto
14210         * kbmap.C: ditto
14211         * encoding.C: ditto
14212         * counters.C: ditto
14213         * converter.C: ditto
14214         * chset.C: ditto
14215         * Variables.C: ditto
14216         * TextCache.C: ditto
14217         * MenuBackend.C: ditto
14218         * LyXAction.C: ditto
14219         * LColor.C: ditto
14220         * FloatList.C: ditto
14221         * DepTable.C: ditto
14222         * ColorHandler.C (LyXColorHandler): ditto
14223
14224 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14225
14226         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14227
14228         * text2.C (openStuff): reintroduce this method (which had been
14229         nuked in NEW_INSETS frenzy).
14230
14231         * lyxfunc.C (Dispatch): when an action has not been handled, use
14232         its name in the error message, not its number.
14233
14234         * paragraph.C (inInset): change method name to begin with lowercase.
14235
14236         * undo_funcs.C:
14237         * text2.C: updates because of this.
14238
14239 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14240
14241         * ToolbarDefaults.C (add): add spaces in error message
14242
14243 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14244
14245         * buffer.C (readLyXformat2): initialize the ert comp. variables.
14246         (readLyXformat2): rename return_par to first_par, use lyxlex's
14247         pushToken and remove the manual push handling.
14248         (parseSingleLyXformat2Token): add another ert comp. variable:
14249         in_tabular, rename return_par to first_par. handle newlines better
14250
14251 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14252
14253         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14254
14255 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14256
14257         * text2.C (getParFromID): removed
14258
14259         * buffer.C (getParFromID): new method moved form lyxtext.
14260         * BufferView2.C (insertErrors): adjust
14261         (setCursorFromRow): adjust
14262         * BufferView_pimpl.C (restorePosition): adjust
14263         * lyxfunc.C (Dispatch): adjust
14264         * undo_funcs.C (textUndo): adjust
14265         (textRedo): adjust
14266         (textHandleUndo): adjust
14267         (textHandleUndo): adjust
14268
14269 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14270
14271         * buffer.C: up' the LYX_FORMAT
14272
14273         * lyxfont.h: turn NO_LATEX on as default
14274
14275         * buffer.C (insertErtContents): new methods of tex style compability.
14276         (parseSingleLyXformat2Token): use it several places.
14277         * tabular.C (OldFormatRead): and here
14278
14279 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14280
14281         * text2.C: remove some commented code.
14282         reindent file.
14283
14284         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14285         * trans.C: changes because of the above.
14286
14287 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
14288
14289         * text2.C (setCounter): Fix counters bug with bibliography layout.
14290
14291 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14292
14293         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14294         own member functions
14295         (simpleTeXSpecialChars): ditto
14296
14297 2001-07-06  Juergen Vigna  <jug@sad.it>
14298
14299         * a lot of files: changed the access to LyXText::status and the
14300         call of undo-functions.
14301
14302         * undo.[Ch]: added a inset_id to the undo informations.
14303
14304         * undo_funcs.[Ch]: added and moved here all undo functions.
14305
14306         * lyxtext.h: give the status enum a weight, made status_ a private
14307         variable and made accessor functions for it, removed the whole bunch
14308         of undo-functions as they are now in their own file, make some
14309         functions publically available. Added function ownerParagraph with
14310         int parameter.
14311
14312         * paragraph.[Ch]: added "bool same_ids" to the constructor,
14313         made InInset() a const function, added getParFromID() function.
14314
14315         * buffer.[Ch]: added const version for inset_iterator functions,
14316         added getInsetFromID() function.
14317
14318         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14319         changed undo functions for new version.
14320
14321 2001-07-05  Juergen Vigna  <jug@sad.it>
14322
14323         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14324         unknow mechanism does not call the proper constructor but only this
14325         one also if I request the other!?
14326
14327 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14328
14329         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14330
14331         * text2.C (LyXText): use initialization lists.
14332
14333         * lyxtext.h (Selection): initialize set_ and mark_
14334         (init): remove method
14335
14336 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
14337
14338         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14339
14340 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14341
14342         * screen.[Ch]: change method names to begin with lowercase
14343
14344         * BufferView_pimpl.C (updateScrollbar): simplify further and
14345         hopefully make it a bit faster.
14346
14347 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14348
14349         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14350         calling directly xforms functions.
14351
14352         * Painter.C (Painter):
14353         * lyx_cb.C (MenuWrite):
14354         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14355         fl_display.
14356
14357         * lyx_gui.C: remove bogus guiruntime extern declaration.
14358
14359 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14360
14361         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14362         in NEW_INSETS
14363         (redoDrawingOfParagraph): ditto
14364         (redoParagraphs): ditto
14365         (cutSelection): don't create a object for CutAndPaste use the
14366         static method directly
14367         (pasteSelection): ditto
14368
14369         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14370         LyXview (+ rename)
14371
14372 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14373
14374         * modifications to some other files because of this.
14375
14376         * Makefile.am (lyx_SOURCES): add XFormsView
14377
14378         * XFormsView.[Ch]: new files
14379
14380         * LyXView.[Ch]: make LyXView a base class for the gui handling for
14381         the main window. Move the gui dependent stuff to XFormsView
14382
14383 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14384
14385         * tabular.C (GetCellInset): update cur_cell also in the row/col
14386         version of this function.
14387
14388         * lyxfunc.C: no need to include figure_form.h here.
14389
14390         * FontLoader.h:
14391         * lyxfunc.h:
14392         * lyxscreen.h:
14393         * text2.C:
14394         * lyxvc.C: no need to include forms.h here.
14395
14396 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14397
14398         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14399
14400         * lyxfunc.C (Dispatch):
14401         * Spacing.C (set):
14402         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14403         constructor argument.
14404
14405 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14406
14407         * paragraph.C (Paragraph): dont't clear, and just set layout.
14408         (makeSameLayout): use params's copy contructor.
14409
14410         * ParagraphParameters.[Ch] (makeSame): delete method
14411
14412 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
14413
14414         * Variables.[Ch]: fix indentation, rename set to isSet
14415
14416 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14417
14418         * lyxfunc.C (Dispatch): fix typo
14419
14420 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14421
14422         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14423         upper_bound.
14424
14425         * bufferlist.C: include assert.h for emergencyWrite().
14426
14427 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14428
14429         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14430           give up at last (bug #425202) !
14431
14432 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
14433
14434         * lyx_gui_misc.C:
14435         * sp_form.h:
14436         * sp_form.C:
14437         * spellchecker.h:
14438         * spellchecker.C: strip spellchecker options and bring up
14439           preferences tab instead
14440
14441 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14442
14443         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14444         the istringstream constructor
14445
14446 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14447
14448         * paragraph.C (getLayout): fix return value
14449
14450         * paragraph.h: do not declare getLayout as inline.
14451
14452         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14453
14454 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14455
14456         * lyxcursor.h (operator<): new func
14457         (operator>): new func
14458         (operator>=): new func
14459         (operator<=): new func
14460
14461         * text.C (changeCase): use selection.start and selection.end
14462         (changeRegionCase): require from to be <= to. Require par to be a
14463         valid paragraph.
14464
14465         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14466
14467 2001-06-27  Juergen Vigna  <jug@sad.it>
14468
14469         * text.C (cursorLeftOneWord): changed to return the cursor and added
14470         overlay with BufferView * parameter which calls this one.
14471         (getWord): added
14472         (selectWord): use new getWord function.
14473         (changeCase): renamed from changeWordCase as and extended to work
14474         also on selections.
14475
14476         * lyxtext.h: added enum word_location
14477
14478         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14479         changeCase as this operates now also on selections.
14480
14481 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
14482
14483         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14484
14485         * many files: send debug output to Debug::INFO instead of
14486         Debug::ANY.
14487
14488         * converter.C (View):
14489         (Convert):
14490         (Move): send debug output to Debug::FILES instead of console.
14491
14492 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
14493
14494         * lyxfunc.C (getStatus): use func_status
14495
14496         * func_status.h: new header, describing the results of
14497         LyXFunc::getStatus;
14498
14499         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14500         LFUN_MATH_HALIGN.
14501
14502 2001-06-25  The LyX Project  <jug@sad.it>
14503
14504         * buffer.C (sgmlOpenTag):
14505         (sgmlCloseTag):
14506         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
14507
14508 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14509
14510         * text2.C: remove some dead code
14511
14512         * tabular.C (GetCellInset): store the last cell checked (gotten)
14513
14514         * tabular.h: add the helper for the speedup
14515
14516         * lyxtext.h: remove some dead code
14517
14518 2001-06-26  The LyX Project  <Asger>
14519
14520         * paragraph.C: Change export to LaTeX of alignment to
14521         \begin{center} and family for better roundtrip work with reLyX.
14522
14523         * Tune the math drawing a bit.
14524
14525 2001-06-25  The LyX Project  <Asger>
14526
14527         * LColor.C (LColor): New color for math background. New color
14528         for buttons.
14529
14530 2001-06-25  The LyX Project  <jug@sad.it>
14531
14532         * lyxfunc.C (MenuNew): remove extra check for .lyx file
14533
14534         * lyxfunc.C (Open):
14535         * bufferlist.C (newFile): do not restrict to files ending with
14536         .lyx
14537
14538         * BufferView_pimpl.C (MenuInsertLyXFile):
14539
14540 2001-06-24  The LyX Project  <jug@sad.it>
14541
14542         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14543         of compare_no_case
14544
14545 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14546
14547         * lyxtext.h: rename most methods to begin with a small char.
14548         Lots of changes because of this.
14549
14550         * paragraph.C (Paragraph): do not call fitToSize
14551         (erase): call Pimpl::erase
14552         (insertChar): call Pimpl::insertChar
14553         (insertInset): call Pipl::insertInset
14554         (breakParagraph): do not call fitToSize
14555         (breakParagraphConservative): do not call fitToSize
14556         (fitToSize): remove method
14557
14558         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14559
14560 2001-06-24  The LyX Project  <Asger>
14561
14562         * Fix Qt compilation^2
14563
14564 2001-06-24  The LyX Project  <jug@sad.it>
14565
14566         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14567         depthHook(getDepth()-1).
14568
14569         * paragraph.h:
14570         * ParagraphParameters.h:
14571         * ParameterStruct.h: change type of depth to unsigned int ==
14572         depth_type. Many adaptations to other files before of that.
14573
14574 2001-06-24  The LyX Project  <Asger>
14575
14576         * Fix Qt compilation.
14577
14578 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14579
14580         * paragraph.h: renamed several methods to begin with small letter.
14581         several changes to many parts of the code because of this.
14582
14583 2001-06-23  The LyX Project  <jug@sad.it>
14584
14585         * text2.C (InsertStringAsLines): renamed from InsertStringA;
14586         rewritten to discard all double spaces when KeepEmpty is off
14587         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14588         to only handle newlines but not fiddle with spaces and friends.
14589
14590         * lyxfunc.C (MenuNew): when doing 'new from template', use
14591         template_path as default directory
14592
14593 2001-06-23  The LyX Project  <Asger>
14594
14595         * Clean-up of header file includes all over
14596         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14597
14598 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14599
14600         * paragraph.h: renamed from lyxparagraph.h
14601
14602 2001-06-23  Asger  <lyx@violet.home.sad.it>
14603
14604         * Buffer.h: Removed Buffer::resize
14605         * BufferList.h: Removed BufferList::resize
14606         * LyXView.h: Added LyXView::resize. This way, we will only reflow
14607         the document lazily when we change the width, or the font settings.
14608
14609 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14610
14611         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14612
14613 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14614
14615         * buffer.h: remove out of date comment
14616
14617 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14618
14619         * lyxscreen.h:
14620         * screen.C: fix "theoretical" GC leak
14621
14622 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14623
14624         * LaTeX.C (scanAuxFile):
14625         (deplog): remove trailing \r when reading stream (useful under
14626         win32)
14627
14628 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
14629
14630         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14631         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14632         and BufferView::theLockingInset(Inset*), so should use them and not
14633         access bv_->text->the_locking_inset directly.
14634
14635         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14636
14637 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14638
14639         * Makefile.am:
14640         * tex-defs.h: remove old unused file
14641
14642 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
14643
14644         * BufferView_pimpl.C: fix typo, remove minibuffer message
14645           when buffer has loaded
14646
14647 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14648
14649         * lyxfunc.C (Dispatch): use stringstream
14650         (MenuNew): use stringstream
14651         (Open): use stringstream
14652
14653         * importer.C (Import): use stringstream
14654
14655         * bufferview_funcs.C (CurrentState): use stringstream
14656
14657         * LaTeX.C (run): use stringstream
14658
14659         * BufferView_pimpl.C (savePosition): use stringstream
14660         (restorePosition): use stringstream
14661         (MenuInsertLyXFile): use stringstream
14662
14663 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
14664
14665         * BufferView.C:
14666         * Bullet.C:
14667         * ColorHandler.C:
14668         * FontInfo.C:
14669         * FontLoader.C:
14670         * LColor.C:
14671         * LaTeXFeatures.C:
14672         * Painter.C:
14673         * gettext.C:
14674         * lyx_gui_misc.C:
14675         * lyxserver.C:
14676         * vspace.C: removed // -*- C++ -*- as first line.
14677
14678         * lyxfind.h:
14679         * version.h: added // -*- C++ -*- as first line.
14680
14681 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14682
14683         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14684
14685         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14686         of string
14687
14688 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14689
14690         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14691         of floats.
14692
14693 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14694
14695         * gettext.C: include LString.h even when --disable-nls is on.
14696
14697 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
14698
14699         * converter.h (Get): changed argument type from int to
14700         FormatList::size_type to avoid unnecessary conversion.
14701
14702         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14703         before using it.
14704
14705 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14706
14707         * gettext.h: include LString.h even when --disable-nls is on.
14708
14709 2001-06-07  Juergen Vigna  <jug@sad.it>
14710
14711         * text.C (BreakAgain): subst spaces with tabs.
14712
14713         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14714         (resizeInsetsLyXText): set force on resizeLyXText.
14715
14716 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14717
14718         * gettext.h (gettext_init):
14719         (locale_init): use a real definition instead of a macro
14720
14721 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14722
14723         * Bufferview_pimpl.C:
14724         * LColor.h:
14725         * LColor.C: further lcolor tidies
14726
14727 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14728
14729         * BufferView_pimpl.C (updateScrollbar): simplify.
14730
14731         * BufferView2.C: don't include insets/insetinfo.h, change
14732         prototype for insertInset and call the Pimpl version. let
14733         updateInset call Pimpl version.
14734
14735         * BufferView.h: move inset_slept to BufferView::Pimpl, move
14736         gotoInset to BufferView::Pimpl
14737
14738 2001-06-01  Juergen Vigna  <jug@sad.it>
14739
14740         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14741         inside a LockingInset (is the update needed at all?).
14742
14743 2001-05-31  Juergen Vigna  <jug@sad.it>
14744
14745         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14746         here not the old one otherwise how should we compare it afterwards
14747         if it's the same!
14748
14749 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14750
14751         * lyxfont.C:
14752         * tabular.C:
14753         * tabular-old.C:
14754         * FontInfo.C: bring C functions into global namespace when
14755         necessary
14756
14757 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14758
14759         * LString.h: make sure config.h has been loaded before LString.h.
14760
14761         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14762         (one for each char read by EatLine!).
14763
14764         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14765         variables.
14766
14767 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14768
14769         * paragraph.C (BreakParagraph): set the inset_owner in the new par
14770         to the same as the par we break from
14771
14772 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14773
14774         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14775
14776         * MenuBackend.C (expand): also create menu entries for wide
14777         versions of the floats.
14778
14779         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14780
14781         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14782
14783         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14784         frontends/Makefile.am
14785
14786         * text2.C: adjust
14787         * text.C: adjust
14788
14789
14790         * tabular.C (getTokenValue): add std::
14791
14792         * tabular-old.C (getTokenValue): add std::
14793         (getTokenValue): ditto
14794         (getTokenValue): ditto
14795
14796         * screen.C (ToggleSelection): adjust
14797
14798         * lyxtext.h: put selection cursors inside a Selection struct.
14799
14800         * lyxfunc.C (moveCursorUpdate): adjust
14801
14802         * lyxfont.C (latexWriteStartChanges): add std::
14803
14804         * lyxfind.C: adjust
14805
14806         * font.h: delete with(char const *, LyXFont const &)
14807
14808         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14809
14810         * FontInfo.C (getFontname): add std::
14811
14812         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14813         (workAreaButtonPress): adjust
14814         (tripleClick): adjust
14815         (update): adjust
14816         (moveCursorUpdate): adjust
14817         (Dispatch): adjust
14818
14819         * BufferView2.C (gotoInset): adjust
14820
14821 2001-05-30  Juergen Vigna  <jug@sad.it>
14822
14823         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14824         to check pspell I add this as default as I now have new pspell
14825         libraries and they seem to use this.
14826
14827 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14828
14829         * text2.C (CutSelection): make the cursor valid before the call to
14830         ClearSelection.
14831
14832 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14833
14834         * kbsequence.C (parse): de-uglify a bit the parsing code, which
14835         relied on 0 terminated strings and other horrors. Bug found due to
14836         the new assert in lyxstring!
14837
14838         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14839         KP_ keys.
14840
14841 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14842
14843         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14844         to latinkeys.bind.
14845
14846         * lyxfunc.C (processKeySym): change method of getting to the
14847         self-insert char.
14848
14849         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14850         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14851         * BufferView_pimpl.[Ch]: here as private methods.
14852
14853 2001-05-28  Juergen Vigna  <jug@sad.it>
14854
14855         * text.C (SetHeightOfRow): added the update() call again as it is
14856         needed to initialize inset dimensions!
14857
14858 2001-05-16  Juergen Vigna  <jug@sad.it>
14859
14860         * text2.C (SetCharFont): Add new function with BufferView * and
14861         bool toggleall parameters for setting insets internal fonts.
14862         (SetFont): Freeze the undo as we may change fonts in Insets and
14863         all this change should be inside only one Undo!
14864
14865         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14866         setting font's in insets as for them we have the SetFont function!
14867
14868 2001-05-15  Juergen Vigna  <jug@sad.it>
14869
14870         * text2.C (ClearSelection): to be sure we REALLY don't have any
14871         selection anymore!
14872
14873         * tabular.C (TeXCellPreamble): fixed the left border problem for
14874         multicolumn cells.
14875
14876 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
14877
14878         * LaTeX.C (deplog): Make sure that the main .tex file is in the
14879         dependancy file
14880
14881 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14882
14883         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14884         LFUN_BREAKPARAGRAPH.
14885
14886         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14887         help test to "internal only", similar for LFUN_INSERT_URL
14888
14889         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14890         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14891         auto_region_delete and deadkeys.
14892
14893 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
14894
14895         * LColor.h:
14896         * LColor.C: remove some dead entries, tidy a little
14897
14898 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14899
14900         * lyxfunc.C (processKeySym): comment the Escape handling, remove
14901         commented code.
14902         (Dispatch): implement LFUN_ESCAPE
14903
14904         * commandtags.h: add LFUN_ESCAPE
14905
14906         * LyXAction.C (init): add entry for LFUN_ESCAPE
14907
14908         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14909         Remove commented code.
14910         (insertNote): moved here
14911         (open_new_inset): moved here
14912
14913         * BufferView[2].[Ch]: move insertNote and open_new_inset to
14914         BufferView_pimpl
14915
14916 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14917
14918         * kbmap.C (findbinding): clean it up and make it work correctly.
14919
14920         * lyx_main.C (init): do not pass argc and argv as parameters
14921
14922 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
14923
14924         * buffer.C: fix path for OS/2 & Win32
14925
14926         * lyx_gui.C:
14927         * lyx_main:
14928         * lyx_main.C: Added os:: class.
14929
14930         * os2_defines.h: update
14931
14932 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14933
14934         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14935         better by trying again with reduced state.
14936
14937 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14938
14939         * lyxrc.C (read): print error about invalid key sequence only when
14940         debugging (because not all latinX keysyms are known to some X
14941         servers)
14942
14943         * kbsequence.C (getiso): add a few std:: qualifiers
14944         (getiso): comment out extra return statement.
14945
14946 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14947
14948         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14949         handling.
14950         (Dispatch): enhance the accent inset a bit. (not perfect)
14951
14952 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14953
14954         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14955
14956 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14957
14958         * bufferlist.C (emergencyWrite): fix assert() call
14959
14960 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
14961
14962         * text.C (InsertChar): Added trivial patch to only send the "you
14963         can not do multiple spaces this way" message once during a
14964         session.
14965
14966 2001-05-08  Baruch Even  <baruch@lyx.org>
14967
14968         * Makefile.am: Changed order of libraries to get LyX to link properly
14969         with the gnome frontend.
14970
14971 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14972
14973         * LaTeXFeatures.h: add a std:: qualifier
14974
14975 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14976
14977         * paragraph.C (String): use stringstream
14978
14979 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14980
14981         * paragraph.C (writeFile): remove footflag arg
14982
14983         * buffer.C (makeLaTeXFile): use stringstream
14984         (latexParagraphs): remove footnot gurba
14985
14986         * LaTeXFeatures.C (getPackages): use stringstream
14987         (getMacros): likewise
14988         (getTClassPreamble): likewise
14989         (getFloatDefinitions): new method
14990
14991         * paragraph.C (writeFile): reindent
14992         (Erase): reindent
14993
14994         * WorkArea.h: revert the xpos + etc changes.
14995
14996         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14997
14998         * lyxparagraph.[Ch]: add copy constructor, remove Clone
14999
15000         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15001         (pasteSelection): likewise
15002         * text2.C (CreateUndo): likewise
15003
15004 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15005
15006         * minibuffer.C (peek_event): temporarily reduce the functionality
15007         of the minibuffer (to allow args on lfuns)
15008
15009         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15010         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15011
15012         * buffer.C (readInset): add compability reading of old float
15013         lists, add reading of new style float list.
15014         (readInset): avoid reevaluation of inscmd.getCmdName()
15015         (getLists): reindent
15016
15017         * MenuBackend.C (MenuItem): implement parsing of
15018         md_floatlistinsert and md_floatinsert.
15019         (expand::LastFiles): move initalizaton of iterators out of loop,
15020         avoid reevaluation.
15021         (expand::Documents): introduce typdedef vector<string> Strings,
15022         and use it.
15023         (expand::ExportFormats): introduce typedef vector<Format const *>
15024         Formats, and use it.
15025         (expand): implement FloatListInsert and FloatInsert.
15026
15027         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15028         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15029         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15030
15031         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15032         handling.
15033         (Dispatch::LFUN_FLOAT_LIST): implement
15034
15035 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15036
15037         * LaTeX.C (run): Fix problem with --export code.
15038
15039 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15040
15041         * BufferView.[Ch] (workarea): removed.
15042         (getClipboard) new method; wrapper for workarea()->getClipboard()
15043
15044         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15045         bug.
15046
15047         * WorkArea.h (width, height, xpos, ypos): These methods all
15048         returned the dimensions of the work_area sub-area of WorkArea,
15049         resulting in a position error if the WorkArea were resized. Now
15050         return the dimensions of the entire WorkArea.
15051
15052         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15053
15054 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15055
15056         * LaTeX.C (deplog): correct the syntax of regex reg1
15057
15058 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15059
15060         * undo.C: remove !NEW_INSETS cruft
15061
15062 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15063
15064         * text2.C: remove !NEW_INSETS cruft
15065
15066         * text.C: remove !NEW_INSETS cruft
15067
15068         * tabular.C: remove !NEW_INSETS cruft
15069
15070         * spellchecker.C: remove !NEW_INSETS cruft
15071
15072         * lyxtext.h: remove !NEW_INSETS cruft
15073
15074         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15075
15076         * lyxfunc.C: remove !NEW_INSETS cruft
15077
15078         * lyxfind.C: remove !NEW_INSETS cruft
15079
15080         * lyx_cb.C: remove !NEW_INSETS cruft
15081
15082         * figureForm.C: remove  !NEW_INSETS cruft
15083
15084         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15085
15086         * buffer.[Ch]: remove !NEW_INSETS cruft
15087
15088         * ToolbarDefaults.C: remove !NEW_INSETS cruft
15089
15090         * CutAndPaste.C: remove !NEW_INSETS cruft
15091
15092         * BufferView_pimpl.C: remove !NEW_INSETS cruft
15093
15094         * BufferView2.C: remove !NEW_INSETS cruft
15095
15096         * BufferView.h: remove !NEW_INSETS cruft
15097
15098 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15099
15100         * Lsstream.h: include LString.h before the sstream headers to
15101         fix problem with gcc 2.95.3 and lyxstring
15102
15103 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15104
15105         * lyx_main.C: add using directives when needed for C functions
15106         declared in std:: namespace.
15107
15108 2001-04-27  Juergen Vigna  <jug@sad.it>
15109
15110         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15111         (SetHeightOfRow): comment out the update call should not be needed!
15112
15113 2001-04-13  Juergen Vigna  <jug@sad.it>
15114
15115         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15116         (LyXTabular): tried to minimize operator= operations (and realized
15117         hopfully Lars wish).
15118
15119 2001-04-27  Juergen Vigna  <jug@sad.it>
15120
15121         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15122
15123 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15124
15125         * lyxfunc.C (Dispatch): hack to make listof algorithm work
15126
15127         * buffer.C (readInset): hack to make listof algorithm work
15128
15129         * BufferView_pimpl.C: hack to make listof algorithm work
15130
15131 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15132
15133         * LyXAction.C: removed all !NEW_INSETS cruft
15134         (init): moved lfun_item in method
15135
15136         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15137
15138 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15139
15140         * BufferView2.C (theLockingInset): white space.
15141
15142 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15143
15144         * minibuffer.C: include <iostream>
15145
15146         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15147
15148         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15149
15150         * commandtags.h: add LFUN_TRANSPOSE_CHARS
15151
15152         * text.[Ch] (TransposeChars): new method
15153
15154 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15155
15156         * call message directly through LyXView instead of through LyXFunc
15157         * BufferView2.C: adjust
15158         * BufferView_pimpl.C: adjust
15159         * FontLoader.C: adjust
15160         * buffer.C: adjust
15161         * bufferview_funcs.C: adjust
15162         * converter.C: adjust
15163         * figureForm.C: adjust
15164         * importer.C: adjust
15165         * lyx_cb.C: adjust
15166         * lyx_gui_misc.C: adjust
15167         * lyxfunc.C: adjust
15168         * lyxvc.C: adjust
15169         * text2.C: adjust
15170         + more files in subdirs
15171
15172         * lyxparagraph.h (size): move up int file
15173         (GetLayout): ditto
15174
15175         * adjust all uses of Assert to lyx::Assert.
15176
15177         * BufferView2.C (ChangeCitationsIfUnique): adjust for
15178         lyxfunctional in namespace lyx
15179         * layout.C (hasLayout): ditto
15180         (GetLayout): ditto
15181         (GetLayout): ditto
15182         (delete_layout): ditto
15183         (NumberOfClass): ditto
15184         * converter.C (GetFormat): ditto
15185         (GetNumber): ditto
15186         (Add): ditto
15187         (Delete): ditto
15188         (SetViewer): ditto
15189         * bufferlist.C (getFileNames): ditto
15190         (emergencyWriteAll): ditto
15191         (exists): ditto
15192         (getBuffer): ditto
15193         * MenuBackend.C (hasSubmenu): ditto
15194         (hasMenu): ditto
15195         (getMenu): ditto
15196         * BufferView_pimpl.C (getInsetByCode): ditto
15197
15198 2001-04-18  Juergen Vigna  <jug@sad.it>
15199
15200         * vspace.C (asLatexString): fixed the 100% problem.
15201
15202 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15203
15204         * lyxfunc.C (Dispatch):
15205         * minibuffer.C:
15206         * minibuffer.h: add a few std:: qualifiers
15207
15208 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15209
15210         * minibuffer.[Ch]: reimplement so that commands is initiated and
15211         run from lyxfunc, simplified som handling, and made the completion
15212         and history code for complete. wip.
15213
15214         * lyxfunc.C (processKeySym): call message
15215         (miniDispatch): new temporary method
15216         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15217         (LFUN_MESSAGE): implement
15218         (LFUN_MESSAGE_PUSH): implement
15219         (LFUN_MESSAGE_POP): implement
15220         (initMiniBuffer): the initial/defualt minibuffer message.
15221
15222         * lyxfont.[Ch]: inline some more getters
15223
15224         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15225
15226         * lyx_gui_misc.[Ch] (WriteStatus): remove method
15227
15228         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15229         (AutoSave): use LFUN_MESSAGE
15230         (Reconfigure): ditto
15231
15232         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15233
15234         * figureForm.C: use LFUN_MESSAGE
15235
15236         * converter.C (runLaTeX): use LFUN_MESSAGE
15237
15238         * bufferview_funcs.C: use LFUN_MESSAGE
15239         (Melt): ditto
15240         (changeDepth): ditto
15241
15242         * bufferparams.h: use boost::
15243
15244         * bufferlist.h: inherit privately from noncopyable
15245
15246         * bufferlist.C (loadLyXFile): remove some commented code.
15247
15248         * buffer.C (runChktex): use LFUN_MESSAGE
15249
15250         * ShareContainer.h: inherit privately from noncopyable
15251
15252         * ParagraphParameters.[hC] (depth): inline it.
15253
15254         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15255         methods.
15256         (message): new method
15257         (messagePush): ditto
15258         (messagePop): ditto
15259         (show): init minibuffer
15260         (showState): direct call
15261
15262         * LaTeX.[Ch]: inherit privately from noncopyable
15263         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15264         instead of WriteStatus.
15265
15266         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15267
15268         * BufferView_pimpl.C (buffer): don't init minibuffer
15269         (workAreaButtonPress): use LFUN_MESSAGE
15270         (workAreaButtonRelease): ditto
15271         (savePosition): ditto
15272         (restorePosition): ditto
15273         (MenuInsertLyXFile): ditto
15274         (workAreaExpose): don't init minibuffer
15275         (update): remove commented code, simplify
15276
15277         * BufferView2.C (openStuff): use LFUN_MESSAGE
15278         (toggleFloat): ditto
15279         (menuUndo): ditto
15280         (menuRedo): ditto
15281         (copyEnvironment): ditto
15282         (pasteEnvironment): ditto
15283         (copy): ditto
15284         (cut): ditto
15285         (paste): ditto
15286         (gotoInset): ditto
15287         (updateInset): remove some commented code
15288
15289         * lastfiles.h: inherit privately from noncopyable
15290         * layout.h: ditto
15291         * lyx_gui.h: ditto
15292         * lyx_main.h: ditto
15293         * lyxlex.h: ditto
15294         * lyxlex_pimpl.h: ditto
15295
15296         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15297         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15298         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15299
15300         * LyXAction.h: inherit privately from noncopyable, add methods
15301         func_begin, func_end, returning iterators to the func map.
15302
15303         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15304         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15305         (func_begin): new method
15306         (func_end): new method
15307
15308         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15309         and not)
15310         (copySelection): ditto
15311         (pasteSelection): ditto
15312
15313         * BufferView.C: whitespace change
15314         * BufferView.h: inherit privately from noncopyable
15315
15316 2001-04-16  Allan Rae  <rae@lyx.org>
15317
15318         * tabular-old.C (l_getline):
15319         * spellchecker.C (sc_check_word):
15320         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15321         an unrecognised preprocessor directive.  So ensure they're wrapped.
15322
15323 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
15324
15325         * src/exporter.C (Export): Give an error message when path to file
15326         contains spaces.
15327
15328 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
15329
15330         * LaTeX.C (deplog): Always check that foundfile exists.
15331
15332 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15333
15334         * lyx_main.h:
15335         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15336
15337 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15338
15339         * tabular.[Ch] (getLabelList): implement new method
15340
15341         * minibuffer.h: comment ouf setTiimer
15342
15343         * minibuffer.C (ExecutingCB): constify res
15344         (peek_event): constify s
15345         (Set): constify ntext
15346         (Init): constify nicename
15347
15348         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15349
15350         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15351         (savePosition): use two params to Minibuffer::Set
15352         (restorePosition): ditto
15353
15354 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15355
15356         * lyx_main.C: include language.h
15357
15358         * Makefile.am (lyx_main.o): add language.h
15359
15360 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15361
15362         * exporter.C:
15363         * paragraph.C:
15364         * screen.C:
15365         * tabular.C:
15366         * CutAndPaste.C: include gettext.h
15367
15368         * lyxfont.h: remove old hack with ON and OFF.
15369
15370         * lyxparagraph.h:
15371         * lyxfont.h: do not include language.h...
15372
15373         * BufferView2.C:
15374         * LaTeXFeatures.C:
15375         * Painter.C:
15376         * bufferview_funcs.C:
15377         * font.C:
15378         * lyxfont.C:
15379         * text.C:
15380         * text2.C:
15381         * trans_mgr.C:
15382         * paragraph.C: ... but do it here instead
15383
15384 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15385
15386         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15387
15388         * tabular.C: small reformat
15389
15390         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15391         NEW_INSETS version
15392         (GetChar): ditto
15393         (BreakParagraph): ditto
15394         (SetOnlyLayout): ditto
15395         (SetLayout): ditto
15396
15397         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15398         with one arg less.
15399
15400         * lastfiles.C: removed most using decl, add std:: where needed
15401
15402         * buffer.C: ws changes
15403
15404         * MenuBackend.C (class compare_format): put into anon namespace
15405         (expand): constify label, names, action, action2
15406         (expand):
15407
15408         * text.C (SingleWidth): constify font
15409         (IsBoundary): constify rtl2
15410         (GetVisibleRow): constify ww
15411
15412         * LaTeX.C (deplog): constify logfile
15413
15414         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15415         start_x, end_x
15416         (workAreaExpose): constify widthChange, heightChange
15417
15418         * lyxrow.C (par): moved
15419         (height): moved
15420         (next): moved
15421         * lyxrow.h: as inlines here
15422
15423         * lyxfont.h (shape): moved from lyxfont.C
15424         (emph): moved from lyxfont.C
15425
15426         * lyxfont.C (LyXFont): use initialization list for all
15427         constructors
15428         (shape): move to lyxfont.h as inline
15429         (emph): move to lyxfont.h as inline
15430
15431
15432 2001-04-04  Juergen Vigna  <jug@sad.it>
15433
15434         * vspace.C: had to include stdio.h for use of sscanf
15435
15436 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
15437
15438         * BufferView.h:
15439         * BufferView_pimpl.h: remove xforms cruft. Both classes are
15440         independent of xforms.
15441
15442 2001-04-02  Juergen Vigna  <jug@sad.it>
15443
15444         * spellchecker.C: fixed namespace placing!
15445
15446 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
15447
15448         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15449         the LyXParagraph * is 0.
15450
15451 2001-03-29  Juergen Vigna  <jug@sad.it>
15452
15453         * vspace.C: added support for %, c%, p%, l%.
15454         (stringFromUnit): added helper function.
15455         (asLatexString): changed to give right results for the %-values.
15456
15457         * buffer.C: convert the widthp in a width%.
15458
15459 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
15460
15461         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15462         figureForm.[Ch].
15463
15464         * figureForm.[Ch]: stripped the FD_from_figure manipulation
15465         code out of lux_cb.[Ch], ready for its (imminent?) removal.
15466
15467         * lyx_cb.[Ch]: see above.
15468
15469         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15470         form1.[Ch].
15471
15472         * form1.[Ch]:
15473         * lyx.[Ch]: replaced by figure_form.[Ch].
15474
15475         * lyx_gui.C:
15476         * lyx_gui_misc.C:
15477         * lyxfunc.C: changed headers associated with above changes.
15478
15479 2001-03-27  Juergen Vigna  <jug@sad.it>
15480
15481         * BufferView_pimpl.C: set the temporary cursor right!
15482
15483 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
15484
15485         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15486
15487 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
15488
15489         * LString.h: removed "using std::getline"!
15490
15491         * BufferView_pimpl.C (Dispatch): changes due to changes in
15492         InsetInclude::Params.
15493
15494         * buffer.C (tag_name): removed redundant break statements as they were
15495         producing lots of warnings with my compiler.
15496
15497 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15498
15499         * LString.h: add "using std::getline" when using the real <string>.
15500
15501 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
15502
15503         * buffer.C: removed bitset usage.
15504         PAR_TAG moved to an anonymous name space.
15505         (tag_name): new funtion, also in the anonymous namespace.
15506         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15507         (makeDocBookFile): clean code. Completed transition from string arrays
15508         to string vectors.
15509         (SimpleDocBookOnePar): code clean.
15510
15511 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15512
15513         * tabular.C: add some comments.
15514
15515 2001-03-22  Juergen Vigna  <jug@sad.it>
15516
15517         * buffer.C (parseSingleLyXformat2Token): redone the minipage
15518         compatibility read a bit and fixed bug with minipage in different
15519         depth.
15520
15521 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
15522
15523         * buffer.C (pop_tag): removed.
15524         (push_tag): removed.
15525         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15526         array replaced with vector. Added support for CDATA sections.
15527         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15528         at any nest level.
15529         (makeDocBookFile): XML conformant declaration of CDATA section,
15530         fixed bug related to <emphasis> in the first paragraph char.
15531         (sgmlOpenTag): exclude empty tags.
15532         (sgmlCloseTag): ditto.
15533
15534         * buffer.h (pop_tag): removed.
15535         (push_tag): removed.
15536
15537 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
15538
15539         * language.h (Languages): added size_type and size().
15540
15541 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15542
15543         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15544         response on compability reading of minipages. One probliem is that
15545         the old usage of minipages was «flertydig»
15546
15547         * several files here and in subdirs: don't use static at file
15548         scope use anon namespaces instead.
15549
15550 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
15551
15552         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15553         LaTeX output. This is necessary for Literate document
15554         processing.
15555
15556 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15557
15558         * buffer.C: insert hfill when needed.
15559
15560         * tabular.C (l_getline): use string::erase, small whitespace change.
15561
15562         * BufferView_pimpl.C: try the anon namespace.
15563         * WorkArea.C: ditto
15564
15565 2001-03-16  Juergen Vigna  <jug@sad.it>
15566
15567         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15568         otherwise it won't open options-dialogs.
15569
15570         * buffer.C: honor pextraWidth(p) on converting minipages.
15571
15572         * tabular.C (l_getline): changed the functions to strip trailing \r.
15573
15574 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
15575
15576         * BufferView_pimpl.C:
15577         * minibuffer..C: added "using SigC::slot" declaration.
15578
15579 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15580
15581         * lyxlex_pimpl.h: noncopyable is in namespace boost.
15582
15583         * text2.C: ditto
15584
15585         * text.C: ditto
15586
15587         * paragraph.C: ditto
15588
15589         * lyxtext.h: NO_PEXTRA
15590
15591         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15592
15593         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15594         * ParameterStruct.h: ditto
15595         * ParagraphParameters.h: ditto
15596         * lyxparagraph.h: ditto
15597
15598 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15599
15600         * buffer.C: add compability for minipage alignment.
15601         (latexParagraphs): remove unwanted pextra check.
15602
15603         * several files: remove CXX_WORKING_NAMESPACES
15604
15605         * buffer.C (pop_tag): tie is in namespace boost
15606
15607         * BufferView.h: noncopyable is in namespace boost
15608         * lyxlex.h: ditto
15609         * lyx_main.h: ditto
15610         * lyx_gui.h: ditto
15611         * layout.h: ditto
15612         * lastfiles.h: ditto
15613         * bufferlist.h: ditto
15614         * ShareContainer.h: ditto
15615         * LyXView.h: ditto
15616         * LyXAction.h: ditto
15617         * LaTeX.h: ditto
15618
15619 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15620
15621         * Merging changes from BRANCH_MVC back into HEAD.
15622
15623         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15624
15625 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
15626
15627         * BufferView_pimpl.C: change from intl.C
15628
15629         * combox.h:
15630         * combox.C:
15631         * Makefile.am: move combox.*
15632
15633         * form1.h:
15634         * form1.C:
15635         * lyx_gui.C:
15636         * intl.h:
15637         * intl.C: remove dialog (covered by prefs)
15638
15639 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15640
15641         * lyxfunc.C (Dispatch): removed redundant break statement.
15642
15643 2001-03-14  Juergen Vigna  <jug@sad.it>
15644
15645         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15646
15647 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15648
15649         * buffer.C: add hack to fix compability reading of minipages.
15650
15651 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
15652
15653         * buffer.C (getLists): Cleanup.
15654
15655 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15656
15657         * lyxfont.C (update): don't honor toggleall on font size.
15658
15659 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
15660
15661         * bmtable.c:
15662         * bmtable.h:
15663         * Makefile.am: moved to frontends/xforms/
15664
15665         * lyx_gui_misc.C:
15666         * lyxfunc.C:
15667         * BufferView_pimpl.C: changes for moved mathpanel
15668
15669 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15670
15671         * gettext.h: fix gettext_init() in --disable-nls
15672
15673 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15674
15675         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15676
15677 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
15678
15679         * lyx.C:
15680         * lyx.h: strip external form
15681
15682 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15683
15684         * BufferView_pimpl.C: add comment, destroySplash()
15685
15686 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15687
15688         * BufferView_pimpl.C:
15689         * LyXAction.C:
15690         * buffer.C:
15691         * commandtags.h:
15692         * lyxfunc.C: use re-worked insetinclude
15693
15694 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15695
15696         * buffer.C: add using std::stringstream.
15697
15698         * lyx_cb.C: readd using std::ios.
15699
15700         * buffer.C: add using std::map.
15701
15702         * BufferView_pimpl.C: add using std::vector.
15703
15704         * ShareContainer.h: add std:: to swap.
15705
15706         * buffer.h: add some typedefs
15707         * buffer.C (getLists): use them
15708         (getLists): renamed from getTocList.
15709         add a counter for the different float types and use it in the
15710         generated string.
15711         (getLists): use the same counter for the NEW_INSETS and the "non"
15712         NEW_INSETS
15713
15714         * lyx_cb.h: remove unused items, includes, using etc.
15715
15716         * ShareContainer.h: remove some commented code, add more comments
15717         and "documentation".
15718
15719 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15720
15721         * buffer.C (getTocList): make the list also when NEW_INSETS is
15722         defined.
15723
15724         * buffer.h: remove TocType
15725
15726         * buffer.C (getTocList): change to return a map<string,
15727         vector<TocItem> >, implement for dynamic number of list.
15728
15729         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15730         * text2.C (PasteSelection): adjust
15731         * CutAndPaste.C (pasteSelection): adjust
15732
15733         * FloatList.C (FloatList): update from the new_insets branch.
15734         * Floating.[Ch]: ditto
15735         * LaTeXFeatures.C: ditto
15736         * buffer.C: ditto
15737         * lyxlex_pimpl.C: ditto
15738
15739         * paragraph.C (Last): remove when NEW_INSETS is defined.
15740
15741         * other file: changes because of the above.
15742
15743 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15744
15745         * lyxparagraph.h: rename next to next_, previous to previous_,
15746         make them private for NEW_INSETS. Rename Next() to next(),
15747         Previous() to previous().
15748
15749         * other files: changes because of the above.
15750
15751 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
15752
15753         * BufferView.h:
15754         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15755         problem.
15756
15757 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15758
15759         * main.C (main): pass lyx_localedir to gettext_init().
15760
15761         * gettext.h: remove locale_init and gettext_init macros
15762
15763         * gettext.C (locale_init): new function
15764         (gettext_init): new function
15765
15766         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15767         setlocale().
15768
15769 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
15770
15771         * Moved credits to frontends:
15772         * credits.[Ch]: removed
15773         * credits_form.[Ch]: removed
15774         * lyx_gui_misc.C: remove credits stuff
15775         * Makefile.am:
15776
15777 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15778
15779         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15780
15781         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15782         unneeded destructor.
15783
15784         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15785         a standalone pointer again.
15786
15787         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15788
15789 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
15790
15791         * Makefile.am:
15792         * filedlg.h:
15793         * filedlg.C:
15794         * LyXAction.C:
15795         * ToolbarDefaults.C:
15796         * bufferlist.C:
15797         * commandtags.h:
15798         * form1.C:
15799         * form1.h:
15800         * lyx_cb.C:
15801         * lyx_cb.h:
15802         * lyxfunc.h:
15803         * lyxfunc.C:
15804         * BufferView_pimpl.C: use new file dialog in GUII
15805
15806         * lyx_cb.h:
15807         * lyx_cb.C: remove LayoutsCB to Toolbar
15808
15809 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15810
15811         * ShareContainer.h (get): add std:: qualifier
15812
15813 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15814
15815         * ShareContainer.h: define a proper ShareContainer::value_type
15816         type (and use typename to please compaq cxx)
15817
15818 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15819
15820         * lyxparagraph.h: move serveral local vars to
15821         ParameterStruct/ParagraphParameters., use ShareContainer in
15822         FontTable., make vars in FontTable private and add getter and
15823         setter.
15824
15825         * paragraph.C: changes because of the above.
15826
15827         * lyxfont.h: remove copy constructor and copy assignment. (the
15828         default ones is ok), move number inside FontBits. move inlines to
15829         lyxfont.C
15830
15831         * lyxfont.C: add number to initializaton of statics, move several
15832         inlines here. constify several local vars. some whitespace
15833         cleanup. Dont hide outerscope variables.
15834
15835         * Spacing.h: add two new constructors to match the set methods.
15836
15837         * ShareContainer.h: new file, will perhaps be moved to support
15838
15839         * ParameterStruct.h: new file
15840
15841         * ParagraphParameters.h: new file
15842
15843         * ParagraphParameters.C: new file
15844
15845         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15846         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15847
15848         * BufferView_pimpl.C: ParagraphParameter changes.
15849         * buffer.C: Likewise.
15850         * bufferview_funcs.C: Likewise.
15851         * text.C: Likewise.
15852         * text2.C: Likewise.
15853
15854 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15855
15856         * lyxfind.C (LyXReplace): do not redefine default argument in
15857         implementation.
15858         (IsStringInText): ditto
15859         (SearchForward): ditto
15860         (SearchBackward): ditto
15861
15862 2001-03-06  Juergen Vigna  <jug@sad.it>
15863
15864         * lyxfind.C (IsStringInText): put parentes around expressions.
15865
15866 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
15867
15868         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15869
15870 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
15871
15872         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15873
15874         * stl_string_fwd.h: add comment
15875
15876         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15877
15878         * tabular.h:
15879         * tabular.C: remove unused DocBook methods
15880
15881         * intl.C:
15882         * language.C:
15883         * paragraph.C:
15884         * buffer.C:
15885         killed DO_USE_DEFAULT_LANGUAGE
15886
15887 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15888
15889         * lyx_gui.C: do not include language.h.
15890
15891         * bufferview_funcs.C (ToggleAndShow): do not provide optional
15892         arguments in function implementation.
15893
15894 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15895
15896         * BufferView_pimpl.C: add <ctime>
15897
15898 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15899
15900         * BufferView_pimpl.C: add using std::find_if
15901
15902 2001-02-27  José Matos  <jamatos@fep.up.pt>
15903
15904         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15905         by OnlyPath.
15906
15907 2001-02-11  José Matos  <jamatos@fep.up.pt>
15908
15909         * buffer.C (makeDocBookFile): command styles now have a parameter as
15910         "title" by default.
15911
15912 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
15913
15914         * layout_forms.[Ch]: removed
15915         * lyx_cb.[Ch]: out character
15916         * lyx_gui.C: out character
15917         * lyx_gui_misc.C: out character
15918         * bufferview_funcs.C: : out character,
15919         added toggleall as parameter in ToggleAndShow
15920
15921 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
15922
15923         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15924
15925         * text2.C (SetCurrentFont): Disable number property at boundary.
15926
15927 2001-02-26  Juergen Vigna  <jug@sad.it>
15928
15929         * lyxfunc.C (getStatus): added a string argument override function so
15930         that this is correctly called from LyXFunc::Dispatch if it contains a
15931         do_not_use_argument which is used!
15932         (Dispatch): added check for "custom" export and call appropriate func.
15933
15934 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
15935
15936         * lyxrc.C: Add language_command_local, language_use_babel and
15937         language_global_options.
15938
15939         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15940
15941         * buffer.C (makeLaTeXFile): Use language_use_babel and
15942         language_global_options.
15943
15944 2001-02-23  Juergen Vigna  <jug@sad.it>
15945
15946         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15947         which works with LyXText and putted it inside BufferView. Here now we
15948         only call for that part the BufferView::Dispatch() function.
15949
15950         * BufferView.C (Dispatch): added.
15951
15952         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15953         functions which needs to use a LyXText over from LyXFunc.
15954         (MenuInsertLyXFile): added
15955         (getInsetByCode): added
15956         (moveCursorUpdate): added
15957         (static TEXT): added
15958
15959 2001-02-22  Juergen Vigna  <jug@sad.it>
15960
15961         * BufferView_pimpl.C (update): call a status update to see if LyXText
15962         needs it.
15963
15964 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15965
15966         * vc-backend.C (revert): implement for CVS
15967         (getLog): implement for CVS
15968
15969 2001-02-20  Juergen Vigna  <jug@sad.it>
15970
15971         * text2.C (ClearSelection): added BufferView param for inset_owner call
15972
15973         * lyxfunc.C (TEXT): added this function and use it instead of
15974         directly owner->view()-text of getLyXText().
15975
15976 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
15977
15978         * src/layout_forms.C: out preamble
15979         * src/layout_forms.h: out preamble
15980         * src/lyx_cb.C: out preamble
15981         * src/lyx_cb.h: out preamble
15982         * src/lyx_gui.C: out preamble
15983         * src/lyx_gui_misc.C: out preamble
15984         * src/lyxfunc.C: connect with guii preamble
15985
15986 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
15987
15988         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15989
15990 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
15991
15992         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15993         whether to run bibtex.
15994
15995 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
15996
15997         * Makefile.am (lyx_SOURCES): Remove BackStack.h
15998
15999 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
16000
16001         * Makefile.am (lyx_SOURCES): removed bibforms.h
16002
16003         * vspace.h: doxygen
16004
16005         * text.C (GetVisibleRow): make several local vars const
16006
16007         * tabular.C: small cleanup.
16008
16009         * lyxserver.C (callback): use compare instead of strncmp
16010
16011         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16012         inlines to after class or to paragraph.C
16013
16014         * lyxfont.h: remove friend operator!=
16015
16016         * converter.h: move friend bool operator< to non friend and after
16017         class def.
16018
16019         * combox.h: small cleanup
16020
16021         * buffer.h: doxygen, remove unused constructor, move inclas inlies
16022         to inlines after class def.
16023
16024         * buffer.C (pop_tag): use string operations instead of strcmp
16025
16026         * bmtable.c: doxygen, small cleanup
16027
16028         * LaTeX.h: remove friend operator==
16029
16030 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
16031
16032         * screen.C:
16033         * lyxrc.[Ch]:
16034         * lyxfunc.C:
16035         * lyxfont.[Ch]:
16036         * lyx_cb.C:
16037         * intl.[Ch]:
16038         * commandtags.h:
16039         * buffer.C:
16040         * WorkArea.[Ch]:
16041         * LyXAction.C:
16042         * BufferView_pimpl.C:
16043         * BufferView.[Ch]: remove cruft
16044
16045 2001-02-14  Juergen Vigna  <jug@sad.it>
16046
16047         * lyxfunc.C: removed #if 0 unused code
16048
16049         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16050
16051         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16052
16053         * text2.C (SetSelection): added a BufferView * parameter
16054
16055 2001-02-13  Juergen Vigna  <jug@sad.it>
16056
16057         * lyxfunc.C (Dispatch): fixed protected blank problem.
16058         * BufferView2.C (protectedBlank): added LyxText * parameter.
16059
16060         * tabular.C (AppendRow): forgot to set row_info of newly added row.
16061         (AppendColumn): same as above for column_info.
16062
16063         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16064         (moveCursorUpdate): use a LyXText param for support of InsetText.
16065
16066         * BufferView_pimpl.C (doubleClick): added support for InsetText.
16067         (tripleClick): ditto
16068
16069         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16070
16071         * BufferView_pimpl.C (update): added LyXText param to honor insets.
16072
16073         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16074
16075         * text2.C (SetSelection): set correct update status if inset_owner
16076         (ToggleFree): ditto
16077
16078 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
16079
16080         * tabular.C: remove some commented code.
16081
16082 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
16083
16084         * BufferView_pimpl.C: call hideSplash()
16085
16086         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16087
16088         * include_form.h:
16089         * bibforms.h: remove
16090
16091         * lyxfunc.C:
16092         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16093           add LFUN_CHILD_CREATE
16094
16095         * counters.h: fix tiny typo
16096
16097         * lyx_cb.C:
16098         * lyx.h:
16099         * lyx_gui.C:
16100         * lyx.C: move splash to frontends/xforms/
16101
16102         * lyx_gui_misc.C: move Include and Bibform to frontends
16103
16104         * lyxvc.h: clarify comment
16105
16106         * vspace.C: tiny housekeeping
16107
16108 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
16109
16110         * text.C (PrepareToPrint): RTL Fix.
16111
16112         * paragraph.C (GetUChar): New method.
16113         (String):  Use GetUChar.
16114
16115         * buffer.C (asciiParagraph): Use GetUChar.
16116
16117 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
16118
16119         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16120
16121 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
16122
16123         * buffer.h:
16124         * buffer.C: rename to getLogName(), handle
16125           build log / latex log nicely
16126
16127 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16128
16129         * MenuBackend.C:
16130         * MenuBackend.h: remove support for reference menuitem type.
16131
16132 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
16133
16134         * BufferView_pimpl.C: housekeeping
16135         * BufferView_pimpl.h:
16136         * LyXView.h:
16137         * Makefile.am:
16138         * Timeout.C:
16139         * Timeout.h:
16140         * minibuffer.h: move Timeout GUI-I
16141
16142 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
16143
16144         * lyxrc.C (read): Update converters data-structures.
16145
16146 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
16147
16148         * LaTeX.h (operator!=): add operator != for Aux_Info
16149
16150 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
16151
16152         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16153
16154         * LaTeXLog.C: deleted, useful code moved to Buffer
16155
16156         * buffer.h:
16157         * buffer.C: new function getLatexLogName()
16158
16159         * lyx_gui_misc.C:
16160         * lyx_gui.C:
16161         * lyxvc.C:
16162         * lyxvc.h:
16163         * lyxfunc.C: use frontends for LaTeX and VC logs
16164
16165 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16166
16167         * LaTeX.h: yet another std:: that Allan forgot.
16168
16169         * Variables.C (set): renamed from isset(), because this clashes
16170         with some HP-UX macros (grr).
16171
16172 2001-02-06  Allan Rae  <rae@lyx.org>
16173
16174         * LaTeX.h: Another bug fix.  Missing std:: this time.
16175
16176 2001-02-04  Allan Rae  <rae@lyx.org>
16177
16178         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16179         floats problem. I've left it commented out because it's not quite
16180         correct.  It should also test that the current object is a table or
16181         figure inset.  But I haven't gotten around to figuring out how to do
16182         that.  I *think* it'll be something like: "table" == inset.type()
16183
16184         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16185         bool.
16186
16187 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
16188
16189         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16190         all the citation/databases/styles in the auxilary file.
16191         (run): Rerun latex if there was a babel language error.
16192
16193 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
16194
16195         * text.C (Backspace): Preserve the font when changing newline char
16196         with a space.
16197         (BreakParagraph): If the cursor is before a space, delete the space.
16198
16199         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16200
16201 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
16202
16203         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16204         new argument (code).
16205         (ChangeCitationsIfUnique): New method.
16206
16207         * paragraph.C (GetPositionOfInset): Handle bibkey.
16208
16209 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16210
16211         * BufferView_pimpl.h: change type of Position::par_pos to
16212         LyXParagraph::size_type.
16213
16214 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
16215
16216         * BufferView_pimpl.C (savePosition, restorePosition): Write
16217         messages to minibuffer.
16218
16219 2001-01-28  José Matos  <jamatos@fep.up.pt>
16220
16221         * buffer.C (makeDocBookFile): adds support for document language.
16222         A silly restriction on the name of LatexCommand types where removed.
16223         Added support for CDATA sections, allows to chars unescaped, used
16224         among others in code, to avoid escape < and >.
16225
16226 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16227
16228         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16229         saved positions instrad of a stack. Furthermore, a position is
16230         stored using paragraph id/paragraph position.
16231
16232         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16233         Remove LFUN_REF_BACK.
16234
16235 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16236
16237         * converter.C (dvipdfm_options): New method.
16238
16239 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
16240
16241         * vspace.C (isValidLength): Fix for empty input string.
16242
16243 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16244
16245         * LyXAction.C (init): change description of LFUN_FIGURE to
16246         "Insert Graphics"
16247
16248 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16249
16250         * LaTeX.C: add using directive
16251
16252 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16253
16254         * MenuBackend.C (expand): Fix the sorting of the formats.
16255
16256 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
16257
16258         * lyx_main.C: tiny error message fix
16259
16260 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16261
16262         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16263         calling fl_initialize(). This fixes the problem with ',' as
16264         decimal separator in text files.
16265
16266 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16267
16268         * trans.C (process): Fix the keymap bug.
16269
16270 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
16271
16272         * LaTeX.C (scanAuxFiles): New method. Provides support for
16273         multiple bibliographies (when using the bibtopic/bibunits pacakges).
16274         (scanLogFile) Scan for "run BibTeX" messages.
16275
16276         * buffer.C (makeLaTeXFile): Do not load the ae package when using
16277         OT1 font encoding. Also, load the aecompl package if the ae
16278         package is loaded.
16279
16280         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16281
16282 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16283
16284         * texrow.C (increasePos): turn two error messages into debug
16285         messages.
16286
16287 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
16288
16289         * LaTeX.C (scanAux): Handle the \@input macro.
16290         (runBibTeX): Use scanAux().
16291
16292         * language.C (latex_options_): New field.
16293
16294         * LaTeXFeatures.C (getMacros): Add language macros.
16295
16296         * buffer.C (makeLaTeXFile): Small fix.
16297
16298 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16299
16300         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16301
16302         * text2.C: add a using directive.
16303
16304 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
16305
16306         * BufferView2.C:
16307         * lyx_gui_misc.h:
16308         * lyxfr1.C:
16309         * lyxfunc.C: kill LyXBell.
16310
16311 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
16312
16313         * text.C (IsBoundary): Remove the error message
16314
16315         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16316
16317         * lyxrc.C (setDefaults): Correct initialization value for
16318         font_norm_type.
16319
16320 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
16321
16322         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16323         gotoError().
16324
16325         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16326         and GotoNextNote().
16327
16328         * src/LyXAction.C: Added reference-next.
16329
16330         * text.C (InsertChar): Use contains instead of strchr.
16331
16332         * lyx_cb.C (MenuInsertLabel): Enable default value code.
16333
16334 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
16335
16336         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16337         alignment commands (when needed).
16338
16339         * text.C (InsertChar): Add ':' to number separator chars.